:root {
  --ink: #171717;
  --muted: #676767;
  --paper: #ffffff;
  --soft: #f4f4f4;
  --line: #e7e2dc;
  --orange: #f89921;
  --red: #e74925;
  --green: #32b44b;
  --sky: #1db6e5;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(23, 23, 23, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 70px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 190px;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.87rem;
  font-weight: 800;
  text-transform: uppercase;
}

nav a:hover {
  color: var(--orange);
}

.section {
  padding: clamp(62px, 9vw, 120px) clamp(18px, 5vw, 70px);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  color: #fff;
  background: #111;
}

.hero-slides,
.hero-slide,
.hero-slide img {
  position: absolute;
  inset: 0;
}

.hero-slides {
  z-index: 0;
}

.hero-slide {
  opacity: 0;
  transition: opacity 700ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.84) 0%, rgba(10, 10, 10, 0.62) 38%, rgba(10, 10, 10, 0.18) 72%, rgba(10, 10, 10, 0.38) 100%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.18), rgba(10, 10, 10, 0.56));
  content: "";
  pointer-events: none;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: inherit;
  padding: clamp(76px, 10vw, 132px) clamp(18px, 5vw, 70px) clamp(96px, 11vw, 150px);
}

.hero-copy {
  max-width: 760px;
}

.hero .eyebrow {
  color: var(--orange);
}

.hero h1 {
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", Manrope, sans-serif;
  line-height: 1;
}

h1 {
  max-width: 780px;
  font-size: 5rem;
  font-weight: 800;
  line-height: 0.96;
  text-transform: uppercase;
}

h2 {
  max-width: 820px;
  font-size: 4.25rem;
  font-weight: 800;
}

h3 {
  font-size: 1.35rem;
}

