:root {
  --bg: #050505;
  --bg-deep: #09090c;
  --panel: rgba(13, 13, 17, 0.96);
  --panel-soft: rgba(17, 17, 21, 0.88);
  --text: #f5f5f5;
  --muted: #c8c8cf;
  --muted-soft: rgba(255, 255, 255, 0.62);
  --line: rgba(255, 255, 255, 0.08);
  --red: #d8181f;
  --red-deep: #9e1319;
  --red-bright: #ff3a3a;
  --danger: #ff6666;
  --success: #6fda9d;
  --shadow: 0 28px 64px rgba(0, 0, 0, 0.44);
  --shell: min(1180px, calc(100% - 2rem));
}

/* Reset / base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Rajdhani", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 12%, rgba(216, 24, 31, 0.15), transparent 24%),
    radial-gradient(circle at 84% 14%, rgba(255, 255, 255, 0.05), transparent 16%),
    radial-gradient(circle at 50% 100%, rgba(216, 24, 31, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 36%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 18%, rgba(216, 24, 31, 0.08), transparent 22%),
    radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.03), transparent 18%);
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* Layout */
.site-shell {
  position: relative;
  isolation: isolate;
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 5rem 0;
}

.eyebrow {
  color: var(--red-bright);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 1.5rem;
}

.section-heading h2,
.hero h1,
.form-card__head h2 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.04em;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 6vw, 4.7rem);
}

.section-heading__copy {
  margin-top: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  font-size: 1rem;
}

/* Header / hero */
.topbar {
  position: relative;
  z-index: 20;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.66) 70%, rgba(0, 0, 0, 0));
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0 0.9rem;
}

.brand {
  width: clamp(86px, 10vw, 124px);
  transition: transform 180ms ease;
}

.brand:hover {
  transform: scale(1.04);
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.topnav__link {
  min-width: 168px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.6rem;
  background: linear-gradient(180deg, #b31a20 0%, #931217 100%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%);
  transition: transform 180ms ease, background 180ms ease;
}

.topnav__link:hover,
.topnav__link:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(90deg, #b4181f, var(--red-bright));
}

.topnav__link--ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 4.2rem;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(112deg, rgba(0, 0, 0, 0.94), rgba(0, 0, 0, 0.62) 44%, rgba(0, 0, 0, 0.96)),
    url("../pics/BG.png") center/cover no-repeat;
  filter: saturate(0.78) contrast(1.04);
}

.hero__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.82)),
    linear-gradient(90deg, rgba(216, 24, 31, 0.14), transparent 42%);
}

.hero__mesh {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 130px 130px;
  mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 72%);
  opacity: 0.3;
}

.hero__glow {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(70px);
}

.hero__glow--left {
  top: 4rem;
  left: -10rem;
  width: 24rem;
  height: 24rem;
  background: rgba(216, 24, 31, 0.22);
}

.hero__glow--right {
  right: -8rem;
  bottom: 1rem;
  width: 26rem;
  height: 26rem;
  background: rgba(255, 255, 255, 0.05);
}

.hero__inner {
  display: grid;
  gap: 1.4rem;
  min-height: min(70vh, 720px);
  align-content: center;
}

.breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--muted-soft);
  font-size: 0.95rem;
}

.breadcrumb a {
  transition: color 160ms ease;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--text);
}

.hero__content {
  max-width: 760px;
}

.hero h1 {
  font-size: clamp(3.6rem, 10vw, 7.8rem);
}

.hero__lead {
  max-width: 48rem;
  margin-top: 1rem;
  color: var(--text);
  font-size: clamp(1.08rem, 2.2vw, 1.38rem);
  line-height: 1.45;
}

.hero__support {
  max-width: 44rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

/* Buttons */
.button {
  min-width: 196px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 18px;
  text-align: center;
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

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

.button:focus-visible,
.topnav__link:focus-visible,
.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.72);
  outline-offset: 3px;
}

.button--primary {
  background: linear-gradient(90deg, #a5141b, var(--red-bright));
  box-shadow: 0 18px 40px rgba(216, 24, 31, 0.28);
}

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

.button:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
}

/* Contact layout */
.contact__grid {
  display: grid;
  gap: 1.25rem;
}

.contact__info {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.info-card,
.mini-point,
.form-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(16, 16, 20, 0.96), rgba(8, 8, 10, 0.94)),
    radial-gradient(circle at 100% 0, rgba(216, 24, 31, 0.12), transparent 34%);
  box-shadow: var(--shadow);
}

.info-card {
  padding: 1.2rem 1.15rem;
}

.info-card__label {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--red-bright);
  font-family: "Bebas Neue", sans-serif;
  font-size: 0.96rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.info-card a,
.info-card strong {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.info-card p {
  margin-top: 0.65rem;
  color: var(--muted);
  line-height: 1.5;
}

.contact__mini-points {
  display: grid;
  gap: 0.9rem;
}

.mini-point {
  padding: 1rem 1rem 1.05rem;
}

.mini-point strong {
  display: block;
  margin-bottom: 0.45rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mini-point p {
  color: var(--muted);
  line-height: 1.5;
}

/* Form */
.form-card {
  padding: 1.35rem 1.2rem 1.3rem;
}

.form-card__head {
  margin-bottom: 1.25rem;
}

.form-card__head h2 {
  margin-top: 0.25rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.form-card__head p {
  margin-top: 0.75rem;
  color: var(--muted);
  line-height: 1.55;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-grid {
  display: grid;
  gap: 0.95rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field span {
  color: var(--text);
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0.92rem 1rem;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
  color-scheme: dark;
}

.field select option {
  background: #16161b;
  color: #f5f5f5;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.34);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(216, 24, 31, 0.42);
  box-shadow: 0 0 0 3px rgba(216, 24, 31, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.field textarea {
  min-height: 144px;
  resize: vertical;
}

.field--full {
  grid-column: 1 / -1;
}

.field--checkbox {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.field--checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  accent-color: var(--red-bright);
}

.field--checkbox span {
  font-weight: 500;
  color: var(--muted);
  line-height: 1.45;
}

.field__error {
  min-height: 1.15rem;
  color: var(--danger);
  font-size: 0.86rem;
  line-height: 1.2;
}

.field__error--checkbox {
  margin-top: -0.45rem;
}

.field.has-error input,
.field.has-error textarea,
.field.has-error select {
  border-color: rgba(255, 102, 102, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 102, 102, 0.1);
}

.form-card__footer {
  display: grid;
  gap: 0.7rem;
}

.form-card__hint {
  color: var(--muted-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.form-status {
  min-height: 1.4rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: var(--danger);
}

/* Responsive */
@media (min-width: 860px) {
  .contact__grid {
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.2fr);
    align-items: start;
  }

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

@media (max-width: 859px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 699px) {
  .topbar__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .brand {
    width: 76px;
  }

  .topnav {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .topnav__link {
    min-width: 0;
    width: 100%;
    min-height: 54px;
    clip-path: none;
    border-radius: 16px;
  }

  .hero {
    padding: 3.2rem 0 3.3rem;
  }

  .hero__content {
    text-align: center;
  }

  .hero__actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .section {
    padding: 3.4rem 0;
  }

  .info-card,
  .mini-point,
  .form-card {
    border-radius: 22px;
  }
}
