/* =========================================================
   Kasubha, global styles
   Mobile-first. Light blue palette.
   ========================================================= */

:root {
  /* Brand palette. Legacy token names are kept so existing components stay stable. */
  --almond: #F4FBFF;
  --taupe: #8ECFF5;
  --coffee: #2D8FC6;
  --black: #071E2E;

  --ink: var(--black);
  --forest: var(--coffee);
  --forest-deep: var(--black);
  --terracotta: var(--coffee);
  --terracotta-deep: var(--black);
  --sage: var(--almond);
  --sage-deep: var(--taupe);
  --sand: var(--almond);
  --mist: #D6ECFA;
  --mist-2: #B9DDF3;
  --rule: rgba(20, 83, 118, 0.18);
  --muted: #4E6472;
  --white: #FFFFFF;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #FFFFFF;
  --surface-warm: #EAF7FF;
  --line-strong: rgba(20, 83, 118, 0.32);
  --dark-panel: rgba(7, 30, 46, 0.42);
  --dark-panel-soft: rgba(20, 83, 118, 0.56);

  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 8px;

  --shadow-soft: 0 12px 30px rgba(7, 30, 46, 0.08);
  --shadow-md: 0 18px 48px rgba(7, 30, 46, 0.16);
  --shadow-strong: 0 28px 70px rgba(7, 30, 46, 0.28);
  --shadow-focus: 0 0 0 4px rgba(20, 83, 118, 0.14);

  --container: 1140px;

  --font-serif: "Fraunces", "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(20, 83, 118, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(20, 83, 118, 0.02) 1px, transparent 1px),
    linear-gradient(180deg, var(--sand) 0%, #EAF7FF 42%, #D6ECFA 100%);
  background-size: 48px 48px, 48px 48px, auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4, p, li, a { overflow-wrap: break-word; }

a {
  color: var(--terracotta-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:hover { color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.6em;
  font-weight: 600;
  letter-spacing: 0;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }
}

p { margin: 0 0 1em; }

.muted { color: var(--muted); }
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin: 0 0 0.6em;
}

/* ========== Layout ========== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  min-width: 0;
}

section { padding: 64px 0; }
@media (min-width: 768px) { section { padding: 88px 0; } }

.section-mist {
  background:
    linear-gradient(90deg, rgba(20, 83, 118, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(20, 83, 118, 0.028) 1px, transparent 1px),
    linear-gradient(180deg, #D6ECFA 0%, #C7E5F7 100%);
  background-size: 42px 42px, 42px 42px, auto;
  border-block: 1px solid rgba(20, 83, 118, 0.08);
}
.section-deep { background: var(--forest); color: var(--white); }
.section-deep h1, .section-deep h2, .section-deep h3 { color: var(--white); }
.section-deep .eyebrow { color: var(--sage); }
.section-deep p { color: rgba(255, 255, 255, 0.85); }

.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head h2 { max-width: 680px; }
.section-head .muted { max-width: 650px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center h2,
.section-head.center .muted { margin-left: auto; margin-right: auto; }

/* ========== Skip link ========== */
.skip-link {
  position: absolute;
  left: 20px;
  top: 0;
  transform: translateY(-120%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { transform: translateY(0); }

/* ========== Header / Nav ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.48) inset;
  transition: background 0.22s ease, box-shadow 0.22s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(7, 30, 46, 0.09);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
  min-width: 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0;
  min-width: 0;
  transition: transform 0.18s ease;
}
.brand:hover { transform: translateY(-1px); }
.brand span { white-space: nowrap; }
.brand svg {
  width: 30px;
  height: 30px;
  padding: 4px;
  border-radius: var(--radius-sm);
  background: var(--coffee);
  box-shadow: inset 0 0 0 1px rgba(244, 251, 255, 0.18);
}

.nav-links {
  list-style: none;
  display: none;
  gap: 28px;
  padding: 0;
  margin: 0;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 7px 2px;
}
.nav-links a:hover { color: var(--terracotta-deep); }
.nav-links a.active { color: var(--terracotta-deep); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.site-header .nav-cta { display: none; }

.nav-toggle {
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  display: inline-flex;
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}
.nav-toggle:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }
.nav-toggle svg { width: 22px; height: 22px; }

@media (min-width: 980px) {
  .nav-links { display: flex; }
  .site-header .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* Mobile drawer */
.mobile-drawer {
  display: none;
  border-top: 1px solid var(--rule);
  background: rgba(244, 251, 255, 0.98);
  padding: 12px 0 18px;
}
.mobile-drawer.open { display: block; }
.mobile-drawer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-drawer li { border-bottom: 1px solid var(--rule); }
.mobile-drawer li:last-child { border-bottom: 0; }
.mobile-drawer a {
  display: block;
  padding: 14px 4px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.mobile-drawer .btn { margin-top: 14px; display: inline-flex; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  line-height: 1;
  text-align: center;
  white-space: normal;
  min-height: 44px;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--black);
  color: var(--almond);
  border-color: var(--black);
}
.btn-primary:hover {
  background: var(--coffee);
  color: var(--almond);
  box-shadow: 0 12px 28px rgba(7, 30, 46, 0.2);
}
.btn-accent {
  background: var(--coffee);
  color: var(--almond);
  border-color: var(--coffee);
}
.btn-accent:hover {
  background: var(--black);
  color: var(--almond);
  box-shadow: 0 12px 28px rgba(7, 30, 46, 0.2);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.34);
  color: var(--ink);
  border-color: var(--rule);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(20, 83, 118, 0.42);
  color: var(--black);
}
.btn:focus-visible {
  outline: 0;
  box-shadow: var(--shadow-focus);
}
.btn-lg { padding: 14px 26px; font-size: 1rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ========== Hero ========== */
.hero {
  position: relative;
  padding: 72px 0 58px;
  overflow: hidden;
  background: var(--coffee);
  color: var(--almond);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(244, 251, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(244, 251, 255, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, rgba(7, 30, 46, 0.68), rgba(20, 83, 118, 0.92) 58%, rgba(7, 30, 46, 0.86));
  background-size: 52px 52px, 52px 52px, auto;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 118px;
  background: linear-gradient(180deg, transparent, rgba(244, 251, 255, 0.12));
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-grid {
  display: grid;
  gap: 36px;
  align-items: center;
  min-width: 0;
}
.hero-grid > * { min-width: 0; }
@media (min-width: 900px) {
  .hero { padding: 108px 0 88px; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 56px; }
}
.hero h1 {
  color: var(--almond);
  margin-bottom: 16px;
  max-width: 780px;
  text-wrap: balance;
}
.hero-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--terracotta-deep);
  margin: 0 0 18px;
}
.hero-lead {
  font-size: 1.08rem;
  color: rgba(244, 251, 255, 0.8);
  max-width: 540px;
  margin-bottom: 30px;
}
.hero-actions { margin-bottom: 28px; }
@media (max-width: 420px) {
  .hero-actions .btn { width: 100%; }
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(244, 251, 255, 0.72);
  font-size: 0.9rem;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(244, 251, 255, 0.14);
  background: rgba(244, 251, 255, 0.06);
  border-radius: var(--radius-sm);
}
.hero-meta svg { width: 16px; height: 16px; color: var(--almond); }

.hero-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.hero-card h3 { margin-top: 0; }
.hero-card ul { list-style: none; padding: 0; margin: 0 0 18px; }
.hero-card li { padding: 8px 0; border-bottom: 1px dashed var(--rule); display: flex; gap: 10px; }
.hero-card li:last-child { border-bottom: 0; }
.hero-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--sage);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}
.hero-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--rule);
  padding-top: 18px;
}
@media (max-width: 520px) {
  .hero-price-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero-price-row .btn { width: 100%; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(244, 251, 255, 0.1);
  color: var(--almond);
  border: 1px solid rgba(244, 251, 255, 0.24);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--almond);
  box-shadow: 0 0 0 4px rgba(244, 251, 255, 0.12);
  animation: pulseDot 2.2s ease-in-out infinite;
}

