:root {
  --bg: #f7f5ef;
  --paper: #ffffff;
  --paper-warm: #fbfaf6;
  --ink: #101218;
  --charcoal: #1d222b;
  --muted: #666c78;
  --muted-strong: #414751;
  --line: rgba(16, 18, 24, 0.11);
  --line-strong: rgba(16, 18, 24, 0.18);
  --red: #e0001b;
  --red-dark: #b90016;
  --cream: #eee8dc;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft: 0 24px 70px rgba(16, 18, 24, 0.08);
  --shadow-strong: 0 34px 90px rgba(16, 18, 24, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(224, 0, 27, 0.09), transparent 24rem),
    linear-gradient(90deg, rgba(16, 18, 24, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(16, 18, 24, 0.045) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 72px 72px, 72px 72px, auto;
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 245, 239, 0.86);
  backdrop-filter: blur(20px);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 16px 0;
}

.brand,
.nav-links,
.brand-copy {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 218px;
  overflow: visible;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: var(--red);
  color: white;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(224, 0, 27, 0.24);
}

.brand-copy {
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  overflow: visible;
  line-height: 1.16;
}

.brand-copy strong {
  white-space: nowrap;
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: -0.035em;
}

.brand-copy small {
  display: block;
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  justify-content: center;
  gap: 26px;
  color: var(--muted-strong);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-links a,
.nav-cta {
  transition:
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.nav-links a:hover {
  color: var(--red);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(224, 0, 27, 0.45);
  outline-offset: 4px;
}

.nav-cta {
  padding: 11px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.nav-cta:hover {
  border-color: rgba(224, 0, 27, 0.35);
  color: var(--red);
  transform: translateY(-1px);
}

.section {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 94px 0;
}

.hero {
  display: grid;
  min-height: calc(100vh - 75px);
  align-items: center;
  padding-top: 84px;
}

.hero-grid,
.split-section,
.why-section,
.swiss-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.76fr);
  gap: 70px;
  align-items: center;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: -0.075em;
  line-height: 0.94;
}

h1 {
  max-width: 900px;
  margin-bottom: 28px;
  font-size: clamp(3.45rem, 8.5vw, 7.6rem);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 5vw, 5.2rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
  letter-spacing: -0.045em;
}

p {
  color: var(--muted);
}

.hero-text {
  max-width: 720px;
  margin-bottom: 34px;
  color: var(--muted-strong);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 23px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--red);
  color: white;
  box-shadow: 0 18px 38px rgba(224, 0, 27, 0.25);
}

.button-primary:hover {
  background: var(--red-dark);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: rgba(224, 0, 27, 0.35);
  box-shadow: var(--shadow-soft);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-proof span,
.trust-items span,
.trust-grid span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted-strong);
  font-size: 0.88rem;
  font-weight: 800;
}

.hero-proof span {
  padding: 10px 13px;
}

.hero-dashboard {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 85% 12%, rgba(224, 0, 27, 0.42), transparent 24%),
    linear-gradient(145deg, #292f39, #101218 72%);
  color: white;
  box-shadow: var(--shadow-strong);
}

.hero-dashboard::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  pointer-events: none;
}

.dashboard-header,
.dashboard-metric,
.automation-flow,
.dashboard-note {
  position: relative;
  z-index: 1;
}

.dashboard-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 56px;
}

.dashboard-header p,
.dashboard-note {
  color: rgba(255, 255, 255, 0.72);
}

.dashboard-header p {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #56f38b;
  box-shadow: 0 0 0 8px rgba(86, 243, 139, 0.12);
}

.dashboard-metric {
  margin-bottom: 28px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.dashboard-metric span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 700;
}

