/* MS Solutions — site theme (typography, colors, components) */

:root {
  /* Page background */
  --bg: #f4e3c9;
  --bg-dark: #1e2614;
  /* Body & UI text */
  --text: #2a261f;
  --text-muted: #5a5348;
  /* Primary / buttons / links */
  --accent: #84a53d;
  --accent-hover: #6d8a32;
  --border: rgba(42, 38, 31, 0.14);
  --shadow: 0 18px 50px rgba(30, 38, 20, 0.1);
  --radius: 6px;
  /* Manrope: heavy headings, light body (loaded in header.php) */
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-weight-heading: 800;
  --font-weight-body: 300;
  /* Heading scale (fluid min for phones / tablets) */
  --h1-size: clamp(1.75rem, 0.9rem + 3.2vw, 3.15rem);
  --h2-size: clamp(1.45rem, 0.95rem + 2vw, 2.05rem);
  --h3-size: 1.45rem;
  --h4-size: 1.25rem;
  --h5-size: 1.1rem;
  --h6-size: 0.95rem;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --shell: min(1120px, calc(100% - 2.5rem));
  /* Vertical rhythm between main page sections (home + sitewide) */
  --section-pad-y: clamp(2.75rem, 5.5vw, 4.25rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: var(--font-weight-body);
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.0625rem);
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}

/* Default heading typography sitewide */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: var(--font-weight-heading);
  color: var(--text);
  line-height: 1.2;
}

h1 {
  font-size: var(--h1-size);
  letter-spacing: -0.03em;
}

h2 {
  font-size: var(--h2-size);
  letter-spacing: -0.02em;
}

h3 {
  font-size: var(--h3-size);
}

h4 {
  font-size: var(--h4-size);
}

h5 {
  font-size: var(--h5-size);
}

h6 {
  font-size: var(--h6-size);
  letter-spacing: 0.02em;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--text);
  color: var(--bg);
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.narrow {
  max-width: 680px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem var(--space-md);
  padding: 0.85rem 0;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding-right: 2rem;
  margin-right: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.site-header__brand:hover {
  color: var(--accent-hover);
}

.site-header__brand:hover .site-header__wordmark-ms,
.site-header__brand:hover .site-header__wordmark-solutions {
  color: inherit;
}

.site-header__logo-img {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.site-header__wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28em;
  color: inherit;
}

.site-header__wordmark-ms {
  font-weight: var(--font-weight-heading);
}

.site-header__wordmark-solutions {
  font-family: var(--font-body);
  font-weight: 300;
}

.site-header__cluster {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-width: 0;
}

.site-nav {
  flex-shrink: 0;
}

.site-header__actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.35rem;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.3rem 0;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--accent);
}

.site-nav__cta {
  flex-shrink: 0;
  white-space: nowrap;
}

.site-header__lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.65rem;
  padding-left: 1rem;
  border-left: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.site-header__lang-label {
  line-height: 1;
}

.site-header__lang-caret {
  margin-top: -0.15em;
  opacity: 0.7;
}

.site-nav__item--has-sub {
  position: relative;
}

.site-nav__sub-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: inherit;
  color: var(--text);
  cursor: pointer;
  padding: 0.3rem 0;
}

.site-nav__sub-toggle:hover,
.site-nav__sub-toggle[aria-expanded="true"],
.site-nav__sub-toggle.is-active {
  color: var(--accent);
}

.site-nav__caret {
  width: 0.45em;
  height: 0.45em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.2em;
  opacity: 0.75;
}

.site-nav__sub {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 12rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-nav__sub a {
  display: block;
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
}

.site-nav__sub a:hover {
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  position: relative;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--text);
}

.nav-toggle__bar::before {
  top: -7px;
}

.nav-toggle__bar::after {
  top: 7px;
}

@media (min-width: 769px) {
  .site-header__inner {
    flex-wrap: nowrap;
  }

  .nav-toggle {
    margin-left: 0;
  }
}

