:root {
  --bg-dark: #120d0e;
  --bg-mid: #231416;
  --text: #ffffff;
  --muted: #ffffff;
  --accent: #c91f2c;
  --accent-strong: #a81620;
  --accent-soft: #e5424f;
  --glass: rgba(16, 11, 12, 0.54);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: transparent;
}

.page-bg {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to bottom right, rgba(17, 10, 11, 0.62), rgba(20, 12, 13, 0.78)),
    radial-gradient(circle at 12% 18%, rgba(201, 31, 44, 0.2), transparent 42%),
    url("assets/images/background.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.02);
  z-index: 0;
  pointer-events: none;
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 3, 3, 0.58), rgba(4, 3, 3, 0.24));
}

.wrap {
  position: relative;
  z-index: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: clamp(10px, 2.2vw, 24px) clamp(14px, 3vw, 30px) clamp(6px, 1.6vw, 12px);
}

.card {
  width: min(760px, 100%);
  padding: clamp(14px, 2.4vw, 22px);
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  animation: rise 0.85s ease both;
}

.logo-box {
  width: fit-content;
  margin: 0 auto 10px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.logo {
  display: block;
  width: clamp(170px, 32vw, 260px);
  height: auto;
}

.tag {
  margin: 0;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: clamp(0.72rem, 1.8vw, 0.86rem);
}

h1 {
  margin: 6px 0 10px;
  text-align: center;
  line-height: 1.16;
  font-size: clamp(1.4rem, 3.4vw, 2.3rem);
  font-weight: 700;
  color: #ffffff;
}

.lead {
  margin: 0 auto 14px;
  text-align: center;
  color: var(--muted);
  max-width: 62ch;
  font-size: clamp(0.92rem, 1.4vw, 1.02rem);
  font-weight: 500;
  line-height: 1.36;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 0;
  border: none;
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  color: var(--text);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
}

.btn-ghost {
  background: rgba(201, 31, 44, 0.2);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(229, 66, 79, 0.28);
}

.btn-wide {
  grid-column: 1 / -1;
}

.contact {
  margin: 12px 0 0;
  font-style: normal;
  text-align: center;
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 500;
}

.footer {
  position: relative;
  z-index: 1;
  padding: 4px 12px 8px;
  text-align: center;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.8rem;
  font-weight: 500;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .wrap {
    padding: 10px 12px 6px;
  }

  .card {
    padding: 10px 8px;
  }

  .logo {
    width: clamp(145px, 40vw, 210px);
  }

  h1 {
    margin: 6px 0 8px;
    font-size: clamp(1.22rem, 6.1vw, 1.7rem);
  }

  .lead {
    margin: 0 auto 10px;
    font-size: clamp(0.84rem, 3.4vw, 0.95rem);
    line-height: 1.3;
  }

  .btn {
    min-height: 42px;
    padding: 8px 10px;
    font-size: 0.96rem;
  }

  .contact {
    margin-top: 10px;
    font-size: 0.88rem;
  }

  .footer {
    padding: 2px 8px 6px;
    font-size: 0.74rem;
  }
}