.hero-text,
.section p {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-text {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.18rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 0;
  border-radius: 5px;
  padding: 16px 22px;
  font: 800 0.82rem/1.2 Manrope, sans-serif;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
}

.hero-actions .primary {
  max-width: 450px;
}

.hero .secondary {
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero .secondary:hover {
  color: var(--ink);
  background: #fff;
}

.primary {
  color: #fff;
  background: var(--orange);
}

.primary:hover {
  color: var(--ink);
  background: var(--red);
}

.secondary {
  border: 1px solid rgba(23, 23, 23, 0.18);
  background: #fff;
}

.feature-grid article,
.service-row article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.feature-grid p,
.service-row p {
  margin: 8px 0 0;
  color: var(--muted);
}

.hero-dots {
  position: absolute;
  right: clamp(18px, 5vw, 70px);
  bottom: clamp(28px, 5vw, 56px);
  z-index: 2;
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 44px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.hero-dots button.is-active,
.hero-dots button:hover,
.hero-dots button:focus-visible {
  background: var(--orange);
}

.hero-dots button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.42);
  outline-offset: 5px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
}

.proof-strip div {
  min-height: 130px;
  padding: 30px clamp(18px, 4vw, 42px);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip strong {
  color: var(--orange);
  font-size: 1.35rem;
}

.proof-strip span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: start;
}

.automation-section {
  background: linear-gradient(180deg, #fff 0%, #f7f7f7 100%);
}

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

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

.feature-grid article,
.service-row article {
  padding: 28px;
  box-shadow: none;
}

.automation-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(248, 153, 33, 0.08), transparent 38%),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 45px rgba(23, 23, 23, 0.08);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.automation-card:hover,
.automation-card.is-open {
  border-color: rgba(248, 153, 33, 0.48);
  box-shadow: 0 22px 60px rgba(23, 23, 23, 0.12);
  transform: translateY(-2px);
}

.automation-toggle {
  display: grid;
  position: relative;
  width: 100%;
  border: 0;
  padding: 24px;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.automation-toggle:focus-visible {
  outline: 3px solid rgba(248, 153, 33, 0.34);
  outline-offset: -3px;
}

.automation-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.automation-card .card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
  font-weight: 900;
}

.service-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(248, 153, 33, 0.28);
  border-radius: 999px;
  padding: 6px 11px;
  color: var(--red);
  background: rgba(248, 153, 33, 0.12);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.automation-title {
  display: block;
  max-width: calc(100% - 46px);
  font-family: "Space Grotesk", Manrope, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.08;
}

.automation-promise {
  display: block;
  margin-top: 12px;
  max-width: calc(100% - 46px);
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.expand-cue {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(23, 23, 23, 0.12);
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.automation-card.is-open .expand-cue {
  color: #fff;
  background: var(--red);
  transform: rotate(45deg);
}

.automation-details {
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid transparent;
  opacity: 0;
  transition: max-height 260ms ease, opacity 220ms ease, border-color 220ms ease;
}

.automation-details[aria-hidden="false"] {
  max-height: 360px;
  border-color: var(--line);
  opacity: 1;
}

.automation-details p {
  margin: 20px 24px 10px;
  color: var(--ink);
  font-weight: 900;
}

.automation-details ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0 24px 24px 44px;
  color: var(--muted);
  line-height: 1.45;
}

.automation-details li::marker {
  color: var(--orange);
}

.automation-details strong {
  display: block;
  margin: 0 24px 24px;
  color: var(--red);
  font-size: 0.95rem;
  line-height: 1.35;
}

.dark-band {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(248, 153, 33, 0.17), transparent 30%),
    var(--ink);
}

.dark-band p {
  color: rgba(255, 255, 255, 0.74);
}

.dark-band .eyebrow {
  color: var(--orange);
}

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

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

.dark-band .service-row article {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.process {
  background: var(--soft);
}

.process ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process li {
  min-height: 180px;
  padding: 26px;
  border-left: 5px solid var(--orange);
  border-radius: var(--radius);
  background: #fff;
}

.process strong,
.process span {
  display: block;
}

.process strong {
  font-size: 1.25rem;
}

.process span {
  margin-top: 12px;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.74fr) minmax(320px, 1fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: start;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
  font-size: 0.88rem;
}

.budget-field {
  position: relative;
  display: grid;
  gap: 8px;
}

.budget-field > label {
  font-weight: 800;
  font-size: 0.88rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d8d3cc;
  border-radius: 6px;
  padding: 14px 13px;
  color: var(--ink);
  background: #fff;
  font: 500 1rem/1.4 Manrope, sans-serif;
}

.budget-native {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  border: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

.budget-select {
  position: relative;
}

.budget-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 51px;
  border: 1px solid #d8d3cc;
  border-radius: 6px;
  padding: 14px 13px;
  color: var(--ink);
  background: #fff;
  font: 500 1rem/1.4 Manrope, sans-serif;
  text-align: left;
  cursor: pointer;
}

.budget-button:focus-visible {
  border-color: var(--orange);
  outline: 3px solid rgba(248, 153, 33, 0.18);
}

.budget-caret {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.budget-select.is-open .budget-caret {
  transform: translateY(2px) rotate(225deg);
}

.budget-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 6px;
  border: 1px solid #d8d3cc;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(23, 23, 23, 0.16);
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.budget-select.is-open .budget-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.budget-menu button {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 4px;
  padding: 11px 10px;
  color: var(--ink);
  background: transparent;
  font: 700 0.95rem/1.3 Manrope, sans-serif;
  text-align: left;
  cursor: pointer;
}

.budget-menu button:hover,
.budget-menu button:focus-visible,
.budget-menu button.is-selected {
  color: #fff;
  background: var(--orange);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  outline: 3px solid rgba(248, 153, 33, 0.18);
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.check-row {
  grid-template-columns: 20px 1fr;
  align-items: start;
  font-weight: 600;
}

.check-row input {
  width: 18px;
  margin-top: 4px;
}

.form-status {
  display: none;
  padding: 13px 14px;
  border-radius: 6px;
  font-weight: 700;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  color: #0d401c;
  background: rgba(50, 180, 75, 0.14);
}

.form-status.is-error {
  color: #6d1e0e;
  background: rgba(231, 73, 37, 0.12);
}

.submit-button {
  width: 100%;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 70px);
  color: #fff;
  background: #0f0f0f;
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

  .split,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 680px;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 3.25rem;
  }

  .hero-text {
    font-size: 1.08rem;
  }

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

  .service-row {
    grid-template-columns: 1fr;
  }

  .automation-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
  }

  .brand img {
    width: 150px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-overlay {
    align-items: end;
    padding-top: 86px;
    padding-bottom: 96px;
  }

  h1 {
    font-size: 2.55rem;
    line-height: 1;
  }

  h2 {
    font-size: 2.35rem;
    line-height: 1.05;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-actions,
  .two-col,
  .feature-grid,
  .automation-grid,
  .proof-strip,
  .process ol {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .primary {
    max-width: none;
  }

  .hero-dots {
    right: auto;
    left: 18px;
    bottom: 36px;
  }

  .hero-dots button {
    width: 34px;
  }

  .proof-strip div {
    min-height: 110px;
  }
}
