/* ============================================================
   Nordic Black — Hoja de estilos
   Paleta monocromática (negro / blanco) con acentos sutiles
   ============================================================ */

:root {
  --black: #0d0d0d;
  --black-soft: #171717;
  --ink: #1c1c1c;
  --gray-900: #222222;
  --gray-700: #4a4a4a;
  --gray-500: #757575;
  --gray-400: #9a9a9a;
  --gray-300: #d8d8d6;
  --gray-200: #e8e8e6;
  --gray-100: #f2f2f0;
  --off-white: #f6f6f4;
  --white: #ffffff;

  --border: rgba(13, 13, 13, 0.12);
  --border-strong: rgba(13, 13, 13, 0.22);
  --border-light: rgba(255, 255, 255, 0.14);

  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --maxw: 1200px;
  --radius: 4px;
  --radius-lg: 8px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --shadow-sm: 0 1px 2px rgba(13, 13, 13, 0.06);
  --shadow-md: 0 18px 45px -22px rgba(13, 13, 13, 0.35);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--black);
}

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

.section {
  padding: 110px 0;
  position: relative;
}

.section-alt {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-dark {
  background: var(--black);
  color: var(--gray-300);
}

.section-dark .section-title,
.section-dark h3 {
  color: var(--white);
}

.section-dark .section-index {
  color: var(--gray-500);
}

/* ---------- Section heads ---------- */
.section-head {
  max-width: 720px;
  margin-bottom: 64px;
}

.section-index {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--gray-400);
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.85rem);
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.12rem;
  color: var(--gray-700);
  max-width: 620px;
}

.section-dark .section-desc {
  color: var(--gray-400);
}

.sub-title {
  font-size: 1.6rem;
}

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 26px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  height: 38px;
  width: auto;
  transition: transform 0.4s var(--ease);
}

.brand:hover .brand-icon {
  transform: translateY(-2px) rotate(-2deg);
}

.brand-icon--light {
  display: none;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.28rem;
  color: var(--black);
}

.brand-dot {
  color: var(--gray-400);
  padding: 0 1px;
}

/* Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  transition: color 0.25s var(--ease);
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1.5px;
  background: var(--black);
  transition: width 0.3s var(--ease);
}

.main-nav a:not(.nav-cta):hover {
  color: var(--black);
}

.main-nav a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--black);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 600;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.nav-cta:hover {
  transform: translateY(-2px);
  background: var(--gray-900);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 120;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--black);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 190px 0 140px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--black);
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  transform: scale(1.04);
  animation: hero-zoom 18s var(--ease) infinite alternate;
}

@keyframes hero-zoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 8, 8, 0.88) 0%, rgba(8, 8, 8, 0.72) 42%, rgba(8, 8, 8, 0.35) 72%, rgba(8, 8, 8, 0.55) 100%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.45) 0%, transparent 28%, transparent 70%, rgba(8, 8, 8, 0.7) 100%);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(circle at 30% 40%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 30% 40%, #000 0%, transparent 72%);
  opacity: 0.7;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.55);
}

.hero-title {
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 30px;
  color: var(--white);
}

.hero-title .accent {
  position: relative;
  white-space: nowrap;
}

.hero-title .accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.08em;
  width: 100%;
  height: 0.14em;
  background: var(--white);
  opacity: 0.22;
  z-index: -1;
}

.hero-lead {
  font-size: 1.24rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 720px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.58);
  max-width: 700px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero .btn-primary {
  background: var(--white);
  color: var(--black);
}

.hero .btn-primary:hover {
  background: var(--gray-200);
}

.hero .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.hero .btn-ghost:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* Header over dark hero (top of page) */
.site-header:not(.scrolled) .brand-name {
  color: var(--white);
}

.site-header:not(.scrolled) .brand-dot {
  color: rgba(255, 255, 255, 0.45);
}

.site-header:not(.scrolled) .brand-icon--dark {
  display: none;
}

.site-header:not(.scrolled) .brand-icon--light {
  display: block;
}

.site-header:not(.scrolled) .main-nav a:not(.nav-cta) {
  color: rgba(255, 255, 255, 0.78);
}

.site-header:not(.scrolled) .main-nav a:not(.nav-cta):hover {
  color: var(--white);
}

.site-header:not(.scrolled) .main-nav a:not(.nav-cta)::after {
  background: var(--white);
}

.site-header:not(.scrolled) .nav-cta {
  background: var(--white);
  color: var(--black) !important;
}

.site-header:not(.scrolled) .nav-cta:hover {
  background: var(--gray-200);
}

.site-header:not(.scrolled) .nav-toggle span {
  background: var(--white);
}

.site-header.scrolled .brand-icon--light {
  display: none;
}