.hero .btn-accent {
  background: var(--almond);
  color: var(--black);
  border-color: var(--almond);
}
.hero .btn-accent:hover {
  background: var(--white);
  color: var(--black);
}
.hero .btn-ghost {
  color: var(--almond);
  border-color: rgba(244, 251, 255, 0.28);
  background: rgba(244, 251, 255, 0.08);
}
.hero .btn-ghost:hover {
  color: var(--black);
  background: var(--almond);
}

.hero-console {
  position: relative;
  border: 1px solid rgba(244, 251, 255, 0.22);
  background: rgba(7, 30, 46, 0.34);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  border-radius: var(--radius-lg);
  transform: translateZ(0);
}
.hero-console::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(244, 251, 255, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(244, 251, 255, 0.08), transparent);
  pointer-events: none;
}
.hero-console::after {
  content: "";
  position: absolute;
  inset: auto 22px 0 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244, 251, 255, 0.55), transparent);
}
.console-topbar,
.console-tabs,
.console-panel {
  position: relative;
}
.console-topbar {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  color: rgba(244, 251, 255, 0.76);
  border-bottom: 1px solid rgba(244, 251, 255, 0.14);
  font-size: 0.86rem;
}
.console-light {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--almond);
  box-shadow: 16px 0 0 rgba(244, 251, 255, 0.42), 32px 0 0 rgba(146, 129, 122, 0.72);
  margin-right: 34px;
  flex: 0 0 auto;
}
.console-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(244, 251, 255, 0.84);
}
.console-live span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--almond);
  box-shadow: 0 0 0 4px rgba(244, 251, 255, 0.12);
}
.console-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid rgba(244, 251, 255, 0.14);
}
.console-tab {
  border: 0;
  background: transparent;
  color: rgba(244, 251, 255, 0.68);
  padding: 13px 10px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  border-right: 1px solid rgba(244, 251, 255, 0.1);
  transition: background 0.18s ease, color 0.18s ease;
  min-width: 0;
  overflow-wrap: break-word;
}
.console-tab:last-child { border-right: 0; }
.console-tab:hover,
.console-tab.active {
  color: var(--almond);
  background: rgba(244, 251, 255, 0.12);
}
.console-panel { padding: 26px 24px 24px; }
.console-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(244, 251, 255, 0.82);
  font-size: 0.82rem;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.console-status span {
  width: 10px;
  height: 10px;
  background: var(--taupe);
  border: 2px solid var(--almond);
  transform: rotate(45deg);
}
.hero-console h3 {
  color: var(--almond);
  font-size: 1.55rem;
  margin-bottom: 8px;
}
.hero-console p {
  color: rgba(244, 251, 255, 0.74);
  margin-bottom: 18px;
}
.preview-browser {
  border: 1px solid rgba(244, 251, 255, 0.16);
  background: rgba(7, 30, 46, 0.42);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 22px 0;
  box-shadow: 0 20px 36px rgba(7, 30, 46, 0.24);
}
.preview-browser-bar {
  display: grid;
  grid-template-columns: 8px 8px 8px 1fr;
  gap: 8px;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid rgba(244, 251, 255, 0.12);
}
.preview-browser-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(244, 251, 255, 0.5);
}
.preview-browser-bar div {
  height: 10px;
  max-width: 150px;
  margin-left: 10px;
  border-radius: 999px;
  background: rgba(244, 251, 255, 0.14);
}
.preview-screen {
  display: grid;
  grid-template-columns: 78px 1fr;
  min-height: 176px;
  background:
    linear-gradient(90deg, rgba(244, 251, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(244, 251, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
}
.preview-sidebar {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px 14px;
  border-right: 1px solid rgba(244, 251, 255, 0.12);
}
.preview-sidebar span {
  height: 9px;
  border-radius: 999px;
  background: rgba(244, 251, 255, 0.18);
}
.preview-content {
  padding: 22px;
  display: grid;
  align-content: center;
  gap: 12px;
  min-width: 0;
  position: relative;
}
.preview-content::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 22px;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(244, 251, 255, 0.18);
  border-radius: 50%;
  background:
    conic-gradient(from 20deg, var(--almond) 0 32%, rgba(244, 251, 255, 0.18) 32% 100%);
  opacity: 0.72;
}
.preview-title-line,
.preview-copy-line,
.preview-actions span {
  display: block;
  border-radius: 999px;
}
.preview-title-line {
  height: 18px;
  width: 62%;
  background: var(--almond);
}
.preview-copy-line {
  height: 9px;
  width: 82%;
  background: rgba(244, 251, 255, 0.24);
}
.preview-copy-line.short { width: 56%; }
.preview-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.preview-actions span:first-child {
  width: 104px;
  height: 26px;
  background: var(--almond);
}
.preview-actions span:last-child {
  width: 68px;
  height: 26px;
  background: rgba(244, 251, 255, 0.18);
  border: 1px solid rgba(244, 251, 255, 0.18);
}
.hero-console[data-preview-active="app"] .preview-screen {
  grid-template-columns: 1fr;
}
.hero-console[data-preview-active="app"] .preview-sidebar {
  display: none;
}
.hero-console[data-preview-active="app"] .preview-content {
  grid-template-columns: 1fr 0.72fr;
}
.hero-console[data-preview-active="app"] .preview-title-line {
  grid-column: 1 / -1;
  width: 54%;
}
.hero-console[data-preview-active="automation"] .preview-screen {
  grid-template-columns: 58px 1fr;
}
.hero-console[data-preview-active="automation"] .preview-sidebar span:first-child,
.hero-console[data-preview-active="automation"] .preview-sidebar span:nth-child(3) {
  width: 60%;
}
.hero-console[data-preview-active="automation"] .preview-actions span:first-child {
  width: 124px;
}
.console-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.console-metrics div {
  border: 1px solid rgba(244, 251, 255, 0.16);
  background: rgba(244, 251, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px;
  box-shadow: 0 1px 0 rgba(244, 251, 255, 0.08) inset;
}
.console-metrics strong {
  display: block;
  color: var(--almond);
  font-size: 1.18rem;
  line-height: 1.15;
}
.console-metrics span {
  display: block;
  color: rgba(244, 251, 255, 0.66);
  font-size: 0.75rem;
  line-height: 1.35;
}
@media (max-width: 520px) {
  .hero-grid,
  .hero h1,
  .hero-lead,
  .hero-meta,
  .hero-actions,
  .hero-console {
    max-width: calc(100vw - 40px);
  }
  .hero { padding-top: 64px; }
  .hero h1 { font-size: 1.82rem; }
  .hero-meta span { width: 100%; }
  .console-topbar { flex-wrap: wrap; }
  .console-live { margin-left: 0; width: 100%; }
  .console-tab {
    padding: 12px 6px;
    font-size: 0.86rem;
  }
  .console-panel { padding: 18px; }
  .preview-screen { grid-template-columns: 54px 1fr; }
  .preview-content::after { display: none; }
  .console-metrics { grid-template-columns: 1fr; }
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.78; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}

/* ========== Trust strip ========== */
.trust-strip {
  background: rgba(255, 255, 255, 0.88);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  align-items: center;
  justify-content: center;
  padding-top: 22px;
  padding-bottom: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}
.trust-strip span { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip svg { width: 18px; height: 18px; color: var(--terracotta-deep); }
.trust-client-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.trust-client-label {
  color: var(--ink);
  font-weight: 700;
}
.trust-client-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.5);
  color: var(--coffee);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}
.trust-client-link:hover {
  color: var(--almond);
  border-color: var(--coffee);
  background: var(--coffee);
}
@media (max-width: 520px) {
  .trust-client-links { width: 100%; }
  .trust-client-label { width: 100%; text-align: center; }
  .trust-client-link { flex: 1 1 45%; text-align: center; }
}

/* ========== Cards grid ========== */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ── Service cards (premium, group-coloured) ── */
.card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.66));
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.82) inset, var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
/* animated colour stripe on hover */
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--card-accent, var(--terracotta));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 83, 118, 0.38);
  background: var(--surface-strong);
  box-shadow: var(--shadow-md);
}
.card:hover::before { transform: scaleX(1); }
.card::after {
  content: "";
  position: absolute;
  right: -36px;
  top: -36px;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(20, 83, 118, 0.1);
  transform: rotate(45deg);
  background: rgba(244, 251, 255, 0.24);
  transition: transform 0.22s ease, opacity 0.22s ease;
  opacity: 0.7;
  pointer-events: none;
}
.card:hover::after {
  transform: rotate(45deg) translate(-6px, 6px);
  opacity: 1;
}