/* Main */
.main {
  min-height: 55vh;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn.site-nav__cta {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

.text-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
}

.text-link:hover {
  color: var(--accent-hover);
}

/* Hero */
.hero {
  padding-block: var(--section-pad-y);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.hero__copy {
  min-width: 0;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--h1-size);
  line-height: 1.12;
  font-weight: var(--font-weight-heading);
  letter-spacing: -0.03em;
  margin: 0 0 var(--space-md);
}

.hero__lede {
  font-size: clamp(1rem, 0.92rem + 0.45vw, 1.2rem);
  font-weight: var(--font-weight-body);
  color: var(--text-muted);
  margin: 0 0 var(--space-lg);
  max-width: 36rem;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* Hero visual — glass-morphism neural / dashboard motif */
.hero__visual {
  position: relative;
  width: 100%;
  min-height: clamp(260px, 40vw, 380px);
  display: flex;
  align-items: center;
  justify-content: center;
  /* keeps absolute children painting predictably on iOS */
  isolation: isolate;
}

.hero-visual {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  max-width: 420px;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* In-flow spacer: layers are position:absolute — this reserves height on all viewports (iOS Safari, flex). */
.hero-visual::before {
  content: "";
  display: block;
  width: 100%;
  padding-bottom: 90%;
}

.hero-visual__ambient {
  position: absolute;
  inset: -12% -8% -8% -12%;
  background:
    radial-gradient(ellipse 70% 60% at 30% 40%, color-mix(in srgb, var(--accent) 22%, transparent) 0%, transparent 55%),
    radial-gradient(ellipse 50% 45% at 78% 72%, rgba(255, 255, 255, 0.55) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero-visual__glass {
  position: absolute;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.42) 0%,
    rgba(255, 255, 255, 0.12) 48%,
    rgba(244, 227, 201, 0.35) 100%
  );
  box-shadow:
    0 4px 24px rgba(30, 38, 20, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 2;
}

.hero-visual__glass--back {
  inset: 8% 6% 18% 10%;
  transform: rotate(-3deg);
  opacity: 0.92;
}

.hero-visual__glass--front {
  inset: 22% 8% 12% 14%;
  transform: rotate(1.5deg);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.1rem 1.15rem;
  align-items: flex-start;
  justify-content: center;
}

.hero-visual__chip {
  display: block;
  height: 8px;
  width: 42%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(42, 38, 31, 0.12), rgba(42, 38, 31, 0.06));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.hero-visual__chip--accent {
  width: 58%;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 55%, transparent), rgba(132, 165, 61, 0.15));
}

.hero-visual__bar {
  display: block;
  height: 6px;
  width: 88%;
  border-radius: 4px;
  background: rgba(42, 38, 31, 0.07);
}

.hero-visual__bar--short {
  width: 52%;
  opacity: 0.85;
}

.hero-visual__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-visual__link {
  fill: none;
}

.hero-visual__link--soft {
  opacity: 0.85;
}

.hero-visual__node {
  fill: rgba(255, 255, 255, 0.85);
  stroke: rgba(132, 165, 61, 0.5);
  stroke-width: 1.5;
  filter: drop-shadow(0 2px 6px rgba(30, 38, 20, 0.12));
}

.hero-visual__node--lg {
  fill: color-mix(in srgb, #fff 75%, var(--accent));
  stroke: color-mix(in srgb, var(--accent) 70%, transparent);
  stroke-width: 2;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-visual {
    animation: hero-visual-float 8s ease-in-out infinite;
  }

  @keyframes hero-visual-float {
    0%,
    100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-6px);
    }
  }
}

/* CRM product hero — monitor + dashboard (looping order highlights) */
.hero.hero--crm {
  overflow: visible;
}

.hero--crm .hero__visual {
  min-height: clamp(300px, 48vw, 420px);
  overflow: visible;
}

.crm-hero-visual {
  position: relative;
  width: 100%;
  max-width: min(460px, 100%);
  margin-inline: auto;
  transform: translateZ(0);
}

.crm-hero-visual__ambient {
  position: absolute;
  inset: -12% -8% 4% -8%;
  background:
    radial-gradient(ellipse 70% 55% at 50% 35%, color-mix(in srgb, var(--accent) 26%, transparent) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 70% 75%, rgba(255, 255, 255, 0.45) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.crm-hero-monitor {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
}

.crm-hero-monitor__bezel {
  position: relative;
  padding: 10px 10px 12px;
  border-radius: 14px;
  background: linear-gradient(165deg, #3a3d38 0%, #1c1f1a 42%, #252824 100%);
  box-shadow:
    0 24px 48px rgba(30, 38, 20, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

.crm-hero-monitor__cam {
  position: absolute;
  top: 5px;
  left: 50%;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #5c6058, #2a2d28);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
  z-index: 2;
}

.crm-hero-monitor__screen {
  border-radius: 8px;
  overflow: hidden;
  background: #e8e4dc;
  box-shadow: 0 0 0 1px rgba(42, 38, 31, 0.12) inset;
  aspect-ratio: 16 / 10;
  min-height: 200px;
}

.crm-hero-monitor__stand {
  width: 28%;
  min-width: 72px;
  max-width: 120px;
  height: 18px;
  margin: 0 auto;
  background: linear-gradient(90deg, #2a2d28, #3e423c, #2a2d28);
  border-radius: 0 0 5px 5px;
  box-shadow: 0 8px 14px rgba(30, 38, 20, 0.15);
}

.crm-hero-monitor__foot {
  width: min(180px, 52%);
  height: 7px;
  margin: 0 auto;
  margin-top: -1px;
  border-radius: 4px;
  background: linear-gradient(90deg, #232621, #3a3d38, #232621);
  box-shadow: 0 4px 12px rgba(30, 38, 20, 0.12);
}

/* Dashboard UI inside monitor */
.crm-dash {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: clamp(0.56rem, 1.1vw, 0.68rem);
  text-align: left;
  color: var(--text);
}

.crm-dash__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  flex-wrap: wrap;
  padding: 0.45rem 0.55rem;
  background: linear-gradient(180deg, #fffefb 0%, #f0ebe3 100%);
  border-bottom: 1px solid rgba(42, 38, 31, 0.1);
}

.crm-dash__bar-title {
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.crm-dash__channels {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.crm-dash__channel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.35rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(42, 38, 31, 0.08);
  border-radius: 5px;
  line-height: 0;
}

.crm-dash__channel-logo {
  display: block;
  height: 14px;
  width: auto;
  max-width: 64px;
  object-fit: contain;
  object-position: center;
}

.crm-dash__channel-logo--woo {
  height: 13px;
  max-width: 52px;
}

.crm-dash__channel-logo--daraz {
  height: 18px;
  width: 18px;
  max-width: 18px;
  object-fit: contain;
}

.crm-dash__layout {
  display: grid;
  grid-template-columns: 26px 1fr;
  flex: 1;
  min-height: 0;
  background: linear-gradient(180deg, #f7f6f2 0%, #ebe6dd 100%);
}

.crm-dash__aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.2rem;
  background: rgba(42, 38, 31, 0.05);
  border-right: 1px solid rgba(42, 38, 31, 0.06);
}

.crm-dash__aside-pill {
  width: 4px;
  height: 20px;
  border-radius: 999px;
  background: rgba(42, 38, 31, 0.1);
}

.crm-dash__aside-pill--active {
  background: color-mix(in srgb, var(--accent) 65%, transparent);
}

.crm-dash__main {
  padding: 0.45rem 0.5rem 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.crm-dash__main-head {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.crm-dash__live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 35%, transparent);
}

.crm-dash__feed {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  overflow: hidden;
}

.crm-dash__notif {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.45rem;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(42, 38, 31, 0.08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
  transform-origin: center top;
}

.crm-dash__notif-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 32px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid rgba(42, 38, 31, 0.06);
  flex-shrink: 0;
}

.crm-dash__notif-icon img {
  display: block;
  max-height: 15px;
  width: auto;
  max-width: 54px;
  object-fit: contain;
}

.crm-dash__notif-icon--custom {
  color: var(--accent-hover);
  background: color-mix(in srgb, var(--accent) 12%, #fff);
}

.crm-dash__notif-body {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
}

.crm-dash__notif-line {
  display: block;
  line-height: 1.25;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.crm-dash__notif-line--strong {
  font-weight: 700;
  color: var(--text);
  font-size: 0.62rem;
}

.crm-dash__notif-meta {
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .crm-hero-visual {
    animation: hero-visual-float 8s ease-in-out infinite;
  }

  .crm-dash__live-dot {
    animation: crm-dash-live-pulse 2.4s ease-in-out infinite;
  }

  @keyframes crm-dash-live-pulse {
    0%,
    100% {
      opacity: 1;
      transform: scale(1);
    }
    50% {
      opacity: 0.75;
      transform: scale(0.94);
    }
  }

  /* Sequential toast-style slide up: order 1 → 2 → 3, then exit, loop */
  .crm-dash__notif--shopify {
    animation: crm-dash-notif-1 10s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  }

  .crm-dash__notif--woo {
    animation: crm-dash-notif-2 10s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  }

  .crm-dash__notif--custom {
    animation: crm-dash-notif-3 10s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  }

  @keyframes crm-dash-notif-1 {
    0%,
    1% {
      opacity: 0;
      transform: translateY(calc(100% + 0.5rem));
    }
    10% {
      opacity: 1;
      transform: translateY(0);
    }
    84% {
      opacity: 1;
      transform: translateY(0);
    }
    92%,
    100% {
      opacity: 0;
      transform: translateY(calc(100% + 0.5rem));
    }
  }

  @keyframes crm-dash-notif-2 {
    0%,
    10% {
      opacity: 0;
      transform: translateY(calc(100% + 0.5rem));
    }
    20% {
      opacity: 1;
      transform: translateY(0);
    }
    84% {
      opacity: 1;
      transform: translateY(0);
    }
    92%,
    100% {
      opacity: 0;
      transform: translateY(calc(100% + 0.5rem));
    }
  }

  @keyframes crm-dash-notif-3 {
    0%,
    20% {
      opacity: 0;
      transform: translateY(calc(100% + 0.5rem));
    }
    30% {
      opacity: 1;
      transform: translateY(0);
    }
    84% {
      opacity: 1;
      transform: translateY(0);
    }
    92%,
    100% {
      opacity: 0;
      transform: translateY(calc(100% + 0.5rem));
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .crm-dash__notif--shopify,
  .crm-dash__notif--woo,
  .crm-dash__notif--custom {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .hero--crm .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero--crm .hero__lede {
    margin-inline: auto;
  }

  .hero--crm .hero__visual {
    order: -1;
    min-height: clamp(280px, 62vw, 360px);
  }

  .crm-dash__bar {
    justify-content: center;
  }

  .crm-dash__channels {
    width: 100%;
    justify-content: center;
  }
}

/* CRM product — Core Features (bento grid) */
.crm-features__head {
  max-width: 36rem;
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

.crm-features__title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 0.95rem + 2.2vw, var(--h2-size));
  font-weight: var(--font-weight-heading);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
  color: var(--text);
}

.crm-features__grid {
  display: grid;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) minmax(0, 0.85fr);
  grid-template-rows: auto auto;
  grid-template-areas:
    "a b b"
    "a c d";
}

.crm-features__box {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  background-image: linear-gradient(180deg, color-mix(in srgb, var(--bg) 38%, #fff) 0%, #fff 52%);
  box-shadow: 0 4px 18px rgba(30, 38, 20, 0.06);
  min-height: 0;
}

.crm-features__box--a {
  grid-area: a;
}

.crm-features__box--b {
  grid-area: b;
}

.crm-features__box--c {
  grid-area: c;
}

.crm-features__box--d {
  grid-area: d;
}

.crm-features__box-inner {
  height: 100%;
  padding: clamp(1.2rem, 2.8vw, 1.65rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.crm-features__label {
  margin: 0;
  font-size: clamp(0.62rem, 0.55rem + 0.25vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.crm-features__box-title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 0.95rem + 0.9vw, 1.35rem);
  font-weight: var(--font-weight-heading);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
  color: var(--text);
}

.crm-features__box-text {
  margin: 0;
  font-size: clamp(0.92rem, 0.88rem + 0.2vw, 1rem);
  font-weight: var(--font-weight-body);
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}

.crm-features__box--a .crm-features__box-text {
  margin-bottom: 0.25rem;
}

/* Box A — inventory sync viz */
.crm-inv-viz {
  margin-top: auto;
  padding-top: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: stretch;
}

.crm-inv-viz__stores {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.crm-inv-viz__store {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.25rem 0.35rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(42, 38, 31, 0.08);
}

.crm-inv-viz__store img {
  display: block;
  max-height: 18px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.crm-inv-viz__track {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(42, 38, 31, 0.08);
  overflow: hidden;
}

.crm-inv-viz__shimmer {
  position: absolute;
  top: 0;
  left: 0;
  width: 34%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--accent) 45%, transparent),
    color-mix(in srgb, var(--accent) 85%, #fff)
  );
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 35%, transparent);
}

.crm-inv-viz__total {
  text-align: center;
  padding-top: 0.15rem;
}

.crm-inv-viz__total-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.crm-inv-viz__values {
  position: relative;
  min-height: 1.5em;
}

.crm-inv-viz__val {
  position: absolute;
  left: 0;
  right: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

/* Box B — map viz */
.crm-map-viz {
  margin-top: auto;
  padding-top: var(--space-sm);
}

.crm-map-viz__svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 140px;
}

.crm-map-viz__lbl {
  font-family: var(--font-body);
  font-size: 7px;
  font-weight: 600;
  fill: var(--text-muted);
}

.crm-map-viz__pulse--static {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .crm-inv-viz__shimmer {
    animation: crm-inv-shimmer 4.5s ease-in-out infinite;
  }

  @keyframes crm-inv-shimmer {
    0%,
    100% {
      left: 0;
    }
    33% {
      left: 33%;
    }
    66% {
      left: 66%;
    }
  }

  .crm-inv-viz__val:nth-child(1) {
    animation: crm-inv-val-1 9s ease-in-out infinite;
  }

  .crm-inv-viz__val:nth-child(2) {
    animation: crm-inv-val-2 9s ease-in-out infinite;
  }

  .crm-inv-viz__val:nth-child(3) {
    animation: crm-inv-val-3 9s ease-in-out infinite;
  }

  @keyframes crm-inv-val-1 {
    0%,
    30% {
      opacity: 1;
    }
    33%,
    100% {
      opacity: 0;
    }
  }

  @keyframes crm-inv-val-2 {
    0%,
    30% {
      opacity: 0;
    }
    33%,
    63% {
      opacity: 1;
    }
    66%,
    100% {
      opacity: 0;
    }
  }

  @keyframes crm-inv-val-3 {
    0%,
    63% {
      opacity: 0;
    }
    66%,
    100% {
      opacity: 1;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .crm-inv-viz__val:nth-child(1),
  .crm-inv-viz__val:nth-child(2) {
    opacity: 0;
    visibility: hidden;
  }

  .crm-inv-viz__val:nth-child(3) {
    opacity: 1;
    position: static;
  }

  .crm-map-viz__pulse--anim {
    display: none;
  }

  .crm-map-viz__pulse--static {
    display: block;
  }
}

@media (max-width: 1024px) {
  .crm-features__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "a a"
      "b b"
      "c d";
  }
}

@media (max-width: 640px) {
  .crm-features__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "a"
      "b"
      "c"
      "d";
  }
}

/* CRM product — Data-driven insights (dark dashboard mockup) */
.crm-insights {
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 92%, #fff) 0%, var(--bg) 100%);
}

.crm-insights__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.crm-insights__copy {
  min-width: 0;
  max-width: 38rem;
}

.crm-insights__title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 0.95rem + 2.2vw, var(--h2-size));
  font-weight: var(--font-weight-heading);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 var(--space-md);
  color: var(--text);
}

.crm-insights__lede {
  margin: 0;
  font-size: clamp(1rem, 0.92rem + 0.35vw, 1.12rem);
  font-weight: var(--font-weight-body);
  color: var(--text-muted);
  line-height: 1.55;
}

.crm-insights__viz {
  min-width: 0;
}

.crm-insights__mock {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 24px 56px rgba(30, 38, 20, 0.14),
    0 0 0 1px rgba(42, 38, 31, 0.08);
}

.crm-insights__svg {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

@media (max-width: 900px) {
  .crm-insights__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .crm-insights__viz {
    order: -1;
    max-width: min(440px, 100%);
    margin-inline: auto;
  }
}

/* CRM product — Agentic differentiator (centered mission statement, footer-style dark) */
.section.crm-agentic {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 11vw, 7rem);
  margin-top: 0;
  background: var(--bg-dark);
  color: color-mix(in srgb, var(--bg) 88%, #fff);
  border-top: none;
  border-bottom: none;
}

.section.crm-agentic::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 18% 20%, color-mix(in srgb, var(--accent) 22%, transparent) 0%, transparent 52%),
    radial-gradient(ellipse 60% 45% at 92% 78%, color-mix(in srgb, var(--accent) 14%, transparent) 0%, transparent 48%);
  pointer-events: none;
}

.section.crm-agentic .shell {
  position: relative;
  z-index: 1;
}

.crm-agentic__statement {
  max-width: 52rem;
  margin-inline: auto;
  text-align: center;
  padding-inline: clamp(0.5rem, 3vw, 1.5rem);
}

.crm-agentic__eyebrow {
  margin: 0 0 clamp(1.35rem, 3.5vw, 2rem);
  font-size: clamp(0.78rem, 0.68rem + 0.4vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.45;
  text-transform: none;
  color: #c5d889;
}

.crm-agentic__title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 1rem + 3.2vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
  color: #fff;
}

.crm-agentic__flow {
  margin: 0 auto clamp(2rem, 5vw, 2.75rem);
  max-width: 56rem;
}

.crm-agentic__flow-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
}

.crm-agentic__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  min-width: min(7.5rem, 28vw);
  padding: 0.85rem 0.65rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: color-mix(in srgb, var(--bg) 88%, #fff);
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease,
    transform 0.35s ease;
}

.crm-agentic__step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c5d889;
}

.crm-agentic__step-icon svg {
  display: block;
}

.crm-agentic__step-icon--whatsapp img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 7px;
}

.crm-agentic__step-label {
  font-size: clamp(0.65rem, 0.58rem + 0.25vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-align: center;
  color: color-mix(in srgb, var(--bg) 82%, #fff);
}

.crm-agentic__flow-arrow {
  width: 1.25rem;
  height: 2px;
  flex-shrink: 0;
  background: linear-gradient(90deg, rgba(197, 216, 137, 0.25), rgba(197, 216, 137, 0.65));
  border-radius: 2px;
  position: relative;
  align-self: center;
  margin-bottom: 2.25rem;
}

.crm-agentic__flow-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-left-color: rgba(197, 216, 137, 0.75);
}

@media (max-width: 720px) {
  .crm-agentic__flow-inner {
    flex-direction: column;
    gap: 0;
  }

  .crm-agentic__flow-arrow {
    width: 2px;
    height: 1rem;
    margin: 0.15rem 0;
    background: linear-gradient(180deg, rgba(197, 216, 137, 0.25), rgba(197, 216, 137, 0.65));
  }

  .crm-agentic__flow-arrow::after {
    right: 50%;
    top: auto;
    bottom: -1px;
    transform: translateX(50%) rotate(90deg);
    border-left-color: transparent;
    border-top-color: rgba(197, 216, 137, 0.75);
  }
}

@media (prefers-reduced-motion: no-preference) {
  /* Steps are 1st, 3rd, 5th, 7th children (arrows between) */
  .crm-agentic__flow-inner > .crm-agentic__step:nth-child(1) {
    animation: crm-agentic-step 10s ease-in-out infinite;
  }

  .crm-agentic__flow-inner > .crm-agentic__step:nth-child(3) {
    animation: crm-agentic-step 10s ease-in-out infinite 2.5s;
  }

  .crm-agentic__flow-inner > .crm-agentic__step:nth-child(5) {
    animation: crm-agentic-step 10s ease-in-out infinite 5s;
  }

  .crm-agentic__flow-inner > .crm-agentic__step:nth-child(7) {
    animation: crm-agentic-step 10s ease-in-out infinite 7.5s;
  }

  .crm-agentic__flow-inner > .crm-agentic__flow-arrow:nth-child(2) {
    animation: crm-agentic-arrow 10s ease-in-out infinite 1.25s;
  }

  .crm-agentic__flow-inner > .crm-agentic__flow-arrow:nth-child(4) {
    animation: crm-agentic-arrow 10s ease-in-out infinite 3.75s;
  }

  .crm-agentic__flow-inner > .crm-agentic__flow-arrow:nth-child(6) {
    animation: crm-agentic-arrow 10s ease-in-out infinite 6.25s;
  }

  @keyframes crm-agentic-step {
    0%,
    100% {
      border-color: rgba(255, 255, 255, 0.12);
      background: rgba(255, 255, 255, 0.04);
      box-shadow: none;
      transform: scale(1);
    }
    4%,
    22% {
      border-color: color-mix(in srgb, var(--accent) 55%, rgba(255, 255, 255, 0.2));
      background: rgba(132, 165, 61, 0.12);
      box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent), 0 12px 32px rgba(0, 0, 0, 0.35);
      transform: scale(1.03);
    }
    28%,
    100% {
      border-color: rgba(255, 255, 255, 0.12);
      background: rgba(255, 255, 255, 0.04);
      box-shadow: none;
      transform: scale(1);
    }
  }

  @keyframes crm-agentic-arrow {
    0%,
    100% {
      opacity: 0.35;
      filter: brightness(0.85);
    }
    4%,
    22% {
      opacity: 1;
      filter: brightness(1.15);
    }
    28%,
    100% {
      opacity: 0.35;
      filter: brightness(0.85);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .crm-agentic__step {
    border-color: color-mix(in srgb, var(--accent) 45%, rgba(255, 255, 255, 0.15));
    background: rgba(132, 165, 61, 0.1);
  }
}

.crm-agentic__lede {
  margin: 0 auto;
  max-width: 38rem;
  font-size: clamp(1.02rem, 0.94rem + 0.4vw, 1.14rem);
  font-weight: var(--font-weight-body);
  line-height: 1.7;
  color: color-mix(in srgb, var(--bg) 72%, #fff);
}

/* CRM product — SaaS CTA (full-width band) */
.section.crm-cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.75rem, 10vw, 6.75rem);
  background: linear-gradient(
    180deg,
    #fffefb 0%,
    var(--bg) 45%,
    color-mix(in srgb, var(--bg) 92%, #fff) 100%
  );
  border-top: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border));
}

.section.crm-cta::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--accent) 55%, transparent) 18%,
    var(--accent) 50%,
    color-mix(in srgb, var(--accent) 55%, transparent) 82%,
    transparent 100%
  );
  pointer-events: none;
}

.crm-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.15rem, 3vw, 1.65rem);
}

.crm-cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.05rem + 3vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0;
  color: var(--text);
  text-wrap: balance;
}

.crm-cta__lede {
  margin: 0;
  max-width: 38rem;
  font-size: clamp(1.02rem, 0.94rem + 0.35vw, 1.15rem);
  font-weight: var(--font-weight-body);
  line-height: 1.65;
  color: var(--text-muted);
}

.crm-cta__actions {
  margin-top: 0.35rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}

.crm-cta .crm-cta__btn {
  padding: 0.95rem 2.15rem;
  min-height: 3.1rem;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.12rem);
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  border-radius: 10px;
  border-width: 1px;
  box-shadow:
    0 4px 18px color-mix(in srgb, var(--accent) 38%, transparent),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.crm-cta .crm-cta__btn:hover {
  color: #fff;
  box-shadow:
    0 10px 32px color-mix(in srgb, var(--accent) 45%, transparent),
    0 1px 0 rgba(255, 255, 255, 0.22) inset;
}

.crm-cta .crm-cta__btn:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 65%, var(--text));
  outline-offset: 4px;
}

