@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-mono-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --font-geist-sans: "Geist";
  --font-geist-mono: "Geist Mono";
}

:root {
  --bg: #091016;
  --bg-soft: #0f181e;
  --panel-strong: #141e25;
  --text: #f3f6ef;
  --muted: #aeb9b6;
  --accent: #5ad480;
  --accent-bright: #78e398;
  --accent-faded: rgba(90, 212, 128, 0.13);
  --photo-border: #2d4640;
  --line: rgba(141, 164, 157, 0.22);
  --max-width: 1160px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 6%, rgba(55, 183, 112, 0.11), transparent 26rem),
    radial-gradient(circle at 8% 48%, rgba(27, 126, 112, 0.09), transparent 31rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font-geist-sans), Inter, system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image: url("../assets/retro-tech-background.jpg");
  background-size: 520px auto;
  background-position: top right;
  background-repeat: repeat;
  filter: invert(1) sepia(1) saturate(2.2) hue-rotate(78deg) contrast(1.45);
  mix-blend-mode: screen;
  opacity: 0.055;
}

body::after {
  position: fixed;
  z-index: 0;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 100% 5px;
  opacity: 0.35;
}

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

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--bg);
  background: var(--accent);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header,
main,
footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 16, 22, 0.86);
  backdrop-filter: blur(18px) saturate(130%);
}

.nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  font-size: 0.9rem;
  font-weight: 740;
  letter-spacing: 0.075em;
}

.brand strong {
  color: var(--accent);
}

.brand-photo {
  display: block;
  width: 42px;
  height: 42px;
  overflow: hidden;
  flex: none;
  padding: 2px;
  border: 2px solid var(--photo-border);
  border-radius: 50%;
  background: #d5d4d4;
  box-shadow: 0 0 0 1px rgba(90, 212, 128, 0.08);
}

.brand-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 50%;
  transform: scale(0.9);
  transform-origin: center;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(15px, 2.2vw, 28px);
}

.main-nav > a:not(.button) {
  position: relative;
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 180ms ease;
}

.main-nav > .mobile-only-nav {
  display: none;
}

.main-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav > a:not(.button):hover,
.main-nav > a:not(.button):focus-visible {
  color: var(--text);
}

.main-nav > a:not(.button):hover::after,
.main-nav > a:not(.button):focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  margin: 2px auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 0.94rem;
  font-weight: 720;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button-primary {
  color: var(--bg);
  background: var(--accent);
  box-shadow: 0 10px 30px rgba(90, 212, 128, 0.12);
}

.button-primary:hover,
.button-primary:focus-visible {
  color: var(--bg);
  background: var(--accent-bright);
  box-shadow: 0 12px 34px rgba(90, 212, 128, 0.2);
  transform: translateY(-2px);
}

.button-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--accent);
  background: var(--accent-faded);
  transform: translateY(-2px);
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 4px;
}

.section-frame {
  position: relative;
  padding: 108px 0;
}

.section-tinted {
  border-top: 1px solid rgba(142, 160, 156, 0.12);
  border-bottom: 1px solid rgba(142, 160, 156, 0.12);
  background: rgba(14, 23, 29, 0.78);
  backdrop-filter: blur(3px);
}

.hero {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 92px;
}

.hero::after {
  position: absolute;
  z-index: -1;
  top: 9%;
  right: -16%;
  width: 620px;
  height: 620px;
  content: "";
  border: 1px solid rgba(90, 212, 128, 0.14);
  border-radius: 50%;
  box-shadow: inset 0 0 90px rgba(90, 212, 128, 0.04);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  align-items: center;
  gap: clamp(52px, 7vw, 96px);
}

.eyebrow,
.panel-tag,
.service-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.hero h1,
.section-heading h2,
.why-copy h2,
.about-copy h2,
.cta-box h2 {
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.045em;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(3rem, 5.5vw, 5.4rem);
  font-weight: 720;
  line-height: 0.99;
}

.hero h1 span {
  color: var(--accent);
}

.hero-text {
  max-width: 690px;
  margin: 28px 0 34px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.7vw, 1.22rem);
  line-height: 1.75;
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 30px 0 0;
  padding: 0;
  color: #c9d3cf;
  list-style: none;
  font-size: 0.85rem;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-points li::before {
  width: 5px;
  height: 5px;
  content: "";
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(90, 212, 128, 0.1);
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 420px;
  justify-self: end;
}