/* icon box */
.card .icon {
  width: 54px; height: 54px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--card-icon-a, var(--forest)), var(--card-icon-b, var(--forest-deep)));
  color: var(--almond);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
  box-shadow: 0 12px 24px rgba(7, 30, 46, 0.14);
}
.card .icon svg { width: 24px; height: 24px; }

/* card text */
.card h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  position: relative;
  z-index: 1;
}
.card .muted {
  font-size: 0.91rem;
  margin: 0;
  line-height: 1.65;
  flex: 1;
  position: relative;
  z-index: 1;
}
.card .card-link {
  margin-top: 20px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--card-link, var(--terracotta-deep));
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0;
  position: relative;
  z-index: 1;
}
.card .card-link::after { content: "\2192"; }
.card .card-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* group colour tokens */
.card.group-website {
  --card-accent:  var(--coffee);
  --card-icon-a:  var(--coffee);
  --card-icon-b:  var(--black);
  --card-link:    var(--coffee);
}
.card.group-applications {
  --card-accent:  var(--taupe);
  --card-icon-a:  var(--taupe);
  --card-icon-b:  var(--coffee);
  --card-link:    var(--coffee);
}
.card.group-automation {
  --card-accent:  var(--sage-deep);
  --card-icon-a:  var(--sage-deep);
  --card-icon-b:  var(--black);
  --card-link:    var(--sage-deep);
}

