:root {
  --ink: #0b0e10;
  --ink-soft: #141a1d;
  --muted: #5b636d;
  --muted-strong: #3a424b;
  --line: #e0e6df;
  --line-soft: #eef1ec;
  --paper: #f4f2ec;
  --paper-warm: #f8f6f0;
  --white: #ffffff;
  --green: #2da339;
  --green-bright: #3ab847;
  --green-dark: #218229;

  /* Typography */
  --font-body: "Inter", system-ui, -apple-system, Arial, sans-serif;
  --font-display: "Sora", "Inter", system-ui, sans-serif;

  /* Gradients */
  --grad-green: linear-gradient(135deg, #3ab847 0%, #218229 100%);
  --grad-dark: linear-gradient(150deg, #1a2226 0%, #0b0e10 60%);

  /* Shadows */
  --shadow-sm: 0 4px 16px rgba(11, 14, 16, 0.06);
  --shadow-md: 0 16px 50px rgba(11, 14, 16, 0.1);
  --shadow-lg: 0 28px 80px rgba(11, 14, 16, 0.16);
  --shadow: 0 24px 90px rgba(12, 16, 18, 0.16);

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

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background: var(--white);
}

/* Subtle film grain - disabled */
.grain-overlay {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  border-radius: 0;
}

button {
  font: inherit;
}

[hidden] {
  display: none !important;
}

html[data-zync-density="compact"] .section {
  padding-top: clamp(46px, 7vw, 82px);
  padding-bottom: clamp(46px, 7vw, 82px);
}

html[data-zync-density="spacious"] .section {
  padding-top: clamp(82px, 11vw, 142px);
  padding-bottom: clamp(82px, 11vw, 142px);
}

html[data-zync-corners="soft"] .button,
html[data-zync-corners="soft"] .header-shell,
html[data-zync-corners="soft"] .admin-card,
html[data-zync-corners="soft"] .admin-panel,
html[data-zync-corners="soft"] .admin-blog-panel,
html[data-zync-corners="soft"] .theme-editor-panel,
html[data-zync-corners="soft"] .theme-preview-panel,
html[data-zync-corners="soft"] .system-grid article,
html[data-zync-corners="soft"] .blog-card,
html[data-zync-corners="soft"] .case-study,
html[data-zync-corners="soft"] .contact-box {
  border-radius: 10px;
}

html[data-zync-corners="rounded"] .button,
html[data-zync-corners="rounded"] .header-shell,
html[data-zync-corners="rounded"] .admin-card,
html[data-zync-corners="rounded"] .admin-panel,
html[data-zync-corners="rounded"] .admin-blog-panel,
html[data-zync-corners="rounded"] .theme-editor-panel,
html[data-zync-corners="rounded"] .theme-preview-panel,
html[data-zync-corners="rounded"] .system-grid article,
html[data-zync-corners="rounded"] .blog-card,
html[data-zync-corners="rounded"] .case-study,
html[data-zync-corners="rounded"] .contact-box {
  border-radius: 18px;
}

html[data-zync-motion="calm"] [data-reveal] {
  transition-duration: 420ms;
  transform: translateY(18px);
}

html[data-zync-motion="none"] *,
html[data-zync-motion="none"] *::before,
html[data-zync-motion="none"] *::after {
  animation-duration: 1ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
  transition-duration: 1ms !important;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  padding: 0 clamp(20px, 4vw, 56px);
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
  transition: box-shadow 300ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.header-shell {
  width: min(1400px, 100%);
  height: 64px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  margin: 0 auto;
  pointer-events: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}

.brand-logo {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  font-weight: 600;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 6px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.main-nav a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.main-nav a.active {
  color: var(--white);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 7px;
  border: none;
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--green);
  transition: background 180ms ease, transform 180ms ease;
}

.header-cta:hover {
  background: var(--green-bright);
  transform: translateY(-1px);
}

.mobile-menu {
  display: none;
}

.mobile-menu summary {
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 5px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary span {
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

.mobile-nav {
  position: absolute;
  top: calc(100% + 8px);
  right: clamp(16px, 4vw, 56px);
  left: clamp(16px, 4vw, 56px);
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.mobile-nav a {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 9px;
  color: var(--muted-strong);
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.mobile-nav a:hover {
  color: var(--ink);
  background: var(--line-soft);
}

.mobile-nav .mobile-cta {
  justify-content: center;
  color: var(--white);
  background: var(--green);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 12, 14, 0.92) 0%, rgba(10, 12, 14, 0.68) 34%, rgba(10, 12, 14, 0.08) 74%),
    linear-gradient(180deg, rgba(10, 12, 14, 0.1) 50%, rgba(10, 12, 14, 0.72) 100%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin: 0 clamp(18px, 6vw, 84px) clamp(42px, 8vw, 88px);
  padding-top: 120px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  opacity: 0.7;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 800;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-lede {
  max-width: 660px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: 0.005em;
  text-align: center;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease,
    transform 220ms var(--ease-out), box-shadow 220ms ease, filter 200ms ease;
}

.button.primary {
  color: var(--white);
  background: var(--grad-green);
  box-shadow: 0 12px 30px rgba(45, 163, 57, 0.3);
  transform: translate(var(--mx, 0), var(--my, 0));
}

/* Shine sweep on primary */
.button.primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-18deg);
  transition: left 640ms var(--ease-out);
}

.button.primary:hover {
  box-shadow: var(--shadow-md);
  filter: brightness(1.05);
}

.button.primary:hover::after {
  left: 150%;
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.button.dark {
  background: var(--ink);
}

.button.neutral {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.button.neutral:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 10px;
  margin: 0;
}

.hero-stats div {
  min-height: 86px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: transform 260ms var(--ease-out), background 260ms ease, border-color 260ms ease;
}

.hero-stats div:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(45, 163, 57, 0.42);
}

.hero-stats dt {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hero-stats dd {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
}

.home-hero {
  min-height: 100vh;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.54fr);
  align-items: end;
  gap: clamp(28px, 4vw, 64px);
  padding: 140px clamp(18px, 5vw, 72px) clamp(34px, 6vw, 72px);
}

.home-hero .hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 10, 12, 0.96) 0%, rgba(7, 10, 12, 0.74) 46%, rgba(7, 10, 12, 0.4) 100%),
    linear-gradient(180deg, rgba(7, 10, 12, 0.2), rgba(7, 10, 12, 0.86));
}

/* Animated aurora glow drifting behind the hero content */
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(38% 50% at 22% 30%, rgba(45, 163, 57, 0.3), transparent 70%),
    radial-gradient(40% 52% at 82% 36%, rgba(58, 184, 71, 0.26), transparent 70%);
  filter: blur(8px);
  animation: auroraDrift 16s ease-in-out infinite alternate;
}

@keyframes auroraDrift {
  0% {
    transform: translate3d(-3%, -2%, 0) scale(1);
    opacity: 0.85;
  }
  100% {
    transform: translate3d(4%, 3%, 0) scale(1.08);
    opacity: 1;
  }
}

.home-hero .hero-content {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  margin: 0;
  padding-top: 0;
}

.home-hero h1 {
  max-width: 860px;
  font-size: clamp(2.8rem, 7vw, 5rem);
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.72) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-hero .hero-lede {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
}

.home-hero .hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 650px;
}

.home-hero .hero-stats div {
  background: rgba(255, 255, 255, 0.07);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hero-command {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  align-self: end;
  margin-bottom: clamp(4px, 2vw, 28px);
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04)),
    rgba(8, 12, 14, 0.72);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.42);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

.command-top,
.command-metric,
.command-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.command-top span,
.command-metric span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.command-top strong {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.command-metric {
  display: grid;
  align-items: start;
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.command-metric strong {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.05;
}

.command-chart {
  height: 180px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  align-items: end;
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.command-chart i {
  display: block;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--green-bright), rgba(45, 163, 57, 0.82));
  animation: barLift 2.6s ease-in-out infinite alternate;
}

.command-chart i:nth-child(2n) {
  animation-delay: 0.35s;
}

.command-list {
  display: grid;
  gap: 8px;
}

.command-list div {
  justify-content: flex-start;
  min-height: 38px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 800;
}

.command-list span {
  width: 9px;
  height: 9px;
  background: var(--green-bright);
  box-shadow: 0 0 18px rgba(58, 184, 71, 0.7);
}

.client-logos {
  text-align: center;
}

.client-logos .eyebrow {
  margin-bottom: 32px;
}

.logo-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(32px, 5vw, 64px);
}

.logo-grid img {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.5);
  transition: filter 300ms ease;
}

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

.section {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 88px) 0;
}

.section-heading {
  max-width: 780px;
}

/* ─── Section utilities ──────────────────────────────────── */
.section-soft {
  background: var(--paper-warm);
}

.section-header {
  max-width: 720px;
  display: grid;
  gap: 14px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-header-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

.section-lede {
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.eyebrow-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-line::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.section-header-center .eyebrow-line {
  justify-self: center;
}

.eyebrow-dark {
  color: var(--green-bright);
}

.eyebrow-dark::before {
  background: var(--green-bright);
}

/* ─── Home Hero ──────────────────────────────────────────── */
.home-hero {
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(60px, 8vw, 110px);
  position: relative;
  overflow: hidden;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.home-hero-copy {
  display: grid;
  gap: 22px;
  max-width: 620px;
}

.home-hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}

.hero-accent {
  color: var(--green);
  position: relative;
  white-space: nowrap;
}

.home-hero-lede {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.7;
  color: var(--muted-strong);
  max-width: 540px;
  margin: 0;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

.button.ghost {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  min-height: 50px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
  transition: border-color 200ms ease, background 200ms ease, transform 200ms var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.button.ghost:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(45, 163, 57, 0.04);
  transform: translateY(-1px);
}

.home-hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 8px 0 0;
  padding: 0;
}

.home-hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted-strong);
}

.home-hero-trust svg {
  color: var(--green);
}

/* Hero dashboard visual */
.home-hero-visual {
  position: relative;
}

.hero-dashboard {
  position: relative;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(11, 14, 16, 0.08);
  display: grid;
  gap: 18px;
  animation: heroFloat 6s ease-in-out infinite;
}

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

.hero-dashboard::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(45, 163, 57, 0.4), transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.hero-dashboard-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.hero-dashboard-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}

.hero-dashboard-dot:nth-child(1) { background: #ff5f56; }
.hero-dashboard-dot:nth-child(2) { background: #ffbd2e; }
.hero-dashboard-dot:nth-child(3) { background: var(--green); }

.hero-dashboard-label {
  margin-left: auto;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hero-dash-card {
  display: grid;
  gap: 6px;
  padding: 16px;
  background: var(--paper-warm);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  transition: transform 300ms var(--ease-out), border-color 300ms ease, background 300ms ease;
  animation: cardPulse 8s ease-in-out infinite;
}

.hero-dash-card-1 { animation-delay: 0s; }
.hero-dash-card-2 { animation-delay: 2s; }
.hero-dash-card-3 { animation-delay: 4s; }
.hero-dash-card-4 { animation-delay: 6s; }

@keyframes cardPulse {
  0%, 100% { border-color: var(--line-soft); }
  50% { border-color: rgba(45, 163, 57, 0.4); background: rgba(45, 163, 57, 0.03); }
}

.hero-dash-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(45, 163, 57, 0.1);
  color: var(--green);
}

.hero-dash-card strong {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.hero-dash-card span {
  font-size: 0.76rem;
  color: var(--muted);
}

.hero-dashboard-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted-strong);
}

.hero-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(45, 163, 57, 0.5);
  animation: pulseRing 2.2s ease-out infinite;
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(45, 163, 57, 0.5); }
  100% { box-shadow: 0 0 0 12px rgba(45, 163, 57, 0); }
}

/* ─── Problem Section ────────────────────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.problem-card {
  position: relative;
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 300ms var(--ease-out), border-color 300ms ease, box-shadow 300ms ease;
}

.problem-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--green);
  border-radius: 14px 14px 0 0;
  transform: scaleX(0.2);
  transform-origin: left;
  transition: transform 320ms var(--ease-out);
}

.problem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 163, 57, 0.3);
  box-shadow: var(--shadow-md);
}

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

.problem-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(45, 163, 57, 0.08);
  color: var(--green);
  margin-bottom: 14px;
}

.problem-card h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 8px;
}

.problem-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* ─── Services Grid (revised) ────────────────────────────── */
.services-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform 300ms var(--ease-out), border-color 300ms ease, box-shadow 300ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--green);
  box-shadow: 0 18px 48px rgba(45, 163, 57, 0.12);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(45, 163, 57, 0.1);
  color: var(--green);
}

.service-tag {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  background: rgba(45, 163, 57, 0.08);
  border-radius: 999px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
}

.service-card p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

.service-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  transition: gap 200ms ease;
}

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

/* ─── Process Section ────────────────────────────────────── */
.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.process-step {
  position: relative;
  display: grid;
  gap: 16px;
}

.process-num {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  position: relative;
  z-index: 1;
  transition: transform 280ms var(--ease-spring);
}

.process-step:hover .process-num {
  transform: scale(1.08);
}

.process-step-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}

.process-step-body p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

.process-line {
  position: absolute;
  top: 26px;
  left: 52px;
  right: -24px;
  height: 1px;
  background: linear-gradient(to right, rgba(45, 163, 57, 0.4), transparent);
  pointer-events: none;
}

/* ─── Markets Section ────────────────────────────────────── */
.markets-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.markets-copy {
  display: grid;
  gap: 18px;
  max-width: 560px;
}

.markets-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

.markets-copy > p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.markets-extra {
  margin-top: 12px;
  padding: 22px;
  background: var(--paper-warm);
  border-radius: 12px;
  border-left: 3px solid var(--green);
}

.markets-extra h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}

.markets-extra p {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--muted-strong);
  margin: 0;
}

.markets-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.markets-card-label {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 18px;
}

.markets-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.markets-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--ink);
  padding: 10px 14px;
  background: var(--paper-warm);
  border-radius: 8px;
  transition: background 200ms ease, transform 200ms var(--ease-out);
}

.markets-list li:hover {
  background: rgba(45, 163, 57, 0.06);
  transform: translateX(2px);
}

.markets-check {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  flex: 0 0 auto;
}

.markets-card-foot {
  margin: 20px 0 0;
  font-size: 0.84rem;
  color: var(--muted);
  text-align: center;
}

/* ─── Audience Section ───────────────────────────────────── */
.audience-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.audience-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 240ms ease, transform 240ms var(--ease-out), box-shadow 240ms ease;
}

.audience-item:hover {
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 163, 57, 0.08);
}

.audience-bullet {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(45, 163, 57, 0.1);
  color: var(--green);
  flex: 0 0 auto;
}

/* ─── Projects Section ───────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-tile {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 280ms var(--ease-out), border-color 280ms ease, box-shadow 280ms ease;
}

.project-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 163, 57, 0.4);
  box-shadow: var(--shadow-sm);
}

.project-tile-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(45, 163, 57, 0.08);
  color: var(--green);
  margin-bottom: 14px;
}

.project-tile h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}

.project-tile p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* ─── Home Blog ──────────────────────────────────────────── */
.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.home-blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 320ms var(--ease-out), border-color 320ms ease, box-shadow 320ms ease;
}

.home-blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(45, 163, 57, 0.3);
  box-shadow: 0 20px 50px rgba(11, 14, 16, 0.08);
}

.home-blog-image {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--paper-warm), #ecefe8);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.home-blog-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(45, 163, 57, 0.18), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(45, 163, 57, 0.08), transparent 50%);
}

.home-blog-image-mark {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--white);
  color: var(--green);
  box-shadow: 0 8px 24px rgba(11, 14, 16, 0.06);
  transition: transform 320ms var(--ease-out);
}

.home-blog-card:hover .home-blog-image-mark {
  transform: scale(1.06);
}

.home-blog-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.home-blog-cat {
  display: inline-block;
  width: fit-content;
  padding: 4px 10px;
  background: var(--green);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 6px;
}

.home-blog-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
}

.home-blog-body p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  flex: 1;
}

.home-blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.84rem;
  color: var(--muted);
}

.home-blog-link {
  font-weight: 700;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 200ms ease;
}

.home-blog-card:hover .home-blog-link {
  gap: 8px;
}

.home-blog-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(32px, 4vw, 48px);
}

/* ─── Home About ─────────────────────────────────────────── */
.home-about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.home-about-copy {
  display: grid;
  gap: 18px;
  max-width: 560px;
}

.home-about-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

.home-about-copy p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted-strong);
  margin: 0;
}

.home-about-actions {
  padding-top: 6px;
}

.home-about-card {
  padding: 32px;
  background: var(--ink);
  color: var(--white);
  border-radius: 16px;
  box-shadow: 0 24px 50px rgba(11, 14, 16, 0.14);
}

.home-about-card-label {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--green-bright);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 22px;
}

.home-about-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.home-about-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.home-about-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(45, 163, 57, 0.18);
  color: var(--green-bright);
  flex: 0 0 auto;
  margin-top: 2px;
}

.home-about-list strong {
  display: block;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.home-about-list span {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
}

/* ─── Home CTA ───────────────────────────────────────────── */
.home-cta-inner {
  position: relative;
  padding: clamp(48px, 7vw, 80px) clamp(28px, 5vw, 64px);
  background: var(--ink);
  color: var(--white);
  border-radius: 18px;
  text-align: center;
  overflow: hidden;
}

.home-cta-glow {
  position: absolute;
  top: -30%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translateX(-50%);
  background: radial-gradient(circle at center, rgba(45, 163, 57, 0.25), transparent 60%);
  pointer-events: none;
}

.home-cta-inner h2 {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 14px 0 14px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.home-cta-inner > p {
  position: relative;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
  margin: 0 auto 28px;
}

.home-cta-actions {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.home-cta-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, color 200ms ease;
}

.home-cta-mail:hover {
  color: var(--green-bright);
  border-bottom-color: var(--green-bright);
}

.home-cta-mail svg {
  color: var(--green-bright);
}

/* ─── Site CTA (unified bottom CTA, used on every page) ──── */
.site-cta {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 56px);
}

.site-cta-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) clamp(28px, 5vw, 56px);
  background: var(--ink);
  color: var(--white);
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.site-cta-glow {
  position: absolute;
  top: -40%;
  right: -10%;
  width: 620px;
  height: 620px;
  background: radial-gradient(
    circle at center,
    rgba(45, 163, 57, 0.32),
    transparent 60%
  );
  pointer-events: none;
}

.site-cta-copy {
  position: relative;
}

.site-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 16px;
  max-width: 480px;
}

.site-cta-lede {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 24px;
  max-width: 460px;
}

.site-cta-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.site-cta-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
}

.site-cta-bullets svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--green-bright);
}

.site-cta-form-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: clamp(24px, 3.5vw, 32px);
  box-shadow:
    0 24px 48px -16px rgba(0, 0, 0, 0.45),
    0 2px 6px -2px rgba(0, 0, 0, 0.25);
  color: var(--ink);
}

.site-cta-form {
  display: grid;
  gap: 16px;
}

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

.site-cta-field {
  display: grid;
  gap: 6px;
}

.site-cta-field label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.site-cta-field label span {
  color: var(--green);
  margin-left: 2px;
}

.site-cta-field input,
.site-cta-field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #f6f7f5;
  border: 1px solid #e3e5df;
  border-radius: 10px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-cta-field textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.5;
}

.site-cta-field input::placeholder,
.site-cta-field textarea::placeholder {
  color: rgba(12, 16, 18, 0.42);
}

.site-cta-field input:focus,
.site-cta-field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(45, 163, 57, 0.14);
}

.site-cta-submit {
  margin-top: 4px;
  justify-content: center;
  width: 100%;
}

.site-cta-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.site-cta-submit svg {
  margin-left: 4px;
}

.site-cta-note {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: rgba(12, 16, 18, 0.62);
  line-height: 1.55;
}

.site-cta-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 2px;
  color: #128c3a;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, color 180ms ease;
}

.site-cta-whatsapp:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}

.site-cta-whatsapp svg {
  color: #25d366;
}

.site-cta-status {
  margin: 4px 0 0;
  min-height: 1.2em;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.4;
}

.site-cta-status.is-success {
  color: #128c3a;
}

.site-cta-status.is-error {
  color: #b3261e;
}

