:root {
  --red: #ed1c2a;
  --black: #07080b;
  --panel: #11141a;
  --panel-soft: rgba(255, 255, 255, 0.07);
  --text: #ffffff;
  --muted: #c7cbd3;
  --line: rgba(255, 255, 255, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--black);
}

a {
  color: inherit;
}

.site {
  height: 100vh;
  padding: clamp(10px, 1.8vw, 24px);
  background:
    radial-gradient(circle at 50% 0%, rgba(237, 28, 42, 0.2), transparent 28rem),
    linear-gradient(135deg, #07080b 0%, #151821 58%, #07080b 100%);
}

.hero {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  justify-items: center;
  gap: clamp(16px, 2.4vw, 30px);
  height: calc(100vh - clamp(20px, 3.6vw, 48px));
  min-height: 0;
  padding: clamp(18px, 3.2vw, 42px);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  background-size: 64px 64px, 64px 64px, auto;
  box-shadow: 0 32px 110px rgba(0, 0, 0, 0.42);
}

.accent {
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(237, 28, 42, 0.28);
  pointer-events: none;
}

.accent--left {
  left: -170px;
  top: 20%;
}

.accent--right {
  right: -170px;
  bottom: 12%;
}

.brand {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(640px, 100%);
  padding: clamp(8px, 1.2vw, 14px);
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)),
    linear-gradient(180deg, rgba(13, 15, 20, 0.96), rgba(5, 6, 8, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 34px 95px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(237, 28, 42, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.brand::before {
  content: "";
  position: absolute;
  inset: -34px 9% auto;
  height: 62px;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(237, 28, 42, 0.58), transparent 68%);
  filter: blur(18px);
}

.brand::after {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: -4px;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(237, 28, 42, 0.2), var(--red), rgba(237, 28, 42, 0.2), transparent);
  box-shadow: 0 0 28px rgba(237, 28, 42, 0.86);
}

.brand__corner {
  position: absolute;
  width: 68px;
  height: 68px;
  z-index: 2;
  pointer-events: none;
}

.brand__corner--tl {
  left: 0;
  top: 0;
  border-top: 2px solid var(--red);
  border-left: 2px solid var(--red);
  box-shadow: -8px -8px 26px rgba(237, 28, 42, 0.22);
}

.brand__corner--br {
  right: 0;
  bottom: 0;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  box-shadow: 8px 8px 26px rgba(237, 28, 42, 0.22);
}

.logo {
  position: relative;
  display: block;
  width: 100%;
  max-height: clamp(210px, 31vh, 300px);
  object-fit: cover;
  background: #eef0f3;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.08),
    0 18px 34px rgba(0, 0, 0, 0.34);
  filter: contrast(1.08) saturate(1.08);
}

.content {
  position: relative;
  z-index: 1;
  max-width: 980px;
  text-align: center;
}

.kicker {
  margin: 0 0 12px;
  color: var(--red);
  font-size: clamp(0.82rem, 1.1vw, 0.98rem);
  font-weight: 850;
  letter-spacing: 0.16em;
}

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 5.1vw, 4.9rem);
  line-height: 1.02;
  font-weight: 850;
  letter-spacing: 0;
}

.lead {
  max-width: 700px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: clamp(0.96rem, 1.15vw, 1.12rem);
  line-height: 1.55;
  font-weight: 520;
}

.contact {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(210px, 0.62fr) minmax(250px, 0.78fr);
  gap: 12px;
  width: min(1180px, 100%);
  margin: 0;
  font-style: normal;
}

.contact__link {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 14px 16px;
  color: var(--text);
  text-decoration: none;
  background: rgba(11, 13, 18, 0.78);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.contact__link:hover {
  border-color: rgba(237, 28, 42, 0.7);
  background: rgba(237, 28, 42, 0.12);
}

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--text);
  background: var(--red);
}

.icon svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact__link span:last-child {
  overflow-wrap: anywhere;
  color: #f4f6f9;
  font-size: 0.9rem;
  line-height: 1.38;
  font-weight: 720;
}

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

  .contact__link {
    min-height: 60px;
  }
}

@media (max-width: 640px) {
  .site {
    min-height: 100vh;
    height: auto;
    padding: 0;
  }

  .hero {
    min-height: 100vh;
    height: auto;
    padding: 18px 14px;
    border: 0;
    gap: 18px;
  }

  .brand {
    padding: 10px;
  }

  .logo {
    width: min(330px, 100%);
    max-height: 185px;
  }

  .kicker {
    margin-bottom: 10px;
    font-size: 0.74rem;
  }

  h1 {
    font-size: clamp(2rem, 9.7vw, 3.2rem);
  }

  .lead {
    margin-top: 12px;
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .contact__link {
    grid-template-columns: 40px minmax(0, 1fr);
    min-height: 62px;
    padding: 10px 12px;
  }

  .icon {
    width: 40px;
    height: 40px;
  }
}
