/* ── Design tokens ── */
:root {
  --white: #ffffff;
  --bg: #f8fafc;
  --bg-soft: #f1f5f9;
  --surface: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --teal: #0891b2;
  --teal-light: #cffafe;
  --violet: #7c3aed;
  --green: #059669;
  --green-light: #d1fae5;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 4px 10px -4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 40px -12px rgba(15, 23, 42, 0.12);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font);
  --header-h: 72px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.25s var(--ease);
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--primary);
  color: var(--white);
  border-radius: 0 0 8px 8px;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ── Typography ── */
.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
}

h2 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--lg { padding: 0.875rem 1.75rem; font-size: 1rem; }
.btn--full { width: 100%; }
.btn--nav { padding: 0.5rem 1.125rem; font-size: 0.875rem; }

.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.2);
}
.btn--primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn--outline {
  background: var(--white);
  color: var(--text);
  border-color: var(--border);
}
.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.btn--white {
  background: var(--white);
  color: var(--primary);
}
.btn--white:hover {
  background: var(--bg);
  color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: var(--white);
}

/* ── Header ── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand:hover { opacity: 0.88; }

.brand__logo {
  display: block;
  height: 56px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}

.brand__logo--footer {
  height: 50px;
  max-width: 170px;
}

.nav { position: relative; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: all var(--transition);
}
.nav__link:hover,
.nav__link.is-active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__overlay {
  display: none;
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.hero__shape--1 {
  width: 500px; height: 500px;
  top: -100px; right: -100px;
  background: rgba(37, 99, 235, 0.12);
}
.hero__shape--2 {
  width: 400px; height: 400px;
  bottom: -50px; left: -100px;
  background: rgba(8, 145, 178, 0.1);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}

.hero__title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 1.25rem;
}
.hero__title em {
  font-style: normal;
  color: var(--primary);
}

.hero__lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}

.hero__trust {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}
.hero__trust svg { color: var(--green); flex-shrink: 0; }

/* Dashboard panel */
.hero__panel { perspective: 1000px; }

.dashboard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s var(--ease);
}
.hero__panel:hover .dashboard {
  transform: rotateY(-2deg) rotateX(2deg);
}

.dashboard__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}
.dashboard__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
}
.dashboard__status {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--green);
  font-weight: 500;
}
.status-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.dashboard__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.metric-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1rem;
  transition: transform var(--transition);
}
.metric-card:hover { transform: translateY(-2px); }
.metric-card__label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.metric-card__value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
}
.metric-card__trend {
  display: block;
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: 0.125rem;
}
.metric-card__trend--up { color: var(--green); }