@media (max-width: 900px) {
  .site-cta-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: clamp(32px, 5vw, 48px) clamp(22px, 4vw, 36px);
  }

  .site-cta-glow {
    top: -50%;
    right: -30%;
    width: 460px;
    height: 460px;
  }

  .site-cta-title {
    max-width: none;
  }

  .site-cta-lede {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .site-cta {
    padding-left: 14px;
    padding-right: 14px;
  }

  .site-cta-inner {
    border-radius: 16px;
  }
}

/* ─── Home Hero — Responsive ─────────────────────────────── */
@media (max-width: 1024px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .home-hero-visual {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

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

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

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .process-line {
    display: none;
  }

  .markets-grid,
  .home-about-grid {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 640px) {
  .home-hero {
    padding-top: clamp(32px, 6vw, 56px);
  }

  .problem-grid,
  .audience-grid,
  .projects-grid,
  .home-blog-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .hero-dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-cta-actions {
    flex-direction: column;
    gap: 16px;
  }

  .home-cta-mail {
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: center;
  }
}



/* ─── Services Grid ──────────────────────────────────────── */
.services-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.services-header p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.services-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  display: grid;
  gap: 12px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  text-decoration: none;
  color: inherit;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.service-card:hover {
  border-color: var(--green);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  transform: translateY(-3px);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(45, 163, 57, 0.08);
  color: var(--green);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.service-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

.service-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green);
}

/* ─── Why Us ─────────────────────────────────────────────── */
.why-us-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.why-us-grid article {
  display: grid;
  gap: 12px;
  text-align: center;
}

.why-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border-radius: 50%;
  background: rgba(45, 163, 57, 0.08);
  color: var(--green);
}

.why-us-grid h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}

.why-us-grid p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

/* ─── Email Signup ───────────────────────────────────────── */
.email-signup {
  border-top: 1px solid var(--line);
}

.email-signup-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.email-signup-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.email-signup-lede {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 440px;
}

.email-signup-form {
  display: grid;
  gap: 12px;
}

.email-signup-row {
  display: flex;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
  transition: border-color 200ms ease;
}

.email-signup-row:focus-within {
  border-color: var(--green);
}

.email-signup-row input {
  flex: 1;
  min-width: 0;
  height: 56px;
  padding: 0 24px;
  border: none;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  background: transparent;
  outline: none;
}

.email-signup-row input::placeholder {
  color: var(--muted);
}

.email-signup-row button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  border: none;
  border-radius: 999px;
  margin: 6px 6px 6px 0;
  background: var(--green);
  color: white;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  white-space: nowrap;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}

.email-signup-row button:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.email-signup-note {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0;
}

.email-signup-status {
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0;
}

.email-signup-status.success {
  color: var(--green);
}

.email-signup-status.error {
  color: #d94d1f;
}

@media (max-width: 768px) {
  .email-signup-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .email-signup-row {
    flex-direction: column;
    border-radius: 16px;
  }

  .email-signup-row input {
    height: 52px;
    border-bottom: 1px solid var(--line);
    padding: 0 20px;
  }

  .email-signup-row button {
    margin: 8px;
    border-radius: 12px;
    height: 48px;
    justify-content: center;
  }
}

/* ─── CTA Band ───────────────────────────────────────────── */
.cta-band-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) 32px;
  background: var(--ink);
  border-radius: 16px;
  color: var(--white);
}

.cta-band-inner h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.cta-band-inner p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.cta-band-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.page-main {
  padding-top: 96px;
}

/* Breadcrumbs */
.breadcrumbs {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 0 0;
}

.breadcrumbs ol {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
}

.breadcrumbs li {
  display: flex;
  align-items: center;
}

.breadcrumbs li + li::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0 10px;
  background: currentColor;
  opacity: 0.35;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease;
}

.breadcrumbs a:hover {
  color: var(--green);
}

.breadcrumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════
   Dynamic Blog Post Page (/blog/:slug)
   - Skeleton loader, 404/error states
   - Hero with sidebar TOC, prose typography
   - Share row, author card, related grid, final CTA
   ═══════════════════════════════════════════════════════════ */

.blog-post-page main {
  background: var(--paper);
}

.bp.section {
  padding: 0;
}

.bp-article,
.bp-skeleton,
.bp-state {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─── Skeleton loader ─── */
.bp-skeleton {
  padding-top: 56px;
  padding-bottom: 80px;
  display: grid;
  gap: 16px;
}

.bp-skeleton > * {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.05) 100%);
  background-size: 200% 100%;
  border-radius: 8px;
  animation: bpShimmer 1.4s ease-in-out infinite;
}

.bp-skeleton-breadcrumb {
  height: 14px;
  width: 240px;
}

.bp-skeleton-badge {
  height: 22px;
  width: 110px;
  border-radius: 999px;
  margin-top: 8px;
}

.bp-skeleton-title {
  height: 44px;
  width: 100%;
  max-width: 760px;
  border-radius: 10px;
}

.bp-skeleton-title-short {
  width: 60%;
}

.bp-skeleton-meta {
  height: 18px;
  width: 340px;
  margin-top: 8px;
}

.bp-skeleton-image {
  height: clamp(220px, 32vw, 380px);
  width: 100%;
  border-radius: 18px;
  margin: 16px 0 32px;
}

.bp-skeleton-line {
  height: 14px;
  width: 100%;
  max-width: 720px;
}

.bp-skeleton-line-short {
  width: 70%;
}

@keyframes bpShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ─── Error / 404 state ─── */
.bp-state {
  display: grid;
  place-items: center;
  min-height: 60vh;
  padding-top: 64px;
  padding-bottom: 96px;
}

.bp-state-inner {
  text-align: center;
  display: grid;
  gap: 16px;
  max-width: 480px;
  justify-items: center;
}

.bp-state-icon {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: rgba(45, 163, 57, 0.1);
  color: var(--green);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
}

.bp-state-tag {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
  padding: 6px 14px;
  border: 1px solid rgba(45, 163, 57, 0.3);
  border-radius: 999px;
  background: rgba(45, 163, 57, 0.06);
}

.bp-state h1 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}

.bp-state p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.bp-state-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
}

/* ─── Breadcrumb ─── */
.bp-breadcrumb {
  padding-top: 32px;
  font-size: 0.85rem;
  color: var(--muted);
}

.bp-breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.bp-breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bp-breadcrumb li + li::before {
  content: "/";
  color: rgba(0, 0, 0, 0.25);
  font-weight: 400;
}

.bp-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease;
}

.bp-breadcrumb a:hover {
  color: var(--green);
}

.bp-breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ─── Hero ─── */
.bp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
  padding: 40px 0 64px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 64px;
}

.bp-hero-copy {
  display: grid;
  gap: 22px;
  align-content: start;
}

.bp-category {
  align-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(45, 163, 57, 0.1);
  color: var(--green);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease;
}

.bp-category:hover {
  background: rgba(45, 163, 57, 0.18);
}

.bp-title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  font-weight: 800;
}

.bp-excerpt {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  max-width: 560px;
}

.bp-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 6px;
}

.bp-meta-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bp-meta-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2da339, #1f7d29);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.bp-meta-author-name {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.2;
}

.bp-meta-author-role {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.3;
  margin-top: 2px;
}

.bp-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  display: inline-block;
}

.bp-meta-date,
.bp-meta-readtime {
  white-space: nowrap;
}

.bp-hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.bp-hero-figure {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  background: var(--paper-warm, #f3eee1);
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.25);
}

.bp-hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bp-hero-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, #f8f3e6 0%, #ede5d0 100%);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.bp-hero-fallback-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--green);
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.bp-hero-fallback-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.7;
}

.bp-hero-fallback-blob-a {
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(45, 163, 57, 0.35), transparent 70%);
  top: -10%;
  right: -15%;
}

.bp-hero-fallback-blob-b {
  width: 55%;
  height: 55%;
  background: radial-gradient(circle, rgba(217, 199, 153, 0.55), transparent 70%);
  bottom: -15%;
  left: -10%;
}

.bp-hero-fallback-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.7;
}

.bp-hero-fallback-mark {
  position: relative;
  z-index: 2;
  font-family: var(--font-display, inherit);
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 5rem);
  letter-spacing: -0.04em;
  color: rgba(31, 31, 31, 0.18);
}

/* ─── Layout: TOC + content ─── */
.bp-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  margin-bottom: 80px;
}

/* ─── TOC sidebar ─── */
.bp-toc {
  position: sticky;
  top: 96px;
}

.bp-toc-details {
  border: none;
  background: transparent;
}

.bp-toc-details > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 16px;
  cursor: default;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.bp-toc-details > summary::-webkit-details-marker {
  display: none;
}

.bp-toc-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--green);
}

.bp-toc-summary-icon {
  display: none;
  transition: transform 220ms ease;
  color: var(--muted);
}

.bp-toc-details[open] .bp-toc-summary-icon {
  transform: rotate(180deg);
}

.bp-toc nav {
  margin-top: 18px;
}

.bp-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.bp-toc-item a {
  display: block;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
  border-left: 2px solid transparent;
  border-radius: 0 6px 6px 0;
  line-height: 1.4;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.bp-toc-item.bp-toc-h3 a {
  padding-left: 28px;
  font-size: 0.85rem;
}

.bp-toc-item a:hover {
  color: var(--ink);
  background: rgba(45, 163, 57, 0.05);
}

.bp-toc-item a.is-active {
  color: var(--green);
  background: rgba(45, 163, 57, 0.08);
  border-left-color: var(--green);
  font-weight: 600;
}

/* ─── Article content (prose) ─── */
.bp-content {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink);
}

.bp-content > *:first-child {
  margin-top: 0;
}

.bp-content > *:last-child {
  margin-bottom: 0;
}

.bp-content h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  line-height: 1.2;
  margin: 56px 0 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  scroll-margin-top: 96px;
}

.bp-content h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  line-height: 1.25;
  margin: 36px 0 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  scroll-margin-top: 96px;
}

.bp-content h4 {
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 28px 0 10px;
  font-weight: 700;
  color: var(--ink);
}

.bp-content p {
  margin: 0 0 22px;
}

.bp-content a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: text-decoration-thickness 180ms ease, color 180ms ease;
}

.bp-content a:hover {
  text-decoration-thickness: 2px;
  color: #1f7d29;
}

.bp-content strong {
  font-weight: 700;
  color: var(--ink);
}

.bp-content em {
  font-style: italic;
}

.bp-content ul,
.bp-content ol {
  margin: 0 0 24px;
  padding-left: 28px;
}

.bp-content li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.bp-content li::marker {
  color: var(--green);
}

.bp-content img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 32px 0;
  display: block;
}

.bp-content blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  background: rgba(45, 163, 57, 0.06);
  border-left: 4px solid var(--green);
  border-radius: 0 12px 12px 0;
  color: var(--ink);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
}

.bp-content blockquote p:last-child {
  margin-bottom: 0;
}

.bp-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: rgba(0, 0, 0, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
  color: var(--ink);
}

.bp-content pre {
  background: #1a1a1a;
  color: #f3eee1;
  padding: 20px 24px;
  border-radius: 12px;
  overflow-x: auto;
  margin: 28px 0;
  font-size: 0.92rem;
  line-height: 1.6;
}

.bp-content pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

.bp-content hr {
  border: none;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin: 48px 0;
}

/* ─── Share row ─── */
.bp-share {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 32px 0;
  margin-bottom: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.bp-share h2 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}

.bp-share-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bp-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--paper-warm, #f3eee1);
  color: var(--ink);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
  font-family: inherit;
}

.bp-share-btn:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  transform: translateY(-1px);
}

.bp-share-btn.is-copied {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* ─── Author box ─── */
.bp-author {
  margin-bottom: 80px;
}

.bp-author-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 32px;
  background: linear-gradient(135deg, #fcfaf3 0%, #f3eee1 100%);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
}

.bp-author-avatar {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2da339, #1f7d29);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  overflow: hidden;
  box-shadow: 0 12px 28px -12px rgba(45, 163, 57, 0.5);
  flex-shrink: 0;
}

.bp-author-avatar.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bp-author-body {
  display: grid;
  gap: 8px;
}

.bp-author-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--green);
}

.bp-author-body h2 {
  font-size: 1.4rem;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}

.bp-author-role {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 6px;
}

.bp-author-bio {
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.65;
  margin: 0 0 6px;
}

.bp-author-badges {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bp-author-badges li {
  font-size: 0.78rem;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 500;
}

/* ─── Related articles ─── */
.bp-related {
  margin-bottom: 80px;
}

.bp-related-head {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}

.bp-related-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}

.bp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.bp-related-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0;
  padding: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  position: relative;
}

.bp-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -28px rgba(0, 0, 0, 0.2);
  border-color: rgba(45, 163, 57, 0.3);
}

.bp-related-media {
  aspect-ratio: 16 / 10;
  background: var(--paper-warm, #f3eee1);
  position: relative;
  overflow: hidden;
}

.bp-related-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 320ms ease;
}

.bp-related-card:hover .bp-related-media img {
  transform: scale(1.05);
}

.bp-related-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, #f8f3e6, #ede5d0);
  display: grid;
  place-items: center;
  color: rgba(31, 31, 31, 0.25);
  font-weight: 900;
  font-size: 2.2rem;
  letter-spacing: -0.02em;
}

.bp-related-body {
  padding: 22px 22px 18px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.bp-related-cat {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--green);
}

.bp-related-card h3 {
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.bp-related-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bp-related-meta {
  padding: 0 22px 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
}

.bp-related-arrow {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--green);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 200ms ease, transform 200ms ease;
  pointer-events: none;
}

.bp-related-card:hover .bp-related-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ─── Final CTA ─── */
.bp-final-cta {
  margin-bottom: 80px;
}

.bp-final-cta-inner {
  position: relative;
  padding: 56px clamp(28px, 5vw, 64px);
  border-radius: 24px;
  background: linear-gradient(135deg, #141414 0%, #1f1f1f 100%);
  color: #fff;
  display: grid;
  gap: 18px;
  overflow: hidden;
  text-align: left;
}

.bp-final-cta-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 163, 57, 0.32), transparent 70%);
  filter: blur(60px);
  top: -180px;
  right: -180px;
  pointer-events: none;
}

.bp-final-cta-inner > * {
  position: relative;
  z-index: 1;
}

.bp-final-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  color: #fff;
  max-width: 720px;
}

.bp-final-cta p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  max-width: 620px;
}

.bp-final-cta-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.bp-final-cta-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 180ms ease;
}

.bp-final-cta-mail:hover {
  color: #fff;
}

.eyebrow-dark {
  color: rgba(255, 255, 255, 0.6);
}

.eyebrow-dark::before {
  background: rgba(255, 255, 255, 0.3);
}

/* ─── Responsive (≤ 1100px) ─── */
@media (max-width: 1100px) {
  .bp-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 48px;
  }
}

/* ─── Responsive (≤ 960px) ─── */
@media (max-width: 960px) {
  .bp-article,
  .bp-skeleton,
  .bp-state {
    padding: 0 24px;
  }

  .bp-hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 32px 0 48px;
    margin-bottom: 40px;
  }

  .bp-hero-figure {
    aspect-ratio: 16 / 11;
    max-height: 360px;
  }

  .bp-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 56px;
  }

  .bp-toc {
    position: static;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    background: #fff;
  }

  .bp-toc-details > summary {
    padding: 14px 18px;
    cursor: pointer;
    border-bottom: none;
  }

  .bp-toc-details[open] > summary {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .bp-toc-summary-icon {
    display: inline-flex;
  }

  .bp-toc nav {
    margin-top: 0;
    padding: 12px 12px 14px;
  }

  .bp-toc-item a {
    padding: 8px 12px;
  }

  .bp-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bp-author-card {
    padding: 24px;
    gap: 20px;
  }

  .bp-author-avatar {
    width: 72px;
    height: 72px;
    font-size: 1.2rem;
  }
}

/* ─── Responsive (≤ 640px) ─── */
@media (max-width: 640px) {
  .bp-article,
  .bp-skeleton,
  .bp-state {
    padding: 0 20px;
  }

  .bp-breadcrumb {
    font-size: 0.78rem;
    padding-top: 24px;
  }

  .bp-breadcrumb [aria-current="page"] {
    max-width: 160px;
  }

  .bp-title {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

  .bp-meta {
    gap: 10px;
    font-size: 0.82rem;
  }

  .bp-meta-dot {
    display: none;
  }

  .bp-share {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 24px 0;
  }

  .bp-share-actions {
    justify-content: flex-start;
  }

  .bp-author-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 20px;
  }

  .bp-author-avatar {
    margin: 0 auto;
  }

  .bp-author-badges {
    justify-content: center;
  }

  .bp-related-grid {
    grid-template-columns: 1fr;
  }

  .bp-final-cta-inner {
    padding: 40px 24px;
  }

  .bp-final-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .bp-final-cta-actions .button {
    width: 100%;
    justify-content: center;
  }

  .bp-final-cta-mail {
    justify-content: center;
  }
}

.page-hero {
  min-height: 58vh;
  display: grid;
  align-content: end;
  gap: 22px;
}

.page-hero h1 {
  max-width: 1050px;
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
}

.page-hero p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.75;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.65fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: end;
}