@media (prefers-reduced-motion: no-preference) {
  .crm-cta .crm-cta__btn:hover {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .crm-cta .crm-cta__btn:hover {
    transform: none;
  }
}

.crm-cta__note {
  margin: 0;
  font-size: clamp(0.8rem, 0.76rem + 0.15vw, 0.88rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--text-muted) 88%, var(--text));
}

.eyebrow {
  font-size: clamp(0.68rem, 0.6rem + 0.35vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--space-sm);
}

.eyebrow--muted {
  color: color-mix(in srgb, var(--text-muted) 65%, var(--accent));
}

/* Sections */
.section {
  padding-block: var(--section-pad-y);
}

.section--dark {
  background: var(--bg-dark);
  color: color-mix(in srgb, var(--bg) 88%, #fff);
}

.section--dark a {
  color: #c5d889;
}

.section--dark a:hover {
  color: #dde9b8;
}

.section--dark .prose h2 {
  color: #fff;
}

.section--cta {
  padding-block: var(--section-pad-y);
}

/* Home — power CTA (dark band + circular 3D button) */
.home-power-cta-wrap {
  position: relative;
  overflow: hidden;
}

.home-power-cta-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 18% 20%, color-mix(in srgb, var(--accent) 22%, transparent) 0%, transparent 52%),
    radial-gradient(ellipse 60% 45% at 92% 78%, color-mix(in srgb, var(--accent) 14%, transparent) 0%, transparent 48%);
  pointer-events: none;
}