.tech-illustration {
  position: relative;
  z-index: 2;
  aspect-ratio: 0.88;
  overflow: hidden;
  border: 1px solid rgba(131, 161, 151, 0.36);
  border-radius: 180px 180px 26px 26px;
  background: var(--panel-strong);
  box-shadow: var(--shadow), inset 0 0 80px rgba(90, 212, 128, 0.08);
}

.tech-illustration::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background:
    linear-gradient(to bottom, transparent 55%, rgba(7, 16, 20, 0.88)),
    linear-gradient(140deg, rgba(90, 212, 128, 0.18), transparent 38%);
}

.tech-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: invert(1) sepia(0.9) saturate(1.5) hue-rotate(80deg) contrast(1.35) brightness(0.78);
  opacity: 0.8;
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(90, 212, 128, 0.28);
  border-radius: 50%;
}

.orbit-one {
  top: -26px;
  right: -30px;
  width: 220px;
  height: 220px;
}

.orbit-two {
  right: 45px;
  bottom: 20px;
  width: 310px;
  height: 310px;
  border-style: dashed;
  opacity: 0.52;
}

.visual-caption {
  position: relative;
  z-index: 3;
  margin: 14px 0 0;
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.73rem;
  text-align: center;
  letter-spacing: 0.05em;
}

.visual-caption span {
  margin-right: 7px;
  color: var(--accent);
}

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

.section-heading h2,
.why-copy h2,
.about-copy h2 {
  font-size: clamp(2.2rem, 4.3vw, 3.7rem);
  line-height: 1.08;
}

.section-heading > p:last-child,
.split-heading > p,
.why-copy > p:last-child,
.about-copy > p,
.cta-box > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.section-heading > p:last-child {
  max-width: 680px;
  margin: 21px 0 0;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  max-width: none;
  align-items: end;
  gap: 70px;
}

.split-heading > p {
  margin: 0 0 4px;
}

.automation-panel {
  padding: clamp(25px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(90, 212, 128, 0.09), transparent 36%),
    rgba(17, 27, 33, 0.9);
  box-shadow: var(--shadow);
}

.panel-intro {
  display: grid;
  grid-template-columns: 0.7fr 1.2fr 1fr;
  align-items: start;
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.panel-intro h3 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.panel-intro > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

.panel-tag {
  margin-top: 6px;
}

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

.automation-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 28px 22px;
  border-bottom: 1px solid var(--line);
}

.automation-card:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.automation-card:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.card-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--accent);
  border: 1px solid rgba(90, 212, 128, 0.3);
  border-radius: 50%;
  background: var(--accent-faded);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.69rem;
  font-weight: 700;
}

.automation-card h3,
.case-card h3,
.service-card h3,
.process-card h3,
.benefit-list h3 {
  margin: 0;
  letter-spacing: -0.02em;
}

.automation-card p,
.case-card p,
.service-card > p:not(.service-kicker),
.process-card p,
.benefit-list p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

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

.case-card {
  position: relative;
  min-height: 235px;
  overflow: hidden;
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(18, 29, 35, 0.75);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.case-card:hover {
  border-color: rgba(90, 212, 128, 0.5);
  background: rgba(22, 35, 41, 0.94);
  transform: translateY(-4px);
}

.case-card h3 {
  font-size: 1.25rem;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.thematic-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: none;
  place-items: center;
  color: var(--accent-bright);
  border: 1px solid rgba(90, 212, 128, 0.32);
  border-radius: 12px;
  background: var(--accent-faded);
}

.thematic-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-line {
  position: absolute;
  right: -20px;
  bottom: -22px;
  width: 105px;
  height: 70px;
  border: 1px solid rgba(90, 212, 128, 0.18);
  border-radius: 50%;
  transform: rotate(-14deg);
}

.card-line::after {
  position: absolute;
  inset: 10px;
  content: "";
  border: 1px dashed rgba(90, 212, 128, 0.18);
  border-radius: 50%;
}

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

.service-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(18, 29, 35, 0.86);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.13);
}

.service-topline {
  display: flex;
  align-items: center;
  margin-bottom: 34px;
  color: var(--accent);
}

.service-kicker {
  min-height: 34px;
  margin-bottom: 8px;
  color: #bcd8c5;
  font-size: 0.67rem;
  letter-spacing: 0.1em;
}

.service-card h3 {
  font-size: 1.55rem;
}

.service-card > p:not(.service-kicker) {
  min-height: 110px;
}

.service-card ul {
  display: grid;
  gap: 9px;
  margin: 24px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  color: #cbd4d1;
  list-style: none;
  font-size: 0.89rem;
}