.intro-copy {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.storefront-system {
  display: grid;
  gap: 42px;
  position: relative;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  background: transparent;
  box-shadow: none;
}

.system-grid article {
  min-height: 340px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 16px 50px rgba(12, 16, 18, 0.07);
  transition: transform 280ms var(--ease-out), box-shadow 280ms ease, border-color 280ms ease, background 280ms ease;
}

.system-grid article:hover {
  transform: translateY(-8px);
  border-color: rgba(45, 163, 57, 0.32);
  box-shadow: var(--shadow-lg);
}

.system-grid article:first-child {
  color: var(--white);
  border-color: rgba(12, 16, 18, 0.2);
  background:
    radial-gradient(circle at 78% 20%, rgba(58, 184, 71, 0.26), transparent 28%),
    linear-gradient(135deg, var(--ink), #17231c);
}

.system-grid span,
.case-row span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.system-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.system-grid article:first-child p {
  color: rgba(255, 255, 255, 0.7);
}

.authority-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 0.72fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: end;
}

.authority-copy p:not(.eyebrow) {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.authority-grid {
  display: grid;
  gap: 1px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow-md);
}

.authority-grid article {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: var(--white);
}

.authority-grid span,
.outcome-grid span,
.model-grid span,
.capability-list span,
.pod-grid span,
.evidence-board span,
.route-grid span,
.editorial-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.authority-grid strong,
.capability-list span,
.pod-grid h3,
.evidence-board strong,
.route-grid strong,
.editorial-grid strong {
  font-size: 1.18rem;
}

.authority-grid p,
.outcome-grid p,
.model-grid p,
.capability-list p,
.founder-context p,
.pod-grid p,
.case-evidence-copy p,
.evidence-board p,
.route-grid p,
.editorial-system p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.outcome-lab {
  display: grid;
  gap: 42px;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.outcome-grid article {
  min-height: 310px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 16px 50px rgba(12, 16, 18, 0.08);
  transition: transform 280ms var(--ease-out), box-shadow 280ms ease, border-color 280ms ease;
}

.outcome-grid article:hover {
  transform: translateY(-8px);
  border-color: rgba(45, 163, 57, 0.32);
  box-shadow: var(--shadow-lg);
}

.outcome-grid article:nth-child(2) {
  color: var(--white);
  border-color: rgba(12, 16, 18, 0.2);
  background:
    radial-gradient(circle at 75% 18%, rgba(58, 184, 71, 0.24), transparent 28%),
    linear-gradient(135deg, var(--ink), #173326);
}

.outcome-grid strong {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 0.9;
}

.outcome-grid article:nth-child(2) p {
  color: rgba(255, 255, 255, 0.72);
}

.operating-model {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.operating-model > div:first-child {
  position: sticky;
  top: 130px;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.model-grid article {
  min-height: 230px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 36px rgba(12, 16, 18, 0.06);
  transition: transform 280ms var(--ease-out), box-shadow 280ms ease, border-color 280ms ease, background 280ms ease;
}

.model-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 163, 57, 0.3);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.capability-lab {
  width: 100%;
  padding-inline: clamp(18px, 4vw, 56px);
  color: var(--white);
  background:
    radial-gradient(circle at 16% 20%, rgba(184, 121, 69, 0.28), transparent 26%),
    linear-gradient(135deg, #101417, #23312a 48%, #11171a);
}

.capability-panel {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 86px);
  margin: 0 auto;
  align-items: start;
}

.capability-panel h2 {
  color: var(--white);
}

.capability-list {
  display: grid;
  gap: 1px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.capability-list article {
  display: grid;
  gap: 10px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
}

.capability-list span {
  color: var(--green);
}

.capability-list p {
  color: rgba(255, 255, 255, 0.7);
}

.proof-band {
  width: 100%;
  padding: clamp(28px, 5vw, 52px) clamp(18px, 4vw, 56px);
  color: var(--white);
  background: var(--ink);
}

.proof-inner {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.proof-inner div {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 24px;
  background: var(--ink);
}

.proof-inner span {
  color: var(--green);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
}

.proof-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 750;
}

.global-presence {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(320px, 0.56fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding: clamp(70px, 10vw, 128px) clamp(18px, 4vw, 56px);
  color: var(--white);
  background:
    radial-gradient(circle at 78% 20%, rgba(45, 163, 57, 0.2), transparent 28%),
    linear-gradient(135deg, #0d1114 0%, #17201b 46%, #101417 100%);
  overflow: hidden;
}

.global-copy {
  width: min(520px, 100%);
  justify-self: end;
}

.global-copy h2 {
  margin-bottom: 20px;
  color: var(--white);
}

.global-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.75;
}

.market-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.market-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  font-weight: 800;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.market-tags span:hover {
  background: rgba(45, 163, 57, 0.16);
  border-color: rgba(45, 163, 57, 0.5);
  transform: translateY(-2px);
}

.world-map-card {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.world-map {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
}

.map-grid path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1;
}

.continents path {
  fill: rgba(211, 221, 212, 0.14);
  stroke: rgba(255, 255, 255, 0.26);
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}

.continents .europe,
.continents .uk {
  fill: rgba(45, 163, 57, 0.22);
  stroke: rgba(45, 163, 57, 0.5);
}

.route-shadow {
  fill: none;
  stroke: rgba(45, 163, 57, 0.13);
  stroke-width: 12;
  stroke-linecap: round;
  filter: url(#mapGlow);
}

.route-line {
  fill: none;
  stroke: url(#routeGradient);
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-dasharray: 760;
  stroke-dashoffset: 760;
  animation: drawRoute 8s ease-in-out infinite;
}

.map-points circle {
  fill: var(--green);
  stroke: var(--white);
  stroke-width: 2;
  filter: url(#mapGlow);
  opacity: 0;
  transform-origin: center;
  animation: pulseMarket 3.2s ease-in-out infinite;
  animation-delay: var(--delay);
}

.map-points text {
  fill: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  opacity: 0;
  animation: labelReveal 8s ease-in-out infinite;
  animation-delay: var(--delay);
}

.orbit-note {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(13, 17, 20, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.orbit-note span {
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.orbit-note strong {
  color: var(--white);
  font-size: 1.1rem;
}

.split-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) auto;
  gap: 28px;
  align-items: end;
}

.split-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.services,
.results,
.cases,
.admin {
  border-top: 1px solid var(--line);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.service-card {
  min-height: 330px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(18, 20, 23, 0.06);
  transition: transform 280ms var(--ease-out), box-shadow 280ms ease, border-color 280ms ease;
}

.service-card:hover,
.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 163, 57, 0.32);
  box-shadow: 0 26px 70px rgba(18, 20, 23, 0.12);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 34px;
  border-radius: 13px;
  color: var(--white);
  background: var(--ink-soft);
  font-weight: 800;
}

.service-card:nth-child(2) .service-icon {
  background: var(--muted);
}

.service-card:nth-child(3) .service-icon {
  background: var(--green);
}

.service-card:nth-child(4) .service-icon {
  background: var(--ink);
}

.service-card p,
.process-list p,
.results-copy p,
.contact-box p {
  color: var(--muted);
  line-height: 1.7;
}

.process {
  width: 100%;
  padding-inline: clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: var(--white);
}

.process .section-heading {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.process-list {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 44px auto 0;
  background: rgba(255, 255, 255, 0.18);
}

.process-list article {
  min-height: 235px;
  padding: 26px;
  background: var(--ink);
  transition: background 220ms ease, transform 220ms ease;
}

.process-list article:hover {
  background: #181d20;
  transform: translateY(-4px);
}

.process-list span {
  display: block;
  margin-bottom: 48px;
  color: var(--green);
  font-weight: 800;
}

.process-list p {
  color: rgba(255, 255, 255, 0.68);
}

.results {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.62fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: center;
}

.result-panel {
  padding: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.result-panel div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 18px;
  border-bottom: 1px solid var(--line);
}

.result-panel div:last-child {
  border-bottom: 0;
}

.result-panel span {
  color: var(--muted);
}

.about {
  width: 100%;
  background:
    linear-gradient(135deg, rgba(247, 245, 239, 0.96), rgba(255, 255, 255, 0.82)),
    var(--paper);
}

.about-inner {
  display: grid;
  gap: 44px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(340px, 0.9fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.about-deep {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.9fr);
  gap: clamp(32px, 7vw, 94px);
  align-items: start;
}

.about-deep h2 {
  margin-bottom: 18px;
}

.elevated {
  box-shadow: var(--shadow);
}

.about-story {
  display: grid;
  gap: 18px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.about-story p {
  margin-bottom: 0;
}

.about-values {
  display: grid;
  gap: 1px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.about-values article {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--white);
}

.about-values span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.about-values strong {
  font-size: 1.28rem;
}

.about-values p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.founder-panel {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 0.86fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: stretch;
}

.founder-card {
  display: grid;
  align-content: end;
  gap: 24px;
  min-height: 480px;
  padding: clamp(28px, 5vw, 52px);
  color: var(--white);
  background:
    radial-gradient(circle at 24% 18%, rgba(45, 163, 57, 0.28), transparent 26%),
    linear-gradient(135deg, var(--ink), var(--ink-soft));
  box-shadow: var(--shadow);
}

.founder-card > span {
  width: fit-content;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.founder-card blockquote {
  padding-left: 0;
  border-left: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.25;
}

.founder-card cite {
  color: var(--green);
  font-size: 0.95rem;
}

.founder-context {
  display: grid;
  align-content: center;
}

.owner-story {
  display: grid;
  grid-template-columns: minmax(300px, 0.62fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: stretch;
}

.owner-photo-frame {
  min-height: 560px;
  display: grid;
  align-content: end;
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  color: var(--white);
  background:
    radial-gradient(circle at 26% 18%, rgba(45, 163, 57, 0.28), transparent 28%),
    linear-gradient(145deg, #11171a, #294334 58%, #121719);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.owner-photo {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  object-position: center top;
}

.owner-photo-meta {
  display: grid;
  gap: 4px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.owner-photo-meta span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.owner-photo-meta strong {
  font-size: 1.4rem;
}

.owner-copy {
  display: grid;
  align-content: center;
  gap: 18px;
}

.owner-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.owner-goals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.owner-goals article {
  display: grid;
  gap: 10px;
  padding: 20px;
  background: var(--white);
}

.owner-goals span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.owner-goals strong {
  line-height: 1.25;
}

.pod-section {
  display: grid;
  gap: 42px;
}

.pod-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.pod-grid article {
  min-height: 310px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 16px 44px rgba(12, 16, 18, 0.07);
}

.pod-grid article:nth-child(2) {
  background: #eef3ef;
}

.pod-grid article:nth-child(4) {
  color: var(--white);
  border-color: rgba(12, 16, 18, 0.18);
  background: var(--ink);
}

.pod-grid article:nth-child(4) p {
  color: rgba(255, 255, 255, 0.68);
}

.cases {
  width: 100%;
  background: #ebe9e1;
}

.cases-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.52fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
}

.cases-hero p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 0;
}

.project-card {
  min-height: 360px;
  display: grid;
  align-content: space-between;
  gap: 26px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(18, 20, 23, 0.06);
  transition: transform 280ms var(--ease-out), box-shadow 280ms ease, border-color 280ms ease;
}

.project-card.featured {
  color: var(--white);
  background: var(--ink-soft);
  border-color: rgba(49, 64, 77, 0.2);
}

.project-meta {
  display: grid;
  gap: 12px;
}

.project-meta span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-card.featured .project-meta span {
  color: var(--green);
}

.project-meta strong {
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.05;
}

.project-card p {
  color: var(--muted);
  line-height: 1.7;
}

.project-card.featured p {
  color: rgba(255, 255, 255, 0.72);
}

.project-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-card li {
  min-height: 36px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: var(--ink);
  background: var(--paper);
  font-size: 0.9rem;
  font-weight: 750;
}

.project-card.featured li {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.case-list {
  display: grid;
  gap: 16px;
}

.blogs-page {
  background:
    radial-gradient(circle at 82% 10%, rgba(45, 163, 57, 0.14), transparent 28%),
    linear-gradient(180deg, var(--paper), #ece9df 52%, var(--paper));
}

.blog-hero {
  min-height: 56vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.45fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: end;
}

.blog-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.94;
}

.blog-hero p:last-child {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.75;
}

.featured-blog {
  padding-top: 0;
}

.featured-article {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 0.9fr);
  min-height: 560px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.article-visual {
  display: grid;
  place-items: center;
  padding: clamp(28px, 5vw, 54px);
  color: var(--white);
  background:
    radial-gradient(circle at 30% 22%, rgba(45, 163, 57, 0.42), transparent 25%),
    linear-gradient(135deg, var(--ink), var(--green));
}

.article-visual span {
  display: grid;
  place-items: center;
  width: min(310px, 76%);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: var(--green);
  font-size: clamp(1.6rem, 4vw, 3.4rem);
  font-weight: 900;
  text-align: center;
}

.article-copy {
  display: grid;
  align-content: center;
  gap: 20px;
  padding: clamp(28px, 5vw, 54px);
}

.article-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.75;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-meta span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.blog-card {
  min-height: 360px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(18, 20, 23, 0.06);
  transition: transform 280ms var(--ease-out), box-shadow 280ms ease, border-color 280ms ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 163, 57, 0.3);
  box-shadow: var(--shadow-lg);
}

.blog-card.dark {
  color: var(--white);
  background: var(--ink-soft);
}

.blog-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-card.dark span {
  color: var(--green);
}

.blog-card h2 {
  font-size: clamp(1.45rem, 2vw, 2.1rem);
}

.blog-card p {
  color: var(--muted);
  line-height: 1.7;
}

.blog-card.dark p {
  color: rgba(255, 255, 255, 0.72);
}

.blog-card a {
  font-weight: 900;
  color: var(--green);
}

.blog-card details {
  display: grid;
  gap: 12px;
}

.blog-card summary {
  cursor: pointer;
  font-weight: 900;
  color: var(--ink);
}

.blog-card.dark summary {
  color: var(--white);
}

.blog-card.published {
  border-color: rgba(45, 163, 57, 0.28);
}

.blog-card.dark a {
  color: var(--green);
}

.programs-page {
  background:
    radial-gradient(circle at 82% 8%, rgba(58, 184, 71, 0.09), transparent 28%),
    linear-gradient(180deg, var(--paper), #ecefe8 54%, var(--paper));
}

.program-hero {
  min-height: 58vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.5fr);
  gap: clamp(30px, 6vw, 92px);
  align-items: end;
}

.program-hero h1 {
  max-width: 1040px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.94;
}

.program-hero-card {
  display: grid;
  gap: 24px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.program-hero-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.zync-suite {
  width: 100%;
  display: grid;
  gap: 42px;
  padding-inline: clamp(18px, 4vw, 56px);
  color: var(--white);
  background:
    radial-gradient(circle at 18% 18%, rgba(45, 163, 57, 0.24), transparent 28%),
    linear-gradient(135deg, #101417, #223b2d 50%, #11171a);
}

.zync-suite .section-heading {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.zync-suite h2 {
  color: var(--white);
}

.zync-grid {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 auto;
}

.zync-grid article {
  min-height: 360px;
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: clamp(24px, 4vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
}

.zync-grid article:nth-child(2) {
  background: rgba(255, 255, 255, 0.12);
}

.zync-grid span,
.stack-grid span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.zync-grid h3 {
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.05;
}

.zync-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.zync-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0 18px;
  border: 1px solid rgba(45, 163, 57, 0.52);
  color: var(--white);
  background: rgba(45, 163, 57, 0.14);
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease;
}

.zync-link:hover {
  transform: translateY(-2px);
  background: rgba(45, 163, 57, 0.24);
}

.stack-system {
  display: grid;
  gap: 42px;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stack-grid article {
  min-height: 280px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 16px 44px rgba(12, 16, 18, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.stack-grid article:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.stack-grid article:nth-child(1),
.stack-grid article:nth-child(5) {
  color: var(--white);
  border-color: rgba(12, 16, 18, 0.18);
  background: var(--ink-soft);
}

.stack-grid article:nth-child(1) p,
.stack-grid article:nth-child(5) p {
  color: rgba(255, 255, 255, 0.72);
}

.stack-grid article:not(:nth-child(1)):not(:nth-child(5)) span {
  color: var(--muted);
}

.stack-grid h3 {
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.stack-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.program-method {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(320px, 0.9fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.editorial-system {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.9fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.editorial-grid article {
  min-height: 180px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 16px 44px rgba(12, 16, 18, 0.07);
}

.editorial-grid article:first-child {
  color: var(--white);
  border-color: rgba(12, 16, 18, 0.18);
  background: var(--ink);
}

.editorial-grid article:first-child span {
  color: var(--green);
}

.cases-page {
  background:
    radial-gradient(circle at 85% 8%, rgba(45, 163, 57, 0.16), transparent 26%),
    linear-gradient(180deg, var(--paper), #ece9df 48%, var(--paper));
}

.case-hero {
  min-height: 58vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.46fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: end;
}

.case-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.94;
}

.case-hero p:last-child {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.75;
}

.case-showcase {
  display: grid;
  gap: 18px;
}

.case-study {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.case-study.spotlight {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 0.94fr);
  min-height: 620px;
}

.case-visual {
  min-height: 100%;
  padding: clamp(24px, 4vw, 46px);
  background:
    radial-gradient(circle at 22% 18%, rgba(45, 163, 57, 0.24), transparent 28%),
    linear-gradient(135deg, #11171a, #2d3a35);
  display: grid;
  align-content: center;
}

.browser-frame {
  display: flex;
  gap: 7px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.08);
}

.browser-frame span,
.preview-topbar span {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.4);
}

.mock-store {
  min-height: 420px;
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #f4f0e7;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.mock-nav {
  height: 34px;
  background: linear-gradient(90deg, #11171a 18%, transparent 18% 72%, #b87945 72%);
}

.mock-hero {
  min-height: 210px;
  background:
    linear-gradient(135deg, rgba(18, 20, 23, 0.12), rgba(184, 121, 69, 0.42)),
    linear-gradient(90deg, #ffffff 0 38%, #d9d3c7 38%);
}

.mock-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mock-products i {
  min-height: 86px;
  background: #ffffff;
  border: 1px solid #ddd5c7;
}

.case-content {
  display: grid;
  gap: 20px;
  align-content: center;
  padding: clamp(24px, 4vw, 46px);
}

.case-type {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.case-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.case-content p {
  color: var(--muted);
  line-height: 1.75;
}

.case-study.dark {
  color: var(--white);
  background: var(--ink-soft);
}

.case-study.dark .case-content p,
.case-study.dark blockquote {
  color: rgba(255, 255, 255, 0.72);
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--line);
}

.case-study.compact .case-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.case-metrics div {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 16px;
  background: var(--paper);
}

.case-study.dark .case-metrics {
  background: rgba(255, 255, 255, 0.12);
}

.case-study.dark .case-metrics div {
  background: rgba(255, 255, 255, 0.08);
}

.case-metrics dt {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  font-weight: 900;
}

.case-metrics dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.case-study.dark .case-metrics dd {
  color: rgba(255, 255, 255, 0.64);
}

blockquote {
  margin: 0;
  padding-left: 18px;
  border-left: 3px solid var(--green);
  color: var(--muted);
  line-height: 1.7;
}

blockquote cite {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-style: normal;
  font-weight: 900;
}

.case-study.dark cite {
  color: var(--white);
}

.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.case-grid-rich {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.case-study.compact {
  min-height: 560px;
  display: grid;
}

.case-evidence {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(320px, 0.9fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.case-evidence-copy {
  display: grid;
  gap: 16px;
}

.evidence-board {
  display: grid;
  gap: 1px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.evidence-board article {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: var(--white);
}

.evidence-board article:nth-child(2) {
  color: var(--white);
  background: var(--ink-soft);
}

.evidence-board article:nth-child(2) p {
  color: rgba(255, 255, 255, 0.72);
}

.case-method {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}

.method-steps {
  display: grid;
  gap: 1px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.method-steps article {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: var(--white);
}

.method-steps span {
  color: var(--muted);
  font-weight: 900;
}

.method-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.case-dialog,
.preview-dialog {
  width: min(1040px, calc(100% - 32px));
  border: 0;
  padding: 0;
  background: transparent;
}

.case-dialog::backdrop,
.preview-dialog::backdrop {
  background: rgba(12, 15, 17, 0.78);
  backdrop-filter: blur(8px);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  background: rgba(18, 20, 23, 0.8);
  font-size: 1.6rem;
  cursor: pointer;
}

.dialog-body {
  display: grid;
  gap: 24px;
  padding: clamp(28px, 5vw, 56px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(45, 163, 57, 0.94), rgba(18, 20, 23, 0.98)),
    var(--ink);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.46);
}

.dialog-body h2 {
  max-width: 820px;
  color: var(--white);
}

.dialog-body p,
.dialog-body li {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.75;
}

.dialog-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.dialog-kpis div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.dialog-kpis strong {
  display: block;
  color: var(--green);
  font-size: 2rem;
}

.preview-shell {
  background: var(--white);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.46);
}

.preview-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 16px;
  color: var(--white);
  background: var(--ink);
}

.preview-topbar strong {
  margin-left: 12px;
}

.preview-shell iframe {
  width: 100%;
  height: min(72vh, 720px);
  display: block;
  border: 0;
  background: var(--paper);
}

.case-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.5fr) minmax(0, 0.8fr) minmax(220px, 0.46fr);
  gap: 26px;
  align-items: center;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(18, 20, 23, 0.06);
}

.case-row.dark {
  color: var(--white);
  background: var(--ink-soft);
  border-color: rgba(49, 64, 77, 0.2);
}

.case-row h2 {
  margin-top: 8px;
  font-size: clamp(1.7rem, 3vw, 3rem);
}

.case-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.case-row.dark p {
  color: rgba(255, 255, 255, 0.72);
}

.case-row ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-row li {
  padding: 10px 12px;
  background: var(--paper);
  font-weight: 800;
}

.case-row.dark li {
  background: rgba(255, 255, 255, 0.1);
}

/* ════════════════════════════════════════════════════════════
   CASES PAGE — clean rebuild (Phase 5)
   Selectors use `.cases-*` (plural) — overrides legacy block above
   ════════════════════════════════════════════════════════════ */

.cases-page {
  background: var(--paper);
}

/* ─── Cases hero ─────────────────────────────────────────── */
.cases-hero {
  padding-top: clamp(80px, 12vw, 130px);
  padding-bottom: clamp(50px, 7vw, 80px);
}

.cases-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.cases-hero-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--ink);
}

.cases-hero-accent {
  color: var(--green);
}

.cases-hero-lede {
  max-width: 560px;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  line-height: 1.7;
}

.cases-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.cases-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cases-hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.cases-hero-trust svg {
  color: var(--green);
  flex-shrink: 0;
}

/* Visual board */
.cases-hero-visual {
  position: relative;
  min-height: 380px;
}

.cases-hero-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, auto);
  gap: 14px;
  padding: 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 0%, rgba(45, 163, 57, 0.18), transparent 55%),
    linear-gradient(160deg, #f7f5ef, #ecebe3 60%, #e0ddd1);
  box-shadow: 0 30px 80px rgba(18, 20, 23, 0.1);
}

.cases-hero-card {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid rgba(18, 20, 23, 0.08);
  box-shadow: 0 6px 18px rgba(18, 20, 23, 0.05);
  transition: transform 360ms var(--ease-out), box-shadow 360ms ease;
}

.cases-hero-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(18, 20, 23, 0.1);
}

.cases-hero-card strong {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.cases-hero-card small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.cases-hero-card-dot {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(45, 163, 57, 0.16);
}

.cases-hero-card-1 { grid-column: 1 / 4; grid-row: 1 / 2; }
.cases-hero-card-2 { grid-column: 4 / 7; grid-row: 1 / 2; }
.cases-hero-card-3 { grid-column: 1 / 5; grid-row: 2 / 4; padding: 22px; }
.cases-hero-card-4 { grid-column: 5 / 7; grid-row: 2 / 3; }
.cases-hero-card-5 { grid-column: 5 / 7; grid-row: 3 / 4; }

.cases-hero-card-feature {
  background: linear-gradient(160deg, #1d2426 0%, #0b1011 100%);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.cases-hero-card-feature strong { color: var(--white); }
.cases-hero-card-feature small { color: rgba(255, 255, 255, 0.6); }
.cases-hero-card-feature .cases-hero-card-dot { background: var(--green); box-shadow: 0 0 0 4px rgba(45, 163, 57, 0.22); }

/* ─── Cases intro ────────────────────────────────────────── */
.cases-intro {
  background: linear-gradient(180deg, #f4f2eb 0%, #ebe9e1 100%);
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(60px, 8vw, 100px);
}

.cases-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}

.cases-intro-card {
  display: grid;
  gap: 14px;
  padding: 30px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid rgba(18, 20, 23, 0.06);
  box-shadow: 0 8px 24px rgba(18, 20, 23, 0.04);
  transition: transform 320ms var(--ease-out), border-color 320ms ease, box-shadow 320ms ease;
}

.cases-intro-card:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 163, 57, 0.4);
  box-shadow: 0 14px 30px rgba(18, 20, 23, 0.08);
}

.cases-intro-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(45, 163, 57, 0.1);
  color: var(--green);
}

.cases-intro-card h3 {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.cases-intro-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.96rem;
}

/* ─── Cases filter ───────────────────────────────────────── */
.cases-filter {
  padding-top: clamp(50px, 7vw, 80px);
  padding-bottom: 0;
}

.cases-filter-bar {
  margin-top: 26px;
  /* Contain horizontal scroll so the page doesn't scroll horizontally */
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.cases-filter-bar::-webkit-scrollbar { display: none; }

.cases-filter-list {
  display: inline-flex;
  gap: 10px;
  margin: 0;
  padding: 4px 2px 8px;
  list-style: none;
}

.cases-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(18, 20, 23, 0.14);
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease, transform 200ms ease;
}

.cases-chip:hover {
  border-color: var(--green);
  color: var(--green);
}

.cases-chip.is-active {
  background: #2da339;
  border-color: #2da339;
  color: var(--white);
}

.cases-chip.is-active:hover {
  background: #258b2f;
  border-color: #258b2f;
  color: var(--white);
}

/* ─── Cases grid ─────────────────────────────────────────── */
.cases-grid-section {
  padding-top: 28px;
  padding-bottom: clamp(60px, 8vw, 100px);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cases-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid rgba(18, 20, 23, 0.08);
  box-shadow: 0 10px 26px rgba(18, 20, 23, 0.05);
  transition: transform 360ms var(--ease-out), box-shadow 360ms ease, border-color 360ms ease;
}

.cases-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 163, 57, 0.5);
  box-shadow: 0 18px 40px rgba(18, 20, 23, 0.1);
}

.cases-card[hidden] {
  display: none !important;
}

/* Card visual block — abstract gradients per category */
.cases-card-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.cases-visual-mark {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(45, 163, 57, 0.22), transparent 50%);
  pointer-events: none;
}

.cases-visual-shopify    { background: linear-gradient(135deg, #1d2426 0%, #0b1011 100%); }
.cases-visual-email      { background: linear-gradient(135deg, #2a3e2a 0%, #11201a 100%); }
.cases-visual-automation { background: linear-gradient(135deg, #1a2932 0%, #0c1620 100%); }
.cases-visual-cro        { background: linear-gradient(135deg, #1d2426 0%, #0e1718 100%); }
.cases-visual-multi      { background: linear-gradient(135deg, #1e2a30 0%, #0b1216 100%); }
.cases-visual-analysis   { background: linear-gradient(135deg, #221d2b 0%, #110d18 100%); }

/* Shopify mini grid */
.cases-visual-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 56px);
  gap: 8px;
  z-index: 2;
}

.cases-visual-grid i {
  height: 40px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cases-visual-grid i:nth-child(1) { background: rgba(45, 163, 57, 0.5); }

/* Email mini block */
.cases-visual-mail {
  position: relative;
  display: grid;
  gap: 7px;
  width: 140px;
  z-index: 2;
}

.cases-visual-mail span {
  height: 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
}

.cases-visual-mail span:first-child {
  width: 70%;
  background: rgba(45, 163, 57, 0.65);
}

/* Automation flow */
.cases-visual-flow {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 2;
}

.cases-flow-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(45, 163, 57, 0.18);
}

.cases-flow-line {
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.25);
}

/* CRO bars */
.cases-visual-bars {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 80px;
  z-index: 2;
}

.cases-visual-bars i {
  width: 20px;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: rgba(255, 255, 255, 0.16);
}

.cases-visual-bars i:nth-child(4) { background: var(--green); }

/* Multilang globe */
.cases-visual-globe {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 8px 14px;
  z-index: 2;
}

.cases-visual-globe em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.04em;
}

.cases-visual-globe em:first-child {
  background: var(--green);
}

/* Analysis scan */
.cases-visual-scan {
  position: relative;
  width: 120px;
  height: 80px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
  z-index: 2;
}

.cases-scan-line {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  height: 2px;
  background: var(--green);
  box-shadow: 0 0 12px rgba(45, 163, 57, 0.7);
}

.cases-scan-dot {
  position: absolute;
  right: 22%;
  top: 28%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(45, 163, 57, 0.85);
  box-shadow: 0 0 14px rgba(45, 163, 57, 0.6);
}

/* Card body */
.cases-card-body {
  display: grid;
  gap: 12px;
  padding: 24px;
  flex: 1;
}

.cases-card-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(45, 163, 57, 0.1);
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cases-card h3 {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.cases-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.cases-card-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 6px;
  padding: 0;
  list-style: none;
}

.cases-card-services li {
  padding: 4px 10px;
  border-radius: 999px;
  background: #f4f2eb;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 600;
}

.cases-card-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  border-top: 1px solid rgba(18, 20, 23, 0.08);
  padding: 14px 0 0;
}

.cases-card:hover .cases-card-cta {
  color: var(--green);
}

.cases-card-cta svg {
  transition: transform 240ms ease;
}

.cases-card:hover .cases-card-cta svg {
  transform: translateX(3px);
}

/* Empty state for filter */
.cases-grid-empty {
  margin: 24px 0 0;
  padding: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 0.96rem;
}

.cases-grid-empty-reset {
  background: none;
  border: none;
  color: var(--green);
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
}

/* ─── Cases method ───────────────────────────────────────── */
.cases-method {
  background: linear-gradient(180deg, #ebe9e1 0%, #f4f2eb 100%);
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(60px, 8vw, 100px);
}

.cases-method-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.cases-method-line {
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    rgba(45, 163, 57, 0.4) 0 6px,
    transparent 6px 14px
  );
  z-index: 0;
}

.cases-method-step {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 28px 22px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid rgba(18, 20, 23, 0.06);
  z-index: 1;
}

.cases-method-num {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  margin-top: -4px;
  box-shadow: 0 6px 18px rgba(45, 163, 57, 0.3);
}

.cases-method-num span {
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1;
}

.cases-method-step h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.cases-method-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

/* ─── Cases areas ────────────────────────────────────────── */
.cases-areas {
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(60px, 8vw, 100px);
}

.cases-areas-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.cases-area-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid rgba(18, 20, 23, 0.06);
  transition: transform 280ms var(--ease-out), border-color 280ms ease;
}

.cases-area-card:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 163, 57, 0.4);
}

.cases-area-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(45, 163, 57, 0.1);
  color: var(--green);
}

.cases-area-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.cases-area-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* ─── Cases responsive ───────────────────────────────────── */
@media (max-width: 960px) {
  .cases-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .cases-hero-visual { min-height: 320px; }
  .cases-intro-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cases-intro-card:last-child { grid-column: 1 / -1; max-width: 600px; }
  .cases-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cases-method-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cases-method-line { display: none; }
  .cases-areas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .cases-hero-board {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .cases-hero-card-1,
  .cases-hero-card-2,
  .cases-hero-card-3,
  .cases-hero-card-4,
  .cases-hero-card-5 {
    grid-column: 1;
    grid-row: auto;
  }
  .cases-intro-grid { grid-template-columns: 1fr; }
  .cases-intro-card:last-child { max-width: none; }
  .cases-grid { grid-template-columns: 1fr; }
  .cases-method-steps { grid-template-columns: 1fr; }
  .cases-areas-grid { grid-template-columns: 1fr; }
  .cases-hero-actions { flex-direction: column; align-items: stretch; }
  .cases-hero-actions .button { justify-content: center; }
}

/* ─── Contact page ────────────────────────────────────────── */
.ct-section {
  width: 100%;
  background: #f5f4f2;
  padding: 60px 0 40px;
}

.ct-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 70px;
}

.ct-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}

.ct-top-left {
  display: grid;
  gap: 16px;
}

.ct-logo-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f05a24;
  color: white;
}

.ct-title {
  font-family: "Poppins", "Nunito Sans", var(--font-display), sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #1f1230;
  margin: 0;
  line-height: 1.1;
}

.ct-intro {
  max-width: 760px;
  font-size: 20px;
  line-height: 1.6;
  color: #4a3d5a;
  margin: 0;
}

.ct-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 34px;
  border: 2px solid #1f1230;
  border-radius: 999px;
  color: #1f1230;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.ct-cta-outline:hover {
  background: #f05a24;
  border-color: #f05a24;
  color: white;
}

.ct-grid {
  display: grid;
  grid-template-columns: 62% 38%;
  gap: 32px;
}

.ct-form-card {
  background: white;
  border-radius: 36px;
  padding: 42px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

.ct-form-title {
  font-family: "Poppins", "Nunito Sans", var(--font-display), sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #1f1230;
  margin: 0 0 28px;
}

.ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.ct-form-card input[type="text"],
.ct-form-card input[type="email"],
.ct-form-card input[type="tel"] {
  width: 100%;
  height: 64px;
  border: 1px solid #bdb5c7;
  border-radius: 999px;
  padding: 0 26px;
  font-size: 16px;
  font-family: inherit;
  color: #1f1230;
  background: white;
  outline: none;
  transition: border-color 200ms ease;
}

.ct-form-card input::placeholder {
  color: #8a7f96;
}

.ct-form-card input:focus {
  border-color: #f05a24;
}

.ct-form-card textarea {
  width: 100%;
  height: 145px;
  border: 1px solid #bdb5c7;
  border-radius: 28px;
  padding: 24px 26px;
  font-size: 16px;
  font-family: inherit;
  color: #1f1230;
  background: white;
  outline: none;
  resize: none;
  margin-bottom: 20px;
  transition: border-color 200ms ease;
}

.ct-form-card textarea::placeholder {
  color: #8a7f96;
}

.ct-form-card textarea:focus {
  border-color: #f05a24;
}

.ct-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 300px;
  justify-content: center;
  padding: 20px 38px;
  border: none;
  border-radius: 999px;
  background: #f05a24;
  color: white;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}

.ct-submit:hover {
  background: #d94d1f;
  transform: translateY(-1px);
}

.ct-form-status {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
}

.ct-form-status.success {
  color: var(--green);
}

.ct-form-status.error {
  color: #d94d1f;
}

.ct-map-card {
  border-radius: 36px;
  overflow: hidden;
  min-height: 520px;
  background: #e8e6e2;
  display: grid;
  place-items: center;
}

.ct-map-nl {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trap-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Contact responsive */
@media (max-width: 960px) {
  .ct-container {
    padding: 0 32px;
  }

  .ct-top {
    flex-direction: column;
    gap: 24px;
  }

  .ct-title {
    font-size: 38px;
  }

  .ct-intro {
    font-size: 17px;
  }

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

  .ct-map-card {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .ct-section {
    padding: 32px 0 24px;
  }

  .ct-container {
    padding: 0 20px;
  }

  .ct-form-card {
    padding: 28px 22px;
    border-radius: 26px;
  }

  .ct-map-card {
    border-radius: 26px;
    min-height: 300px;
  }

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

  .ct-submit {
    width: 100%;
  }

  .ct-form-card input[type="text"],
  .ct-form-card input[type="email"],
  .ct-form-card input[type="tel"] {
    height: 56px;
    padding: 0 20px;
  }

  .ct-form-card textarea {
    height: 130px;
    border-radius: 22px;
    padding: 20px;
  }
}

.contact-route {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(320px, 0.9fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.route-grid article {
  min-height: 250px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(12, 16, 18, 0.07);
  transition: transform 280ms var(--ease-out), box-shadow 280ms ease, border-color 280ms ease;
}

.route-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 163, 57, 0.3);
  box-shadow: var(--shadow-lg);
}

.route-grid article span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  color: var(--green);
  background: rgba(45, 163, 57, 0.1);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
}

.route-grid article:nth-child(3) {
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(45, 163, 57, 0.22), transparent 26%),
    var(--grad-dark);
  border-color: rgba(255, 255, 255, 0.12);
}

.route-grid article:nth-child(3) span {
  color: var(--green);
  background: rgba(45, 163, 57, 0.14);
}

.route-grid article:nth-child(3) p {
  color: rgba(255, 255, 255, 0.7);
}

.admin {
  display: grid;
  gap: 28px;
  background:
    linear-gradient(180deg, rgba(18, 20, 23, 0.04), rgba(18, 20, 23, 0)),
    var(--paper);
}

.admin-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.5fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
}

.admin-header p:last-child {
  color: var(--muted);
  line-height: 1.7;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-grid article,
.admin-panel {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(18, 20, 23, 0.06);
}

.admin-grid article {
  min-height: 128px;
  display: grid;
  align-content: space-between;
  padding: 20px;
}

.admin-grid span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-grid strong {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.admin-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: 22px;
}

.lead-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.lead-list li {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: var(--paper);
}

.lead-list strong {
  overflow-wrap: anywhere;
}

.lead-list span {
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-actions {
  display: grid;
  gap: 12px;
  align-content: start;
}

.admin-button {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.admin-button:hover {
  color: var(--ink);
  border-color: rgba(45, 163, 57, 0.35);
  background: var(--paper);
}

.admin-page {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: clamp(18px, 5vw, 56px);
  background:
    linear-gradient(135deg, rgba(45, 163, 57, 0.86), rgba(18, 20, 23, 0.96)),
    var(--ink);
}

.admin-login-panel {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  color: var(--white);
}

.admin-login-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 0;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5),
    0 2px 8px -2px rgba(0, 0, 0, 0.2);
}

.admin-login-brand {
  position: relative;
  padding: clamp(32px, 4vw, 56px);
  background: linear-gradient(160deg, #0f1a14 0%, #122a1c 50%, #0b1311 100%);
  color: #fff;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 32px;
  overflow: hidden;
}

.admin-login-brand-glow {
  position: absolute;
  top: -30%;
  right: -20%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(45, 163, 57, 0.4), transparent 60%);
  pointer-events: none;
}

.admin-login-brand .admin-brand {
  position: relative;
  color: #fff;
}

.admin-login-brand .brand-logo {
  filter: brightness(0) invert(1);
}

.admin-login-brand .brand-copy strong {
  color: #fff;
}

.admin-login-brand .brand-copy small {
  color: rgba(255, 255, 255, 0.55);
}

.admin-login-points {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  align-self: center;
}

.admin-login-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.admin-login-points svg {
  flex-shrink: 0;
  color: #4ade80;
}

.admin-login-foot {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.admin-login-foot span {
  color: rgba(255, 255, 255, 0.5);
}

.admin-login-foot a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease;
}

.admin-login-foot a:hover {
  border-bottom-color: var(--green);
}

.admin-login-card {
  padding: clamp(32px, 4vw, 56px);
  display: grid;
  gap: 18px;
  align-content: center;
  background: #fff;
  color: var(--ink);
}

.admin-login-tag {
  display: inline-flex;
  align-items: center;
  align-self: start;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green-dark, var(--green));
  background: #f0f7f2;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-login-card h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.admin-login-card > p {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

.admin-login-form {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}

.admin-login-field {
  display: grid;
  gap: 6px;
}

.admin-login-field span {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.admin-login-field input {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #f6f7f5;
  border: 1px solid #e3e5df;
  border-radius: 10px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.admin-login-field input:focus {
  outline: none;
  background: #fff;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(45, 163, 57, 0.14);
}

.admin-login-submit {
  margin-top: 4px;
  width: 100%;
  justify-content: center;
}

.admin-login-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

#admin-login-status {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.86rem;
  font-weight: 600;
  color: #b3261e;
  line-height: 1.4;
}

.admin-login-help {
  margin: 6px 0 0;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
}

.admin-login-help a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-underline-offset: 3px;
}

@media (max-width: 820px) {
  .admin-login-shell {
    grid-template-columns: 1fr;
  }
  .admin-login-brand {
    padding: 28px;
    gap: 20px;
  }
  .admin-login-points {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   ZYNC ADMIN — workspace, sidebar, topbar, dashboard widgets
   ═══════════════════════════════════════════════════════════ */

/* Mobile top bar (only visible <960px) */
.admin-mobile-bar {
  display: none;
  position: sticky;
  top: 0;
  z-index: 40;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #0b1311;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.admin-mobile-toggle,
.admin-mobile-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.admin-mobile-toggle:hover,
.admin-mobile-logout:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.admin-mobile-brand {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.admin-mobile-brand .brand-logo {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

.admin-mobile-brand .brand-copy strong {
  color: #fff;
  font-size: 0.95rem;
}

/* Sidebar backdrop for mobile drawer */
.admin-sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  display: none;
}

body.admin-sidebar-open .admin-sidebar-backdrop {
  display: block;
}

/* ─── Sidebar nav with icons ─── */
.admin-nav a {
  display: grid !important;
  grid-template-columns: 22px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border-radius: 10px;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.admin-nav a svg {
  color: rgba(255, 255, 255, 0.55);
  transition: color 180ms ease;
}

.admin-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(0);
}

.admin-nav a:hover svg,
.admin-nav a.active svg {
  color: var(--green);
}

.admin-nav a.active {
  color: #fff;
  background: rgba(45, 163, 57, 0.16);
  box-shadow: inset 3px 0 0 var(--green);
  border-radius: 8px;
}

.admin-nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 7px;
  background: rgba(45, 163, 57, 0.2);
  color: var(--green);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  font-style: normal;
  letter-spacing: 0;
}

.admin-nav-pill:empty {
  display: none;
}

.admin-nav-sep {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 10px 4px;
}

.admin-nav-external {
  color: rgba(255, 255, 255, 0.55) !important;
}

/* ─── Sidebar foot (status + logout) ─── */
.admin-sidebar-foot {
  display: grid;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.admin-sidebar-status-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2);
  animation: adminPulse 2s ease-in-out infinite;
}

@keyframes adminPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(37, 211, 102, 0.05); }
}

.admin-sidebar-status strong {
  display: block;
  font-size: 0.85rem;
  color: #fff;
}

.admin-sidebar-status small {
  display: block;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

.admin-sidebar-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.admin-sidebar-logout:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.24);
}

/* ─── Topbar with greeting + date ─── */
.admin-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(12, 16, 18, 0.05);
}

.admin-topbar-copy {
  min-width: 0;
}

.admin-topbar-date {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 4px;
}

.admin-topbar h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.admin-topbar-sub {
  margin: 6px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

.admin-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.admin-topbar-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(45, 163, 57, 0.1);
  color: var(--green-dark, #128c3a);
  border: 1px solid rgba(45, 163, 57, 0.22);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
}

.admin-topbar-pill strong {
  font-size: 1rem;
  font-weight: 800;
}

.admin-topbar-pill-soft {
  background: #fff7e6;
  color: #92580b;
  border-color: rgba(146, 88, 11, 0.22);
}

.admin-topbar-site {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ─── KPI strip ─── */
.admin-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.admin-kpi {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(12, 16, 18, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.admin-kpi:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(12, 16, 18, 0.08);
}

.admin-kpi-label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-kpi-value {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.admin-kpi-delta {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

.admin-kpi-delta em {
  font-style: normal;
  font-weight: 800;
  color: var(--ink);
}

/* ─── Dashboard cols (recent + quick actions) ─── */
.admin-dashboard-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.admin-dashboard-cols > .admin-card-wide {
  grid-column: 1 / -1;
}

.admin-card-flow header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-card-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.admin-card-action:hover {
  color: var(--ink);
}

.admin-card-action svg {
  transition: transform 180ms ease;
}

.admin-card-action:hover svg {
  transform: translateX(2px);
}

/* ─── Recent list (used on dashboard) ─── */
.admin-recent-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.admin-recent-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: 10px;
  transition: border-color 180ms ease, background 180ms ease;
}

.admin-recent-item:hover {
  border-color: var(--line);
  background: #fff;
}

.admin-recent-item.lead-status-new {
  border-left: 3px solid var(--green);
}

.admin-recent-main {
  min-width: 0;
}

.admin-recent-main strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-recent-main span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2px;
}

.admin-recent-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--muted);
  flex-shrink: 0;
}

.admin-recent-empty {
  padding: 22px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
  background: var(--paper);
  border-radius: 10px;
  border: 1px dashed var(--line);
}

.lead-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: rgba(45, 163, 57, 0.1);
  color: var(--green-dark, #128c3a);
  border-radius: 999px;
}

/* ─── Quick actions ─── */
.admin-quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.admin-quick-action {
  display: grid;
  grid-template-columns: 36px 1fr;
  grid-template-rows: auto auto;
  gap: 4px 12px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: 10px;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.admin-quick-action:hover {
  border-color: var(--green);
  background: #fff;
  transform: translateY(-2px);
}

.admin-quick-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: rgba(45, 163, 57, 0.12);
  color: var(--green-dark, var(--green));
  border-radius: 8px;
}

.admin-quick-action strong {
  font-size: 0.92rem;
  color: var(--ink);
  align-self: end;
}

.admin-quick-action small {
  font-size: 0.78rem;
  color: var(--muted);
  align-self: start;
}

/* ─── Search input ─── */
.admin-search {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 1;
  min-width: 200px;
  max-width: 360px;
}

.admin-search svg {
  position: absolute;
  left: 12px;
  pointer-events: none;
  color: var(--muted);
}

.admin-search input {
  width: 100%;
  height: 38px;
  padding: 0 14px 0 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.admin-search input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45, 163, 57, 0.14);
}

/* ─── Filter chips ─── */
.admin-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 4px;
}

.admin-filter-chips-tight {
  margin: 0;
}

.admin-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.admin-chip:hover {
  border-color: var(--green);
  color: var(--green-dark, var(--green));
}

.admin-chip.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.admin-chip em {
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 2px 7px;
  background: rgba(0, 0, 0, 0.06);
  color: inherit;
  border-radius: 999px;
}

.admin-chip.is-active em {
  background: rgba(255, 255, 255, 0.16);
}

/* ─── Leads toolbar ─── */
.admin-leads-toolbar,
.admin-blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.admin-leads-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
}

.admin-panel-eyebrow {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}

/* ─── Blog list status badges ─── */
.blog-status.featured {
  background: #fff3d6;
  color: #92580b;
}

/* ─── Lead empty reset link ─── */
.lead-empty-reset {
  margin-left: 6px;
  border: 0;
  background: none;
  color: var(--green);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

/* ─── Responsive — admin workspace ─── */
@media (max-width: 960px) {
  .admin-mobile-bar {
    display: flex;
  }

  .admin-page .zync-admin {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
  }

  .admin-sidebar {
    position: fixed !important;
    top: 0;
    left: 0;
    z-index: 50;
    width: 280px;
    height: 100vh !important;
    transform: translateX(-100%);
    transition: transform 260ms ease;
  }

  body.admin-sidebar-open .admin-sidebar {
    transform: translateX(0);
    box-shadow: 12px 0 40px rgba(0, 0, 0, 0.5);
  }

  .admin-kpi-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-dashboard-cols {
    grid-template-columns: 1fr;
  }

  .admin-leads-header {
    grid-template-columns: 1fr;
  }

  .admin-quick-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .admin-kpi-strip {
    grid-template-columns: 1fr;
  }

  .admin-topbar {
    grid-template-columns: 1fr;
  }

  .admin-topbar-actions {
    justify-content: flex-start;
  }
}

/* End Zync admin upgrades ════════════════════════════════════ */

.admin-page .admin {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
}

.admin-blog-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.48fr) minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: 24px;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(18, 20, 23, 0.06);
}

.admin-blog-panel > div:first-child p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.admin-blog-form {
  display: grid;
  gap: 14px;
}

.admin-blog-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.admin-blog-form input,
.admin-blog-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  padding: 12px 14px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.admin-blog-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.admin-blog-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: var(--paper);
}

.admin-blog-list span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.admin-blog-list button {
  min-height: 36px;
  border: 1px solid var(--line);
  padding: 0 12px;
  background: var(--white);
  font-weight: 850;
  cursor: pointer;
}

.admin-page:has(.zync-admin:not([hidden])) {
  align-items: stretch;
  padding: 0;
  background:
    linear-gradient(180deg, #f5f7f1, #e9eee7),
    var(--paper);
}

.admin-page .zync-admin {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  background: transparent;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  padding: 22px;
  color: var(--white);
  background:
    radial-gradient(circle at 28% 16%, rgba(45, 163, 57, 0.18), transparent 28%),
    linear-gradient(180deg, #101517, #17251d);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar .admin-brand {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-nav {
  display: grid;
  gap: 6px;
  align-content: start;
}

.admin-nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 850;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.admin-nav a:hover,
.admin-nav a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  transform: translateX(2px);
}

.admin-sidebar-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
}

.admin-sidebar-card span,
.admin-card > span,
.admin-theme-list span,
.admin-grid small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-sidebar-card span {
  color: var(--green);
}

.admin-sidebar-card strong {
  color: var(--white);
  font-size: 1.05rem;
}

.admin-sidebar-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.6;
}

.admin-workspace {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(18px, 3vw, 34px);
}

.admin-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 60px rgba(12, 16, 18, 0.08);
}

.admin-topbar h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 0.98;
}

.admin-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.admin-command-center {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: 16px;
  align-items: stretch;
  padding: clamp(20px, 3vw, 30px);
  color: var(--white);
  background:
    radial-gradient(circle at 80% 22%, rgba(58, 184, 71, 0.18), transparent 28%),
    linear-gradient(135deg, var(--ink), #1b3024);
  box-shadow: var(--shadow);
}

.admin-command-center span,
.admin-card header span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-command-center strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  line-height: 1.08;
}

.admin-command-center p {
  max-width: 720px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.admin-command-list {
  display: grid;
  gap: 8px;
  align-content: center;
}

.admin-command-list span {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
}

.admin-metrics article {
  min-height: 150px;
  border-color: rgba(12, 16, 18, 0.1);
  background: var(--white);
}

.admin-metrics article:first-child {
  color: var(--white);
  background: var(--ink);
}

.admin-metrics article:first-child span,
.admin-metrics article:first-child small {
  color: rgba(255, 255, 255, 0.68);
}

.admin-metrics small {
  display: block;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.46fr);
  gap: 18px;
}

.admin-card {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 16px 44px rgba(12, 16, 18, 0.07);
}

.admin-card-wide {
  min-height: 360px;
}

.admin-card header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.admin-card h2,
.admin-panel h2,
.admin-blog-panel h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2.4rem);
  line-height: 1.06;
}

.admin-card header > strong {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: var(--green-dark);
  background: #e5f1e7;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.admin-funnel {
  display: grid;
  gap: 14px;
  margin-top: auto;
}

.admin-funnel div {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.admin-funnel span {
  color: var(--muted);
  font-weight: 850;
}

.admin-funnel i {
  height: 18px;
  display: block;
  background:
    linear-gradient(90deg, var(--green), var(--gold)) 0 0 / var(--bar) 100% no-repeat,
    var(--paper);
}

.admin-checklist,
.admin-task-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-checklist li {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: var(--paper);
}

.admin-checklist strong {
  font-size: 0.95rem;
}

.admin-checklist span {
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-theme-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.admin-theme-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  background: var(--paper);
}

.admin-task-list li {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
}

.admin-task-list li span {
  width: 9px;
  height: 9px;
  background: var(--green);
  box-shadow: 0 0 14px rgba(45, 163, 57, 0.4);
}

.zync-admin .admin-panel,
.zync-admin .admin-blog-panel {
  margin-top: 0;
  border-color: var(--line);
  background: var(--white);
  box-shadow: 0 16px 44px rgba(12, 16, 18, 0.07);
}

.admin-leads-panel {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.32fr);
}

.zync-admin .admin-blog-panel {
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.9fr) minmax(260px, 0.5fr);
}

.admin-theme-editor {
  display: grid;
  grid-template-columns: minmax(320px, 0.55fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.theme-editor-panel,
.theme-preview-panel {
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 16px 44px rgba(12, 16, 18, 0.07);
}

.theme-editor-panel {
  display: grid;
  gap: 24px;
  align-content: start;
  padding: clamp(20px, 3vw, 28px);
}

.theme-editor-head {
  display: grid;
  gap: 12px;
}

.theme-editor-head span,
.theme-preview-toolbar span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.theme-editor-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.05;
}

.theme-editor-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.theme-settings-form {
  display: grid;
  gap: 18px;
}

.theme-settings-form fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.theme-settings-form legend {
  padding: 0 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.theme-settings-form label,
.theme-preview-toolbar label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.theme-settings-form input,
.theme-settings-form select,
.theme-preview-toolbar select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  padding: 8px 10px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.theme-settings-form input[type="color"] {
  padding: 4px;
  cursor: pointer;
}

.theme-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.theme-preview-panel {
  min-height: 720px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}

.theme-preview-toolbar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: #f8faf6;
}

.theme-preview-toolbar strong {
  display: block;
  margin-top: 4px;
  font-size: 1.05rem;
}

.theme-preview-toolbar label {
  min-width: 190px;
}

.theme-preview-panel iframe {
  width: 100%;
  height: 100%;
  min-height: 640px;
  border: 0;
  background: var(--paper);
}

.compact-footer {
  padding-top: 28px;
}

.compact-footer .footer-bottom a {
  color: var(--white);
}

/* ─── Footer (black on every page) ───────────────────────── */
.site-footer {
  padding: 72px clamp(18px, 4vw, 56px) 32px;
  background: #0b0e10;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer p {
  margin: 0;
}

.footer-main {
  width: min(1400px, 100%);
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: clamp(32px, 6vw, 80px);
  margin: 0 auto;
}

.footer-brand {
  display: grid;
  gap: 16px;
  align-content: start;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.footer-logo .brand-logo {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
}

.footer-logo .brand-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 360px;
}

.footer-mail,
.footer-phone {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-mail:hover,
.footer-phone:hover {
  color: var(--green);
}

.footer-address {
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.footer-social a:hover {
  color: #fff;
  border-color: var(--green);
  background: rgba(45, 163, 57, 0.15);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
}

.footer-nav div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-nav h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-nav a:hover {
  color: var(--green);
}

.footer-bottom {
  width: min(1400px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 56px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-bottom-right a {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-bottom-right a:hover {
  color: var(--green);
}

@media (max-width: 820px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

.footer-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.82);
  border-radius: 10px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 200ms ease, background 200ms ease, transform 200ms ease, border-color 200ms ease;
}

.footer-top:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(45, 163, 57, 0.6);
  transform: translateY(-2px);
}

/* Contact page already converts — hide the redundant CTA band there */
body[data-page="contact"] .footer-cta {
  display: none;
}

body[data-page="contact"] .site-footer {
  padding-top: clamp(46px, 7vw, 78px);
}

/* ─── Floating back-to-top button (bottom-right, every page) ── */
.scroll-top {
  position: fixed;
  right: clamp(16px, 3vw, 30px);
  bottom: clamp(16px, 3vw, 30px);
  z-index: 40;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 15px;
  color: #fff;
  background: var(--grad-dark);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
  transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out),
    box-shadow 220ms ease, border-color 220ms ease;
}

.scroll-top::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(45, 163, 57, 0.5), rgba(58, 184, 71, 0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.scroll-top:hover {
  border-color: rgba(45, 163, 57, 0.6);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.4);
}

.scroll-top:hover::before {
  opacity: 1;
}

.scroll-top:active {
  transform: translateY(0) scale(0.96);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-top {
    transition: opacity 200ms ease;
    transform: none;
  }
  .scroll-top.is-visible {
    transform: none;
  }
}

@media (max-width: 1120px) {
  .header-shell {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .mobile-menu {
    display: block;
    justify-self: end;
  }
}

@media (max-width: 960px) {
  .intro,
  .results,
  .home-hero,
  .authority-strip,
  .operating-model,
  .capability-panel,
  .global-presence,
  .about-grid,
  .about-deep,
  .founder-panel,
  .owner-story,
  .program-hero,
  .program-method,
  .blog-hero,
  .featured-article,
  .editorial-system,
  .case-hero,
  .case-study.spotlight,
  .case-evidence,
  .cases-hero,
  .contact-main,
  .contact-route,
  .admin-header,
  .admin-panel,
  .admin-blog-panel,
  .admin-page .zync-admin,
  .admin-topbar,
  .admin-command-center,
  .admin-dashboard-grid,
  .admin-leads-panel,
  .admin-theme-editor,
  .case-row,
  .case-method,
  .split-cta {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .process-list,
  .project-grid,
  .blog-grid,
  .case-grid-rich,
  .admin-grid,
  .system-grid,
  .outcome-grid,
  .model-grid,
  .pod-grid,
  .owner-goals,
  .zync-grid,
  .stack-grid,
  .route-grid,
  .editorial-grid,
  .proof-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .operating-model > div:first-child {
    position: static;
  }

  .split-actions {
    justify-content: flex-start;
  }

  .home-hero {
    padding-inline: clamp(18px, 4vw, 42px);
  }

  .global-copy {
    width: min(760px, 100%);
    justify-self: start;
  }

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

  .admin-sidebar {
    position: static;
    height: auto;
    grid-template-rows: auto;
  }

  .admin-nav {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .admin-nav a {
    justify-content: center;
    text-align: center;
  }

  .admin-workspace {
    padding: 18px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0 12px;
  }

  .header-shell {
    height: 60px;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .brand-name {
    font-size: 0.92rem;
  }

  .brand-logo {
    width: 32px;
    height: 32px;
  }

  .hero {
    min-height: 94vh;
  }

  .home-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 112px 16px 28px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(10, 12, 14, 0.9), rgba(10, 12, 14, 0.42)),
      linear-gradient(180deg, rgba(10, 12, 14, 0.05) 36%, rgba(10, 12, 14, 0.78));
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px 28px;
    padding-top: 104px;
  }

  .home-hero .hero-content {
    width: 100%;
    margin: 0;
    padding-top: 0;
  }

  h1 {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
    overflow-wrap: anywhere;
  }

  .hero-stats,
  .service-grid,
  .process-list,
  .project-grid,
  .blog-grid,
  .case-grid-rich,
  .admin-grid,
  .form-row,
  .system-grid,
  .outcome-grid,
  .model-grid,
  .pod-grid,
  .owner-goals,
  .zync-grid,
  .stack-grid,
  .route-grid,
  .editorial-grid,
  .admin-nav,
  .proof-inner {
    grid-template-columns: 1fr;
  }

  .hero-stats div,
  .service-card,
  .process-list article,
  .project-card,
  .case-study.spotlight,
  .case-study.compact,
  .about-values article {
    min-height: auto;
  }

  .button {
    width: 100%;
  }

  .footer-cta {
    margin-bottom: -48px;
  }

  .footer-cta-inner {
    border-radius: 22px;
  }

  .site-footer {
    padding-top: 90px;
  }

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

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

  .footer-bottom-right {
    width: 100%;
    justify-content: space-between;
  }

  .footer-mail {
    width: 100%;
    justify-content: center;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: center;
  }

  .page-main {
    padding-top: 96px;
  }

  .page-hero {
    min-height: auto;
  }

  .world-map-card,
  .world-map {
    min-height: 360px;
  }

  .owner-photo-frame {
    min-height: 440px;
  }

  .contact-hero {
    padding-top: clamp(16px, 4vw, 28px);
  }

  .contact-hero h1 {
    font-size: clamp(2.6rem, 11vw, 3.6rem);
    max-width: none;
  }

  .contact-hero-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .contact-hero-mail {
    width: 100%;
    justify-content: space-between;
  }

  .contact-channel {
    padding: 18px;
    gap: 14px;
  }

  .channel-icon {
    width: 44px;
    height: 44px;
  }

  .contact-value {
    padding: 22px;
  }

  .contact-promise {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-promise div {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }

  .contact-form-card {
    padding: 24px;
    border-radius: 22px;
  }

  .scroll-top {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
  }

  .owner-photo {
    min-height: 260px;
  }

  .program-hero {
    min-height: auto;
  }

  .admin-topbar-actions,
  .admin-card header,
  .admin-theme-list div {
    display: grid;
    justify-content: stretch;
  }

  .admin-funnel div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .theme-settings-form fieldset,
  .theme-preview-toolbar {
    grid-template-columns: 1fr;
  }

  .theme-preview-toolbar {
    display: grid;
  }

  .theme-preview-panel {
    min-height: 560px;
  }

  .theme-preview-panel iframe {
    min-height: 480px;
  }

  .admin-command-list span {
    min-height: 38px;
  }

  .case-hero {
    min-height: auto;
  }

  .case-visual,
  .mock-store {
    min-height: 300px;
  }

  .case-metrics,
  .case-study.compact .case-metrics,
  .dialog-kpis {
    grid-template-columns: 1fr;
  }

  .preview-shell iframe {
    height: 72vh;
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.08) translate3d(-18px, -10px, 0);
  }
}

@keyframes proofMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes barLift {
  from {
    transform: scaleY(0.72);
    opacity: 0.72;
  }

  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes drawRoute {
  0% {
    stroke-dashoffset: 760;
    opacity: 0.2;
  }

  18% {
    opacity: 1;
  }

  62% {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  100% {
    stroke-dashoffset: -760;
    opacity: 0.25;
  }
}

@keyframes pulseMarket {
  0%,
  18% {
    opacity: 0;
    transform: scale(0.6);
  }

  34%,
  78% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0;
    transform: scale(1.7);
  }
}

@keyframes labelReveal {
  0%,
  22% {
    opacity: 0;
  }

  34%,
  78% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ════════════════════════════════════════════════════════════
   Admin v2: tabs, blog editor, analytics charts
   ════════════════════════════════════════════════════════════ */

/* Tab-panel switching */
[data-admin-panel] {
  display: block;
  animation: panelFade 0.24s ease;
}

[data-admin-panel][hidden] {
  display: none !important;
}

@keyframes panelFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Active sidebar tab */
.admin-nav a.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green-dark, #218229);
}

.admin-nav a em[data-blog-count],
.admin-nav a em[data-lead-count] {
  font-style: normal;
  font-weight: 700;
  font-size: 11px;
  color: var(--green);
  margin-left: 6px;
  letter-spacing: 0.04em;
}

.admin-nav a em[data-lead-count]:empty {
  display: none;
}

.admin-nav a em[data-lead-count].has-new {
  background: #d4423b;
  color: #fff;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
}

.admin-nav a.active em[data-blog-count],
.admin-nav a.active em[data-lead-count] {
  color: rgba(255, 255, 255, 0.85);
}

.admin-nav .admin-nav-external {
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

/* Quick action tiles on dashboard */
.admin-quick-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.admin-quick-actions a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: background 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
}

.admin-quick-actions a:hover {
  background: #fff;
  transform: translateX(4px);
  border-color: var(--green);
}

/* ─── Blog editor workspace (2 columns) ─────────────────── */
.admin-blog-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  margin-top: 24px;
}

@media (max-width: 1180px) {
  .admin-blog-workspace {
    grid-template-columns: 1fr;
  }
}

.blog-editor-column,
.blog-preview-column {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
  display: grid;
  gap: 20px;
  align-content: start;
}

.blog-editor-head h2 {
  margin: 6px 0 8px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.blog-editor-head p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.admin-blog-form .label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.markdown-help {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.markdown-help code {
  background: var(--paper);
  padding: 2px 5px;
  border: 1px solid var(--line);
  font-size: 11px;
}

.admin-blog-form textarea[name="content"] {
  font-family: ui-monospace, SFMono-Regular, Menlo, "Cascadia Code", monospace;
  font-size: 13px;
  line-height: 1.65;
  min-height: 320px;
}

.blog-form-tools {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.blog-form-tools button {
  width: 100%;
}

.blog-form-featured-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  padding-top: 22px;
}

.blog-form-featured-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
  cursor: pointer;
  flex-shrink: 0;
}

.blog-form-section {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
  padding: 0;
  margin: 4px 0;
}

.blog-form-section > summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.blog-form-section > summary::-webkit-details-marker {
  display: none;
}

.blog-form-section > summary::after {
  content: "+";
  font-size: 18px;
  font-weight: 600;
  color: var(--green);
  transition: transform 200ms ease;
}

.blog-form-section[open] > summary::after {
  content: "−";
}

.blog-form-section > .form-row,
.blog-form-section > label {
  padding: 0 18px 14px;
}

.blog-form-section > .form-row + .form-row,
.blog-form-section > label + label,
.blog-form-section > .form-row + label,
.blog-form-section > label + .form-row {
  padding-top: 2px;
}

/* ─── Blog preview pane ─────────────────────────────────── */
.blog-preview-head {
  display: grid;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.blog-preview-head span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}

.blog-preview-head strong {
  font-size: 16px;
  font-weight: 800;
}

.blog-preview-frame {
  background: var(--paper);
  padding: 20px;
  border: 1px solid var(--line);
  min-height: 320px;
}

.blog-preview-frame .preview-card {
  margin: 0;
  border: 1px solid var(--line);
  background: #fff;
}

/* ─── Markdown rendering ────────────────────────────────── */
.blog-content {
  display: grid;
  gap: 14px;
  margin: 12px 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}

.blog-content h3 {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.005em;
}

.blog-content h4 {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 800;
}

.blog-content p {
  margin: 0;
}

.blog-content strong {
  font-weight: 700;
  color: var(--ink);
}

.blog-content em {
  font-style: italic;
  color: var(--muted);
}

.blog-content a {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.blog-content ul {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 6px;
}

.blog-content li {
  margin: 0;
}

/* ─── Blog list with edit/delete actions ────────────────── */
.admin-blog-list-panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
  margin-top: 28px;
}

.admin-blog-list-panel > header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 18px;
  gap: 18px;
  flex-wrap: wrap;
}

.admin-blog-list-panel h2 {
  margin: 6px 0 0;
  font-size: 22px;
  font-weight: 800;
}

.admin-blog-list li.empty {
  background: var(--paper);
  color: var(--muted);
}

.blog-row-actions {
  display: flex;
  gap: 8px;
}

.blog-row-actions button {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.blog-row-actions .blog-edit:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.blog-row-actions .blog-delete:hover {
  background: #b3261e;
  color: #fff;
  border-color: #b3261e;
}

/* ─── Blog status badges ────────────────────────────────── */
.blog-status {
  display: inline-flex;
  align-items: center;
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  margin-left: 8px;
  vertical-align: middle;
}

.blog-status.published {
  background: var(--green);
  color: #fff;
}

.blog-status.draft {
  background: var(--gold);
  color: var(--ink);
}

/* ─── Analytics chart (daily bars) ──────────────────────── */
.admin-analytics-chart-panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
  margin-top: 24px;
}

.admin-analytics-chart-panel > header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.admin-analytics-chart-panel header h2 {
  margin: 6px 0 0;
  font-size: 22px;
  font-weight: 800;
}

.admin-analytics-chart-panel header small {
  color: var(--muted);
  font-size: 12px;
}

.analytics-chart {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  gap: 6px;
  align-items: end;
  height: 200px;
  padding: 16px 8px 0;
  background: var(--paper);
  border: 1px solid var(--line);
}

.chart-bar {
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: end;
  height: 100%;
  text-align: center;
  position: relative;
}

.chart-bar em {
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
  min-height: 13px;
}

.chart-bar i {
  display: block;
  background: linear-gradient(to top, var(--green) 0%, var(--green) 70%, #3ab847 100%);
  min-height: 2px;
  width: 100%;
  align-self: end;
  transition: opacity 0.16s ease;
}

.chart-bar:hover i {
  opacity: 0.85;
}

.chart-bar span {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.04em;
}

/* ─── Analytics split (pages + CTAs) ────────────────────── */
.admin-analytics-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 24px;
}

@media (max-width: 960px) {
  .admin-analytics-split {
    grid-template-columns: 1fr;
  }
}

.analytics-pages,
.analytics-cta {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 12px;
}

.analytics-pages li,
.analytics-cta li {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.analytics-pages li.empty,
.analytics-cta li.empty {
  background: transparent;
  color: var(--muted);
  border-style: dashed;
  text-align: center;
  padding: 22px;
}

.analytics-pages li.empty strong,
.analytics-cta li.empty strong {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}

.page-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.page-row strong {
  font-size: 14px;
  font-weight: 800;
}

.page-row span {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.page-bar {
  height: 6px;
  background: rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.page-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(to right, var(--green), #3ab847);
  min-width: 2px;
  transition: width 0.3s ease;
}

.analytics-cta li strong {
  font-size: 14px;
  font-weight: 800;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--ink);
  word-break: break-all;
}

.analytics-cta li span {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

/* ─── Funnel (real data) ────────────────────────────────── */
.admin-funnel {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.admin-funnel > div {
  display: grid;
  grid-template-columns: 110px 1fr 50px;
  align-items: center;
  gap: 12px;
}

.admin-funnel > div span {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}

.admin-funnel > div strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
  text-align: right;
  order: 3;
}

.admin-funnel > div i {
  display: block;
  height: 14px;
  width: var(--bar, 0%);
  background: linear-gradient(to right, var(--green), var(--green-dark, #218229));
  min-width: 2px;
  transition: width 0.4s ease;
}


/* ─── Leads tab (dedicated) ────────────────────────────── */
.admin-leads-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 28px 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  margin-bottom: 24px;
}

.admin-leads-header h2 {
  margin: 8px 0 4px;
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
}

.admin-leads-header h2 em[data-lead-count] {
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  background: var(--ink);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 999px;
  margin-left: 10px;
  vertical-align: middle;
}

.admin-leads-header h2 em[data-lead-count]:empty {
  display: none;
}

.admin-leads-header h2 em[data-lead-count].has-new {
  background: #d4423b;
}

.admin-leads-header p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 560px;
}

.admin-leads-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-leads-board {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  min-height: 200px;
}

.admin-leads-board .lead-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-leads-board .lead-item {
  display: grid;
  gap: 12px;
  padding: 20px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--line);
  border-radius: 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.admin-leads-board .lead-item:hover {
  box-shadow: 0 6px 18px -12px rgba(0, 0, 0, 0.25);
}

.admin-leads-board .lead-item.lead-status-new {
  border-left-color: #d4423b;
  background: #fff7f6;
}

.admin-leads-board .lead-item.lead-status-contacted {
  border-left-color: var(--gold, #c89b3c);
}

.admin-leads-board .lead-item.lead-status-qualified {
  border-left-color: var(--green, #117a3d);
}

.admin-leads-board .lead-item.lead-status-archived {
  border-left-color: var(--line);
  opacity: 0.65;
}

.lead-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.lead-header strong {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
}

.lead-focus {
  display: inline-block;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(17, 122, 61, 0.1);
  color: var(--green, #117a3d);
}

.lead-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.lead-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
}

.lead-contact a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 1px;
}

.lead-contact a:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}

.lead-message {
  margin: 0;
  padding: 12px 14px;
  background: var(--white);
  border-left: 3px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.lead-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}

.lead-status-select {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.lead-status-select:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
}

.lead-reply {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.lead-reply:hover {
  background: var(--green);
}

.lead-delete {
  margin-left: auto;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.lead-delete:hover {
  color: #d4423b;
  border-color: #d4423b;
}

.lead-empty {
  margin: 0;
  padding: 40px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  background: var(--paper);
  border-radius: 16px;
  border: 1px dashed var(--line);
}

@media (max-width: 720px) {
  .admin-leads-header {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .admin-leads-board {
    padding: 14px;
  }

  .admin-leads-board .lead-item {
    padding: 16px;
  }

  .lead-delete {
    margin-left: 0;
  }
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */

/* ─── Services Hero ──────────────────────────────────────── */
.services-hero {
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(60px, 8vw, 110px);
  position: relative;
  overflow: hidden;
}

.services-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.services-hero-copy {
  display: grid;
  gap: 22px;
  max-width: 620px;
}

.services-hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}

.services-hero-lede {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.7;
  color: var(--muted-strong);
  max-width: 540px;
  margin: 0;
}

.services-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

.services-hero-visual {
  position: relative;
  perspective: 1200px;
  min-height: 420px;
}

.services-hero-stack {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.services-hero-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(11, 14, 16, 0.08);
  min-width: 280px;
  transition: transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out);
  animation: servicesCardFloat 7s ease-in-out infinite;
}

.services-hero-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--ink);
  margin-bottom: 2px;
}

.services-hero-card span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

.services-hero-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: rgba(45, 163, 57, 0.08);
  color: var(--green);
  border-radius: 10px;
}

.services-hero-card-1 {
  top: 0;
  left: 0;
  animation-delay: 0s;
  z-index: 4;
}

.services-hero-card-2 {
  top: 86px;
  right: 0;
  animation-delay: 0.6s;
  z-index: 3;
}

.services-hero-card-3 {
  top: 200px;
  left: 24px;
  animation-delay: 1.2s;
  z-index: 2;
}

.services-hero-card-4 {
  top: 300px;
  right: 20px;
  animation-delay: 1.8s;
  z-index: 1;
}

.services-hero-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 24px 60px rgba(11, 14, 16, 0.14);
}

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

/* ─── Services Intro ─────────────────────────────────────── */
.services-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.services-intro-copy {
  display: grid;
  gap: 20px;
}

.services-intro-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

.services-intro-copy p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted-strong);
  margin: 0;
}

.services-intro-points {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.services-intro-points li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 200ms var(--ease-out), border-color 200ms ease, box-shadow 200ms ease;
}

.services-intro-points li:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 163, 57, 0.4);
  box-shadow: 0 12px 28px rgba(11, 14, 16, 0.06);
}

.services-intro-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
}

.services-intro-points strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.services-intro-points span {
  display: block;
  font-size: 0.92rem;
  color: var(--muted-strong);
  line-height: 1.55;
}

/* ─── Services Main (4 main service cards) ───────────────── */
.services-main {
  scroll-margin-top: 90px;
}

.services-main-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 50px;
}

.services-main-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  transition: transform 280ms var(--ease-out), border-color 280ms ease, box-shadow 280ms ease;
}

.services-main-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(45, 163, 57, 0) 0%, rgba(45, 163, 57, 0) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  transition: background 280ms ease;
}

.services-main-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(11, 14, 16, 0.1);
  border-color: transparent;
}

.services-main-card:hover::before {
  background: linear-gradient(135deg, rgba(45, 163, 57, 0.4) 0%, rgba(45, 163, 57, 0) 60%);
}

.services-main-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.services-main-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(45, 163, 57, 0.28);
  flex-shrink: 0;
}

.services-main-head h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 4px 0 0;
}

