/* Formus Digital — graphite, gray, black, white + one blue accent */
:root {
  --black: #000000;
  --graphite: #26282c;
  --iron: #3a3d42;
  --steel: #8b8f96;
  --mist: #e6e7e9;
  --paper: #f4f4f5;
  --white: #ffffff;
  --accent: #4f7cff;
  --accent-on-dark: #7c9cff;
  --accent-soft: rgba(79, 124, 255, .12);

  --text: var(--black);
  --text-soft: #4a4d53;
  --text-dim: #b4b7bc;

  --font: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(88px, 11vw, 150px);
  --radius: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.45rem; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--accent); color: var(--white); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--black); padding: 10px 16px; border-radius: 6px; }
.skip:focus { top: 16px; }

/* Buttons and links */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 26px;
  font: 500 1rem/1 var(--font); letter-spacing: 0.01em;
  text-decoration: none; border: 1px solid transparent; border-radius: 999px;
  cursor: pointer; isolation: isolate;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--sm { height: 42px; padding: 0 20px; font-size: .95rem; }
.btn--accent { background: var(--accent); color: var(--white); }
.btn--accent::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--white); transform: translateY(101%); transition: transform .35s var(--ease);
}
.btn--accent:hover { color: var(--black); }
.btn--accent:hover::before { transform: none; }
.btn--ghost { color: var(--white); border-color: var(--iron); }
.btn--ghost:hover { border-color: var(--white); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--accent); }

.link {
  display: inline-block; margin-top: 28px; font-weight: 500; text-decoration: none;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 1px no-repeat;
  padding-bottom: 4px; transition: background-size .3s var(--ease), color .2s;
}
.link:hover { color: var(--accent); background-size: 100% 2px; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--white);
  transition: background-color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 11, 13, .82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: rgba(255, 255, 255, .08);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; transition: height .3s var(--ease); }
.nav.is-scrolled .nav__inner { height: 68px; }
.nav__logo img { width: 230px; height: auto; transition: width .3s var(--ease); }
.nav.is-scrolled .nav__logo img { width: 205px; }
.nav__links { display: flex; gap: 34px; }
.nav__links a, .mobile a { position: relative; text-decoration: none; color: #c3c5c9; font-size: .98rem; transition: color .2s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px;
  background: var(--accent-on-dark); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--white); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: none; }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.lang {
  height: 42px; min-width: 46px; padding: 0 12px;
  background: none; border: 1px solid var(--iron); border-radius: 999px;
  color: #c3c5c9; font: 500 .85rem/1 var(--font); letter-spacing: .04em; cursor: pointer;
  transition: color .2s, border-color .2s;
}
.lang:hover { color: var(--white); border-color: var(--steel); }
.nav__menu { display: none; width: 42px; height: 42px; background: none; border: 1px solid var(--iron); border-radius: 999px; cursor: pointer; }
.nav__burger, .nav__burger::before { display: block; width: 16px; height: 1.5px; margin: 0 auto; background: var(--white); position: relative; transition: transform .25s var(--ease); }
.nav__burger { transform: translateY(-3px); }
.nav__burger::before { content: ""; top: 6px; }
.nav__menu[aria-expanded="true"] .nav__burger { transform: rotate(45deg); }
.nav__menu[aria-expanded="true"] .nav__burger::before { transform: translateY(-6px) rotate(-90deg); }
.mobile { display: grid; padding: 8px var(--gutter) 24px; background: rgba(10, 11, 13, .96); border-top: 1px solid rgba(255,255,255,.08); }
.mobile[hidden] { display: none; }
.mobile a { padding: 14px 0; font-size: 1.15rem; border-bottom: 1px solid rgba(255,255,255,.06); }