.home-power-cta {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.home-power-cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 1rem + 2.6vw, 2.35rem);
  font-weight: var(--font-weight-heading);
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin: 0;
  color: #f4e3c9;
  text-wrap: balance;
}

.home-power-cta__lede {
  margin: 0;
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  line-height: 1.55;
  color: color-mix(in srgb, #f4e3c9 72%, var(--text-muted));
  max-width: 36rem;
}

.home-power-cta__btn {
  margin-top: var(--space-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  width: clamp(8.5rem, 28vw, 10.75rem);
  border-radius: 50%;
  text-decoration: none;
  text-align: center;
  font-family: var(--font-display);
  font-weight: var(--font-weight-heading);
  font-size: clamp(0.92rem, 0.85rem + 0.35vw, 1.05rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #1a1712;
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--accent) 18%, #e8f0c8) 0%,
    var(--accent) 42%,
    var(--accent-hover) 100%
  );
  border: 3px solid #0d0c0a;
  /* 3D “boxed” rim: inset hilite/shade + stepped outer shadows */
  box-shadow:
    inset 3px 4px 6px rgba(255, 255, 255, 0.45),
    inset -3px -5px 8px rgba(26, 23, 18, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.12),
    0 6px 0 color-mix(in srgb, var(--accent-hover) 75%, #2a261f),
    0 7px 0 #1a1712,
    0 14px 28px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.home-power-cta__btn:hover {
  color: #0d0c0a;
  filter: brightness(1.04);
  transform: translateY(3px);
  box-shadow:
    inset 2px 3px 5px rgba(255, 255, 255, 0.4),
    inset -2px -4px 6px rgba(26, 23, 18, 0.25),
    0 3px 0 color-mix(in srgb, var(--accent-hover) 75%, #2a261f),
    0 4px 0 #1a1712,
    0 10px 22px rgba(0, 0, 0, 0.32);
}

.home-power-cta__btn:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 55%, #fff);
  outline-offset: 4px;
}

.home-power-cta__btn-face {
  display: block;
  padding: 0.5rem 1rem;
}

.home-power-cta__btn-break {
  display: block;
  font-size: 0.88em;
  font-weight: 700;
  opacity: 0.92;
}

@media (prefers-reduced-motion: reduce) {
  .home-power-cta__btn {
    transition: none;
  }

  .home-power-cta__btn:hover {
    transform: none;
  }
}

/* Why — problem / solution */
.why__head {
  max-width: 44rem;
  margin-inline: auto;
  margin-bottom: var(--space-lg);
  text-align: center;
}

.why__kicker {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 0.92rem + 0.55vw, var(--h4-size));
  font-weight: var(--font-weight-heading);
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text-muted);
  margin: 0 0 0.4rem;
}

.why__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 1.05rem + 2.85vw, var(--h2-size));
  font-weight: var(--font-weight-heading);
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 var(--space-sm);
  color: var(--text);
}

.why__title-em {
  position: relative;
  display: inline-block;
  color: var(--text);
  vertical-align: bottom;
}

.why__rotating-wrap {
  display: inline-block;
  min-width: 7.5ch;
  text-align: center;
}

.why__rotating {
  display: inline-block;
}

/* Hand-written flourish above rotating word */
.why__title-underline {
  position: absolute;
  left: -0.08em;
  right: -0.14em;
  width: calc(100% + 0.22em);
  top: 0.85em;
  bottom: auto;
  height: 0.85em;
  overflow: visible;
  color: color-mix(in srgb, var(--accent-hover) 78%, var(--text) 22%);
  pointer-events: none;
  opacity: 1;
}

.why__lede {
  margin: 0 auto;
  max-width: 40rem;
  font-size: clamp(1rem, 0.92rem + 0.45vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.55;
}

/* Flush card rack — centered, no gaps between columns */
.why__rack {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, rgba(0, 0, 0, 0.2));
  background: transparent;
  box-shadow: 0 20px 48px rgba(30, 38, 20, 0.12);
  overflow: hidden;
}

.why-card {
  box-sizing: border-box;
  width: clamp(200px, 26vw, 252px);
  min-height: clamp(360px, 42vw, 420px);
  padding: var(--space-md) 1.15rem var(--space-md);
  margin: 0;
  border: none;
  border-radius: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  background: var(--accent);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.why-card:last-child {
  border-right: none;
}

.why-card--follow {
  background: #343533;
  border-right-color: rgba(255, 255, 255, 0.12);
}

.why-card__icon {
  position: relative;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  z-index: 0;
}

.why-card__icon-ring {
  position: absolute;
  inset: -4px;
  border-radius: 14px;
  opacity: 0.9;
  z-index: -1;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.why-card__icon--toil {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.why-card__icon--toil .why-card__icon-ring {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.05));
  animation: why-icon-pulse 4s ease-in-out infinite;
}

.why-card__icon--follow {
  color: #f5f5f4;
  background: rgba(255, 255, 255, 0.12);
}

.why-card__icon--follow .why-card__icon-ring {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04));
  animation: why-icon-pulse 4.4s ease-in-out 0.35s infinite;
}