/* ========== Homepage service switcher ========== */
.service-switcher {
  display: grid;
  gap: 18px;
  margin: -8px 0 32px;
}
@media (min-width: 860px) {
  .service-switcher {
    grid-template-columns: minmax(220px, 0.72fr) 1.28fr;
    gap: 22px;
    align-items: stretch;
  }
}
.service-switcher-tabs {
  display: grid;
  gap: 10px;
}
.service-switch {
  display: grid;
  gap: 4px;
  text-align: left;
  border: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  font: inherit;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.service-switch:hover,
.service-switch.active {
  background: var(--coffee);
  color: var(--almond);
  border-color: var(--coffee);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}
.service-switch strong {
  font-size: 1rem;
  line-height: 1.2;
}
.service-switch span {
  color: currentColor;
  opacity: 0.72;
  font-size: 0.86rem;
}
.service-preview {
  min-height: 100%;
  display: grid;
  gap: 20px;
  border: 1px solid rgba(20, 83, 118, 0.22);
  border-radius: var(--radius-lg);
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(20, 83, 118, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(20, 83, 118, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(244, 251, 255, 0.52));
  background-size: 34px 34px, 34px 34px, auto;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.service-preview::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 26px;
  width: 96px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--coffee) 0 45%, rgba(20, 83, 118, 0.22) 45% 100%);
  opacity: 0.2;
}
@media (min-width: 760px) {
  .service-preview {
    grid-template-columns: 1fr minmax(220px, 0.62fr);
    align-items: center;
  }
}
.service-preview h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.service-preview-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.service-preview-list li {
  position: relative;
  padding: 10px 12px 10px 36px;
  border: 1px solid rgba(20, 83, 118, 0.14);
  background: rgba(255, 255, 255, 0.78);
  border-radius: var(--radius-sm);
}
.service-preview-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 17px;
  width: 9px;
  height: 9px;
  background: var(--coffee);
  transform: rotate(45deg);
}
.service-preview-flow {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid rgba(20, 83, 118, 0.16);
  background: rgba(20, 83, 118, 0.16);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.service-preview-flow span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  color: var(--coffee);
  font-weight: 700;
  font-size: 0.84rem;
}
@media (max-width: 520px) {
  .service-preview-flow { grid-template-columns: repeat(2, 1fr); }
}

