.contact-page {
  background: #020609;
}

.contact-main {
  width: 100%;
  max-width: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 79% 9%, rgba(255, 93, 20, 0.18), transparent 24%),
    radial-gradient(circle at 72% 15%, rgba(28, 100, 139, 0.25), transparent 31%),
    radial-gradient(circle at 9% 57%, rgba(255, 196, 0, 0.06), transparent 22%),
    #020609;
}

.contact-hero,
.contact-links,
.contact-security-note,
.contact-return {
  width: min(100% - 48px, 1180px);
  margin-right: auto;
  margin-left: auto;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
  gap: clamp(52px, 7vw, 88px);
  align-items: center;
  width: min(100% - 48px, 1180px);
  min-height: calc(100vh - 88px);
  padding: clamp(68px, 8vw, 108px) 0;
}

.contact-eyebrow,
.contact-kicker,
.contact-card-type,
.contact-identity-label,
.contact-direct-detail > span {
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 1.65px;
}

.contact-hero h1 {
  max-width: 570px;
  margin: 20px 0 28px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(58px, 7.1vw, 96px);
  font-weight: 400;
  line-height: 0.94;
}

.contact-hero h1 span {
  color: var(--gold);
}

.contact-lead {
  max-width: 570px;
  margin: 0;
  color: #dce1e3;
  font-family: var(--serif);
  font-size: clamp(20px, 1.8vw, 25px);
  line-height: 1.58;
}

.contact-identity {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 500px;
  justify-self: end;
  border: 1px solid rgba(255, 164, 72, 0.62);
  background:
    linear-gradient(145deg, rgba(255, 115, 35, 0.12), transparent 35%),
    rgba(3, 9, 13, 0.96);
  box-shadow:
    0 32px 90px rgba(0, 0, 0, 0.55),
    0 0 52px rgba(255, 100, 25, 0.09);
}

.contact-identity::before {
  position: absolute;
  z-index: 2;
  top: -1px;
  left: -1px;
  width: 42%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #ff5a1f, transparent);
  content: "";
}

.contact-identity::after {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  width: 110px;
  height: 110px;
  border-right: 2px solid rgba(255, 196, 0, 0.65);
  border-bottom: 2px solid rgba(255, 196, 0, 0.65);
  content: "";
  pointer-events: none;
}

.contact-identity-visual {
  position: relative;
  overflow: hidden;
  background: #06050d;
}

.contact-identity-visual::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 54%, rgba(2, 6, 9, 0.76) 100%),
    linear-gradient(90deg, rgba(255, 101, 24, 0.1), transparent 32%);
  content: "";
  pointer-events: none;
}

.contact-identity-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  transition: transform 500ms ease;
}

.contact-identity:hover .contact-identity-visual img {
  transform: scale(1.018);
}

.contact-identity-body {
  position: relative;
  z-index: 1;
  padding: clamp(26px, 3vw, 34px);
  padding-bottom: 0;
}

.contact-identity h2 {
  margin: 11px 0 14px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(34px, 3.5vw, 44px);
  font-weight: 400;
  line-height: 1.08;
}

.contact-identity-intro {
  max-width: 680px;
  margin: 0;
  color: #bdc6c9;
  font-size: 15px;
  line-height: 1.65;
}

.contact-direct-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.65fr);
  gap: 12px;
  margin-top: 28px;
}

.contact-direct-detail {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.025);
}

