.page-contact {
  --contact-deep: #0A0F1E;
  --contact-indigo: #3D2C5C;
  --contact-teal: #0B4C4F;
  --contact-orange: #FF6B35;
  --contact-blue: #00D4FF;
  --contact-text: #E8E8E8;
  --contact-muted: #A0A0A0;
  --contact-positive: #00FFAA;
  --contact-grid: rgba(0, 212, 255, 0.16);
  --contact-line: rgba(0, 212, 255, 0.32);
  background-color: var(--contact-deep);
  background-image:
    linear-gradient(var(--contact-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--contact-grid) 1px, transparent 1px);
  background-size: 44px 44px;
}

.page-contact img {
  max-width: 100%;
  height: auto;
}

.contact-visual-band {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid var(--contact-line);
  background:
    linear-gradient(115deg, rgba(10, 15, 30, 0.96) 0%, rgba(61, 44, 92, 0.88) 55%, rgba(11, 76, 79, 0.78) 100%);
}

.contact-visual-band-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.contact-hero {
  position: relative;
  z-index: 1;
  padding-top: 64px;
  padding-bottom: 48px;
}

.page-contact .breadcrumb {
  margin: 0 0 36px;
  font-size: 14px;
}

.page-contact .breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.page-contact .breadcrumb li {
  color: var(--contact-muted);
}

.page-contact .breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(0, 212, 255, 0.4);
}

.page-contact .breadcrumb a {
  color: var(--contact-blue);
  text-decoration: none;
  transition: color 0.25s ease;
}

.page-contact .breadcrumb a:hover,
.page-contact .breadcrumb a:focus-visible {
  color: var(--contact-orange);
  outline: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--contact-orange);
}

.contact-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--contact-orange);
  transform: rotate(45deg);
  flex: none;
}

.contact-hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-size: var(--header-huge);
  font-weight: 700;
  line-height: 1.12;
  color: var(--contact-text);
}

.contact-lead {
  max-width: 640px;
  margin: 0 0 30px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--contact-muted);
}

.contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-contact .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 15px;
  letter-spacing: 1px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.page-contact .btn--primary {
  background: var(--contact-orange);
  color: var(--contact-deep);
}

.page-contact .btn--primary:hover,
.page-contact .btn--primary:focus-visible {
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.25), 0 0 24px rgba(255, 107, 53, 0.35);
}

.page-contact .btn--ghost {
  background: transparent;
  border: 1px solid var(--contact-blue);
  color: var(--contact-blue);
}

.page-contact .btn--ghost:hover,
.page-contact .btn--ghost:focus-visible {
  outline: none;
  background: rgba(0, 212, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.18), 0 0 20px rgba(0, 212, 255, 0.16);
}

.contact-cards-section {
  padding: 64px 0;
}

.contact-section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.contact-section-head h2 {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: var(--header-large);
  font-weight: 700;
  line-height: 1.2;
  color: var(--contact-text);
}

.contact-section-desc {
  margin: 0;
  color: var(--contact-muted);
  line-height: 1.75;
}

.contact-split {
  display: grid;
  gap: 24px;
}

.contact-channel-main,
.contact-channel-side {
  display: grid;
  gap: 24px;
}

.page-contact .card {
  background: rgba(10, 15, 30, 0.72);
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: 6px;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.28);
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.page-contact .card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 10px 0 rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 212, 255, 0.35);
}

.contact-card {
  position: relative;
}

.contact-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  color: var(--contact-blue);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.contact-card h3 {
  margin: 16px 0 8px;
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--contact-text);
}

.contact-card-value {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1.5;
  color: var(--contact-orange);
  word-break: break-all;
}

.contact-card-note {
  margin: 0;
  color: var(--contact-muted);
  font-size: 14px;
  line-height: 1.65;
}

.contact-card--mail {
  border-left: 3px solid var(--contact-orange);
}

.contact-card--phone {
  border-left: 3px solid var(--contact-blue);
}

.contact-card--address {
  border-left: 3px solid var(--contact-positive);
}

.contact-map-tip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 12px;
  border: 1px dashed rgba(0, 212, 255, 0.3);
  border-radius: 4px;
  font-size: 12px;
  color: var(--contact-muted);
  background: rgba(0, 212, 255, 0.04);
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.contact-map-tip:hover,
.contact-map-tip:focus-within {
  background: rgba(0, 212, 255, 0.08);
  border-color: rgba(0, 212, 255, 0.55);
}

.contact-map-svg {
  flex: none;
}

.contact-channel-photo {
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: 6px;
  background: var(--contact-deep);
}

.contact-channel-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.contact-feedback-section {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  border-top: 1px solid rgba(0, 212, 255, 0.18);
  border-bottom: 1px solid rgba(0, 212, 255, 0.18);
  background:
    linear-gradient(165deg, rgba(11, 76, 79, 0.4), rgba(10, 15, 30, 0.92) 65%),
    radial-gradient(circle at 85% 20%, rgba(0, 212, 255, 0.12), transparent 45%),
    var(--contact-deep);
}