/* ========== Process ========== */
.process {
  display: grid;
  gap: 18px;
}
@media (min-width: 720px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--coffee);
  opacity: 0.82;
}
.step:hover {
  transform: translateY(-3px);
  border-color: rgba(20, 83, 118, 0.36);
  box-shadow: var(--shadow-soft);
}
.step .n {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--terracotta);
  margin-bottom: 6px;
  font-weight: 600;
}

/* ========== Benefits ========== */
.benefits { display: grid; gap: 20px; }
@media (min-width: 640px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .benefits { grid-template-columns: repeat(4, 1fr); } }
.benefit {
  border: 1px solid rgba(20, 83, 118, 0.14);
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.benefit:hover {
  transform: translateY(-3px);
  border-color: rgba(20, 83, 118, 0.28);
  background: rgba(255, 255, 255, 0.72);
}
.benefit h3 { margin-top: 14px; font-size: 1.1rem; }
.benefit p { font-size: 0.93rem; margin-bottom: 0; }
.benefit .icon-circle {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--coffee);
  border: 1px solid var(--rule);
  box-shadow: 0 10px 20px rgba(7, 30, 46, 0.08);
}
.benefit .icon-circle svg { width: 22px; height: 22px; }

/* ========== Chips ========== */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid var(--rule);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--ink);
}