.site-header.scrolled .brand-icon--dark {
  display: block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 32px;
  border-radius: 100px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn-primary {
  background: var(--black);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: var(--gray-900);
  box-shadow: var(--shadow-md);
}

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

.btn-ghost:hover {
  transform: translateY(-3px);
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.btn-block {
  width: 100%;
}

/* ============================================================
   STRIP (stats)
   ============================================================ */
.strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--black);
  color: var(--white);
}

.strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.strip-item {
  padding: 46px 26px;
  text-align: center;
  border-right: 1px solid var(--border-light);
}

.strip-item:last-child {
  border-right: none;
}

.strip-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 8px;
}

.strip-label {
  font-size: 0.92rem;
  color: var(--gray-400);
}

/* ============================================================
   TWO-COL layout
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: start;
}

.two-col--tight {
  margin-top: 90px;
  padding-top: 60px;
  border-top: 1px solid var(--border);
}

.col-head .section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
}

.col-desc {
  margin-top: 18px;
  color: var(--gray-700);
}

.col-body p {
  font-size: 1.12rem;
  color: var(--gray-700);
  margin-bottom: 22px;
}

.col-body p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cards .card:nth-child(4),
.cards .card:nth-child(5) {
  grid-column: span 1;
}

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 34px 34px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 0;
  background: var(--black);
  transition: width 0.45s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.card:hover::before {
  width: 100%;
}

.card-num {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gray-400);
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.32rem;
  margin-bottom: 16px;
}

.card p {
  font-size: 1rem;
  color: var(--gray-700);
  margin-bottom: 14px;
}

.card-note {
  font-size: 0.95rem !important;
  color: var(--gray-500) !important;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-bottom: 0 !important;
}

/* ============================================================
   USE CASES
   ============================================================ */
.usecases {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.usecases li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 28px;
  font-size: 1.05rem;
  color: var(--gray-900);
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  transition: background 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.usecases li:nth-child(2n) {
  border-right: none;
}

.usecases li:nth-last-child(-n + 2) {
  border-bottom: none;
}

.usecases li:hover {
  background: var(--off-white);
  padding-left: 34px;
}

.uc-arrow {
  color: var(--black);
  font-weight: 700;
  transition: transform 0.3s var(--ease);
}

.usecases li:hover .uc-arrow {
  transform: translateX(3px);
}

/* ============================================================
   FLOW BOARD (proceso — diagrama en S)
   ============================================================ */
.flow-board {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 36px 36px;
  position: relative;
  overflow: hidden;
}

.flow-board::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.45;
  pointer-events: none;
}

.flow-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.flow-step {
  flex: 1 1 0;
  min-width: 0;
  max-width: 200px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: transform 0.35s var(--ease);
}

.flow-step:hover {
  transform: translateY(-6px);
}

.flow-icon {
  width: 72px;
  height: 72px;
  border: 1.5px solid var(--border-strong);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  background: var(--off-white);
  margin-bottom: 14px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.flow-icon svg {
  width: 38px;
  height: 38px;
}

.flow-step:hover .flow-icon {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  box-shadow: var(--shadow-md);
}

.flow-num {
  position: absolute;
  top: 58px;
  right: calc(50% - 46px);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px var(--white);
  z-index: 2;
}

.flow-step h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
  line-height: 1.25;
}

.flow-step p {
  font-size: 0.86rem;
  color: var(--gray-700);
  line-height: 1.5;
}

.flow-arrow {
  flex: 0 0 48px;
  align-self: center;
  margin-top: -36px;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-arrow svg {
  width: 100%;
  max-width: 56px;
  height: auto;
}

.flow-bend {
  position: relative;
  z-index: 1;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  min-height: 64px;
}

.flow-bend--right {
  justify-content: flex-end;
  padding-right: 8%;
  margin: 4px 0 8px;
}

.flow-bend--right svg {
  width: 70px;
  height: 64px;
}

.flow-bend--left {
  justify-content: flex-start;
  padding-left: 6%;
  margin-top: 10px;
  gap: 14px;
}

.flow-bend--left svg {
  width: 70px;
  height: 56px;
}

.flow-cycle-label {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  padding: 8px 14px;
  border: 1px dashed var(--border-strong);
  border-radius: 100px;
}

/* ============================================================
   VISION (nosotros)
   ============================================================ */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}

.vision-card {
  padding: 40px 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.vision-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.vision-card h3 {
  font-size: 1.45rem;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--black);
  display: inline-block;
}

.vision-card p {
  color: var(--gray-700);
  font-size: 1.05rem;
}

.vision-note {
  font-size: 1.18rem;
  color: var(--gray-900);
  max-width: 780px;
  font-weight: 500;
  padding-left: 22px;
  border-left: 3px solid var(--black);
}

/* ============================================================
   TAGS (tecnologías)
   ============================================================ */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.tag {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1rem;
  padding: 12px 24px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  background: var(--white);
  color: var(--gray-900);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.tag:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  transform: translateY(-3px);
}