.contact-feedback-section::before {
  content: "";
  position: absolute;
  bottom: -90px;
  left: -50px;
  width: 320px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.5), transparent);
  transform: rotate(-18deg);
}

.contact-feedback-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: -60px;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.14), transparent 70%);
  transform: rotate(15deg);
}

.contact-feedback-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
}

.contact-feedback-copy {
  max-width: 680px;
}

.contact-feedback-copy h2 {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: var(--header-large);
  font-weight: 700;
  line-height: 1.2;
  color: var(--contact-text);
}

.contact-feedback-steps {
  list-style: none;
  counter-reset: fb-step;
  margin: 28px 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.contact-feedback-steps li {
  position: relative;
  counter-increment: fb-step;
  padding-left: 42px;
  color: var(--contact-text);
  line-height: 1.65;
}

.contact-feedback-steps li::before {
  content: counter(fb-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--contact-orange);
  background: rgba(255, 107, 53, 0.12);
  border: 1px solid rgba(255, 107, 53, 0.4);
}

.contact-feedback-note {
  margin: 0;
  padding: 14px 16px;
  color: var(--contact-muted);
  font-size: 14px;
  line-height: 1.75;
  border-left: 3px solid var(--contact-blue);
  background: rgba(10, 15, 30, 0.5);
}

.contact-console {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(10, 15, 30, 0.85), rgba(11, 76, 79, 0.5));
  box-shadow: 12px 16px 0 rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.02);
  align-self: center;
}

.contact-console::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 20px;
  width: 64px;
  height: 2px;
  background: var(--contact-orange);
}

.contact-console-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.contact-console-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.3);
}

.contact-console-bar span:first-child {
  background: rgba(255, 107, 53, 0.6);
}

.contact-console-title {
  margin-bottom: 18px;
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--contact-text);
}

.contact-console-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 212, 255, 0.12);
}

.console-label {
  color: var(--contact-muted);
  font-size: 14px;
}

.console-value {
  text-align: right;
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--contact-blue);
}

.contact-console-send {
  margin-top: 20px;
  padding: 12px;
  text-align: center;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 15px;
  letter-spacing: 2px;
  color: var(--contact-deep);
  background: var(--contact-orange);
}

.contact-console-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  font-size: 34px;
  line-height: 1;
  color: rgba(0, 212, 255, 0.25);
  transform: rotate(-18deg);
}

.contact-boundary-section {
  position: relative;
  padding: 64px 0;
  background:
    linear-gradient(140deg, rgba(61, 44, 92, 0.65), rgba(10, 15, 30, 0.88)),
    repeating-linear-gradient(-60deg, transparent 0 22px, rgba(0, 212, 255, 0.045) 22px 23px);
}

.contact-boundary-grid {
  display: grid;
  gap: 32px;
}

.contact-boundary-main h2 {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: var(--header-large);
  font-weight: 700;
  line-height: 1.2;
  color: var(--contact-text);
}

.contact-boundary-lead {
  margin: 0 0 22px;
  color: var(--contact-text);
  line-height: 1.75;
}

.contact-boundary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.contact-boundary-list li {
  position: relative;
  padding: 14px 14px 14px 30px;
  border: 1px solid rgba(0, 212, 255, 0.14);
  border-radius: 4px;
  background: rgba(10, 15, 30, 0.45);
  color: var(--contact-muted);
  font-size: 15px;
  line-height: 1.65;
}

.contact-boundary-list li::before {
  content: "◆";
  position: absolute;
  left: 12px;
  top: 15px;
  font-size: 12px;
  color: var(--contact-orange);
}

.contact-boundary-list strong {
  color: var(--contact-text);
  font-weight: 600;
}

.contact-service-panel {
  align-self: start;
  padding: 24px;
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: 8px;
  background: rgba(10, 15, 30, 0.65);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.25);
}

.contact-service-panel h3 {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 212, 255, 0.2);
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--contact-text);
}

.contact-service-links {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.contact-service-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--contact-blue);
  text-decoration: none;
  transition: color 0.25s ease;
}

.contact-service-links a::before {
  content: "▸";
  color: var(--contact-orange);
}

.contact-service-links a:hover,
.contact-service-links a:focus-visible {
  color: var(--contact-orange);
  outline: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-service-fact {
  margin: 0;
  padding-top: 14px;
  border-top: 1px dashed rgba(0, 212, 255, 0.2);
  color: var(--contact-muted);
  font-size: 14px;
  line-height: 1.7;
}

@media (min-width: 640px) {
  .contact-split {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .contact-channel-main,
  .contact-channel-side {
    align-content: start;
  }

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

@media (min-width: 1024px) {
  .contact-visual-band {
    min-height: 620px;
  }

  .contact-hero {
    padding-top: 96px;
    padding-bottom: 72px;
  }

  .contact-hero h1 {
    max-width: 720px;
  }

  .contact-lead {
    font-size: 18px;
  }

  .contact-split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 32px;
  }

  .contact-channel-main,
  .contact-channel-side {
    grid-template-columns: 1fr;
  }

  .contact-feedback-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 48px;
  }

  .contact-boundary-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 48px;
  }
}
