@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --red: #e31b23;
  --red-dark: #bc1017;
  --ink: #111214;
  --muted: #65676c;
  --line: #e4e5e7;
  --soft: #f5f5f6;
  --white: #ffffff;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

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

.section {
  padding: 112px 0;
  scroll-margin-top: 92px;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  border-bottom: 1px solid rgba(17, 18, 20, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

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

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}

.main-nav a,
.site-footer a {
  font-weight: 700;
  font-size: 0.9rem;
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--red);
  border-radius: 3px;
  padding: 0 24px;
  color: var(--white);
  background: var(--red);
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-small {
  min-height: 44px;
  padding-inline: 18px;
  font-size: 0.86rem;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 85% 15%, rgba(227, 27, 35, 0.1), transparent 28%),
    var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  top: -150px;
  right: -220px;
  width: 520px;
  height: 520px;
  border: 80px solid rgba(227, 27, 35, 0.045);
  transform: rotate(-8deg);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(17, 18, 20, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 18, 20, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, transparent, black 54%, black);
}

.hero-layout {
  position: relative;
  display: grid;
  min-height: 670px;
  align-items: center;
  grid-template-columns: minmax(0, 1.42fr) minmax(320px, 0.72fr);
  gap: 90px;
  padding-block: 88px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 34px;
  height: 3px;
  background: currentColor;
}

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

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

h1 {
  max-width: 800px;
  margin-bottom: 28px;
  font-size: clamp(3.1rem, 6.6vw, 6.1rem);
  letter-spacing: -0.065em;
}

h1 em {
  color: var(--red);
  font-style: normal;
}

h2 {
  margin-bottom: 26px;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  letter-spacing: -0.045em;
}

.hero-text {
  max-width: 680px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 1.13rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}

.text-link {
  padding-block: 10px;
  border-bottom: 1px solid var(--ink);
  font-weight: 800;
}

.hero-panel {
  position: relative;
  padding: 34px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 18px 18px 0 var(--red);
}

.hero-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-top: 44px solid var(--red);
  border-left: 44px solid transparent;
}

.panel-kicker {
  margin-bottom: 26px;
  color: #a9abb0;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.panel-item {
  display: flex;
  align-items: center;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 18px 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}

.panel-item b {
  color: var(--red);
  font-size: 0.74rem;
}

.panel-signature {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 800;
}

.panel-signature small {
  display: block;
  color: #a9abb0;
  font-weight: 500;
}

.section-heading {
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 70px;
  margin-bottom: 54px;
}

.section-heading h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.section-heading > p {
  margin-bottom: 6px;
  color: var(--muted);
}

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

.service-card {
  position: relative;
  min-height: 300px;
  padding: 36px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  border-color: #bfc1c5;
  box-shadow: 0 22px 55px rgba(17, 18, 20, 0.08);
  transform: translateY(-4px);
}

.service-card.featured {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.service-number {
  display: block;
  margin-bottom: 52px;
  color: var(--red);
  font-weight: 800;
  font-size: 0.77rem;
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 1.6rem;
}

.service-card p {
  max-width: 490px;
  margin-bottom: 28px;
  color: var(--muted);
}

.service-card.featured p {
  color: #bfc1c5;
}

.service-card a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  color: var(--red);
  font-weight: 800;
}

.about {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.about::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -250px;
  width: 480px;
  height: 480px;
  border: 70px solid rgba(255, 255, 255, 0.035);
  transform: rotate(12deg);
}

.about-layout {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 90px;
}

.about-mark {
  display: grid;
  aspect-ratio: 1;
  max-width: 330px;
  place-items: center;
  background: var(--red);
  clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 92%);
}

.about-mark span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 10rem;
  font-weight: 700;
  letter-spacing: -0.1em;
}

.eyebrow.light {
  color: #ff666c;
}

.about-copy > p:not(.eyebrow) {
  max-width: 760px;
  color: #c6c7ca;
  font-size: 1.08rem;
}

.about-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.about-points span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 14px;
  font-size: 0.86rem;
  font-weight: 700;
}

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

.process h2 {
  max-width: 790px;
  margin-bottom: 54px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #d8d9dc;
}

.process-step {
  min-height: 235px;
  padding: 34px;
  background: var(--soft);
}

.process-step b {
  display: block;
  margin-bottom: 42px;
  color: var(--red);
  font-size: 0.8rem;
}

.process-step h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.process-step p {
  color: var(--muted);
}

.contact {
  padding-block: 88px;
}

.contact-card {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 70px;
  overflow: hidden;
  padding: 68px;
  color: var(--white);
  background: var(--red);
}

.contact-card::after {
  content: "";
  position: absolute;
  top: -115px;
  right: -115px;
  width: 250px;
  height: 250px;
  border: 50px solid rgba(255, 255, 255, 0.1);
  transform: rotate(14deg);
}

.contact-card > * {
  position: relative;
  z-index: 1;
}

.contact-card h2 {
  margin-bottom: 18px;
}

.contact-card p {
  max-width: 700px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.contact-card .eyebrow {
  color: var(--white);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.contact-actions > a:not(.button) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  font-weight: 700;
}

.button-white {
  width: 100%;
  color: var(--ink);
  border-color: var(--white);
  background: var(--white);
}

.button-white:hover,
.button-white:focus-visible {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner img {
  width: 175px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.floating-contact {
  position: fixed;
  z-index: 20;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 3px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  background: #20b85a;
  box-shadow: 0 10px 30px rgba(17, 18, 20, 0.2);
  transition: transform 180ms ease;
}

.floating-contact img {
  width: 29px;
  height: 29px;
}

.floating-contact:hover,
.floating-contact:focus-visible {
  transform: translateY(-3px) scale(1.03);
}

:focus-visible {
  outline: 3px solid #ff6b70;
  outline-offset: 4px;
}

@media (max-width: 930px) {
  .main-nav {
    display: none;
  }

  .hero-layout {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 60px;
    padding-block: 76px;
  }

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

  .hero-panel {
    max-width: 620px;
  }

  .section-heading,
  .about-layout,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .about-layout {
    gap: 54px;
  }

  .about-mark {
    max-width: 210px;
  }

  .about-mark span {
    font-size: 7rem;
  }

  .contact-card {
    gap: 34px;
  }
}

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

  .section {
    padding: 78px 0;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand img {
    width: 166px;
  }

  .header-inner .button {
    min-height: 42px;
    padding-inline: 13px;
    font-size: 0.76rem;
  }

  .hero-layout {
    gap: 48px;
    padding-block: 64px 74px;
  }

  .hero-grid {
    background-size: 46px 46px;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.45rem);
  }

  h2 {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

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

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

  .hero-actions {
    align-items: stretch;
  }

  .text-link {
    width: max-content;
  }

  .hero-panel {
    margin-right: 10px;
    padding: 28px 24px;
    box-shadow: 10px 10px 0 var(--red);
  }

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

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

  .service-card {
    min-height: 275px;
    padding: 28px;
  }

  .service-number {
    margin-bottom: 38px;
  }

  .about-mark {
    max-width: 165px;
  }

  .about-mark span {
    font-size: 5.3rem;
  }

  .about-points {
    flex-direction: column;
    align-items: stretch;
  }

  .process-step {
    min-height: 210px;
  }

  .contact {
    padding-block: 28px;
  }

  .contact-card {
    width: 100%;
    padding: 54px 24px;
  }

  .button-white {
    font-size: 0.88rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-contact {
    right: 14px;
    bottom: 14px;
  }
}

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

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