.why-card__icon--solution {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.why-card__icon--solution .why-card__icon-ring {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.42),
    rgba(255, 255, 255, 0.08)
  );
  animation: why-icon-glow 3.2s ease-in-out infinite;
}

@keyframes why-icon-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes why-icon-glow {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 16px 0 rgba(255, 255, 255, 0.45);
  }
}

@media (prefers-reduced-motion: reduce) {
  .why-card__icon-ring {
    animation: none !important;
  }
}

.why-card__svg {
  width: 1.85rem;
  height: 1.85rem;
  display: block;
}

.why-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 0.94rem + 0.35vw, 1.14rem);
  font-weight: var(--font-weight-heading);
  margin: 0 0 var(--space-sm);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
}

.why-card--follow .why-card__title {
  color: #f6f6f5;
}

.why-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.why-card__list li {
  position: relative;
  margin: 0;
  padding-left: 1.35rem;
  font-size: clamp(0.82rem, 0.78rem + 0.22vw, 0.92rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
}

.why-card--follow .why-card__list li {
  color: rgba(255, 255, 255, 0.82);
}

.why-card__list li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.38em;
  width: 0.55rem;
  height: 0.28rem;
  border-left: 2px solid rgba(255, 255, 255, 0.95);
  border-bottom: 2px solid rgba(255, 255, 255, 0.95);
  transform: rotate(-52deg);
  box-sizing: border-box;
}

.why-card--follow .why-card__list li::before {
  border-left-color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Core services — “What” */
.core-services__head {
  max-width: 40rem;
  margin-bottom: var(--space-lg);
}

.core-services__head .eyebrow {
  margin-bottom: var(--space-xs);
}

.core-services__title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 0.95rem + 2.2vw, var(--h2-size));
  font-weight: var(--font-weight-heading);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 var(--space-sm);
  color: var(--text);
}

.core-services__lede {
  margin: 0;
  font-size: clamp(1rem, 0.92rem + 0.35vw, 1.12rem);
  color: var(--text-muted);
  line-height: 1.55;
}

.core-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.1rem, 2.4vw, 1.5rem);
  padding: 0;
  background: transparent;
}

@media (min-width: 861px) and (max-width: 1024px) {
  .core-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Typography-led service tiles (no photography) */
.svc-tile {
  position: relative;
  margin: 0;
  padding: clamp(1.35rem, 3vw, 1.65rem) clamp(1.2rem, 2.5vw, 1.5rem) clamp(1.4rem, 2.8vw, 1.55rem);
  padding-top: clamp(1.5rem, 3.2vw, 1.85rem);
  min-height: 11.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  background-image: linear-gradient(180deg, color-mix(in srgb, var(--bg) 40%, #fff) 0%, #fff 48%);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  box-shadow: 0 4px 18px rgba(30, 38, 20, 0.06);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.25s ease;
}

.svc-tile::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  border-radius: 12px 12px 0 0;
  background: var(--accent);
  opacity: 0.88;
  pointer-events: none;
}

.svc-tile:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
  box-shadow:
    0 20px 40px rgba(30, 38, 20, 0.12),
    0 0 0 1px color-mix(in srgb, var(--accent) 12%, transparent);
}

@media (prefers-reduced-motion: reduce) {
  .svc-tile {
    transition: border-color 0.2s ease, box-shadow 0.25s ease;
  }

  .svc-tile:hover {
    transform: none;
  }
}

.svc-tile__label {
  margin: 0 0 0.85rem;
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", Menlo, Consolas, monospace;
  font-size: clamp(0.68rem, 0.62rem + 0.22vw, 0.76rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35em 0.5em;
}

.svc-tile__idx {
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.svc-tile__mid {
  color: color-mix(in srgb, var(--text-muted) 55%, transparent);
  font-weight: 500;
  letter-spacing: 0;
}

.svc-tile__tag {
  letter-spacing: 0.12em;
  color: color-mix(in srgb, var(--text) 72%, var(--text-muted));
}

.svc-tile__title {
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 1rem + 0.45vw, 1.32rem);
  font-weight: var(--font-weight-heading);
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.svc-tile__desc {
  margin: 0;
  font-size: clamp(0.86rem, 0.82rem + 0.18vw, 0.94rem);
  color: var(--text-muted);
  line-height: 1.48;
  max-width: 36rem;
}

.svc-tile__desc-break {
  display: block;
  margin-top: 0.5em;
}

/* Agentic edge — animated flow diagram */
.agentic-edge__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.agentic-edge__copy {
  min-width: 0;
}

.agentic-edge__title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 0.95rem + 2.2vw, var(--h2-size));
  font-weight: var(--font-weight-heading);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 var(--space-sm);
  color: var(--text);
}

.agentic-edge__lede {
  margin: 0;
  font-size: clamp(1rem, 0.92rem + 0.35vw, 1.12rem);
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 36rem;
}

.agentic-edge__viz {
  min-width: 0;
  display: flex;
  justify-content: center;
}

.agentic-flow {
  margin: 0;
  width: 100%;
  max-width: 420px;
}

.agentic-flow__svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.agentic-flow__path {
  fill: none;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  vector-effect: non-scaling-stroke;
  animation: agentic-flow-draw 7.5s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}

.agentic-flow__path--1 {
  animation-delay: 0.15s;
}

.agentic-flow__path--2 {
  animation-delay: 0.55s;
}

.agentic-flow__path--3 {
  animation-delay: 0.72s;
}

.agentic-flow__path--4 {
  animation-delay: 0.84s;
}

.agentic-flow__path--5 {
  animation-delay: 0.94s;
}

@keyframes agentic-flow-draw {
  0% {
    stroke-dashoffset: 1;
    opacity: 0.35;
  }
  6% {
    opacity: 1;
  }
  16% {
    stroke-dashoffset: 0;
  }
  84% {
    stroke-dashoffset: 0;
  }
  92% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 1;
    opacity: 0.3;
  }
}

.agentic-flow__block {
  opacity: 0;
  transform: translateY(8px);
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: agentic-flow-block 7.5s cubic-bezier(0.45, 0, 0.25, 1) infinite;
  animation-delay: var(--block-delay, 0s);
}

@keyframes agentic-flow-block {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  10% {
    opacity: 1;
    transform: translateY(0);
  }
  88% {
    opacity: 1;
    transform: translateY(0);
  }
  98% {
    opacity: 0.35;
    transform: translateY(6px);
  }
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

.agentic-flow__shape {
  fill: #fff;
}

.agentic-flow__shape--task {
  fill: #0d0d0d;
  stroke: rgba(255, 255, 255, 0.22);
}

.agentic-flow__shape--agent {
  fill: color-mix(in srgb, var(--accent) 10%, #fff);
}

.agentic-flow__shape--step {
  fill: var(--accent);
  stroke: rgba(255, 255, 255, 0.32);
}

.agentic-flow__txt {
  fill: var(--text);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  pointer-events: none;
}

.agentic-flow__txt--task {
  fill: #fff;
}

.agentic-flow__txt--agent {
  fill: var(--accent-hover);
  font-size: 13.5px;
  font-weight: 700;
}

.agentic-flow__txt--sm {
  font-size: 10.25px;
  font-weight: 600;
}

.agentic-flow__txt--step {
  fill: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .agentic-flow__path {
    animation: none;
    stroke-dashoffset: 0 !important;
    opacity: 1 !important;
  }

  .agentic-flow__block {
    animation: none;
    opacity: 1 !important;
    transform: none !important;
  }

}

@media (max-width: 900px) {
  .agentic-edge__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .agentic-edge__viz {
    order: 1;
  }

  .agentic-edge__copy {
    order: 0;
  }
}

/* Agentic solutions — phone mock + animated CRM dashboard */
.agentic-solutions__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.agentic-solutions__viz {
  min-width: 0;
  display: flex;
  justify-content: center;
}

.agentic-solutions__copy {
  min-width: 0;
}

.agentic-solutions__title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 0.95rem + 2.2vw, var(--h2-size));
  font-weight: var(--font-weight-heading);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 var(--space-sm);
  color: var(--text);
}

