.page-contact {
  --contact-glow: rgba(255, 179, 71, 0.07);
  --contact-grad: linear-gradient(135deg, #FFB347 0%, #FF6B35 100%);
  --contact-card-bg: rgba(18, 42, 74, 0.72);
  --contact-card-line: rgba(169, 191, 212, 0.14);
  --contact-blue-line: rgba(46, 95, 142, 0.36);
  min-height: 100vh;
  background: var(--bg-deep);
  color: var(--white);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

@keyframes page-contact__blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes page-contact__pulse {
  0% { transform: scale(0.85); opacity: 0.55; }
  80%, 100% { transform: scale(1.45); opacity: 0; }
}

@keyframes page-contact__flow {
  0% { transform: translateX(-130%) skewX(-18deg); }
  60%, 100% { transform: translateX(230%) skewX(-18deg); }
}

.page-contact__commandbar {
  border-bottom: 1px solid rgba(169, 191, 212, 0.12);
  background: rgba(11, 30, 59, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.page-contact__commandbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
  flex-wrap: wrap;
}

.page-contact__crumb-sep {
  margin: 0 6px;
  color: var(--muted);
  opacity: 0.5;
}

.page-contact__hero {
  position: relative;
  padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px);
  background:
    radial-gradient(ellipse 70% 55% at 88% 10%, var(--contact-glow) 0%, transparent 60%),
    radial-gradient(ellipse 45% 35% at 12% 88%, rgba(46, 95, 142, 0.18) 0%, transparent 70%);
}

.page-contact__hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.page-contact__hero-copy h1 {
  margin: 8px 0 20px;
  font-size: clamp(44px, 8vw, 92px);
  font-weight: 200;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.page-contact__hero-lead {
  max-width: 640px;
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
}

.page-contact__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.page-contact__hero-btn {
  min-width: 168px;
}

.page-contact__hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-contact__hero-meta .index-label {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid rgba(169, 191, 212, 0.16);
  border-radius: var(--radius-pill);
  background: rgba(18, 42, 74, 0.42);
}

.page-contact__console {
  background: linear-gradient(165deg, rgba(18, 42, 74, 0.92) 0%, rgba(11, 30, 59, 0.98) 100%);
  border: 1px solid rgba(255, 179, 71, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(255, 179, 71, 0.04);
  overflow: hidden;
  max-width: 620px;
}

.page-contact__console-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(169, 191, 212, 0.1);
  background: rgba(11, 30, 59, 0.62);
}

.page-contact__console-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.page-contact__console-dot--red {
  background: #FF6B6B;
}

.page-contact__console-dot--yellow {
  background: #FFD980;
}

.page-contact__console-dot--green {
  background: #4ADE80;
}

.page-contact__console-title {
  margin-left: auto;
  opacity: 0.7;
}

.page-contact__console-body {
  padding: 24px 22px 26px;
}

.page-contact__console-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}

.page-contact__console-line--status {
  margin-top: 22px;
  margin-bottom: 8px;
}

.page-contact__console-prompt {
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 14px;
}

.page-contact__console-cmd {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--white);
  opacity: 0.9;
}

.page-contact__console-row {
  display: grid;
  grid-template-columns: 58px 18px 1fr;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(169, 191, 212, 0.1);
}

.page-contact__console-key {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.page-contact__console-arrow {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gold);
}

.page-contact__console-val {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
  color: var(--white);
  word-break: break-all;
}

.page-contact__console-result {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 179, 71, 0.09);
  border: 1px solid rgba(255, 179, 71, 0.22);
  color: var(--highlight);
  font-size: 14px;
  font-weight: 600;
}

.page-contact__console-result svg {
  flex: 0 0 auto;
}

.page-contact__console-cursor {
  width: 9px;
  height: 18px;
  margin-top: 16px;
  background: var(--gold);
  border-radius: 2px;
  animation: page-contact__blink 1.1s step-end infinite;
}

.page-contact__channels {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 7vw, 88px) 0;
}

.page-contact__channels::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 30, 59, 1) 0%, rgba(18, 42, 74, 0.24) 50%, rgba(11, 30, 59, 1) 100%);
  pointer-events: none;
  z-index: 0;
}

.page-contact__channels-inner {
  position: relative;
  z-index: 1;
}

.page-contact__section-head {
  margin-bottom: clamp(28px, 5vw, 44px);
  max-width: 720px;
}

.page-contact__section-head .index-label {
  color: var(--gold);
}

.page-contact__section-head h2 {
  margin: 10px 0 14px;
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.page-contact__section-head p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}

.page-contact__channel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 24px;
}

.page-contact__channel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  background: var(--contact-card-bg);
  border: 1px solid var(--contact-card-line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.32s ease, border-color 0.32s ease, background 0.32s ease;
}

.page-contact__channel-card--email {
  border-top: 2px solid var(--gold);
}

.page-contact__channel-card--phone {
  border-top: 2px solid var(--orange);
}

.page-contact__channel-card--address {
  border-top: 2px solid var(--bg-accent);
}

.page-contact__channel-card:hover {
  transform: translateY(-4px);
  background: rgba(27, 58, 92, 0.64);
  border-color: rgba(255, 179, 71, 0.3);
}

.page-contact__channel-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 179, 71, 0.09);
  color: var(--gold);
  margin-bottom: 4px;
}

.page-contact__channel-card--phone .page-contact__channel-icon {
  background: rgba(255, 107, 53, 0.12);
  color: var(--orange);
}

.page-contact__channel-card--address .page-contact__channel-icon {
  background: rgba(46, 95, 142, 0.22);
  color: #7FA8CE;
}