.services-main-text {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--muted-strong);
  margin: 0;
}

.services-main-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line-soft);
}

.services-main-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
}

.services-main-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

.services-main-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: auto;
  padding-top: 4px;
  transition: color 200ms ease, gap 200ms ease;
}

.services-main-link:hover {
  color: var(--green);
  gap: 10px;
}

/* ─── Services Extra (chip cards) ────────────────────────── */
.services-extra-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 44px 0 0;
  padding: 0;
}

.services-extra-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink);
  transition: transform 200ms var(--ease-out), border-color 200ms ease, box-shadow 200ms ease;
}

.services-extra-card:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 163, 57, 0.45);
  box-shadow: 0 12px 28px rgba(11, 14, 16, 0.06);
}

.services-extra-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(45, 163, 57, 0.12);
}

/* ─── Services Packages (3-tier) ─────────────────────────── */
.services-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
  align-items: stretch;
}

.services-package {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 34px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: transform 280ms var(--ease-out), box-shadow 280ms ease, border-color 280ms ease;
}

.services-package:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(11, 14, 16, 0.08);
}

.services-package-feature {
  background: linear-gradient(180deg, var(--ink) 0%, #15191c 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 26px 60px rgba(11, 14, 16, 0.22);
  transform: translateY(-12px);
}

.services-package-feature:hover {
  transform: translateY(-16px);
  box-shadow: 0 32px 70px rgba(11, 14, 16, 0.28);
}

.services-package-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: var(--green);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(45, 163, 57, 0.35);
  white-space: nowrap;
}

