:root {
  --black: #030303;
  --ink: #0d0d0f;
  --panel: #151518;
  --panel-soft: #1d1d20;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --muted-dark: rgba(7, 7, 7, 0.66);
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(0, 0, 0, 0.1);
  --red: #ef1f24;
  --red-dark: #b90f14;
  --silver: #f2f2f2;
  --container: 1180px;
  --radius: 8px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(14px);
}

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

.text-brand {
  color: var(--white);
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 0;
}

.text-brand span {
  color: var(--red);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 6px;
  padding: 10px 22px;
  background: var(--red);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 0 18px rgba(239, 31, 36, 0.28);
  transition: background 180ms ease, transform 180ms ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  background: var(--red-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(239, 31, 36, 0.12), transparent 46%),
    #0a0a0a;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 18%, rgba(239, 31, 36, 0.08), transparent 42%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(300px, 5fr);
  gap: 56px;
  align-items: center;
  padding: 104px 0 116px;
}

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

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

h1 {
  max-width: 840px;
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(2.45rem, 5.6vw, 4.55rem);
  line-height: 1.14;
  font-weight: 900;
}

h1 span {
  display: inline-block;
  color: transparent;
  background: linear-gradient(90deg, #ff4b50, var(--red-dark));
  background-clip: text;
  -webkit-background-clip: text;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.5vw, 4.25rem);
  line-height: 1.03;
  font-weight: 900;
}

h3 {
  margin-bottom: 14px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero-text {
  max-width: 720px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 7px 15px;
  background: #121214;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(239, 31, 36, 0.12);
}

.hero-highlight {
  max-width: 560px;
  margin: 0 0 28px;
  border-left: 4px solid var(--red);
  border-radius: 0 8px 8px 0;
  padding: 16px 18px;
  background: linear-gradient(90deg, #151518, #09090a);
  text-align: left;
}

.hero-highlight p {
  margin: 0;
  color: var(--white);
  font-size: 1.32rem;
  font-weight: 900;
  line-height: 1.2;
}

.hero-highlight strong {
  display: block;
  margin-top: 2px;
  color: #ff4b50;
  font-weight: 700;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 14px 26px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  box-shadow: 0 18px 40px rgba(239, 31, 36, 0.22);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
}

.button-ghost:hover {
  border-color: var(--red);
  background: rgba(239, 31, 36, 0.12);
}

.hero-panel {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  justify-self: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 0;
  background: #111113;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.48);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(239, 31, 36, 0.05);
  opacity: 0;
  transition: opacity 220ms ease;
}

.hero-panel:hover::before {
  opacity: 1;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.hero-panel:hover .hero-image {
  transform: scale(1.035);
}

.section {
  padding: 96px 0;
}

.section-dark {
  background: var(--ink);
}

.section-light {
  color: var(--black);
  background: var(--silver);
}

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

.section-lead {
  max-width: 620px;
  color: var(--muted-dark);
  font-size: 1.08rem;
}

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

.service-card {
  min-height: 310px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
}

.service-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 38px;
  border: 1px solid rgba(239, 31, 36, 0.45);
  border-radius: var(--radius);
  color: var(--red);
  font-weight: 900;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.why-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 54px;
  align-items: start;
}

.benefit-list {
  display: grid;
  gap: 12px;
}

.benefit-list a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 64px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 18px 20px 18px 54px;
  background: var(--white);
  color: var(--black);
  font-weight: 800;
}

.benefit-list a::before {
  content: "";
  position: absolute;
  left: 22px;
  width: 13px;
  height: 13px;
  background: var(--red);
  transform: rotate(45deg);
}

.message-block {
  padding: 108px 0;
  background:
    linear-gradient(90deg, rgba(239, 31, 36, 0.9), rgba(122, 9, 12, 0.95)),
    var(--red);
}

.message-inner {
  max-width: 960px;
}

.message-inner h2 {
  max-width: 850px;
}

.message-inner p {
  max-width: 840px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.contact-section {
  background: var(--black);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.contact-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 30px;
}

.contact-items a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.contact-items span {
  display: block;
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-items strong {
  display: block;
  margin-top: 4px;
  color: var(--white);
  font-size: 1rem;
  word-break: break-word;
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 15px 16px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.34);
  outline: none;
  resize: vertical;
}

.contact-form textarea {
  min-height: 140px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--red);
}

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

.form-button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-status {
  min-height: 24px;
  margin: 0;
  border-radius: var(--radius);
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  font-weight: 700;
}

.form-status:not(:empty) {
  padding: 12px 14px;
}

.form-status.is-loading {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.form-status.is-success {
  border: 1px solid rgba(46, 204, 113, 0.38);
  background: rgba(46, 204, 113, 0.11);
  color: #b9f6cf;
}

.form-status.is-error {
  border: 1px solid rgba(239, 31, 36, 0.5);
  background: rgba(239, 31, 36, 0.12);
  color: #ffb8ba;
}

.form-status a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

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

.footer-logo {
  width: min(260px, 55vw);
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  text-align: right;
}

.footer p:first-child {
  color: var(--white);
  font-weight: 900;
}

.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34), 0 0 22px rgba(239, 31, 36, 0.2);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.scroll-top:hover,
.scroll-top:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.28);
  outline: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    min-height: 380px;
  }

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

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

  .hero-grid {
    gap: 34px;
    padding: 42px 0 50px;
  }

  .logo-link {
    margin-bottom: 32px;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .button {
    width: 100%;
  }

  .hero-panel,
  .service-card,
  .contact-form {
    padding: 22px;
  }

  .hero-panel {
    min-height: 330px;
  }

  .section {
    padding: 72px 0;
  }

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

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

  .service-card span {
    margin-bottom: 24px;
  }

  .message-block {
    padding: 80px 0;
  }

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

  .footer p {
    text-align: left;
  }

  .scroll-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }
}