/* ========== Pricing ========== */
.pricing { display: grid; gap: 20px; }
@media (min-width: 680px) { .pricing { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pricing.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .pricing.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.price-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.68));
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.78) inset, var(--shadow-soft);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 83, 118, 0.36);
  background: var(--surface-strong);
  box-shadow: var(--shadow-md);
}
.price-card.featured {
  overflow: visible;
  border-color: var(--coffee);
  box-shadow: var(--shadow-md);
  background:
    linear-gradient(180deg, rgba(20, 83, 118, 0.08), transparent 78px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72));
}
.price-card.featured::after {
  content: "Most chosen";
  position: absolute;
  top: -12px; right: 16px;
  background: var(--coffee);
  color: var(--almond);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0;
  text-transform: uppercase;
  pointer-events: none;
}
.price-card h3 { margin: 0; }
.price-card .price {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
  padding-top: 4px;
}
.price-card .price-usd { font-size: 0.82rem; color: var(--sage-deep); font-weight: 500; margin-top: -6px; }
.price-card .price-note { font-size: 0.85rem; color: var(--muted); margin: 0; }
.price-card .price-desc { font-size: 0.93rem; color: var(--muted); margin: 0; }
.price-card ul { list-style: none; padding: 0; margin: 6px 0 16px; }
.price-card li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: 0.92rem;
  color: var(--ink);
}
.price-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 13px;
  width: 10px; height: 10px;
  border-bottom: 2px solid var(--coffee);
  border-left: 2px solid var(--coffee);
  transform: rotate(-45deg);
}
.price-card .btn { margin-top: auto; }

/* ========== Offer / quote banner ========== */
.offer-banner {
  background:
    linear-gradient(90deg, rgba(244, 251, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(244, 251, 255, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, var(--coffee), var(--black));
  background-size: 38px 38px, 38px 38px, auto;
  color: var(--almond);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  gap: 16px;
  align-items: center;
}
@media (min-width: 800px) {
  .offer-banner { grid-template-columns: 1fr auto; padding: 36px 40px; }
}
.offer-banner h3 { color: var(--almond); margin: 0 0 6px; }
.offer-banner p { color: rgba(244, 251, 255, 0.84); margin: 0; }

/* ========== Notice / info boxes ========== */
.notice {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 20px;
  font-size: 0.95rem;
  color: var(--ink);
}
.notice strong { color: var(--forest); }

/* ========== FAQ accordion ========== */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--rule);
  transition: background 0.18s ease;
}
.faq-item:first-child { border-top: 1px solid var(--rule); }
.faq-item[aria-expanded="true"] { background: rgba(255, 255, 255, 0.38); }
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 18px 8px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
}
.faq-q:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; border-radius: 6px; }
.faq-q .chev {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[aria-expanded="true"] .chev { transform: rotate(45deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  padding: 0 8px;
  color: var(--muted);
  transition: grid-template-rows 0.22s ease, padding 0.22s ease;
}
.faq-a > p {
  min-height: 0;
  margin: 0;
}
.faq-item[aria-expanded="true"] .faq-a {
  grid-template-rows: 1fr;
  padding: 0 8px 20px;
}

/* ========== Contact form ========== */
.form {
  display: grid;
  gap: 16px;
  max-width: 620px;
}
.form .row { display: grid; gap: 16px; }
@media (min-width: 600px) { .form .row.two { grid-template-columns: 1fr 1fr; } }
.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.84);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--coffee);
  outline-offset: 1px;
  border-color: var(--coffee);
}
.field .hint { font-size: 0.8rem; color: var(--muted); margin-top: 4px; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--muted); }
.form .consent input { width: auto; margin-top: 4px; }