.services-package-head {
  display: grid;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}

.services-package-feature .services-package-head {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.services-package-tag {
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  padding: 5px 11px;
  background: rgba(45, 163, 57, 0.1);
  border-radius: 999px;
  width: max-content;
}

.services-package-feature .services-package-tag {
  background: rgba(58, 184, 71, 0.18);
  color: var(--green-bright);
}

.services-package-head h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: inherit;
  margin: 4px 0 0;
}

.services-package-for {
  font-size: 0.9rem;
  color: var(--muted-strong);
  line-height: 1.5;
  margin: 0;
}

.services-package-feature .services-package-for {
  color: rgba(255, 255, 255, 0.7);
}

.services-package-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  flex: 1;
}

.services-package-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.5;
}

.services-package-feature .services-package-list li {
  color: rgba(255, 255, 255, 0.92);
}

.services-package-check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  margin-top: 1px;
}

.services-package-feature .services-package-check {
  background: var(--green-bright);
}

.services-package-cta {
  margin-top: 4px;
  width: 100%;
  justify-content: center;
}

.services-package-feature .services-package-cta.primary {
  background: var(--green);
}

.services-package-feature .services-package-cta.primary:hover {
  background: var(--green-bright);
}

.services-packages-note {
  margin: 36px auto 0;
  max-width: 580px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ─── Services FAQ ───────────────────────────────────────── */
.services-faq-list {
  display: grid;
  gap: 14px;
  margin-top: 44px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.services-faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.services-faq-item:hover {
  border-color: rgba(45, 163, 57, 0.35);
}

.services-faq-item[open] {
  border-color: rgba(45, 163, 57, 0.55);
  box-shadow: 0 14px 32px rgba(11, 14, 16, 0.06);
}

.services-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
  transition: color 180ms ease;
}

.services-faq-item summary::-webkit-details-marker {
  display: none;
}

.services-faq-item summary:hover {
  color: var(--green);
}

.services-faq-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--paper-warm);
  color: var(--ink);
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 250ms var(--ease-out), background 200ms ease, color 200ms ease;
}