.dashboard__envs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.env-pill {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}
.env-pill span {
  width: 6px; height: 6px;
  border-radius: 50%;
}
.env-pill--prod { background: #fef2f2; color: #dc2626; }
.env-pill--prod span { background: #dc2626; }
.env-pill--uat { background: #fff7ed; color: #ea580c; }
.env-pill--uat span { background: #ea580c; }
.env-pill--stage { background: var(--primary-light); color: var(--primary); }
.env-pill--stage span { background: var(--primary); }

/* ── Tech strip ── */
.tech-strip {
  padding: 2rem 0;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.tech-strip__label {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.tech-strip__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
}
.tech-strip__list li {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.375rem 0;
  position: relative;
}
.tech-strip__list li:not(:last-child)::after {
  content: '·';
  position: absolute;
  right: -0.875rem;
  color: var(--border);
}

/* ── Sections ── */
.section { padding: 5rem 0; }
.section--soft { background: var(--bg); }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3rem;
}
.section-head__desc {
  margin-top: 0.75rem;
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

/* ── Service grid ── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.service-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.service-tile {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: inherit;
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-sm);
}
.service-tile:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  color: inherit;
}
.service-tile__icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 1.25rem;
}
.service-tile__icon svg { width: 24px; height: 24px; }
.service-tile__icon--blue { background: var(--primary-light); color: var(--primary); }
.service-tile__icon--teal { background: var(--teal-light); color: var(--teal); }
.service-tile__icon--violet { background: #ede9fe; color: var(--violet); }
.service-tile__icon--green { background: var(--green-light); color: var(--green); }

.service-tile h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}
.service-tile p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  flex: 1;
  margin-bottom: 1rem;
}
.service-tile__arrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

/* ── Split layout ── */
.split-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}
.split-layout--reverse { direction: rtl; }
.split-layout--reverse > * { direction: ltr; }

.split-layout__side p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  margin-top: 0.75rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
}
.badge--aws {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.chip {
  padding: 0.375rem 0.875rem;
  background: var(--teal-light);
  color: var(--teal);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
}

/* ── Feature cards ── */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.feature-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateX(4px);
}
.feature-card__num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 800;
}
.feature-card h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

/* ── Accordion (native details/summary) ── */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.accordion__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.accordion__item[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color var(--transition);
}

.accordion__trigger::-webkit-details-marker { display: none; }
.accordion__trigger::marker { display: none; content: ''; }

.accordion__trigger:hover,
.accordion__item[open] .accordion__trigger {
  color: var(--primary);
}

.accordion__chevron {
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--text-muted);
}

.accordion__item[open] .accordion__chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.accordion__panel {
  padding: 0 1.25rem 1.125rem;
}

.accordion__panel p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── Bento grid ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.bento-grid--four {
  grid-template-columns: repeat(2, 1fr);
}

.bento-card {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.bento-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.bento-card--wide { grid-column: span 2; }
.bento-card__icon {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 10px;
  margin-bottom: 0.75rem;
}
.bento-card__icon svg { width: 20px; height: 20px; }
.bento-card h3 { font-size: 1rem; margin-bottom: 0.375rem; }
.bento-card p { font-size: 0.9375rem; color: var(--text-secondary); }

/* ── Process ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition);
}
.process-step:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.process-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.process-step h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.875rem; color: var(--text-secondary); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.value-card {
  padding: 1.75rem;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}
.value-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.9375rem; color: var(--text-secondary); }

/* ── CTA banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
  padding: 4rem 0;
}
.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}
.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.0625rem;
}
.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info > p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  margin-top: 0.75rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.contact-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.contact-card__icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 10px;
  flex-shrink: 0;
}
.contact-card__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.125rem;
}
.contact-card a { font-weight: 600; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field { margin-bottom: 1.125rem; }
.form-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.375rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-muted); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  background: var(--white);
}
.form-field input.is-invalid,
.form-field select.is-invalid,
.form-field textarea.is-invalid {
  border-color: #ef4444;
}
.form-error {
  display: block;
  font-size: 0.8125rem;
  color: #ef4444;
  margin-top: 0.25rem;
  min-height: 1.25rem;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-note {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}
.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.form-frame {
  display: none;
  width: 0;
  height: 0;
  border: 0;
}
.form-feedback {
  padding: 0.875rem 1rem;
  border-radius: 10px;
  font-size: 0.875rem;
  line-height: 1.45;
  margin-bottom: 1rem;
}
.form-feedback--success {
  color: #047857;
  background: var(--green-light);
  border: 1px solid #a7f3d0;
}
.form-feedback--error {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
}
.form-feedback--info {
  color: var(--primary-dark);
  background: var(--primary-light);
  border: 1px solid #bfdbfe;
}

/* ── Toast ── */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  max-width: min(360px, calc(100vw - 2rem));
}
.toast {
  padding: 0.875rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text);
}
.toast--success {
  border-color: #a7f3d0;
  background: var(--green-light);
  color: #047857;
}
.toast--error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}
.toast--info {
  border-color: #bfdbfe;
  background: var(--primary-light);
  color: var(--primary-dark);
}

/* ── Footer ── */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer__brand p {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.footer h4 {
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.footer ul li { margin-bottom: 0.5rem; }
.footer a { color: rgba(255,255,255,0.7); font-size: 0.9375rem; }
.footer a:hover { color: var(--white); }
.footer__bottom {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer__bottom p { font-size: 0.8125rem; }

/* ── Back to top ── */
.back-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
.back-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ── Reveal animations (progressive — content visible without JS) ── */
.reveal {
  opacity: 1;
  transform: none;
}

html.js-anim .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

html.js-anim .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js-anim .reveal { opacity: 1; transform: none; transition: none; }
  .dashboard, .metric-card, .service-tile, .feature-card,
  .bento-card, .process-step, .back-top { transition: none; }
  .status-dot { animation: none; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__panel { max-width: 480px; }
  .service-grid,
  .service-grid--three { grid-template-columns: repeat(2, 1fr); }
  .split-layout,
  .split-layout--reverse { grid-template-columns: 1fr; direction: ltr; gap: 2.5rem; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card--wide { grid-column: span 2; }
}

@media (max-width: 768px) {
  .nav__toggle { display: flex; }
  .nav__overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
  }
  .nav__overlay.is-visible {
    opacity: 1;
    visibility: visible;
  }
  .nav__menu {
    position: fixed;
    top: 0; right: 0;
    width: min(300px, 85vw);
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    padding: calc(var(--header-h) + 1rem) 1.5rem 2rem;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 160;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    gap: 0.25rem;
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__link { padding: 0.75rem 1rem; }
  .btn--nav { margin-top: 0.5rem; justify-content: center; }

  .service-grid,
  .service-grid--three { grid-template-columns: 1fr; }
  .bento-grid,
  .bento-grid--four { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner__inner { flex-direction: column; text-align: center; }
  .cta-banner__actions { justify-content: center; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .tech-strip__list li:not(:last-child)::after { display: none; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .brand__logo { height: 44px; max-width: 150px; }
  .brand__logo--footer { height: 40px; max-width: 140px; }
  .toast-container {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }
}