.contact-hero {
  padding: 140px 24px 70px;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: -60px;
  pointer-events: none;
  opacity: 0.9;
  background:
    radial-gradient(900px 520px at 40% 18%, rgba(125,211,252,0.20), transparent 62%),
    radial-gradient(900px 520px at 72% 30%, rgba(167,139,250,0.16), transparent 60%),
    radial-gradient(1000px 650px at 50% 70%, rgba(56,189,248,0.09), transparent 62%);
}

.contact-hero-inner {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.contact-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(229,231,235,0.92);
  background: rgba(125,211,252,0.08);
  border: 1px solid rgba(125,211,252,0.18);
  margin: 0 auto 16px;
}

.contact-hero h1 {
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 950;
  letter-spacing: -0.03em;
  margin: 0;
  line-height: 1.12;
  padding-bottom: 0.10em;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-hero p {
  margin: 16px auto 0;
  max-width: 860px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-muted);
}

.contact-hero-cta {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 18px;
  align-items: start;
}

.contact-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 26px;
  background: rgba(10, 14, 28, 0.55);
  border: 1px solid rgba(125,211,252,0.14);
  box-shadow: 0 22px 80px rgba(0,0,0,0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.contact-card-head h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.muted {
  color: var(--text-muted);
  line-height: 1.65;
}

.contact-card-head .muted {
  margin-top: 10px;
}

.contact-form {
  margin-top: 18px;
}

.f-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.f-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.f-field label {
  font-weight: 850;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(229,231,235,0.90);
}

.f-field input,
.f-field select,
.f-field textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(125,211,252,0.16);
  background: rgba(12, 16, 32, 0.42);
  color: rgba(229,231,235,0.92);
  padding: 12px 12px;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

/* ====== SELECT: make it not look like a default OS widget ====== */
.f-field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  line-height: 1.2;
  cursor: pointer;

  background-image:
    linear-gradient(45deg, transparent 50%, rgba(229,231,235,0.85) 50%),
    linear-gradient(135deg, rgba(229,231,235,0.85) 50%, transparent 50%),
    linear-gradient(to right, rgba(125,211,252,0.18), rgba(125,211,252,0.18));
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%,
    calc(100% - 36px) 50%;
  background-size:
    6px 6px,
    6px 6px,
    1px 18px;
  background-repeat: no-repeat;
}

.f-field select option {
  background: #0b1020;
  color: rgba(229,231,235,0.92);
}

/* Textarea */
.f-field textarea {
  resize: vertical;
  min-height: 160px;
}

.f-field input:focus,
.f-field select:focus,
.f-field textarea:focus {
  border-color: rgba(125,211,252,0.45);
  box-shadow: 0 0 0 4px rgba(125,211,252,0.10);
}

.hint {
  font-size: 12px;
  color: rgba(229,231,235,0.62);
  margin-top: -2px;
}

/* ====== CHECKBOX: custom, clean, consistent ====== */
.f-check {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  user-select: none;
  cursor: pointer;
}

.f-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.f-check span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(229,231,235,0.86);
  font-weight: 800;
  font-size: 13px;
}

.f-check span::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 6px;

  background: rgba(12, 16, 32, 0.42);
  border: 1px solid rgba(125,211,252,0.18);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.25);

  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.f-check input:focus-visible + span::before {
  border-color: rgba(125,211,252,0.55);
  box-shadow: 0 0 0 4px rgba(125,211,252,0.12), inset 0 0 0 1px rgba(0,0,0,0.25);
}

.f-check input:checked + span::before {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-color: rgba(125,211,252,0.55);
  transform: translateY(-1px);
}

.f-check input:checked + span::after {
  content: "";
  position: relative;
  margin-left: -26px;
  width: 10px;
  height: 6px;
  border-left: 2px solid #071016;
  border-bottom: 2px solid #071016;
  transform: rotate(-45deg);
}

.form-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.btn.primary {
  color: #071016;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 34px rgba(125, 211, 252, 0.18);
}

.btn.ghost {
  color: var(--text-main);
  background: rgba(18, 22, 42, 0.35);
  border-color: rgba(125, 211, 252, 0.22);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 46px rgba(125, 211, 252, 0.22);
  border-color: rgba(125, 211, 252, 0.45);
}

.form-note {
  margin-top: 12px;
  color: rgba(229,231,235,0.62);
  font-size: 12px;
  line-height: 1.6;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.side-card {
  border-radius: 22px;
  padding: 18px;
  background: rgba(10, 14, 28, 0.52);
  border: 1px solid rgba(125,211,252,0.14);
  box-shadow: 0 18px 64px rgba(0,0,0,0.40);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.side-card h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.side-card .muted {
  margin-top: 8px;
  font-size: 14px;
}

.side-actions {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.side-mini {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 10px;
  align-items: baseline;
  padding-top: 12px;
  border-top: 1px solid rgba(125,211,252,0.10);
}

.mini-k {
  color: rgba(229,231,235,0.60);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mini-v {
  color: rgba(229,231,235,0.88);
  font-weight: 850;
}

.contact-lines {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.cline {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10px;
  align-items: center;
  padding: 10px 10px;
  border-radius: 14px;
  background: rgba(12, 16, 32, 0.34);
  border: 1px solid rgba(125,211,252,0.10);
}

.cline-k {
  color: rgba(229,231,235,0.65);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cline-v {
  color: rgba(229,231,235,0.92);
  font-weight: 850;
  text-decoration: none;
}

.cline-v:hover {
  text-decoration: underline;
}

.proof-list {
  margin: 12px 0 0;
  padding-left: 18px;
}

.proof-list li {
  margin: 8px 0;
  color: var(--text-muted);
  line-height: 1.55;
}

.proof-badges {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.proof-badges span {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(125,211,252,0.08);
  border: 1px solid rgba(125,211,252,0.16);
  color: rgba(229,231,235,0.92);
}

.contact-cta {
  border-radius: 26px;
  padding: 26px;
  background:
    radial-gradient(760px 280px at 22% 20%, rgba(125,211,252,0.14), transparent 60%),
    radial-gradient(700px 240px at 84% 0%, rgba(167,139,250,0.12), transparent 55%),
    rgba(10, 14, 28, 0.55);
  border: 1px solid rgba(125,211,252,0.14);
  box-shadow: 0 22px 80px rgba(0,0,0,0.45);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.contact-cta-left h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.contact-cta-left .muted {
  margin-top: 10px;
  max-width: 72ch;
}

.contact-cta-right {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .contact-hero {
    padding-top: 110px;
  }

  .f-grid {
    grid-template-columns: 1fr;
  }

  .cline {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