.dashboard-metric strong {
  font-size: clamp(4.4rem, 8vw, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.09em;
}

.automation-flow {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.automation-flow div {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.automation-flow span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 900;
}

.dashboard-note {
  margin: 0;
  padding: 18px;
  border-radius: 18px;
  background: rgba(224, 0, 27, 0.15);
  font-size: 0.95rem;
}

.dashboard-note strong {
  color: white;
}

.trust-strip {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip p {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.trust-items,
.trust-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-items {
  justify-content: flex-end;
}

.trust-items span,
.trust-grid span {
  padding: 10px 12px;
}

.section-heading {
  max-width: 790px;
}

.section-heading p,
.why-card p,
.contact-copy p,
.swiss-panel p {
  color: var(--muted-strong);
  font-size: 1.09rem;
  line-height: 1.65;
}

.wide-heading {
  max-width: 920px;
  margin-bottom: 38px;
}

.sticky-heading {
  align-self: start;
  position: sticky;
  top: 112px;
}

.problem-list {
  display: grid;
  gap: 16px;
}

.problem-list article,
.service-card,
.why-card,
.why-grid article,
.process-grid article,
.swiss-panel,
.contact-form {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.problem-list article {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.problem-list span,
.service-number,
.process-grid span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.problem-list p,
.service-card p,
.why-grid p,
.process-grid p {
  margin-bottom: 0;
}

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

.service-card {
  display: flex;
  min-height: 278px;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 250, 246, 0.96)),
    var(--paper);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 22px 54px rgba(16, 18, 24, 0.1);
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.service-card:hover {
  border-color: rgba(224, 0, 27, 0.42);
  background: white;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 30px 78px rgba(16, 18, 24, 0.15);
  transform: translateY(-4px);
}

.service-card h3 {
  margin-top: auto;
  color: var(--ink);
  font-size: 1.34rem;
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.service-card p {
  color: #343a45;
  font-size: 1rem;
  line-height: 1.64;
}

.service-number {
  color: var(--red-dark);
}

.why-section {
  align-items: stretch;
}

.why-card {
  padding: 38px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(238, 232, 220, 0.7)),
    var(--paper);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.why-grid article {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.process-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-grid article {
  min-height: 260px;
  padding: 24px;
  border-radius: var(--radius-lg);
}

.swiss-section {
  align-items: start;
  padding-bottom: 58px;
}

.swiss-panel {
  padding: 32px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.72)),
    var(--paper);
}

.swiss-panel p {
  margin-bottom: 24px;
  color: var(--muted-strong);
}

.contact-section {
  align-items: start;
  gap: 58px;
  margin-bottom: 94px;
  padding: 58px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 88% 18%, rgba(224, 0, 27, 0.28), transparent 23rem),
    linear-gradient(145deg, #222833, #101218 72%);
  box-shadow: var(--shadow-strong);
  color: white;
}

.contact-copy h2 {
  color: white;
}

.contact-copy p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
  line-height: 1.68;
}

.contact-form {
  display: grid;
  gap: 17px;
  padding: 30px;
  border-radius: var(--radius-xl);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  padding: 15px 16px;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--red);
  background: white;
  box-shadow: 0 0 0 4px rgba(224, 0, 27, 0.22);
}

input::placeholder,
textarea::placeholder {
  color: #7a808b;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: white;
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 32px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--red);
  font-weight: 900;
}

@media (max-width: 1180px) {
  .hero {
    padding-top: 58px;
  }

  .hero-grid,
  .split-section,
  .why-section,
  .swiss-section,
  .contact-section {
    gap: 48px;
  }

  h1 {
    font-size: clamp(3.35rem, 7.2vw, 6.4rem);
  }

  h2 {
    font-size: clamp(2.35rem, 4.4vw, 4.5rem);
  }
}

@media (max-width: 1040px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

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

  .sticky-heading {
    position: static;
  }

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

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-items {
    justify-content: flex-start;
  }

  .contact-section {
    padding: 44px;
  }
}

@media (max-width: 720px) {
  .nav,
  .section,
  .site-footer {
    width: min(100% - 30px, 1200px);
  }

  .nav {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .nav-cta {
    justify-self: start;
  }

  .section {
    padding: 74px 0;
  }

  .contact-section {
    padding: 30px 22px;
    margin-bottom: 74px;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  h1 {
    font-size: clamp(3.05rem, 15vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2.2rem, 12vw, 3.8rem);
  }

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

  .hero-dashboard,
  .why-card,
  .swiss-panel,
  .contact-form {
    border-radius: 24px;
    padding: 22px;
  }

  .service-grid,
  .process-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .process-grid article {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .nav-links {
    gap: 18px;
    font-size: 0.86rem;
  }

  .brand {
    min-width: 0;
  }

  .brand-copy strong {
    font-size: 0.92rem;
  }

  .dashboard-metric strong {
    font-size: 4rem;
  }
}