.form-success, .form-error {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  display: none;
}
.form-success { background: rgba(244, 251, 255, 0.6); color: var(--coffee); border: 1px solid rgba(20, 83, 118, 0.3); }
.form-error { background: rgba(20, 83, 118, 0.12); color: var(--black); border: 1px solid rgba(20, 83, 118, 0.34); }

/* ========== Two-column content (service / page detail) ========== */
.two-col {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) { .two-col { grid-template-columns: 1.4fr 1fr; gap: 56px; } }
.side-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.68));
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 90px;
  box-shadow: var(--shadow-soft);
}
@media (max-width: 899px) {
  .side-card { position: static; }
}
.side-card h4 { margin-top: 0; }
.side-card ul { list-style: none; padding: 0; margin: 0 0 16px; }
.side-card li { padding: 6px 0 6px 22px; position: relative; font-size: 0.92rem; }
.side-card li::before {
  content: "";
  position: absolute; left: 0; top: 13px;
  width: 8px; height: 8px;
  border-bottom: 2px solid var(--coffee);
  border-left: 2px solid var(--coffee);
  transform: rotate(-45deg);
}
.side-card .contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 14px;
}
.side-card .contact-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  padding: 0;
  position: static;
  font-size: 0.95rem;
}
.side-card .contact-list li::before { content: none; }
.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.7);
  color: var(--coffee);
  border: 1px solid var(--rule);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-icon svg { width: 20px; height: 20px; }

.tick-list { list-style: none; padding: 0; margin: 0 0 1em; }
.tick-list li { padding: 6px 0 6px 28px; position: relative; }
.tick-list li::before {
  content: "";
  position: absolute; left: 0; top: 12px;
  width: 12px; height: 12px;
  border-bottom: 2px solid var(--coffee);
  border-left: 2px solid var(--coffee);
  transform: rotate(-45deg);
}

/* ========== CTA band ========== */
.cta-band {
  background:
    linear-gradient(90deg, rgba(244, 251, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(244, 251, 255, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, var(--coffee), var(--black));
  background-size: 44px 44px, 44px 44px, auto;
  color: var(--almond);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(244, 251, 255, 0.12), transparent 45%);
  pointer-events: none;
}
.cta-band h2 { color: var(--almond); margin-top: 0; }
.cta-band p { color: rgba(244, 251, 255, 0.82); max-width: 580px; margin: 0 auto 22px; }
.cta-band .container { position: relative; }
.cta-band .btn-ghost {
  color: var(--almond);
  border-color: rgba(244, 251, 255, 0.34);
  background: rgba(244, 251, 255, 0.08);
}
.cta-band .btn-ghost:hover {
  color: var(--black);
  border-color: var(--almond);
  background: var(--almond);
}
@media (max-width: 480px) {
  .cta-band .btn-row .btn { width: 100%; }
}

/* ========== Footer ========== */
.site-footer {
  background: var(--black);
  color: rgba(244, 251, 255, 0.76);
  padding: 56px 0 24px;
  margin-top: 40px;
}
.site-footer a { color: rgba(244, 251, 255, 0.78); text-decoration: none; }
.site-footer a:hover { color: var(--almond); }
.footer-grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; } }
.footer-grid h4 {
  color: var(--almond);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 4px 0; }
.footer-brand {
  font-family: var(--font-serif);
  color: var(--almond);
  font-size: 1.25rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-brand svg { width: 28px; height: 28px; }
.footer-bottom {
  border-top: 1px solid rgba(244, 251, 255, 0.16);
  margin-top: 36px;
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(244, 251, 255, 0.58);
}

/* ========== Page header (inner pages) ========== */
.page-header {
  padding: 60px 0 30px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(20, 83, 118, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(20, 83, 118, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
}
.page-header::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.48), transparent 55%);
  pointer-events: none;
}
.page-header .container { position: relative; }
.page-header p.lede {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 640px;
}