.services-faq-item[open] .services-faq-icon {
  transform: rotate(45deg);
  background: var(--green);
  color: var(--white);
}

.services-faq-body {
  padding: 0 26px 24px;
  animation: faqSlideDown 280ms var(--ease-out);
}

.services-faq-body p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--muted-strong);
}

@keyframes faqSlideDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Services Page Responsive ───────────────────────────── */
@media (max-width: 1024px) {
  .services-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .services-hero-visual {
    min-height: 380px;
    max-width: 480px;
  }

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

  .services-main-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

  .services-packages-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .services-package-feature {
    transform: translateY(0);
  }

  .services-package-feature:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 640px) {
  .services-hero {
    padding-top: 32px;
    padding-bottom: 60px;
  }

  .services-hero-visual {
    min-height: 360px;
  }

  .services-hero-card {
    min-width: 240px;
    padding: 14px 18px;
  }

  .services-hero-card-3 {
    left: 0;
  }

  .services-hero-card-4 {
    right: 0;
  }

  .services-main-card {
    padding: 26px 22px;
  }

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

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

  .services-package {
    padding: 28px 24px;
  }

  .services-faq-item summary {
    padding: 18px 20px;
    font-size: 0.96rem;
    gap: 12px;
  }

  .services-faq-body {
    padding: 0 20px 22px;
  }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

/* ─── Contact Hero ───────────────────────────────────────── */
.contact-hero {
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(60px, 8vw, 110px);
  position: relative;
  overflow: hidden;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.contact-hero-copy {
  display: grid;
  gap: 22px;
  max-width: 620px;
}

.contact-hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}

.contact-hero-lede {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.7;
  color: var(--muted-strong);
  max-width: 540px;
  margin: 0;
}

.contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

.contact-hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 8px 0 0;
  padding: 0;
}

.contact-hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted-strong);
}

.contact-hero-trust svg {
  color: var(--green);
}

.contact-hero-visual {
  position: relative;
  perspective: 1200px;
  min-height: 420px;
}

.contact-hero-card-stack {
  position: relative;
  width: 100%;
  min-height: 420px;
}

.contact-hero-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(11, 14, 16, 0.08);
  min-width: 280px;
  transition: transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out);
  animation: contactCardFloat 7s ease-in-out infinite;
}

.contact-hero-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--ink);
  margin-bottom: 2px;
}

.contact-hero-card span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

.contact-hero-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: rgba(45, 163, 57, 0.08);
  color: var(--green);
  border-radius: 10px;
}

.contact-hero-card-1 { top: 0;   left: 0;   animation-delay: 0s;   z-index: 4; }
.contact-hero-card-2 { top: 86px;  right: 0;  animation-delay: 0.6s; z-index: 3; }
.contact-hero-card-3 { top: 200px; left: 24px; animation-delay: 1.2s; z-index: 2; }
.contact-hero-card-4 { top: 300px; right: 20px; animation-delay: 1.8s; z-index: 1; }

.contact-hero-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 24px 60px rgba(11, 14, 16, 0.14);
}

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

/* ─── Contact Form Section ───────────────────────────────── */
.contact-form-section {
  scroll-margin-top: 90px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

/* Form card */
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 20px 60px rgba(11, 14, 16, 0.06);
}

.contact-form-head {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}

.contact-form-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

.contact-form-head p {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--muted-strong);
  margin: 0;
}

.contact-form {
  display: grid;
  gap: 18px;
}

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

.contact-form-field {
  display: grid;
  gap: 8px;
}

.contact-form-field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.005em;
}

.contact-form-field label span {
  color: var(--green);
  margin-left: 2px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 13px 16px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.55;
  font-family: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #a4a9af;
  font-weight: 400;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(45, 163, 57, 0.14);
}

.contact-form input:invalid:not(:placeholder-shown),
.contact-form textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(217, 77, 31, 0.55);
}

.contact-form-select {
  position: relative;
}

.contact-form-select select {
  padding-right: 42px;
  cursor: pointer;
  background: var(--white);
}

.contact-form-chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.contact-form-submit {
  margin-top: 6px;
  justify-content: center;
  width: 100%;
}

.contact-form-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin: -4px 0 0;
  text-align: center;
}

.contact-form-status {
  font-size: 0.92rem;
  font-weight: 600;
  margin: 6px 0 0;
  padding: 12px 16px;
  border-radius: 10px;
  background: transparent;
  color: var(--muted-strong);
  min-height: 1.5em;
}

.contact-form-status:empty {
  display: none;
}

.contact-form-status.success {
  background: rgba(45, 163, 57, 0.08);
  color: var(--green-dark);
  border: 1px solid rgba(45, 163, 57, 0.25);
}

.contact-form-status.error {
  background: rgba(217, 77, 31, 0.06);
  color: #b53d1a;
  border: 1px solid rgba(217, 77, 31, 0.25);
}

/* Info card (right side) */
.contact-info {
  display: grid;
  gap: 18px;
  align-self: stretch;
}

.contact-info-card {
  position: relative;
  background: linear-gradient(180deg, var(--ink) 0%, #15191c 100%);
  color: var(--white);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 38px);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(11, 14, 16, 0.18);
}

.contact-info-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(45, 163, 57, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.contact-info-eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 12px;
}

.contact-info-eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--green-bright);
}

.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--white);
  margin: 0 0 24px;
  position: relative;
}

.contact-info-list {
  list-style: none;
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  position: relative;
}

.contact-info-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
}