.contact-direct-detail strong {
  margin-top: 7px;
  color: #fff;
  font-size: clamp(15px, 1.45vw, 18px);
  font-weight: 500;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.contact-links {
  padding: clamp(86px, 10vw, 132px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.contact-section-heading {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: clamp(34px, 6vw, 76px);
  margin-bottom: 52px;
}

.contact-section-number {
  width: 56px;
  margin: 0;
  padding-top: 10px;
  border-top: 2px solid var(--gold);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 20px;
}

.contact-section-heading .contact-kicker {
  margin-top: 15px;
}

.contact-section-heading h2,
.contact-security-note h2 {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(39px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.08;
}

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

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  min-height: 166px;
  padding: 28px 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(140deg, rgba(16, 60, 83, 0.3), transparent 48%),
    rgba(3, 9, 13, 0.92);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.contact-card-featured {
  border-color: rgba(255, 196, 0, 0.38);
}

.contact-card-wide {
  grid-column: 1 / -1;
}

.contact-card:hover,
.contact-card:focus-visible {
  border-color: var(--gold);
  background-color: rgba(10, 25, 34, 0.98);
  outline: none;
  transform: translateY(-3px);
}

.contact-card-icon {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border: 1px solid rgba(255, 196, 0, 0.35);
  background: rgba(255, 196, 0, 0.035);
}

.contact-card-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.contact-icon-rkj svg {
  overflow: visible;
}

.contact-icon-rkj text {
  fill: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: -0.3px;
  stroke: none;
}

.contact-icon-rkj {
  border-color: rgba(255, 196, 0, 0.72);
  background: linear-gradient(145deg, #1d1704, #070807);
  box-shadow: inset 0 0 18px rgba(255, 196, 0, 0.1);
}

.contact-icon-cyberdefender svg {
  fill: none;
  stroke-width: 1.55;
}

.contact-icon-cyberdefender {
  border-color: #00c9ff;
  background: radial-gradient(circle at 30% 25%, #0856a5, #022343 58%, #00101e);
  box-shadow: inset 0 0 18px rgba(0, 217, 255, 0.22);
}

.contact-icon-cyberdefender .cyberdefender-shield {
  stroke: #25ddff;
}

.contact-icon-cyberdefender .cyberdefender-star {
  stroke: #ffc400;
}

.contact-icon-linkedin {
  border-color: #0a66c2;
  background: #0a66c2;
}

.contact-icon-linkedin svg {
  fill: #fff;
  stroke: none;
}

.contact-icon-github {
  border-color: #fff;
  background: #fff;
}

.contact-icon-github svg {
  fill: #181717;
  stroke: none;
}

.contact-icon-facebook {
  border-color: #1877f2;
  background: #1877f2;
}

.contact-icon-facebook svg {
  fill: #fff;
  stroke: none;
}

.contact-icon-instagram {
  border-color: #e1306c;
  background:
    radial-gradient(circle at 32% 95%, #ffd600 0 18%, #ff7a00 29%, #ff0169 53%, transparent 70%),
    radial-gradient(circle at 68% 6%, #d300c5 0 18%, #7638fa 57%, #304ffe 100%);
}

.contact-icon-instagram svg {
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
}

.contact-icon-instagram svg circle:last-child {
  fill: #fff;
  stroke: none;
}

.contact-icon-x {
  border-color: rgba(255, 255, 255, 0.82);
  background: #000;
}

.contact-icon-x svg {
  fill: #fff;
  stroke: none;
}

.contact-card-linkedin .contact-card-type {
  color: #4ba3f7;
}

.contact-card-github .contact-card-type,
.contact-card-x .contact-card-type {
  color: #fff;
}

.contact-card-facebook .contact-card-type {
  color: #4d9cff;
}

.contact-card-instagram .contact-card-type {
  color: #ff5a9c;
}

.contact-card-cyberdefender .contact-card-type {
  color: #22d9ff;
}

.contact-card-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.contact-card-copy strong {
  margin: 6px 0 7px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 400;
  line-height: 1.12;
}

.contact-card-copy > span:last-child {
  color: #aeb7ba;
  font-size: 14px;
  line-height: 1.5;
}

.contact-card-arrow {
  color: var(--gold);
  font-size: 26px;
  transition: transform 180ms ease;
}

.contact-card:hover .contact-card-arrow,
.contact-card:focus-visible .contact-card-arrow {
  transform: translateX(5px);
}

.contact-security-note {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: clamp(38px, 6vw, 72px);
  align-items: center;
  padding: clamp(52px, 7vw, 76px);
  border: 1px solid rgba(255, 196, 0, 0.4);
  background:
    linear-gradient(135deg, rgba(255, 196, 0, 0.07), transparent 38%),
    rgba(3, 10, 14, 0.94);
}

.contact-security-icon {
  display: grid;
  width: 116px;
  height: 126px;
  place-items: center;
  border: 1px solid rgba(255, 196, 0, 0.35);
}

.contact-security-icon svg {
  width: 72px;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.contact-security-note h2 {
  margin-top: 10px;
  font-size: clamp(34px, 4.4vw, 54px);
}

.contact-security-note p:last-child {
  max-width: 900px;
  margin: 23px 0 0;
  color: #cbd1d3;
  font-size: 17px;
  line-height: 1.75;
}

.contact-return {
  display: block;
  padding: 70px 0 90px;
  color: var(--gold);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.contact-return:hover,
.contact-return:focus-visible {
  color: #fff;
}

@media (max-width: 940px) {
  .contact-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .contact-identity {
    max-width: 650px;
    justify-self: start;
  }

  .contact-section-heading,
  .contact-security-note {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .contact-hero,
  .contact-links,
  .contact-security-note,
  .contact-return {
    width: min(100% - 36px, 1180px);
  }

  .contact-hero {
    padding-top: 68px;
  }

  .contact-hero h1 {
    font-size: clamp(50px, 15vw, 72px);
  }

  .contact-identity-body {
    padding: 26px 22px 0;
  }

  .contact-direct-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-card-wide {
    grid-column: auto;
  }

  .contact-card {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 16px;
    padding: 24px 20px;
  }

  .contact-card-icon {
    width: 54px;
    height: 54px;
  }

  .contact-card-icon svg {
    width: 29px;
    height: 29px;
  }

  .contact-security-note {
    padding: 40px 26px;
  }
}