.agentic-solutions__lede {
  margin: 0 0 var(--space-md);
  font-size: clamp(1rem, 0.92rem + 0.35vw, 1.12rem);
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 36rem;
}

.agentic-solutions__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.phone-mock {
  width: 100%;
  max-width: 280px;
  filter: drop-shadow(0 28px 48px rgba(30, 38, 20, 0.18));
}

.phone-mock__frame {
  position: relative;
  border-radius: 2.35rem;
  padding: 0.55rem;
  background: linear-gradient(
    145deg,
    #3d382f 0%,
    #1a1712 48%,
    #2a261f 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(42, 38, 31, 0.35);
}

.phone-mock__glare {
  pointer-events: none;
  position: absolute;
  inset: 0.65rem 38% 15% 8%;
  border-radius: 1.75rem;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0) 55%
  );
  opacity: 0.5;
  z-index: 2;
}

.phone-mock__inner {
  position: relative;
  z-index: 1;
  border-radius: 1.85rem;
  overflow: hidden;
  background: #0f0f0f;
}

.phone-mock__notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 1.35rem;
  background: #0f0f0f;
  border-radius: 0 0 0.9rem 0.9rem;
  z-index: 3;
}

.phone-mock__screen {
  padding: 1.85rem 0.75rem 1rem;
  min-height: 420px;
  background: linear-gradient(180deg, #f6f1e8 0%, #ebe4d6 100%);
}

.phone-mock--contact {
  max-width: 200px;
  margin-inline: auto;
}

.phone-mock--contact .phone-mock__frame {
  border-radius: 1.85rem;
  padding: 0.42rem;
}

.phone-mock--contact .phone-mock__inner {
  border-radius: 1.5rem;
}

.phone-mock--contact .phone-mock__notch {
  width: 36%;
  height: 1.05rem;
}

.phone-mock__screen--contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 2.25rem 0.85rem 1.35rem;
  min-height: 0;
  text-align: center;
}

.contact-phone-screen__label {
  margin: 0;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-phone-screen__number {
  margin: 0;
  font-size: clamp(0.78rem, 2.4vw, 0.9rem);
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  line-height: 1.25;
  word-break: break-word;
}

.contact-phone-screen__number:hover {
  color: var(--accent-hover);
}

/* Mini CRM dashboard inside phone */
.crm-dash__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  padding: 0 0.2rem;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.crm-dash__bar-icons {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.crm-dash__icon--signal {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 0.42rem;
}

.crm-dash__icon--signal span {
  display: block;
  width: 2px;
  border-radius: 1px;
  background: var(--text-muted);
  opacity: 0.88;
}

.crm-dash__icon--signal span:nth-child(1) {
  height: 30%;
}

.crm-dash__icon--signal span:nth-child(2) {
  height: 55%;
}

.crm-dash__icon--signal span:nth-child(3) {
  height: 85%;
}

.crm-dash__icon--wifi {
  display: block;
  width: 0.65rem;
  height: 0.45rem;
  background: var(--text-muted);
  opacity: 0.88;
  clip-path: polygon(50% 100%, 0 40%, 20% 40%, 50% 75%, 80% 40%, 100% 40%);
}

.crm-dash__icon--bat {
  display: block;
  width: 1.1rem;
  height: 0.45rem;
  border-radius: 2px;
  border: 1px solid color-mix(in srgb, var(--text-muted) 70%, transparent);
  background: linear-gradient(90deg, var(--accent) 0 72%, transparent 72%);
}

.crm-dash__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.crm-dash__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: var(--font-weight-heading);
  letter-spacing: -0.03em;
  color: var(--text);
}

.crm-dash__live {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-hover);
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
}

.crm-dash__kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.crm-dash__kpi {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.45rem 0.5rem;
  box-shadow: 0 4px 14px rgba(30, 38, 20, 0.06);
}

.crm-dash__kpi-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: var(--font-weight-heading);
  color: var(--text);
  line-height: 1.1;
}

.crm-dash__kpi-lbl {
  font-size: 0.58rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
  display: block;
}

.crm-dash__section-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--text-muted) 88%, var(--accent));
  margin-bottom: 0.4rem;
}

.crm-dash__list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.crm-dash__row-slot {
  overflow: hidden;
  min-height: 3.35rem;
  border-radius: 11px;
}

.crm-dash__row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.55rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 11px;
  box-shadow: 0 4px 14px rgba(30, 38, 20, 0.06);
}

.crm-dash__row--new {
  position: relative;
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  background: linear-gradient(
    135deg,
    #fff 0%,
    color-mix(in srgb, var(--accent) 9%, #fff) 100%
  );
  animation: crm-dash-new-lead 5.5s cubic-bezier(0.45, 0, 0.22, 1) infinite;
}

.crm-dash__pulse {
  flex-shrink: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent);
  animation: crm-dash-pulse 5.5s ease-out infinite;
}

.crm-dash__row-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.crm-dash__name {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.crm-dash__meta {
  font-size: 0.58rem;
  color: var(--text-muted);
}

.crm-dash__score {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: var(--font-weight-heading);
  color: var(--accent-hover);
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
}

.crm-dash__score--muted {
  color: var(--text-muted);
  background: color-mix(in srgb, var(--text-muted) 12%, transparent);
}

.crm-dash__avatar {
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 9px;
  font-size: 0.55rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--text) 10%, #fff);
  color: var(--text-muted);
}

.crm-dash__row--static {
  opacity: 0.92;
}

@keyframes crm-dash-new-lead {
  0%,
  5% {
    transform: translateY(-108%);
    opacity: 0;
  }
  12%,
  78% {
    transform: translateY(0);
    opacity: 1;
  }
  88%,
  100% {
    transform: translateY(-108%);
    opacity: 0;
  }
}

@keyframes crm-dash-pulse {
  0%,
  10% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent);
    transform: scale(1);
  }
  14% {
    box-shadow: 0 0 0 6px transparent;
    transform: scale(1.08);
  }
  18%,
  100% {
    box-shadow: 0 0 0 0 transparent;
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .crm-dash__row--new {
    animation: none;
    transform: none;
    opacity: 1;
  }

  .crm-dash__pulse {
    animation: none;
  }
}

@media (max-width: 900px) {
  .agentic-solutions__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .agentic-solutions__copy {
    order: -1;
  }

  .phone-mock {
    max-width: 260px;
    margin-inline: auto;
  }
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
}

.pillar__title {
  font-family: var(--font-display);
  font-size: var(--h2-size);
  font-weight: var(--font-weight-heading);
  margin: 0 0 var(--space-sm);
}

.pillar__text {
  color: var(--text-muted);
  margin: 0 0 var(--space-sm);
}

/* Checklist */
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.checklist li {
  padding-left: 1.35rem;
  position: relative;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}

/* Proof */
.proof {
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: var(--space-md);
  background: #fff;
}

.proof__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 var(--space-sm);
}

.proof__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* CTA row */
.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.cta-row__title {
  font-family: var(--font-display);
  font-size: var(--h2-size);
  font-weight: var(--font-weight-heading);
  margin: 0;
}

/* About — hero tagline + architectural visual */
.about-hero {
  padding: var(--space-xl) 0 var(--space-md);
}

.about-tagline {
  margin: 0 auto;
  max-width: 38rem;
  padding: 0;
  border: 0;
  text-align: center;
}

.about-tagline p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--font-weight-heading);
  font-size: clamp(1.45rem, 2.2vw + 0.85rem, 2.35rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--text);
  quotes: "\201C" "\201D";
}

.about-tagline p::before {
  content: open-quote;
}

.about-tagline p::after {
  content: close-quote;
}

.about-hero__figure {
  margin: var(--space-lg) auto 0;
  max-width: min(920px, 100%);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--text);
}

.about-hero__img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(1) contrast(1.08);
}

/* About — How we work (framed steps, pill badges; sequential reveal, transparent bg) */
.about-how-section {
  padding-block: var(--section-pad-y);
  background: transparent;
}

.about-how__head {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.about-how__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--h2-size);
  font-weight: var(--font-weight-heading);
  letter-spacing: -0.02em;
  color: var(--text);
}

.about-steps--flow {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 880px;
  margin-inline: auto;
  padding: 0.25rem 0.5rem;
  background: transparent;
}

.about-flow-step {
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-md);
}

.about-flow-step:last-child {
  margin-bottom: 0;
}

/* Hidden until scroll triggers .about-steps--play (reduced motion shows immediately via media query) */
.about-steps--flow .about-flow-step__frame,
.about-steps--flow .about-flow-step__badge,
.about-steps--flow .about-flow-step__desc {
  opacity: 0;
  transform: translateY(12px);
}