.page-contact__channel-value {
  font-family: var(--font-mono);
  font-size: clamp(15px, 2.4vw, 18px);
  line-height: 1.5;
  color: var(--white);
  word-break: break-all;
  font-weight: 600;
}

.page-contact__channel-note {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.page-contact__reasons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: rgba(27, 58, 92, 0.32);
  border: 1px solid rgba(169, 191, 212, 0.1);
  margin-bottom: 18px;
}

.page-contact__reasons-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-contact__reasons-list span {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 179, 71, 0.08);
  border: 1px solid rgba(255, 179, 71, 0.18);
  color: var(--highlight);
  font-size: 13px;
}

.page-contact__trust-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 24px;
  border-left: 3px solid var(--gold);
  background: rgba(18, 42, 74, 0.5);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.page-contact__trust-row p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.page-contact__channels-ambient {
  position: absolute;
  right: -90px;
  top: 44%;
  width: min(460px, 56%);
  opacity: 0.15;
  pointer-events: none;
  filter: blur(2px);
  z-index: 0;
}

.page-contact__channels-ambient-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.page-contact__response {
  position: relative;
  padding: clamp(44px, 7vw, 88px) 0;
  overflow: hidden;
}

.page-contact__response::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  background: linear-gradient(120deg, transparent 12%, rgba(46, 95, 142, 0.22) 58%, rgba(255, 179, 71, 0.05) 100%);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-contact__response-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

.page-contact__response-copy {
  max-width: 620px;
}

.page-contact__response-copy .index-label {
  color: var(--orange);
}

.page-contact__response-copy h2 {
  margin: 10px 0 18px;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 300;
  letter-spacing: -0.03em;
}

.page-contact__response-copy p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 16px;
}

.page-contact__response-btn {
  margin-top: 10px;
}

.page-contact__response-gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  justify-self: center;
}

.page-contact__gauge-ring {
  position: relative;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: conic-gradient(from 135deg, var(--gold) 0deg, var(--orange) 230deg, rgba(169, 191, 212, 0.14) 230deg 360deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 60px rgba(255, 179, 71, 0.12);
}

.page-contact__gauge-core {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: var(--bg-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid rgba(255, 179, 71, 0.1);
}

.page-contact__gauge-num {
  font-size: 58px;
  font-weight: 200;
  line-height: 1;
  color: var(--white);
  font-family: var(--font-mono);
}

.page-contact__gauge-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 179, 71, 0.45);
  animation: page-contact__pulse 2.6s ease-out infinite;
  pointer-events: none;
}

.page-contact__gauge-floor {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.page-contact__gauge-floor .index-label {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(18, 42, 74, 0.7);
  border: 1px solid rgba(169, 191, 212, 0.12);
  border-radius: var(--radius-pill);
}

.page-contact__map {
  padding: clamp(44px, 7vw, 88px) 0;
}

.page-contact__section-head--map .index-label {
  color: #7FA8CE;
}

.page-contact__map-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(46, 95, 142, 0.3);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
  background: var(--bg-panel);
}

.page-contact__map-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 640px;
}

.page-contact__map-overlay {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(11, 30, 59, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 179, 71, 0.24);
}

.page-contact__map-pin {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(255, 179, 71, 0.75);
}

.page-contact__map-coord {
  color: var(--highlight);
}

.page-contact__map-tag {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: rgba(11, 30, 59, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 179, 71, 0.2);
  color: var(--white);
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.page-contact__map-tag svg {
  flex: 0 0 auto;
  color: var(--gold);
}

.page-contact__self {
  padding: clamp(44px, 7vw, 88px) 0 72px;
  position: relative;
  background:
    radial-gradient(ellipse 50% 40% at 15% 10%, rgba(255, 179, 71, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 45% 45% at 90% 85%, rgba(255, 107, 53, 0.07) 0%, transparent 70%);
}

.page-contact__self .page-contact__section-head {
  margin-bottom: 32px;
}

.page-contact__self-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.page-contact__self-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 26px;
  border-radius: var(--radius-md);
  background: rgba(18, 42, 74, 0.8);
  border: 1px solid rgba(169, 191, 212, 0.12);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  text-decoration: none;
}

.page-contact__self-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent);
  transform: translateX(-130%) skewX(-18deg);
  pointer-events: none;
}

.page-contact__self-item:hover {
  transform: translateY(-3px);
  background: rgba(27, 58, 92, 0.78);
  border-color: rgba(255, 179, 71, 0.3);
}

.page-contact__self-item:hover::after {
  animation: page-contact__flow 0.9s ease;
}

.page-contact__self-item strong {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-top: 4px;
}

.page-contact__self-item > span:not(.index-label) {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.page-contact__self-go {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--gold);
  opacity: 0.85;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.page-contact__self-item:hover .page-contact__self-go {
  transform: translate(6px, -50%);
  opacity: 1;
}

.page-contact__self-home {
  min-width: 200px;
}

@media (min-width: 640px) {
  .page-contact__self-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-contact__channel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-contact__channel-card--address {
    grid-column: span 2;
  }
}

@media (min-width: 992px) {
  .page-contact__hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .page-contact__channel-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-contact__channel-card--address {
    grid-column: auto;
  }

  .page-contact__response-wrap {
    grid-template-columns: 1fr 0.9fr;
  }

  .page-contact__response-gauge {
    justify-self: end;
  }

  .page-contact__self-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-contact__trust-row {
    flex-direction: row;
    align-items: flex-start;
    gap: 28px;
  }

  .page-contact__trust-row .index-label {
    flex: 0 0 auto;
    margin-top: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-contact__gauge-pulse,
  .page-contact__console-cursor,
  .page-contact__self-item::after {
    animation: none;
  }

  .page-contact__self-item:hover,
  .page-contact__channel-card:hover {
    transform: none;
  }
}