.tech-note {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--gray-700);
  font-style: italic;
}

/* ============================================================
   CLIENT LIST
   ============================================================ */
.client-list {
  list-style: none;
  columns: 2;
  column-gap: 40px;
}

.client-list li {
  break-inside: avoid;
  padding: 14px 0 14px 26px;
  position: relative;
  border-bottom: 1px solid var(--border);
  color: var(--gray-900);
  font-size: 1.03rem;
}

.client-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 8px;
  height: 8px;
  background: var(--black);
  border-radius: 2px;
}

/* ============================================================
   PROMISE
   ============================================================ */
.promise {
  background: var(--off-white);
  border-top: 1px solid var(--border);
}

.promise-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.promise-inner .section-index {
  color: var(--gray-400);
}

.promise-lead {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--black);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 24px;
}

.promise-sub {
  font-size: 1.1rem;
  color: var(--gray-700);
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================================
   CTA / CONTACTO
   ============================================================ */
.cta {
  background: var(--black);
  color: var(--white);
  padding: 110px 0;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.cta-copy h2 {
  color: var(--white);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  margin-bottom: 22px;
}

.cta-copy p {
  color: var(--gray-400);
  font-size: 1.12rem;
  margin-bottom: 40px;
}

.cta-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta-contact li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
}

.cta-contact span:first-child {
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.cta-contact a,
.cta-contact li span:last-child {
  color: var(--white);
  font-size: 1.08rem;
  transition: color 0.25s var(--ease);
}

.cta-contact a:hover {
  color: var(--gray-400);
}

/* Form */
.cta-form {
  background: var(--black-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.field {
  margin-bottom: 22px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  margin-bottom: 10px;
}

.field input,
.field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--gray-500);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.cta-form .btn-primary {
  background: var(--white);
  color: var(--black);
  margin-top: 6px;
}

.cta-form .btn-primary:hover {
  background: var(--gray-200);
}

.form-status {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--gray-400);
  min-height: 1.2em;
  text-align: center;
}

.form-status.success {
  color: #7ee0a4;
}

.form-status.error {
  color: #ff9d9d;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--black);
  color: var(--gray-400);
  padding: 70px 0 34px;
  border-top: 1px solid var(--border-light);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border-light);
}

.footer-logo {
  height: 74px;
  width: auto;
  margin-bottom: 20px;
}

.footer-brand p {
  max-width: 300px;
  font-size: 1rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-nav h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-nav a {
  display: block;
  color: var(--gray-400);
  font-size: 0.98rem;
  padding: 6px 0;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

.footer-nav a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* ============================================================
   REVEAL animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-img {
    animation: none !important;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .two-col {
    grid-template-columns: 260px 1fr;
    gap: 40px;
  }
}

@media (max-width: 860px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 80px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82%, 340px);
    height: 100vh;
    background: var(--black);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 80px 40px;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    box-shadow: -20px 0 60px -20px rgba(0, 0, 0, 0.6);
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav a {
    color: var(--gray-300);
    font-size: 1.25rem;
    padding: 12px 0;
  }

  .main-nav a:not(.nav-cta):hover {
    color: var(--white);
  }

  .main-nav a:not(.nav-cta)::after {
    background: var(--white);
  }

  .nav-cta {
    margin-top: 14px;
    background: var(--white);
    color: var(--black) !important;
  }

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

  .strip-item:nth-child(2) {
    border-right: none;
  }

  .strip-item:nth-child(1),
  .strip-item:nth-child(2) {
    border-bottom: 1px solid var(--border-light);
  }

  .cards,
  .usecases,
  .vision-grid {
    grid-template-columns: 1fr;
  }

  .flow-board {
    padding: 28px 18px;
  }

  .flow-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .flow-row--bottom {
    flex-direction: column-reverse;
  }

  .flow-step {
    max-width: none;
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 8px;
    border-bottom: 1px solid var(--border);
  }

  .flow-row--bottom .flow-step:first-child,
  .flow-row--top .flow-step:last-child {
    border-bottom: 1px solid var(--border);
  }

  .flow-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .flow-icon svg {
    width: 28px;
    height: 28px;
  }

  .flow-num {
    top: 14px;
    left: 46px;
    right: auto;
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }

  .flow-step h3,
  .flow-step p {
    text-align: left;
  }

  .flow-arrow,
  .flow-bend {
    display: none;
  }


  .usecases li {
    border-right: none;
  }

  .usecases li:nth-last-child(2) {
    border-bottom: 1px solid var(--border);
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .two-col--tight {
    margin-top: 60px;
    padding-top: 40px;
  }

  .client-list {
    columns: 1;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 20px;
  }

  .hero {
    padding: 150px 0 90px;
    min-height: auto;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .cta-form {
    padding: 28px 22px;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .hero-title .accent {
    white-space: normal;
  }

  .hero-title .accent::after {
    display: none;
  }