.about-flow-step__layout {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  gap: clamp(0.75rem, 2.5vw, 1.5rem);
  align-items: center;
}

.about-flow-step--even .about-flow-step__layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
}

.about-flow-step__frame-block {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.about-flow-step--even .about-flow-step__frame-block {
  flex-direction: row-reverse;
  justify-self: end;
}

.about-flow-step__frame {
  position: relative;
  flex-shrink: 0;
  width: clamp(88px, 22vw, 112px);
  height: clamp(76px, 19vw, 96px);
  border: 2px solid var(--accent);
  border-radius: 14px;
  background: transparent;
}

.about-flow-step__notch {
  position: absolute;
  width: clamp(32px, 8vw, 40px);
  height: clamp(32px, 8vw, 40px);
  border-radius: 50%;
  background: var(--bg);
  pointer-events: none;
}

.about-flow-step__notch--br {
  bottom: -3px;
  right: -3px;
}

.about-flow-step__notch--bl {
  bottom: -3px;
  left: -3px;
}

.about-flow-step__num {
  position: absolute;
  top: 0.45rem;
  left: 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  font-weight: var(--font-weight-heading);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
}

.about-flow-step--even .about-flow-step__num {
  left: auto;
  right: 0.55rem;
}

.about-flow-step__badge {
  margin: 0 0 0 -0.85rem;
  padding: 0.5rem 1.15rem;
  max-width: min(100%, 220px);
  background: var(--accent);
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 1.85vw, 0.88rem);
  font-weight: var(--font-weight-heading);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  line-height: 1.25;
  box-shadow: 0 4px 14px rgba(132, 165, 61, 0.25);
  z-index: 2;
}

.about-flow-step--even .about-flow-step__badge {
  margin: 0 -0.85rem 0 0;
}

.about-flow-step__desc {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 2vw, 1rem);
  font-weight: var(--font-weight-body);
  line-height: 1.55;
  color: var(--text-muted);
}

.about-flow-step__desc::before {
  content: "";
  flex-shrink: 0;
  width: clamp(22px, 5vw, 36px);
  height: 2px;
  background: var(--text);
  opacity: 0.45;
}

.about-flow-step--even .about-flow-step__desc {
  flex-direction: row-reverse;
  text-align: right;
}

.about-flow-step--even .about-flow-step__desc::before {
  opacity: 0.45;
}

@keyframes about-flow-piece-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

/* Step 1: frame → badge → desc */
.about-steps--play .about-flow-step--1 .about-flow-step__frame {
  animation: about-flow-piece-in 0.45s ease forwards;
  animation-delay: 0s;
}

.about-steps--play .about-flow-step--1 .about-flow-step__badge {
  animation: about-flow-piece-in 0.45s ease forwards;
  animation-delay: 0.42s;
}

.about-steps--play .about-flow-step--1 .about-flow-step__desc {
  animation: about-flow-piece-in 0.45s ease forwards;
  animation-delay: 0.84s;
}

/* Step 2: after step 1 finishes */
.about-steps--play .about-flow-step--2 .about-flow-step__frame {
  animation: about-flow-piece-in 0.45s ease forwards;
  animation-delay: 1.38s;
}

.about-steps--play .about-flow-step--2 .about-flow-step__badge {
  animation: about-flow-piece-in 0.45s ease forwards;
  animation-delay: 1.8s;
}

.about-steps--play .about-flow-step--2 .about-flow-step__desc {
  animation: about-flow-piece-in 0.45s ease forwards;
  animation-delay: 2.22s;
}

/* Step 3 */
.about-steps--play .about-flow-step--3 .about-flow-step__frame {
  animation: about-flow-piece-in 0.45s ease forwards;
  animation-delay: 2.76s;
}

.about-steps--play .about-flow-step--3 .about-flow-step__badge {
  animation: about-flow-piece-in 0.45s ease forwards;
  animation-delay: 3.18s;
}

.about-steps--play .about-flow-step--3 .about-flow-step__desc {
  animation: about-flow-piece-in 0.45s ease forwards;
  animation-delay: 3.6s;
}

@media (max-width: 639px) {
  .about-flow-step__layout {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .about-flow-step--even .about-flow-step__layout {
    grid-template-columns: 1fr;
  }

  .about-flow-step__frame-block {
    flex-wrap: wrap;
    max-width: 100%;
  }

  .about-flow-step--even .about-flow-step__frame-block {
    flex-direction: row;
    justify-content: flex-end;
  }

  .about-flow-step__badge {
    margin-left: -0.85rem;
    max-width: none;
  }

  .about-flow-step--even .about-flow-step__badge {
    margin-right: -0.85rem;
    margin-left: 0;
  }

  .about-flow-step__desc,
  .about-flow-step--even .about-flow-step__desc {
    flex-direction: row;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-steps--flow .about-flow-step__frame,
  .about-steps--flow .about-flow-step__badge,
  .about-steps--flow .about-flow-step__desc {
    opacity: 1;
    transform: none;
  }

  .about-steps--play .about-flow-step--1 .about-flow-step__frame,
  .about-steps--play .about-flow-step--1 .about-flow-step__badge,
  .about-steps--play .about-flow-step--1 .about-flow-step__desc,
  .about-steps--play .about-flow-step--2 .about-flow-step__frame,
  .about-steps--play .about-flow-step--2 .about-flow-step__badge,
  .about-steps--play .about-flow-step--2 .about-flow-step__desc,
  .about-steps--play .about-flow-step--3 .about-flow-step__frame,
  .about-steps--play .about-flow-step--3 .about-flow-step__badge,
  .about-steps--play .about-flow-step--3 .about-flow-step__desc {
    animation: none !important;
  }
}

/* About — Team */
.team-section {
  padding-block: var(--section-pad-y);
  background: transparent;
}

.team-section__head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto var(--space-lg);
}

.team-section__title {
  margin: 0 0 var(--space-xs);
  font-family: var(--font-display);
  font-size: var(--h2-size);
  font-weight: var(--font-weight-heading);
  letter-spacing: -0.02em;
  color: var(--text);
}

.team-section__lede {
  margin: 0;
  font-size: 1.05rem;
  font-weight: var(--font-weight-body);
  line-height: 1.55;
  color: var(--text-muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-md);
  align-items: stretch;
}

.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-lg) var(--space-md) var(--space-lg);
  background: #a7c566;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid color-mix(in srgb, var(--text) 14%, transparent);
  text-align: center;
}

.team-card__avatar-wrap {
  width: 132px;
  height: 132px;
  flex-shrink: 0;
  margin: 0 0 var(--space-sm);
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.2) 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.5) inset,
    0 0 0 2px color-mix(in srgb, var(--text) 18%, transparent);
}

.team-card__avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #fff;
}

.team-card__name {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.1rem);
  font-weight: var(--font-weight-heading);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--text);
}

.team-card__role {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(0.82rem, 1.8vw, 0.92rem);
  font-weight: var(--font-weight-body);
  line-height: 1.45;
  color: color-mix(in srgb, var(--text) 82%, #1e2614);
  max-width: 18rem;
}

@media (max-width: 479px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* Page head */
.page-head {
  padding: var(--space-xl) 0 var(--space-md);
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.65rem);
  line-height: 1.15;
  font-weight: var(--font-weight-heading);
  margin: 0 0 var(--space-sm);
  letter-spacing: -0.03em;
}

.page-lede {
  font-size: 1.15rem;
  font-weight: var(--font-weight-body);
  color: var(--text-muted);
  margin: 0;
}

/* Prose */
.prose h2 {
  font-family: var(--font-display);
  font-size: var(--h3-size);
  font-weight: var(--font-weight-heading);
  margin: var(--space-lg) 0 var(--space-sm);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: var(--h4-size);
  font-weight: var(--font-weight-heading);
  margin: var(--space-md) 0 var(--space-sm);
  color: var(--text);
}

.prose h4 {
  font-family: var(--font-display);
  font-size: var(--h5-size);
  font-weight: var(--font-weight-heading);
  margin: var(--space-md) 0 var(--space-xs);
  color: var(--text);
}

.prose h5,
.prose h6 {
  font-family: var(--font-display);
  font-size: var(--h6-size);
  font-weight: var(--font-weight-heading);
  margin: var(--space-sm) 0 var(--space-xs);
  color: var(--text);
}

.prose p,
.prose ul {
  margin: 0 0 var(--space-sm);
  color: var(--text-muted);
  font-weight: var(--font-weight-body);
}

.prose ul {
  padding-left: 1.2rem;
}

.dash-list li {
  list-style-type: "—  ";
}

/* Contact — cards match .team-card (about) + layered shadow */
.contact-card {
  border: 1px solid color-mix(in srgb, var(--text) 14%, transparent);
  border-radius: 16px;
  padding: var(--space-md);
  background: #a7c566;
  box-shadow:
    var(--shadow),
    0 8px 28px rgba(30, 38, 20, 0.12);
}

.contact-card__title {
  font-family: var(--font-display);
  margin: 0 0 var(--space-sm);
  font-size: var(--h4-size);
  font-weight: var(--font-weight-heading);
}

.contact-card p {
  margin: 0 0 0.5rem;
}

.contact-card__note {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: var(--space-sm) !important;
}

/* Contact page — explicit cream band (matches body / home --bg) */
.contact-page-section {
  background: var(--bg);
}

.contact-cards-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
  align-items: stretch;
}