/* ========== Misc ========== */
.divider-line {
  height: 1px;
  background: var(--rule);
  margin: 32px 0;
  border: 0;
}
.kv {
  display: grid;
  gap: 6px 16px;
  grid-template-columns: max-content 1fr;
  font-size: 0.95rem;
  align-items: baseline;
}
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.narrow { max-width: 760px; }

.article { max-width: 760px; margin: 0 auto; }
.article h2 { margin-top: 1.8em; }
.article h3 { margin-top: 1.5em; }
.article p, .article li { font-size: 1.05rem; color: #243A4A; }
.article ul, .article ol { padding-left: 1.2em; }

/* ========== Reduced motion ========== */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ========== Focus rings ========== */
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }

/* ========== Floating WhatsApp button ========== */
.wa-fab {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--coffee);
  color: var(--almond);
  border-radius: 50px;
  padding: 12px 20px 12px 14px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-fab svg { width: 24px; height: 24px; flex-shrink: 0; }
.wa-fab:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.22); color: var(--almond); }
@media (max-width: 480px) {
  .wa-fab { padding: 12px; border-radius: 50%; }
  .wa-fab-label { display: none; }
}

/* ========== Service page tabs + group pills ========== */
.service-tabs-band {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 50;
}
.service-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.service-tabs::-webkit-scrollbar { display: none; }
.service-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 22px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}
.service-tab svg { width: 18px; height: 18px; flex-shrink: 0; }
.service-tab-website:hover,
.service-tab-applications:hover,
.service-tab-automation:hover {
  color: var(--coffee);
  border-bottom-color: var(--coffee);
}
.service-tab.active {
  color: var(--coffee);
  border-bottom-color: currentColor;
}

.service-group-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.pill-website,
.pill-applications,
.pill-automation {
  background: rgba(255, 255, 255, 0.68);
  color: var(--coffee);
  border: 1px solid var(--rule);
}

/* ========== Client grid ========== */
.client-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .client-grid { grid-template-columns: repeat(2, 1fr); } }
.client-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  text-decoration: none;
  color: var(--ink);
}
.client-card:hover {
  color: var(--ink);
  transform: translateY(-4px);
  border-color: var(--terracotta);
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.client-card-badge {
  background:
    linear-gradient(90deg, rgba(244, 251, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(244, 251, 255, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, var(--forest-deep), var(--forest));
  background-size: 34px 34px, 34px 34px, auto;
  padding: 32px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  text-align: center;
  line-height: 1.3;
  min-height: 154px;
  position: relative;
  overflow: hidden;
}
.client-card-badge::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--almond);
  box-shadow: 14px 0 0 rgba(244, 251, 255, 0.56), 28px 0 0 rgba(146, 129, 122, 0.78);
}
.client-card-badge::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  height: 38px;
  border: 1px solid rgba(244, 251, 255, 0.16);
  background:
    linear-gradient(90deg, rgba(244, 251, 255, 0.3) 0 28%, transparent 28% 34%, rgba(244, 251, 255, 0.18) 34% 100%);
  border-radius: var(--radius-sm);
}
.client-card-body {
  padding: 20px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.client-card-body h4 {
  margin: 0 0 6px;
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.3;
}
.client-card-body p { margin: 0; font-size: 0.9rem; }
.client-card-url {
  display: inline-block;
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--taupe);
}

/* ========== Motion helpers ========== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.card.reveal.is-visible:hover,
.price-card.reveal.is-visible:hover {
  transform: translateY(-4px);
}
.step.reveal.is-visible:hover,
.client-card.reveal.is-visible:hover {
  transform: translateY(-3px);
}

/* ========== Form notice band (contact page) ========== */
.form-notice-band {
  background: var(--mist);
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
}
.form-notice {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--terracotta);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.form-notice-icon {
  color: var(--coffee);
  flex-shrink: 0;
  margin-top: 2px;
}
.form-notice-body strong {
  display: block;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-notice-body p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.93rem;
}
.form-notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 540px) {
  .form-notice { flex-direction: column; gap: 12px; }
  .form-notice-actions .btn { flex: 1 1 100%; text-align: center; }
}