.contact-info-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: rgba(45, 163, 57, 0.18);
  color: var(--green-bright);
  border-radius: 10px;
  flex-shrink: 0;
}

.contact-info-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 4px;
}

.contact-info-value {
  display: block;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
}

a.contact-info-value {
  transition: color 180ms ease;
}

a.contact-info-value:hover {
  color: var(--green-bright);
}

.contact-mini-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.contact-mini-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 200ms ease, transform 200ms var(--ease-out), box-shadow 200ms ease;
}

.contact-mini-card:hover {
  border-color: rgba(45, 163, 57, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(11, 14, 16, 0.05);
}

.contact-mini-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: rgba(45, 163, 57, 0.08);
  color: var(--green);
  border-radius: 8px;
  flex-shrink: 0;
}

/* Hide accidental browser autofill yellow */
.contact-form input:-webkit-autofill,
.contact-form textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px var(--white) inset;
  transition: background-color 9999s ease-in-out 0s;
}

/* Honeypot field hidden */
.trap-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── Contact Map ────────────────────────────────────────── */
.contact-map {
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(60px, 8vw, 100px);
}

.contact-map-frame {
  position: relative;
  margin-top: 44px;
  width: 100%;
  height: clamp(340px, 50vw, 480px);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(11, 14, 16, 0.1);
  background: var(--paper);
}

.contact-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(1.02);
}

.contact-map-caption {
  margin: 18px auto 0;
  max-width: 720px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}

.contact-map-cta {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(26px, 3.5vw, 36px) clamp(28px, 4vw, 44px);
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.contact-map-cta-copy {
  display: grid;
  gap: 6px;
  max-width: 520px;
}

.contact-map-cta-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}

.contact-map-cta-copy p {
  font-size: 0.94rem;
  color: var(--muted-strong);
  line-height: 1.55;
  margin: 0;
}

/* ─── Contact "When" cards ───────────────────────────────── */
.contact-when-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.contact-when-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 280ms var(--ease-out), border-color 280ms ease, box-shadow 280ms ease;
}

.contact-when-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease-out);
}

.contact-when-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 163, 57, 0.45);
  box-shadow: 0 22px 50px rgba(11, 14, 16, 0.08);
}

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

.contact-when-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: rgba(45, 163, 57, 0.1);
  color: var(--green);
  border-radius: 12px;
}

.contact-when-card h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 4px 0 0;
}

.contact-when-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted-strong);
  margin: 0;
}

/* ─── Contact Process (reuses .process-steps) ────────────── */
.contact-process .process-steps {
  margin-top: 48px;
}

/* ─── Contact FAQ (reuses .services-faq classes) ─────────── */
.contact-faq .services-faq-list {
  margin-top: 44px;
}

/* ─── Contact Final CTA (black) ──────────────────────────── */
.contact-final-cta {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(60px, 8vw, 110px);
}

.contact-final-cta-inner {
  position: relative;
  text-align: center;
  background: linear-gradient(160deg, var(--ink) 0%, #14181b 60%, #0a0d0f 100%);
  color: var(--white);
  padding: clamp(56px, 8vw, 100px) clamp(28px, 5vw, 80px);
  border-radius: clamp(22px, 3vw, 28px);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 36px 90px rgba(11, 14, 16, 0.32);
}

.contact-final-cta-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 50% 0%, rgba(45, 163, 57, 0.25) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.contact-final-cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 16px 0 18px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.contact-final-cta-inner > p {
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 auto 32px;
  max-width: 600px;
}

.contact-final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.contact-final-cta-actions .button.primary {
  background: var(--green);
  color: var(--white);
}

.contact-final-cta-actions .button.primary:hover {
  background: var(--green-bright);
}

.contact-final-cta-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--green-bright);
  transition: color 180ms ease;
}

.contact-final-cta-mail:hover {
  color: var(--white);
}

/* ─── Contact Booking Section ────────────────────────────── */
.contact-booking {
  scroll-margin-top: 90px;
}

.contact-booking-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

.contact-booking-copy {
  display: grid;
  gap: 20px;
}

.contact-booking-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

.contact-booking-lede {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-strong);
  margin: 0;
  max-width: 520px;
}

.contact-booking-list {
  display: grid;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 8px 0 4px;
}

.contact-booking-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-booking-bullet {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--green, #117a3d);
  box-shadow: 0 0 0 4px rgba(17, 122, 61, 0.12);
}

.contact-booking-list strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 2px;
}

.contact-booking-list small {
  display: block;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--muted);
}

.contact-booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.contact-booking-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--green, #117a3d);
  letter-spacing: 0.01em;
}

.contact-booking-note svg {
  flex-shrink: 0;
  color: var(--green);
}

/* ─── Calendar Mockup Visual ─────────────────────────────── */
.contact-booking-visual {
  display: grid;
  place-items: center;
}

.contact-booking-mock {
  width: 100%;
  max-width: 380px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 24px 20px;
  box-shadow:
    0 24px 60px rgba(11, 14, 16, 0.08),
    0 2px 6px rgba(11, 14, 16, 0.04);
  display: grid;
  gap: 18px;
}

.contact-booking-mock-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-booking-mock-logo {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
}

.contact-booking-mock-title {
  display: grid;
  gap: 2px;
  flex: 1;
}

.contact-booking-mock-title strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ink);
}

.contact-booking-mock-title small {
  font-size: 0.76rem;
  color: var(--muted);
}

.contact-booking-mock-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(17, 122, 61, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green, #117a3d);
  white-space: nowrap;
}

.contact-booking-mock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green, #117a3d);
  animation: bookingPulse 2s ease infinite;
}

@keyframes bookingPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.85); }
}

.contact-booking-mock-cal {
  display: grid;
  gap: 10px;
}

.contact-booking-mock-month {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.contact-booking-mock-month strong {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ink);
}

.contact-booking-mock-month button {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  cursor: default;
  pointer-events: none;
}

.contact-booking-mock-days,
.contact-booking-mock-dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  text-align: center;
}

.contact-booking-mock-days span {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding: 3px 0;
}

.contact-booking-mock-dates i {
  font-style: normal;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink);
  border-radius: 7px;
  border: 1px solid transparent;
  background: var(--paper);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.contact-booking-mock-dates i.is-muted {
  color: var(--line);
  background: transparent;
}

.contact-booking-mock-dates i.is-weekend {
  color: rgba(89, 97, 107, 0.35);
  background: transparent;
}

.contact-booking-mock-dates i.is-available {
  background: rgba(17, 122, 61, 0.06);
  border-color: rgba(17, 122, 61, 0.18);
  color: var(--green, #117a3d);
  font-weight: 700;
}

.contact-booking-mock-dates i.is-selected {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  font-weight: 800;
}

.contact-booking-mock-dates i.is-today {
  outline: 2px solid var(--gold, #c89b3c);
  outline-offset: -1px;
}

.contact-booking-mock-times {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.contact-booking-mock-times span {
  flex: 1;
  min-width: 60px;
  text-align: center;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--paper);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.contact-booking-mock-times span.is-selected {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* ─── Contact Page Responsive ────────────────────────────── */
@media (max-width: 1024px) {
  .contact-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-hero-visual {
    min-height: 380px;
    max-width: 480px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-info {
    order: -1;
  }

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

  .contact-map-cta {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .contact-booking-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-booking-visual {
    max-width: 380px;
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .contact-hero {
    padding-top: 32px;
    padding-bottom: 60px;
  }

  .contact-hero-visual {
    min-height: 360px;
  }

  .contact-hero-card {
    min-width: 240px;
    padding: 14px 18px;
  }

  .contact-hero-card-3 { left: 0; }
  .contact-hero-card-4 { right: 0; }

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

  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    font-size: 16px; /* prevent iOS zoom */
    padding: 14px 16px;
  }

  .contact-info-card {
    padding: 26px 22px;
  }

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

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

  .contact-when-card {
    padding: 24px 22px;
  }

  .contact-booking-grid {
    gap: 32px;
  }

  .contact-booking-visual {
    max-width: 100%;
  }

  .contact-booking-mock {
    padding: 18px 18px 16px;
  }

  .contact-booking-mock-times span {
    min-width: 50px;
    padding: 8px 6px;
    font-size: 0.74rem;
  }

  .contact-map-frame {
    height: 320px;
    border-radius: 18px;
  }

  .contact-map-cta {
    padding: 24px 22px;
  }

  .contact-final-cta-inner {
    padding: 44px 22px;
  }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* ─── About Hero ─────────────────────────────────────────── */
.about-hero {
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(60px, 8vw, 110px);
  position: relative;
  overflow: hidden;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.about-hero-copy {
  display: grid;
  gap: 22px;
  max-width: 620px;
}

.about-hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}

.about-hero-lede {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.7;
  color: var(--muted-strong);
  max-width: 540px;
  margin: 0;
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

.about-hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 8px 0 0;
  padding: 0;
}

.about-hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted-strong);
}

.about-hero-trust svg {
  color: var(--green);
}

.about-hero-visual {
  position: relative;
  perspective: 1200px;
  min-height: 460px;
}

.about-hero-stack {
  position: relative;
  width: 100%;
  min-height: 460px;
}

.about-hero-card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(11, 14, 16, 0.08);
  white-space: nowrap;
  transition: transform 380ms var(--ease-out), box-shadow 380ms var(--ease-out);
  animation: aboutHeroFloat 7s ease-in-out infinite;
}

.about-hero-card span {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.about-hero-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: rgba(45, 163, 57, 0.1);
  color: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

.about-hero-card-1 { top: 0;    left: 8%;  animation-delay: 0s;   z-index: 5; }
.about-hero-card-2 { top: 90px;  right: 0;  animation-delay: 0.5s; z-index: 4; }
.about-hero-card-3 { top: 190px; left: 0;   animation-delay: 1s;   z-index: 3; }
.about-hero-card-4 { top: 290px; right: 8%; animation-delay: 1.5s; z-index: 2; }
.about-hero-card-5 { top: 390px; left: 14%; animation-delay: 2s;   z-index: 1; }

.about-hero-card:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 22px 50px rgba(11, 14, 16, 0.14);
}

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

/* ─── About Intro ────────────────────────────────────────── */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 5vw, 70px);
  align-items: start;
}

.about-intro-copy {
  display: grid;
  gap: 18px;
  max-width: 640px;
}

.about-intro-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

.about-intro-copy p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted-strong);
  margin: 0;
}

.about-intro-card {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 14px;
  padding: clamp(26px, 3.5vw, 36px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(11, 14, 16, 0.06);
}

.about-intro-card-eyebrow {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

.about-intro-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 6px;
}

.about-intro-card-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line-soft);
}

.about-intro-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
}

.about-intro-card-check {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── About Founder ──────────────────────────────────────── */
.about-founder-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 5vw, 70px);
  align-items: center;
}

.about-founder-copy {
  display: grid;
  gap: 18px;
  max-width: 620px;
}

.about-founder-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

.about-founder-copy p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted-strong);
  margin: 0;
}

.about-founder-card {
  position: relative;
  display: grid;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(11, 14, 16, 0.1);
  transition: transform 280ms var(--ease-out), box-shadow 280ms ease;
}

.about-founder-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 36px 80px rgba(11, 14, 16, 0.14);
}

.about-founder-avatar {
  position: relative;
  height: 180px;
  background: linear-gradient(135deg, var(--ink) 0%, #15191c 60%, var(--green-dark) 160%);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.about-founder-avatar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(45, 163, 57, 0.35) 0%, transparent 60%);
  pointer-events: none;
}

.about-founder-initials {
  position: relative;
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
}

.about-founder-status {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
}

.about-founder-status-dot {
  width: 7px;
  height: 7px;
  background: var(--green-bright);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(58, 184, 71, 0.25);
  animation: aboutFounderPulse 2s ease-in-out infinite;
}

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

.about-founder-body {
  padding: 26px clamp(26px, 3vw, 32px) clamp(26px, 3vw, 32px);
  display: grid;
  gap: 6px;
}

.about-founder-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}

.about-founder-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green);
  margin: 0;
}

.about-founder-desc {
  font-size: 0.92rem;
  color: var(--muted-strong);
  margin: 4px 0 14px;
  line-height: 1.55;
}

.about-founder-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
  padding: 14px 0 0;
  border-top: 1px solid var(--line-soft);
}

.about-founder-badges li {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted-strong);
  padding: 5px 10px;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.about-founder-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  transition: color 180ms ease, gap 180ms ease;
  align-self: start;
}

.about-founder-link:hover {
  color: var(--green);
  gap: 10px;
}

/* ─── About Mission ──────────────────────────────────────── */
.about-mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.about-mission-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 280ms var(--ease-out), border-color 280ms ease, box-shadow 280ms ease;
}

.about-mission-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease-out);
}

.about-mission-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 163, 57, 0.45);
  box-shadow: 0 22px 50px rgba(11, 14, 16, 0.08);
}

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

.about-mission-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(45, 163, 57, 0.25);
}

.about-mission-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}

.about-mission-card p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--muted-strong);
  margin: 0;
}

/* ─── About Values ───────────────────────────────────────── */
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.about-values-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 250ms var(--ease-out), border-color 250ms ease, box-shadow 250ms ease;
}

.about-values-card:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 163, 57, 0.45);
  box-shadow: 0 18px 40px rgba(11, 14, 16, 0.06);
}

.about-values-num {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--green);
  background: rgba(45, 163, 57, 0.1);
  width: max-content;
  padding: 5px 11px;
  border-radius: 999px;
}

.about-values-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}

.about-values-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--muted-strong);
  margin: 0;
}

/* When 5 cards on a 3-col grid, the 4th and 5th sit on row 2 (2 cards) */
.about-values-grid > .about-values-card:nth-child(4),
.about-values-grid > .about-values-card:nth-child(5) {
  position: relative;
}

/* ─── About Difference (split: standard vs WD) ───────────── */
.about-difference-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 48px;
  align-items: stretch;
}

.about-difference-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(28px, 3.5vw, 38px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  transition: transform 280ms var(--ease-out), box-shadow 280ms ease;
}

.about-difference-standard {
  opacity: 0.94;
  background: var(--paper-warm);
}

.about-difference-feature {
  background: linear-gradient(180deg, var(--white) 0%, rgba(45, 163, 57, 0.04) 100%);
  border-color: rgba(45, 163, 57, 0.45);
  box-shadow: 0 24px 60px rgba(11, 14, 16, 0.06);
  transform: translateY(-6px);
}

.about-difference-feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 32px 70px rgba(11, 14, 16, 0.1);
}

.about-difference-head {
  display: grid;
  gap: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}

.about-difference-tag {
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 5px 11px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: max-content;
}

.about-difference-tag-green {
  color: var(--green);
  background: rgba(45, 163, 57, 0.1);
  border-color: rgba(45, 163, 57, 0.2);
}

.about-difference-head h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 4px 0 0;
}

.about-difference-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.about-difference-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.96rem;
  color: var(--ink);
  line-height: 1.5;
}

.about-difference-standard .about-difference-list li {
  color: var(--muted-strong);
}

.about-difference-dot {
  width: 8px;
  height: 8px;
  background: #c2c8cf;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

.about-difference-check {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0;
  box-shadow: 0 6px 14px rgba(45, 163, 57, 0.25);
}

/* ─── About Expertise ────────────────────────────────────── */
.about-expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.about-expertise-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: transform 280ms var(--ease-out), border-color 280ms ease, box-shadow 280ms ease;
}

.about-expertise-card:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 163, 57, 0.45);
  box-shadow: 0 22px 50px rgba(11, 14, 16, 0.08);
}

.about-expertise-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: rgba(45, 163, 57, 0.1);
  color: var(--green);
  border-radius: 12px;
}

.about-expertise-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}

.about-expertise-card p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--muted-strong);
  margin: 0;
}

.about-expertise-cta {
  margin-top: 40px;
  text-align: center;
}

/* ─── About Location ─────────────────────────────────────── */
.about-location-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 5vw, 70px);
  align-items: center;
}

.about-location-copy {
  display: grid;
  gap: 18px;
  max-width: 580px;
}

.about-location-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

.about-location-copy > p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted-strong);
  margin: 0;
}

.about-location-address {
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  gap: 6px;
}

.about-location-address-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

.about-location-address p {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.55;
}

.about-location-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
}

.about-location-badges li {
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 200ms ease, color 200ms ease, transform 200ms var(--ease-out);
}

.about-location-badges li:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}

.about-location-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(11, 14, 16, 0.08);
}

.about-location-globe {
  display: grid;
  place-items: center;
  padding: 32px;
  background: var(--paper-warm);
}

.about-location-globe svg {
  width: 100%;
  max-width: 280px;
  height: auto;
}

.about-location-card-body {
  padding: 22px clamp(22px, 2.6vw, 28px) 26px;
  border-top: 1px solid var(--line-soft);
  display: grid;
  gap: 8px;
}

.about-location-pin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.005em;
}

.about-location-pin svg {
  color: var(--green);
}

.about-location-card-body p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted-strong);
  margin: 0;
}

/* ─── About Process Preview (reuses .process-steps) ──────── */
.about-process-preview .process-steps {
  margin-top: 48px;
}

.about-process-preview-cta {
  margin-top: 44px;
  text-align: center;
}

/* ─── About Final CTA (black) ────────────────────────────── */
.about-final-cta {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(60px, 8vw, 110px);
}

.about-final-cta-inner {
  position: relative;
  text-align: center;
  background: linear-gradient(160deg, var(--ink) 0%, #14181b 60%, #0a0d0f 100%);
  color: var(--white);
  padding: clamp(56px, 8vw, 100px) clamp(28px, 5vw, 80px);
  border-radius: clamp(22px, 3vw, 28px);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 36px 90px rgba(11, 14, 16, 0.32);
}

.about-final-cta-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 50% 0%, rgba(45, 163, 57, 0.25) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.about-final-cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 16px auto 18px;
  max-width: 720px;
}

.about-final-cta-inner > p {
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 auto 32px;
  max-width: 600px;
}

.about-final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.about-final-cta-actions .button.primary {
  background: var(--green);
  color: var(--white);
}

.about-final-cta-actions .button.primary:hover {
  background: var(--green-bright);
}

.about-final-cta-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--green-bright);
  transition: color 180ms ease;
}

.about-final-cta-mail:hover {
  color: var(--white);
}

/* ─── About Page Responsive ──────────────────────────────── */
@media (max-width: 1024px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-hero-visual {
    min-height: 460px;
    max-width: 520px;
  }

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

  .about-intro-card {
    position: static;
  }

  .about-founder-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-mission-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .about-difference-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .about-difference-feature {
    transform: translateY(0);
  }

  .about-difference-feature:hover {
    transform: translateY(-4px);
  }

  .about-expertise-grid {
    grid-template-columns: 1fr;
  }

  .about-location-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .about-hero {
    padding-top: 32px;
    padding-bottom: 60px;
  }

  .about-hero-visual {
    min-height: 460px;
  }

  .about-hero-card {
    padding: 10px 16px;
  }

  .about-hero-card-1 { left: 0; }
  .about-hero-card-2 { right: 0; }
  .about-hero-card-3 { left: 0; }
  .about-hero-card-4 { right: 0; }
  .about-hero-card-5 { left: 0; }

  .about-founder-avatar {
    height: 150px;
  }

  .about-founder-initials {
    font-size: 3.6rem;
  }

  .about-mission-card,
  .about-expertise-card {
    padding: 26px 22px;
  }

  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .about-values-card {
    padding: 24px 22px;
  }

  .about-difference-card {
    padding: 26px 22px;
  }

  .about-location-globe {
    padding: 24px;
  }

  .about-location-globe svg {
    max-width: 220px;
  }

  .about-final-cta-inner {
    padding: 44px 22px;
  }
}

/* ============================================================
   BLOG OVERVIEW PAGE
   ============================================================ */

/* ─── Blog Hero ──────────────────────────────────────────── */
.blog-hero {
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(60px, 8vw, 110px);
  position: relative;
  overflow: hidden;
}

.blog-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.blog-hero-copy {
  display: grid;
  gap: 22px;
  max-width: 620px;
}

.blog-hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}

.blog-hero-lede {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.7;
  color: var(--muted-strong);
  max-width: 540px;
  margin: 0;
}

.blog-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

.blog-hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 8px 0 0;
  padding: 0;
}