.service-card li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.service-card li::before {
  width: 5px;
  height: 5px;
  content: "";
  border: 1px solid var(--accent);
  transform: rotate(45deg);
}

.process-section {
  overflow: hidden;
}

.process-section::before {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: -40px;
  width: 44%;
  height: 320px;
  content: "";
  background: radial-gradient(ellipse at center, rgba(90, 212, 128, 0.07), transparent 68%);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.process-card {
  position: relative;
  padding: 34px 27px 10px 0;
}

.process-card:not(:last-child) {
  margin-right: 26px;
  border-right: 1px solid var(--line);
}

.benefit-list article > span {
  color: var(--accent);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.76rem;
  font-weight: 700;
}

.process-card h3 {
  font-size: 1.18rem;
}

.process-card .card-title {
  margin-bottom: 18px;
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(60px, 9vw, 120px);
}

.why-copy > p:last-child {
  margin: 24px 0 0;
}

.benefit-list {
  display: grid;
}

.benefit-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.benefit-list article:first-child {
  padding-top: 0;
}

.benefit-list h3 {
  font-size: 1.2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  align-items: center;
  gap: clamp(55px, 9vw, 120px);
}

.about-photo-wrap {
  position: relative;
  width: min(100%, 250px);
  justify-self: center;
}

.about-photo-frame {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 3px solid var(--photo-border);
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform: none;
}

.about-copy > p {
  margin: 18px 0 0;
}

.about-copy .about-lead {
  color: #d7dfdc;
  font-size: 1.14rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 25px;
  padding-bottom: 4px;
  color: var(--accent);
  border-bottom: 1px solid rgba(90, 212, 128, 0.45);
  font-weight: 700;
}

.text-link:hover span {
  transform: translate(2px, -2px);
}

.text-link span {
  transition: transform 180ms ease;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: clamp(50px, 8vw, 100px);
}

.faq-heading {
  position: sticky;
  top: 120px;
  margin-bottom: 0;
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.04rem;
  font-weight: 650;
}

summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
}

.faq-icon::before,
.faq-icon::after {
  position: absolute;
  top: 8px;
  left: 2px;
  width: 14px;
  height: 1px;
  content: "";
  background: var(--accent);
  transition: transform 180ms ease;
}

.faq-icon::after {
  transform: rotate(90deg);
}

details[open] .faq-icon::after {
  transform: rotate(0);
}

details > p {
  max-width: 700px;
  margin: -3px 38px 25px 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.final-cta {
  padding-top: 115px;
  padding-bottom: 115px;
}

.cta-box {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(38px, 7vw, 82px);
  align-items: start;
  max-width: 1040px;
  padding: clamp(40px, 7vw, 78px);
  text-align: left;
  border: 1px solid rgba(90, 212, 128, 0.28);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(90, 212, 128, 0.12), transparent 42%),
    rgba(17, 27, 33, 0.92);
  box-shadow: var(--shadow);
}

.cta-box h2 {
  max-width: 650px;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 1.04;
}

.cta-copy > p:not(.eyebrow) {
  max-width: 590px;
  margin: 26px 0 0;
}

.contact-form-wrap {
  min-width: 0;
}

.email-link {
  margin: 15px 4px 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.55;
}

.email-link strong {
  color: var(--text);
  font-weight: 650;
}

.contact-form {
  display: grid;
  gap: 17px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(90, 212, 128, 0.2);
  border-radius: 18px;
  background: rgba(7, 14, 18, 0.66);
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  color: #dce5e1;
  font-size: 0.86rem;
  font-weight: 680;
}

.form-field label span {
  color: var(--muted);
  font-weight: 450;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(141, 164, 157, 0.3);
  border-radius: 10px;
  outline: 0;
  background: rgba(9, 16, 22, 0.92);
  color: var(--text);
  font: inherit;
  font-size: 0.96rem;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-field input {
  min-height: 48px;
  padding: 0 14px;
}

.form-field textarea {
  min-height: 150px;
  padding: 13px 14px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(90, 212, 128, 0.12);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #778680;
}

.contact-form .button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-status {
  min-height: 1.4em;
  margin: -3px 0 0;
  color: #ffb7b7;
  font-size: 0.86rem;
}

.honey-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.back-to-top {
  position: fixed;
  z-index: 90;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 30px);
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(90, 212, 128, 0.48);
  border-radius: 50%;
  background: rgba(9, 16, 22, 0.9);
  color: var(--accent-bright);
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: rgba(35, 70, 59, 0.96);
}