/* Hero */
.hero {
  position: relative; isolation: isolate;
  background: var(--black); color: var(--white);
  padding: calc(84px + clamp(48px, 8vw, 110px)) 0 clamp(72px, 10vw, 130px);
  overflow: hidden;
}
.hero__glow {
  position: absolute; z-index: -1; width: 900px; height: 900px; right: -260px; top: -320px;
  background: radial-gradient(closest-side, rgba(79, 124, 255, .22), rgba(79, 124, 255, 0));
  pointer-events: none;
}
.hero__grid { position: relative; display: grid; gap: clamp(56px, 7vw, 96px); }
.hero__copy { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(40px, 5vw, 72px); align-items: end; }
.hero__title { font-size: clamp(2.7rem, 6.4vw, 5.8rem); line-height: 1; letter-spacing: -0.035em; max-width: 13ch; }
.hero__title .w { display: inline-block; opacity: 0; transform: translateY(.4em); filter: blur(6px); animation: word-in .8s var(--ease) forwards; animation-delay: calc(var(--i) * 70ms + 150ms); }
@keyframes word-in { to { opacity: 1; transform: none; filter: none; } }
.hero__lead { color: var(--text-dim); font-size: 1.15rem; max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__side { animation: fade-up .9s var(--ease) .7s both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Hero build animation: editor -> live preview */
.build {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px;
  animation: fade-up 1s var(--ease) .95s both;
  transform-style: preserve-3d;
}
.editor, .preview { border-radius: var(--radius); overflow: hidden; transition: transform .6s var(--ease); }
.editor { background: rgba(38, 40, 44, .88); border: 1px solid #34373c; backdrop-filter: blur(6px); }
.editor__bar, .preview__bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; }
.editor__bar { border-bottom: 1px solid #34373c; }
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #4a4d53; }
.dots i:first-child { background: var(--accent-on-dark); }
.editor__file { font: 400 .78rem/1 var(--mono); color: var(--steel); }
.editor__code {
  margin: 0; padding: 20px 22px 24px; min-height: 400px;
  font: 400 .85rem/1.8 var(--mono); color: #c9cbcf;
  white-space: pre; overflow: hidden; tab-size: 2;
}
.tk-k { color: var(--accent-on-dark); }
.tk-s { color: #a7abb1; }
.tk-t { color: var(--white); }
.tk-a { color: #7d8187; }
.tk-p { color: #6b6f76; }
.caret { display: inline-block; width: 7px; height: 1.1em; margin-left: 1px; vertical-align: -0.2em; background: var(--accent-on-dark); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.preview { background: var(--white); color: var(--black); display: flex; flex-direction: column; align-self: stretch; box-shadow: 0 30px 80px -30px rgba(79, 124, 255, .35); }
.preview__bar { background: var(--paper); border-bottom: 1px solid var(--mist); }
.preview__url { flex: 1; height: 22px; display: flex; align-items: center; padding: 0 10px; border-radius: 6px; background: var(--white); font-size: .72rem; color: var(--steel); }
.preview__body { padding: 18px 16px; display: grid; gap: 12px; flex: 1; align-content: start; }
.pv { opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.pv.is-on { opacity: 1; transform: none; }
.pv-title { font-size: 1.15rem; font-weight: 500; }
.pv-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pv-kpi { background: var(--paper); border-radius: 8px; padding: 10px 12px; }
.pv-kpi span { display: block; font-size: .7rem; color: var(--steel); }
.pv-kpi strong { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.pv-chart { height: 96px; display: flex; align-items: flex-end; gap: 7px; padding: 10px 12px; border: 1px solid var(--mist); border-radius: 8px; }
.pv-chart i { flex: 1; height: var(--h); background: var(--graphite); border-radius: 3px 3px 0 0; transform-origin: bottom; transform: scaleY(0); transition: transform .7s var(--ease); }
.pv-chart i:last-child { background: var(--accent); }
.pv-chart.is-on i { transform: scaleY(1); }
.pv-chart.is-on i:nth-child(2) { transition-delay: .06s; }
.pv-chart.is-on i:nth-child(3) { transition-delay: .12s; }
.pv-chart.is-on i:nth-child(4) { transition-delay: .18s; }
.pv-chart.is-on i:nth-child(5) { transition-delay: .24s; }
.pv-chart.is-on i:nth-child(6) { transition-delay: .3s; }
.pv-table { font-size: .74rem; }
.pv-table div { display: grid; grid-template-columns: 1fr 1fr auto; padding: 7px 2px; border-bottom: 1px solid var(--mist); }
.pv-table div span:nth-child(2) { color: var(--steel); }
.preview__status { margin: 0 16px 16px; padding: 9px 12px; border-radius: 8px; background: var(--black); color: var(--white); font-size: .74rem; display: flex; align-items: center; gap: 8px; }
.preview__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-on-dark); box-shadow: 0 0 0 0 rgba(124, 156, 255, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(124, 156, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(124, 156, 255, 0); } }

/* Scroll reveal */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Services */
.services { padding: var(--section) 0; }
.services__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
.services__intro { position: sticky; top: 120px; align-self: start; }
.services__intro p { margin-top: 20px; color: var(--text-soft); max-width: 36ch; }
.svc { border-top: 1px solid var(--black); }
.svc__item {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 8px 40px;
  padding: 34px 0; border-bottom: 1px solid var(--mist);
}
.svc__item::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.svc__item:hover::before { transform: none; }
.svc__item h3 { grid-row: span 2; transition: transform .4s var(--ease), color .3s; }
.svc__item:hover h3 { transform: translateX(10px); color: var(--accent); }
.svc__item p { color: var(--text-soft); grid-column: 2; }
.svc__item--new h3::after {
  content: "New"; display: inline-block; margin-left: 10px; vertical-align: 4px;
  font-size: .72rem; font-weight: 500; letter-spacing: .02em; padding: 3px 9px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
}
html[lang="pt-BR"] .svc__item--new h3::after { content: "Novo"; }
.tags { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tags li { font-size: .8rem; padding: 3px 11px; border: 1px solid #cfd1d4; border-radius: 999px; color: var(--iron); transition: border-color .2s, color .2s, background-color .2s; }
.svc__item:hover .tags li { border-color: var(--graphite); }

/* Process */
.process { background: var(--black); color: var(--white); padding: var(--section) 0; position: relative; overflow: hidden; }
.process::before {
  content: ""; position: absolute; left: -300px; bottom: -400px; width: 800px; height: 800px;
  background: radial-gradient(closest-side, rgba(79, 124, 255, .14), transparent); pointer-events: none;
}
.process__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; position: relative; }
.process__head p { color: var(--text-dim); max-width: 44ch; }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 88px); }
.steps__line { position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: #3a3d42; }
.steps__line span { display: block; height: 100%; width: 100%; background: var(--accent-on-dark); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .15s linear; }
.steps li:not(.steps__line) { position: relative; padding: 0 24px 0 0; }
.steps__n {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; background: var(--black); border: 1px solid #55595f; color: var(--steel);
  font-size: 1rem; font-weight: 500;
  transition: background-color .4s, border-color .4s, color .4s, transform .4s var(--ease);
}
.steps li.is-on .steps__n { border-color: var(--accent-on-dark); color: var(--white); background: var(--accent); transform: scale(1.06); }
.steps h3 { font-size: 1.3rem; margin-top: 28px; color: #9a9ea5; transition: color .4s; }
.steps li.is-on h3 { color: var(--white); }
.steps p { margin-top: 10px; color: #8b8f96; font-size: .98rem; transition: color .4s; }
.steps li.is-on p { color: var(--text-dim); }

/* Where we work */
.about { padding: var(--section) 0; background: var(--paper); }
.about__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(40px, 6vw, 96px); align-items: end; }
.about__head h2 { max-width: 16ch; }
.about__head p { color: var(--text-soft); max-width: 44ch; }
.regions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(80px, .35fr) minmax(0, 1fr); align-items: stretch; margin-top: clamp(48px, 6vw, 80px); }
.region {
  background: var(--white); border-radius: 18px; padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--mist);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.region:hover { transform: translateY(-6px); border-color: #cfd1d4; box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .25); }
.region h3 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -0.02em; }
.region p { margin-top: 14px; color: var(--text-soft); max-width: 36ch; }
.regions__link { align-self: center; }
.regions__link svg { width: 100%; height: 40px; overflow: visible; }
.regions__link path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 8; vector-effect: non-scaling-stroke; animation: dash 1.2s linear infinite; }
.regions__link circle { fill: var(--accent); }
@keyframes dash { to { stroke-dashoffset: -28; } }
.about__note { margin-top: clamp(40px, 5vw, 64px); max-width: 60ch; color: var(--text-soft); font-size: 1.15rem; }

/* Engagement models */
.models { padding: var(--section) 0; background: var(--paper); }
.models__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(40px, 6vw, 96px); align-items: end; }
.models__head h2 { max-width: 14ch; }
.models__head p { color: var(--text-soft); max-width: 40ch; }
.models__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(48px, 6vw, 72px); }
.model {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--white); border: 1px solid var(--mist); border-radius: 18px;
  padding: clamp(28px, 3vw, 36px);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.model:hover { transform: translateY(-6px); border-color: #cfd1d4; box-shadow: 0 28px 60px -32px rgba(0, 0, 0, .3); }
.model h3 { font-size: 1.6rem; }
.model p { color: var(--text-soft); }
.model__fit { font-weight: 500; color: var(--black) !important; }
.model__list { display: grid; gap: 10px; margin: 8px 0 12px; padding-top: 18px; border-top: 1px solid var(--mist); }
.model__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; }
.model__list svg { flex: none; width: 18px; height: 18px; margin-top: 4px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.model__cta {
  margin-top: auto; align-self: flex-start; font-weight: 500; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; padding-bottom: 3px;
  transition: background-size .35s var(--ease), color .2s;
}
.model__cta:hover { color: var(--accent); background-size: 100% 1.5px; }
.model--dark { background: var(--graphite); border-color: var(--graphite); color: var(--white); }
.model--dark p { color: var(--text-dim); }
.model--dark .model__fit { color: var(--white) !important; }
.model--dark .model__list { border-top-color: #3a3d42; }
.model--dark .model__list svg { stroke: var(--accent-on-dark); }
.model--dark:hover { border-color: var(--iron); }
.model--dark .model__cta:hover { color: var(--accent-on-dark); }

/* Guarantees + industries */
.trust { padding: var(--section) 0; }
.trust__head h2 { max-width: 16ch; }
.guarantees { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; margin-top: clamp(40px, 5vw, 64px); }
.guarantees li { padding-top: 24px; border-top: 1px solid var(--black); }
.guarantees svg { width: 34px; height: 34px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.guarantees h3 { margin-top: 18px; font-size: 1.3rem; }
.guarantees p { margin-top: 10px; color: var(--text-soft); font-size: .98rem; }
.industries { margin-top: clamp(64px, 8vw, 104px); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 24px 40px; align-items: start; }
.industries h3 { font-size: 1.15rem; color: var(--text-soft); font-weight: 400; padding-top: 10px; }
.industries ul { display: flex; flex-wrap: wrap; gap: 10px; }
.industries li {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem); padding: 9px 20px; border: 1px solid #cfd1d4; border-radius: 999px;
  transition: background-color .25s, color .25s, border-color .25s;
}
.industries li:hover { background: var(--black); border-color: var(--black); color: var(--white); }

/* FAQ */
.faq { padding: var(--section) 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
.faq__intro { position: sticky; top: 120px; align-self: start; }
.faq__intro h2 { max-width: 12ch; }
.faq__intro p { margin-top: 20px; color: var(--text-soft); max-width: 34ch; }
.faq__list { border-top: 1px solid var(--black); }
.faq__item { border-bottom: 1px solid var(--mist); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em;
  transition: color .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent); }
.faq__item summary i { position: relative; flex: none; width: 32px; height: 32px; border: 1px solid #cfd1d4; border-radius: 50%; transition: transform .35s var(--ease), background-color .25s, border-color .25s; }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; }
.faq__item summary i::after { transform: rotate(90deg); transition: transform .35s var(--ease); }
.faq__item[open] summary i { background: var(--black); border-color: var(--black); color: var(--white); }
.faq__item[open] summary i::after { transform: rotate(0deg); }
.faq__item p { padding: 0 56px 28px 0; color: var(--text-soft); max-width: 62ch; }
.faq__item[open] p { animation: fade-up .45s var(--ease); }
.contact { background: var(--paper); }

/* Contact */
.contact { padding: var(--section) 0; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
.contact h2 { max-width: 12ch; }
.contact__intro p { margin-top: 20px; color: var(--text-soft); max-width: 38ch; }
.contact__mail {
  display: inline-block; margin-top: 32px; font-size: 1.25rem; font-weight: 500; text-decoration: none;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 1px no-repeat; padding-bottom: 4px;
  transition: color .2s, background-size .3s var(--ease);
}
.contact__mail:hover { color: var(--accent); background-size: 100% 2px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: grid; gap: 8px; }
.field--full, .form__foot { grid-column: 1 / -1; }
.field label { font-size: .92rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--font); color: var(--black);
  background: var(--white); border: 1px solid #c9cbcf; border-radius: 10px; padding: 13px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--iron) 50%), linear-gradient(135deg, var(--iron) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--steel); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field [aria-invalid="true"] { border-color: #c2412d; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 6px; }
.form__note { color: var(--text-soft); font-size: .95rem; }

/* Footer */
.footer { background: var(--black); color: var(--text-dim); padding: 72px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer__grid p { margin-top: 18px; max-width: 34ch; font-size: .95rem; }
.footer nav { display: grid; gap: 10px; align-content: start; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--accent-on-dark); }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 64px; padding-top: 24px; border-top: 1px solid #26282c; font-size: .88rem; color: var(--steel); }

/* ---------- Section flow: stacked sheets with rounded tops ---------- */
:root { --sheet: clamp(24px, 3.2vw, 44px); }
.hero { padding-bottom: calc(clamp(72px, 10vw, 130px) + var(--sheet)); }
.services, .models, .process, .trust, .about, .faq, .contact, .footer {
  position: relative;
  margin-top: calc(var(--sheet) * -1);
  border-radius: var(--sheet) var(--sheet) 0 0;
  box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 -24px 48px -36px rgba(0, 0, 0, .35);
}
.services, .models, .process, .trust, .about, .faq, .contact { padding-bottom: calc(var(--section) + var(--sheet)); }
.services { background: var(--white); }
.trust, .faq { background: var(--white); }
.footer { padding-top: calc(72px + var(--sheet) * .5); }

/* Responsive */
@media (max-width: 1080px) {
  .hero__copy, .about__head, .models__head { grid-template-columns: 1fr; }
  .models__grid { grid-template-columns: 1fr; max-width: 640px; }
  .guarantees { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .build { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .editor__code { font-size: .74rem; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
  .steps__line { display: none; }
}
@media (max-width: 860px) {
  .nav__links, .nav__actions .btn { display: none; }
  .nav__menu { display: block; }
  .nav__logo img, .nav.is-scrolled .nav__logo img { width: 180px; }
  .services__grid, .contact__grid, .process__head, .faq__grid, .industries { grid-template-columns: 1fr; }
  .services__intro, .faq__intro { position: static; }
  .svc__item { grid-template-columns: 1fr; }
  .svc__item h3 { grid-row: auto; }
  .svc__item p, .tags { grid-column: 1; }
  .regions { grid-template-columns: 1fr; }
  .regions__link { height: 56px; display: flex; justify-content: center; }
  .regions__link svg { width: 40px; height: 56px; transform: rotate(90deg); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .build { grid-template-columns: 1fr; }
  .editor__code { min-height: 0; padding: 14px; font-size: .62rem; }
  .steps { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .guarantees { grid-template-columns: 1fr; }
  .faq__item summary { font-size: 1.1rem; }
  .faq__item p { padding-right: 0; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .hero__glow { width: 600px; height: 600px; right: -300px; top: -200px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero__title .w, .hero__side, .build, .js [data-reveal] { opacity: 1; transform: none; filter: none; }
}