.contact-cards-row__col {
  min-width: 0;
}

.contact-detail-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-detail-card__item {
  margin: 0;
}

.contact-detail-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.contact-detail-card__link:hover {
  color: #1a1712;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.contact-detail-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: color-mix(in srgb, #25d366 18%, #fff);
  color: #128c7e;
}

.contact-detail-card__icon--email {
  background: color-mix(in srgb, var(--accent) 20%, #fff);
  color: var(--accent-hover);
}

.contact-detail-card__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.contact-detail-card__item--phone-visual {
  display: flex;
  justify-content: center;
  padding-block: 0.25rem;
}

.contact-detail-card__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.contact-detail-card__address {
  font-style: normal;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.45;
}

/* Contact detail card — smaller type for WhatsApp / email / address */
.contact-detail-card .contact-card__title {
  font-size: clamp(1.02rem, 0.92rem + 0.35vw, 1.12rem);
}

.contact-detail-card .contact-detail-card__link {
  font-size: 0.875rem;
}

.contact-detail-card .contact-detail-card__label {
  font-size: 0.65rem;
}

.contact-detail-card .contact-detail-card__address {
  font-size: 0.875rem;
}

.contact-detail-card .contact-card__note {
  font-size: 0.82rem;
}

.contact-detail-card .contact-phone-screen__label {
  font-size: 0.52rem;
}

.contact-detail-card .contact-phone-screen__number {
  font-size: clamp(0.68rem, 1.8vw, 0.78rem);
}

.contact-detail-card .contact-detail-card__icon {
  width: 2rem;
  height: 2rem;
}

.contact-detail-card .contact-detail-card__icon svg {
  width: 1rem;
  height: 1rem;
}

.contact-map-card__embed {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: color-mix(in srgb, var(--text) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--text) 16%, transparent);
  box-shadow: 0 4px 18px rgba(30, 38, 20, 0.1);
}

.contact-map-card__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.field {
  margin-bottom: var(--space-md);
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  background: var(--bg);
  color: var(--text);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  margin-bottom: var(--space-md);
}

.alert ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.alert--success {
  background: color-mix(in srgb, var(--accent) 14%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}

.alert--error {
  background: #fcefef;
  border: 1px solid #e8bcbc;
  color: #5c2222;
}

/* Footer — match section--dark / home CTA band */
.site-footer {
  margin-top: 0;
  padding: clamp(2.25rem, 5vw, 3.25rem) 0 var(--space-md);
  background: var(--bg-dark);
  color: color-mix(in srgb, var(--bg) 88%, #fff);
  border-top: none;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 18% 20%, color-mix(in srgb, var(--accent) 22%, transparent) 0%, transparent 52%),
    radial-gradient(ellipse 60% 45% at 92% 78%, color-mix(in srgb, var(--accent) 14%, transparent) 0%, transparent 48%);
  pointer-events: none;
}

.site-footer .shell {
  position: relative;
  z-index: 1;
}

.site-footer a {
  color: #c5d889;
  text-decoration: none;
}

.site-footer a:hover {
  color: #dde9b8;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 0.9fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.site-footer__col--brand {
  padding-right: clamp(0.5rem, 2vw, 1.5rem);
}

.site-footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  margin-bottom: var(--space-sm);
}

.site-footer__brand-link:hover {
  color: #fff;
}

.site-footer__brand-link:hover .site-footer__wordmark-ms,
.site-footer__brand-link:hover .site-footer__wordmark-solutions {
  color: inherit;
}

.site-footer__logo {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.site-footer__wordmark {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: var(--font-weight-heading);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 0.25em;
}

.site-footer__wordmark-solutions {
  font-weight: 300;
}

.site-footer__desc {
  margin: 0;
  font-size: clamp(0.86rem, 0.82rem + 0.15vw, 0.92rem);
  line-height: 1.5;
  color: color-mix(in srgb, #f4e3c9 62%, var(--text-muted));
  max-width: 22rem;
}

.site-footer__heading {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: var(--font-weight-heading);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0 0 0.85rem;
  color: #fff;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.site-footer__links a {
  font-size: 0.8rem;
  font-weight: 300;
}

.site-footer__address {
  margin: 0 0 var(--space-sm);
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.5;
  color: color-mix(in srgb, #f4e3c9 68%, var(--text-muted));
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.site-footer__social {
  list-style: none;
  margin: 0 0 var(--space-sm);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  background: color-mix(in srgb, #fff 8%, transparent);
  color: color-mix(in srgb, var(--bg) 88%, #fff);
  text-decoration: none;
  border: 1px solid color-mix(in srgb, #fff 16%, transparent);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.site-footer__social-link:hover {
  background: color-mix(in srgb, #fff 14%, transparent);
  color: #fff;
  transform: translateY(-1px);
}

.site-footer__social-icon {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.site-footer__phone {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.site-footer__email {
  margin: 0.5rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
  margin-top: clamp(1.5rem, 3vw, 2rem);
  padding-top: var(--space-md);
  border-top: 1px solid color-mix(in srgb, #fff 14%, transparent);
  font-size: 0.86rem;
  color: color-mix(in srgb, #f4e3c9 58%, var(--text-muted));
}

.site-footer__bottom a {
  color: #c5d889;
  font-weight: 300;
}

.site-footer__bottom a:hover {
  color: #dde9b8;
}

.sitemap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sitemap-list a {
  font-weight: 600;
}

/* Mobile */
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .hero__visual {
    min-height: clamp(240px, 52vw, 320px);
    max-width: min(420px, 100%);
    margin-inline: auto;
    order: 1;
  }

  .hero__copy {
    order: 0;
  }

  .hero-visual {
    min-height: clamp(240px, 58vw, 340px);
    max-width: 100%;
  }
}

@media (max-width: 860px) {
  .core-services__grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .svc-tile {
    min-height: 11rem;
  }

  .why__rack {
    flex-direction: column;
    width: 100%;
    max-width: 380px;
    border-radius: 14px;
  }

  .why-card {
    width: 100%;
    min-height: 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    padding: var(--space-md) var(--space-md);
  }

  .why-card--follow {
    border-bottom-color: rgba(255, 255, 255, 0.14);
  }

  .why-card:last-child {
    border-bottom: none;
  }

  .why__head {
    margin-bottom: var(--space-md);
  }

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

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

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__col--brand {
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  :root {
    --shell: min(1120px, calc(100% - 1.5rem));
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header__cluster {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-md);
    gap: var(--space-md);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.2s ease;
  }

  .site-header__cluster.is-open {
    max-height: 80vh;
    opacity: 1;
    pointer-events: auto;
    overflow-y: auto;
  }

  .site-header__actions {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border);
    margin-left: 0;
  }

  .site-header__lang {
    justify-content: center;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
    padding-top: var(--space-xs);
  }

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

  .site-nav__sub {
    position: static;
    box-shadow: none;
    border: 0;
    padding-left: 0.75rem;
  }

  .site-nav__sub.is-open {
    display: block !important;
  }

  .site-nav__cta {
    justify-content: center;
    width: 100%;
  }

  .hero {
    padding-block: var(--section-pad-y);
  }

  .hero__title {
    font-size: clamp(1.65rem, 0.85rem + 3.6vw, 2.35rem);
    line-height: 1.14;
  }

  .hero__lede {
    margin-bottom: var(--space-md);
  }

  .hero__visual {
    min-height: clamp(228px, 62vw, 300px);
  }

  .hero-visual {
    min-height: clamp(228px, 62vw, 300px);
  }

  .btn {
    font-size: clamp(0.88rem, 0.82rem + 0.35vw, 0.95rem);
  }
}