.back-to-top svg {
  width: 21px;
  height: 21px;
}

.success-dialog {
  width: min(calc(100% - 32px), 470px);
  padding: 0;
  border: 1px solid rgba(90, 212, 128, 0.36);
  border-radius: 18px;
  background: #111c21;
  color: var(--text);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.6);
}

.success-dialog::backdrop {
  background: rgba(2, 8, 11, 0.78);
  backdrop-filter: blur(5px);
}

.dialog-content {
  padding: 34px;
  text-align: center;
}

.dialog-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 0 auto 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-faded);
  color: var(--accent-bright);
  font-size: 1.6rem;
}

.dialog-content h2 {
  margin: 0;
  font-size: 1.7rem;
}

.dialog-content p {
  margin: 12px 0 24px;
  color: var(--muted);
}

.dialog-content .button {
  border: 0;
  cursor: pointer;
}

footer {
  padding: 34px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(7, 13, 18, 0.72);
  font-size: 0.85rem;
}

.footer-content,
.footer-brand {
  display: flex;
  align-items: center;
}

.footer-content {
  justify-content: space-between;
  gap: 25px;
}

.footer-content p {
  margin: 0;
}

.footer-brand {
  gap: 9px;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(90, 212, 128, 0.09);
}

@media (max-width: 1050px) {
  .menu-toggle {
    display: grid;
    place-content: center;
    margin-left: auto;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: min(380px, calc(100vw - 40px));
    gap: 4px;
    padding: 14px;
    align-items: stretch;
    justify-content: stretch;
    justify-items: stretch;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(9, 16, 22, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav > a:not(.button) {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    color: var(--accent-bright);
    border-radius: 8px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
  }

  .main-nav > a.mobile-only-nav {
    display: flex;
  }

  .main-nav > a:not(.button)::after {
    display: none;
  }

  .main-nav > a:not(.button):hover,
  .main-nav > a:not(.button):focus-visible {
    color: #a2f0b8;
    background: rgba(90, 212, 128, 0.08);
  }

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

  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.7fr);
    gap: 45px;
  }

  .service-card > p:not(.service-kicker) {
    min-height: 136px;
  }
}

@media (max-width: 820px) {
  .section-frame {
    padding: 82px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split-heading,
  .why-grid,
  .about-grid,
  .faq-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    width: min(88%, 410px);
    margin-top: 18px;
    justify-self: center;
  }

  .split-heading,
  .why-grid,
  .about-grid,
  .faq-grid,
  .cta-box {
    gap: 45px;
  }

  .panel-intro {
    grid-template-columns: 1fr 1.2fr;
  }

  .panel-intro > p:last-child {
    grid-column: 1 / -1;
  }

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

  .service-card:last-child {
    grid-column: 1 / -1;
  }

  .service-card > p:not(.service-kicker) {
    min-height: auto;
  }

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

  .process-card:nth-child(2) {
    margin-right: 0;
    border-right: 0;
  }

  .process-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .faq-heading {
    position: static;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .nav-shell {
    min-height: 70px;
    gap: 12px;
  }

  .brand {
    gap: 9px;
    font-size: 0.76rem;
    letter-spacing: 0.05em;
  }

  .brand-photo {
    width: 37px;
    height: 37px;
  }

  .header-cta {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 0.82rem;
  }

  .hero {
    padding-top: 70px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-points {
    display: grid;
  }

  .hero-visual {
    width: 92%;
  }

  .section-frame {
    padding: 68px 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2,
  .why-copy h2,
  .about-copy h2 {
    font-size: 2.25rem;
  }

  .automation-panel {
    padding: 24px 18px;
  }

  .panel-intro,
  .automation-grid,
  .case-grid,
  .service-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .panel-intro {
    gap: 18px;
  }

  .automation-card {
    grid-template-columns: 46px 1fr;
    padding: 23px 4px;
    border-right: 0 !important;
  }

  .automation-card:nth-last-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .case-card {
    min-height: auto;
  }

  .service-card:last-child {
    grid-column: auto;
  }

  .process-card,
  .process-card:not(:last-child),
  .process-card:nth-child(2) {
    margin: 0;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-card:last-child {
    border-bottom: 0;
  }

  .about-photo-wrap {
    width: min(68%, 220px);
  }

  .cta-box {
    padding-inline: 21px;
  }

  .cta-box h2 {
    font-size: 2.4rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