.blog-hero-meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted-strong);
}

.blog-hero-meta svg {
  color: var(--green);
}

.blog-hero-visual {
  position: relative;
  perspective: 1200px;
  min-height: 460px;
}

.blog-hero-stack {
  position: relative;
  width: 100%;
  min-height: 460px;
}

.blog-hero-card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(11, 14, 16, 0.08);
  white-space: nowrap;
  transition: transform 380ms var(--ease-out), box-shadow 380ms var(--ease-out);
  animation: blogHeroFloat 7s ease-in-out infinite;
}

.blog-hero-card span {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.blog-hero-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: rgba(45, 163, 57, 0.1);
  color: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

.blog-hero-card-1 { top: 0;    right: 0;  animation-delay: 0s;   z-index: 5; }
.blog-hero-card-2 { top: 88px;  left: 0;   animation-delay: 0.5s; z-index: 4; }
.blog-hero-card-3 { top: 180px; right: 8%; animation-delay: 1s;   z-index: 3; }
.blog-hero-card-4 { top: 280px; left: 6%;  animation-delay: 1.5s; z-index: 2; }
.blog-hero-card-5 { top: 380px; right: 0;  animation-delay: 2s;   z-index: 1; }

.blog-hero-card:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 22px 50px rgba(11, 14, 16, 0.14);
}

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

/* ─── Blog Badge (shared) ────────────────────────────────── */
.blog-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--green);
  padding: 5px 11px;
  border-radius: 999px;
  width: max-content;
  box-shadow: 0 6px 16px rgba(45, 163, 57, 0.22);
}

/* ─── Featured Blog Card ─────────────────────────────────── */
.blog-featured-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  margin-top: 32px;
  transition: transform 300ms var(--ease-out), box-shadow 300ms ease, border-color 300ms ease;
  color: inherit;
}

.blog-featured-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 163, 57, 0.45);
  box-shadow: 0 30px 70px rgba(11, 14, 16, 0.12);
}

.blog-featured-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(30px, 4vw, 50px);
  align-self: center;
}

.blog-featured-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 4px 0 0;
}

.blog-featured-excerpt {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-strong);
  margin: 0;
  max-width: 520px;
}

.blog-featured-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 4px 0 0;
  padding: 0;
}

.blog-featured-meta li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
}

.blog-featured-meta svg {
  color: var(--green);
}

.blog-featured-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 6px;
  transition: color 200ms ease, gap 200ms ease;
}

.blog-featured-card:hover .blog-featured-link {
  color: var(--green);
  gap: 12px;
}

.blog-featured-visual {
  position: relative;
  background: linear-gradient(135deg, #1a2024 0%, #0b0e10 100%);
  display: grid;
  place-items: center;
  min-height: 280px;
  overflow: hidden;
}

.blog-featured-visual svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ─── Blog Filter Bar ────────────────────────────────────── */
.blog-filter {
  padding-bottom: 12px;
}

.blog-filter-bar {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 22px;
  margin-top: 36px;
  align-items: center;
}

.blog-filter-search {
  position: relative;
}

.blog-filter-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.blog-filter-search input {
  width: 100%;
  padding: 13px 16px 13px 42px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.blog-filter-search input::placeholder {
  color: #a4a9af;
}

.blog-filter-search input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(45, 163, 57, 0.14);
}

.blog-filter-search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  height: 14px;
  width: 14px;
  background: var(--muted);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 6l12 12M6 18L18 6' stroke='%23000' stroke-width='2.5' stroke-linecap='round'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 6l12 12M6 18L18 6' stroke='%23000' stroke-width='2.5' stroke-linecap='round'/></svg>") center/contain no-repeat;
  cursor: pointer;
}

.blog-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.blog-filter-chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms var(--ease-out);
  white-space: nowrap;
}

.blog-filter-chip:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-1px);
}

.blog-filter-chip.is-active {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  box-shadow: 0 8px 18px rgba(45, 163, 57, 0.25);
}

.blog-filter-chip.is-active:hover {
  background: var(--green-bright);
  border-color: var(--green-bright);
  transform: translateY(-1px);
}

/* ─── Blog Grid ──────────────────────────────────────────── */
.blog-list {
  padding-top: 28px;
}

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

.blog-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 280ms var(--ease-out), border-color 280ms ease, box-shadow 280ms ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(45, 163, 57, 0.5);
  box-shadow: 0 24px 50px rgba(11, 14, 16, 0.08);
}

.blog-card-link {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
  color: inherit;
}

.blog-card-visual {
  position: relative;
  height: 180px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a2024 0%, #0b0e10 100%);
}

.blog-card-visual svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Category-specific subtle gradients on visuals */
.blog-card-visual-conversie  { background: linear-gradient(135deg, #14201a 0%, #0b0e10 100%); }
.blog-card-visual-email      { background: linear-gradient(135deg, #131a22 0%, #0b0e10 100%); }
.blog-card-visual-auto       { background: linear-gradient(135deg, #161e1a 0%, #0b0e10 100%); }
.blog-card-visual-shopify    { background: linear-gradient(135deg, #1a1d14 0%, #0b0e10 100%); }
.blog-card-visual-klantreis  { background: linear-gradient(135deg, #121a1d 0%, #0b0e10 100%); }
.blog-card-visual-seo        { background: linear-gradient(135deg, #1a1814 0%, #0b0e10 100%); }
.blog-card-visual-techniek   { background: linear-gradient(135deg, #15191c 0%, #0b0e10 100%); }

.blog-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 24px 22px;
}

.blog-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 4px 0 0;
  transition: color 200ms ease;
}

.blog-card:hover .blog-card-body h3 {
  color: var(--green-dark);
}

.blog-card-body p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted-strong);
  margin: 0;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.blog-card-dot {
  width: 4px;
  height: 4px;
  background: var(--line);
  border-radius: 50%;
}

@keyframes blogCardIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.blog-grid-empty {
  margin: 40px auto 0;
  max-width: 520px;
  text-align: center;
  padding: 28px;
  background: var(--paper-warm);
  border: 1px dashed var(--line);
  border-radius: 14px;
  font-size: 0.95rem;
  color: var(--muted-strong);
}

.blog-grid-error {
  margin: 40px auto 0;
  max-width: 520px;
  text-align: center;
  padding: 28px;
  background: rgba(45, 163, 57, 0.04);
  border: 1px solid rgba(45, 163, 57, 0.18);
  border-radius: 14px;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.blog-grid-error p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted-strong);
}

.blog-list-more {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 40px;
}

.blog-list-counter {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

/* ─── Dynamic loading: skeleton primitives ───────────────── */
.blog-skel {
  display: block;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.05) 100%);
  background-size: 200% 100%;
  border-radius: 8px;
  animation: blogSkelShimmer 1.4s ease-in-out infinite;
}

.blog-skel-badge { height: 22px; width: 110px; border-radius: 999px; }
.blog-skel-title { height: 22px; width: 100%; max-width: 360px; }
.blog-skel-title-short { width: 60%; }
.blog-skel-line { height: 14px; width: 100%; max-width: 320px; }
.blog-skel-line-short { width: 70%; }
.blog-skel-meta { height: 14px; width: 200px; }
.blog-skel-meta-short { width: 140px; }

@keyframes blogSkelShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ─── Featured article skeleton ──────────────────────────── */
.blog-featured-skeleton {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px;
  margin-top: 36px;
}

.blog-featured-skeleton-body {
  display: grid;
  gap: 14px;
}

.blog-featured-skeleton-visual {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.1));
}

.blog-featured-empty {
  margin: 36px auto 0;
  max-width: 600px;
  text-align: center;
  padding: 36px 28px;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: 18px;
  display: grid;
  gap: 16px;
  justify-items: center;
}

.blog-featured-empty p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted-strong);
  line-height: 1.55;
}

/* ─── Blog card skeleton ─────────────────────────────────── */
.blog-grid-skeleton {
  margin-top: 8px;
}

.blog-card-skeleton {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-card-skeleton-visual {
  height: 180px;
  border-radius: 0;
  width: 100%;
}

.blog-card-skeleton .blog-skel-badge,
.blog-card-skeleton .blog-skel-title,
.blog-card-skeleton .blog-skel-line,
.blog-card-skeleton .blog-skel-meta {
  margin-left: 24px;
}

.blog-card-skeleton .blog-skel-badge { margin-top: 12px; }
.blog-card-skeleton .blog-skel-meta { margin-bottom: 22px; }

/* Tag-based featured visual fallback (no featured_image) */
.blog-featured-visual.is-fallback {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a2024 0%, #0b0e10 100%);
  display: grid;
  place-items: center;
  border-radius: 16px;
}

.blog-featured-visual.is-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(45, 163, 57, 0.4), transparent 55%),
    radial-gradient(circle at 30% 70%, rgba(45, 163, 57, 0.18), transparent 60%);
}

.blog-featured-visual.is-fallback .blog-featured-visual-mark {
  position: relative;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 6vw, 4.5rem);
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.18);
}

.blog-featured-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

/* Card image (overrides SVG visual when featured_image is set) */
.blog-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 320ms var(--ease-out);
}

.blog-card:hover .blog-card-visual img {
  transform: scale(1.04);
}

.blog-card-visual.is-fallback {
  position: relative;
}

.blog-card-visual.is-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 30%, rgba(45, 163, 57, 0.45), transparent 55%),
    radial-gradient(circle at 25% 75%, rgba(45, 163, 57, 0.18), transparent 60%);
}

.blog-card-visual-mark {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.22);
  text-transform: uppercase;
}

/* ─── Mobile: filter chips horizontal scroll ─────────────── */
@media (max-width: 720px) {
  .blog-filter-bar {
    grid-template-columns: 1fr;
  }

  .blog-filter-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .blog-filter-chips::-webkit-scrollbar {
    display: none;
  }

  .blog-filter-chip {
    flex: 0 0 auto;
  }

  .blog-featured-skeleton {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .blog-featured-skeleton-visual {
    order: -1;
  }
}

/* ─── Blog Topics ────────────────────────────────────────── */
.blog-topics-grid {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 40px auto 0;
  padding: 0;
  max-width: 920px;
}

.blog-topic {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms var(--ease-out);
}

.blog-topic:hover {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(45, 163, 57, 0.25);
}

/* ─── Blog CTA (black) ───────────────────────────────────── */
.blog-cta {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 80px);
}

.blog-cta-inner {
  position: relative;
  text-align: center;
  background: linear-gradient(160deg, var(--ink) 0%, #14181b 60%, #0a0d0f 100%);
  color: var(--white);
  padding: clamp(48px, 7vw, 84px) clamp(28px, 5vw, 80px);
  border-radius: clamp(20px, 2.8vw, 26px);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 32px 80px rgba(11, 14, 16, 0.28);
}

.blog-cta-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 50% 0%, rgba(45, 163, 57, 0.2) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.blog-cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 16px auto 16px;
  max-width: 680px;
}

.blog-cta-inner > p {
  font-size: clamp(0.96rem, 1.2vw, 1.04rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 auto 28px;
  max-width: 560px;
}

.blog-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.blog-cta-actions .button.primary {
  background: var(--green);
  color: var(--white);
}

.blog-cta-actions .button.primary:hover {
  background: var(--green-bright);
}

.blog-cta-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--green-bright);
  transition: color 180ms ease;
}

.blog-cta-mail:hover {
  color: var(--white);
}

/* ─── Blog Newsletter ────────────────────────────────────── */
.blog-newsletter-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(36px, 5vw, 56px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(11, 14, 16, 0.06);
}

.blog-newsletter-copy {
  display: grid;
  gap: 12px;
  max-width: 460px;
}

.blog-newsletter-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0;
}

.blog-newsletter-copy p {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--muted-strong);
  margin: 0;
}

.blog-newsletter-form {
  display: grid;
  gap: 12px;
}

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

.blog-newsletter-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: stretch;
}

.blog-newsletter-row input {
  width: 100%;
  padding: 14px 18px;
  font: inherit;
  font-size: 0.96rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.blog-newsletter-row input::placeholder {
  color: #a4a9af;
}

.blog-newsletter-row input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(45, 163, 57, 0.14);
}

.blog-newsletter-row .button.primary {
  min-height: 50px;
  padding: 0 24px;
  white-space: nowrap;
}

.blog-newsletter-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 2px 0 0;
}

/* ─── Blog Page Responsive ───────────────────────────────── */
@media (max-width: 1024px) {
  .blog-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .blog-hero-visual {
    min-height: 460px;
    max-width: 520px;
  }

  .blog-featured-card {
    grid-template-columns: 1fr;
  }

  .blog-featured-visual {
    order: -1;
    min-height: 220px;
  }

  .blog-filter-bar {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .blog-filter-chips {
    justify-content: flex-start;
    /* horizontal scroll on tablet without breaking layout */
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin: 0 calc(-1 * var(--gutter, 0px));
  }

  .blog-filter-chips::-webkit-scrollbar {
    display: none;
  }

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

  .blog-newsletter-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .blog-hero {
    padding-top: 32px;
    padding-bottom: 60px;
  }

  .blog-hero-visual {
    min-height: 460px;
  }

  .blog-hero-card {
    padding: 10px 16px;
  }

  .blog-hero-card-1 { right: 0; }
  .blog-hero-card-2 { left: 0; }
  .blog-hero-card-3 { right: 0; }
  .blog-hero-card-4 { left: 0; }
  .blog-hero-card-5 { right: 0; }

  .blog-featured-body {
    padding: 28px 24px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .blog-card-visual {
    height: 160px;
  }

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

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

  .blog-newsletter-row .button.primary {
    justify-content: center;
  }

  .blog-cta-inner {
    padding: 40px 22px;
  }
}

/* ============================================================
   BOOKING SYSTEM — admin badges + frontend dialog
   ============================================================ */

/* ─── Admin: status + type badges on lead-items ─────────── */
.booking-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.booking-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.booking-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
}

.booking-status-badge.booking-status-new {
  background: #fff7f6;
  color: #d4423b;
  border-color: rgba(212, 66, 59, 0.3);
}

.booking-status-badge.booking-status-confirmed {
  background: rgba(200, 155, 60, 0.12);
  color: var(--gold, #c89b3c);
  border-color: rgba(200, 155, 60, 0.4);
}

.booking-status-badge.booking-status-completed {
  background: rgba(17, 122, 61, 0.12);
  color: var(--green, #117a3d);
  border-color: rgba(17, 122, 61, 0.4);
}

.booking-status-badge.booking-status-cancelled {
  background: var(--paper);
  color: var(--muted);
  opacity: 0.85;
}

/* ─── Frontend dialog shell ─────────────────────────────── */
.booking-dialog {
  width: min(720px, 100% - 32px);
  max-height: calc(100vh - 40px);
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: var(--paper, #f7f5ef);
  color: var(--ink, #121417);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  position: relative;
}

.booking-dialog::backdrop {
  background: rgba(18, 20, 23, 0.55);
  backdrop-filter: blur(6px);
}

.booking-dialog[open] {
  display: grid;
}

.booking-dialog > .booking-step,
.booking-dialog > .booking-steps {
  padding: 28px clamp(22px, 4vw, 40px);
}

.booking-dialog > .booking-step {
  padding-top: 8px;
  padding-bottom: 32px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.booking-dialog h2 {
  font-family: var(--font-display, "Playfair Display", serif);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--ink);
}

.booking-step-lede {
  margin: 0 0 22px;
  color: var(--muted, #59616b);
  font-size: 14px;
  line-height: 1.6;
}

.booking-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line, #ddd7ca);
  border-radius: 50%;
  background: var(--white, #fff);
  color: var(--ink);
  cursor: pointer;
  z-index: 2;
  transition: background 0.15s ease, color 0.15s ease;
}

.booking-dialog-close:hover {
  background: var(--ink);
  color: var(--white);
}

/* ─── Step indicator (ol) ────────────────────────────────── */
.booking-steps {
  list-style: none;
  margin: 0;
  padding: 24px clamp(22px, 4vw, 40px) 14px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.booking-steps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 6px;
  border-radius: 999px;
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}

.booking-steps li span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
}

.booking-steps li.is-active {
  background: var(--ink);
  color: var(--white);
}

.booking-steps li.is-active span {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.booking-steps li.is-done {
  color: var(--green, #117a3d);
}

.booking-steps li.is-done span {
  background: var(--green, #117a3d);
  border-color: var(--green, #117a3d);
  color: var(--white);
}

/* ─── Step 1: type cards ─────────────────────────────────── */
.booking-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.booking-type-card {
  position: relative;
  display: grid;
  gap: 4px;
  align-content: start;
  padding: 22px 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  text-align: left;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.booking-type-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -22px rgba(0, 0, 0, 0.35);
  border-color: var(--ink);
}

.booking-type-card strong {
  font-family: var(--font-display, "Playfair Display", serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.booking-type-name {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.booking-type-card small {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.booking-type-card.is-recommended {
  border-color: var(--green, #117a3d);
  background: rgba(17, 122, 61, 0.04);
}

.booking-type-flag {
  position: absolute;
  top: -10px;
  right: 14px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--green, #117a3d);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-style: normal;
}

/* ─── Step 2: calendar + times ───────────────────────────── */
.booking-step-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px 4px 0;
  margin-bottom: 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.booking-step-back:hover {
  color: var(--ink);
}

.booking-slot-shell {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}

.booking-cal {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.booking-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.booking-cal-head strong {
  text-transform: capitalize;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}

.booking-cal-nav {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}

.booking-cal-nav:hover {
  background: var(--ink);
  color: var(--white);
}

.booking-cal-days,
.booking-cal-dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.booking-cal-days {
  margin-bottom: 6px;
}

.booking-cal-days span {
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 0;
}

.booking-cal-blank {
  aspect-ratio: 1;
}

.booking-cal-day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  background: var(--paper);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.booking-cal-day.is-available:hover {
  border-color: var(--ink);
  background: var(--white);
}

.booking-cal-day.is-today {
  outline: 2px solid var(--gold, #c89b3c);
  outline-offset: -2px;
}

.booking-cal-day.is-selected {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.booking-cal-day.is-disabled {
  color: var(--line);
  cursor: not-allowed;
  background: transparent;
}

.booking-cal-day.is-weekend {
  color: rgba(89, 97, 107, 0.4);
}

.booking-times {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-content: start;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 240px;
}

.booking-times-empty {
  grid-column: 1 / -1;
  margin: auto;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  padding: 24px 12px;
}

.booking-time-pill {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.booking-time-pill:hover:not(.is-disabled) {
  border-color: var(--ink);
  background: var(--white);
}

.booking-time-pill.is-selected {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.booking-time-pill.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ─── Step 3: form ───────────────────────────────────────── */
.booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.booking-field {
  display: grid;
  gap: 6px;
}

.booking-field-wide {
  grid-column: 1 / -1;
}

.booking-field > span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.booking-field em {
  font-style: normal;
  color: #d4423b;
}

.booking-field input,
.booking-field textarea {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font: inherit;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.booking-field input:focus,
.booking-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(18, 20, 23, 0.08);
}

.booking-field textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

.booking-form-status {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  min-height: 18px;
}

.booking-form-status[data-state="error"] {
  color: #d4423b;
  font-weight: 700;
}

.booking-form-status[data-state="success"] {
  color: var(--green, #117a3d);
  font-weight: 700;
}

.booking-form-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

/* ─── Step 4: success ────────────────────────────────────── */
.booking-step-success {
  text-align: center;
  padding-block: 24px 36px;
}

.booking-success-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(17, 122, 61, 0.1);
  color: var(--green, #117a3d);
}

.booking-step-success h2 {
  margin-bottom: 14px;
}

.booking-step-success .booking-form-actions {
  justify-content: center;
  margin-top: 18px;
}

/* ─── Mobile (≤640px) ────────────────────────────────────── */
@media (max-width: 640px) {
  .booking-dialog {
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
    margin: 0;
  }

  .booking-dialog > .booking-step {
    max-height: calc(100vh - 110px);
  }

  .booking-steps {
    padding: 18px 18px 12px;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .booking-steps li {
    flex-shrink: 0;
  }

  .booking-type-grid {
    grid-template-columns: 1fr;
  }

  .booking-slot-shell {
    grid-template-columns: 1fr;
  }

  .booking-times {
    grid-template-columns: repeat(2, 1fr);
    min-height: auto;
  }

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



