.page-contact {
  --ct-radius: var(--r);
  --ct-hair: rgba(42, 58, 88, 0.55);
  --ct-card: #0D121B;
}

.page-contact .breadcrumb {
  padding-top: 18px;
}

.page-contact .breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.page-contact .breadcrumb__list li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line);
}

.page-contact .breadcrumb__list a {
  color: var(--muted);
  text-decoration: none;
}

.page-contact .breadcrumb__list a:hover {
  color: var(--cyan);
}

/* ---------- hero ---------- */

.contact-hero {
  position: relative;
  padding: clamp(26px, 5vw, 54px) 0 clamp(26px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(120% 140% at 6% -20%, rgba(0, 229, 199, 0.10), transparent 58%),
    radial-gradient(90% 120% at 100% 0%, rgba(255, 122, 26, 0.09), transparent 62%),
    var(--night);
}

.contact-hero__inner {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
}

.contact-hero__lead {
  max-width: 62ch;
}

.contact-hero h1 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 7vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--text);
}

.contact-hero .lede {
  margin: 16px 0 0;
  font-size: clamp(15px, 2.4vw, 17px);
  line-height: 1.75;
  color: var(--muted);
}

.contact-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--muted);
}

.contact-hero__facts li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-left: 12px;
  border-left: 2px solid var(--ct-hair);
}

.contact-hero__facts .mono {
  color: var(--cyan);
  font-size: 14px;
}

/* ---------- quick rail ---------- */

.quick-rail {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 21, 28, 0.96), rgba(10, 16, 32, 0.96));
  box-shadow: 0 18px 40px -32px rgba(0, 0, 0, 0.9);
}

.quick-rail__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--ct-hair);
}

.quick-rail__title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.quick-rail__row {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--ct-hair);
}

.quick-rail__row:last-child {
  border-bottom: 0;
}

.quick-rail__label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.quick-rail__value {
  display: block;
  line-height: 1.5;
  word-break: break-word;
  text-decoration: none;
}

.quick-rail__value--mono {
  font-family: var(--font-mono);
  font-size: 16px;
  letter-spacing: -0.01em;
}

.quick-rail__value--cyan {
  color: var(--cyan);
}

.quick-rail__value--orange {
  color: var(--orange);
  font-size: 20px;
}

.quick-rail__value--orange:hover {
  color: var(--text);
}

.quick-rail__value--text {
  font-size: 14px;
  color: var(--text);
}

.quick-rail__hint {
  font-size: 12px;
  color: var(--muted);
}

.quick-rail .copy-btn {
  justify-self: start;
  margin-top: 2px;
}

/* ---------- .page-contact layout ---------- */

.contact-body {
  padding: clamp(26px, 5vw, 56px) 0 clamp(40px, 7vw, 84px);
}

.contact-body__grid {
  display: grid;
  gap: clamp(20px, 4vw, 40px);
}

.contact-index {
  border: 1px solid var(--line);
  background: rgba(17, 21, 28, 0.7);
  padding: 14px;
}

.contact-index__title {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.contact-index__list {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0 0 4px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}

.contact-index__list li {
  flex: 0 0 auto;
}

.contact-index__link {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 9px 11px;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.contact-index__link:hover,
.contact-index__link:focus-visible {
  color: var(--text);
  border-left-color: var(--cyan);
  background: rgba(0, 229, 199, 0.06);
}

.contact-index__idx {
  font-size: 11px;
  color: var(--line);
}

.ct-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 26px);
  min-width: 0;
}

/* ---------- panels ---------- */

.ct-panel {
  position: relative;
  border: 1px solid var(--line);
  border-top: 2px solid var(--cyan);
  background: var(--panel);
  padding: clamp(18px, 3.4vw, 30px);
  min-width: 0;
}

.ct-panel--mail {
  border-top-color: var(--cyan);
}

.ct-panel--orange {
  border-top-color: var(--orange);
}

.ct-panel--amber {
  border-top-color: var(--amber);
}

.ct-panel--violet {
  border-top-color: var(--violet);
  background: linear-gradient(160deg, rgba(59, 42, 102, 0.32), rgba(17, 21, 28, 0.96) 58%);
}

.ct-head {
  display: grid;
  gap: 8px;
  margin-bottom: clamp(16px, 2.6vw, 22px);
}

.ct-head__idx {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--cyan);
}

.ct-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 3.4vw, 29px);
  line-height: 1.15;
  color: var(--text);
}

.ct-head p {
  margin: 0;
  max-width: 64ch;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

.ct-note {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-left: 2px solid var(--ct-hair);
  background: rgba(10, 16, 32, 0.7);
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}

.ct-note a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 199, 0.4);
}

/* ---------- channel cards ---------- */

.ct-channels {
  display: grid;
  gap: 12px;
}

.ct-channel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--ct-card);
}

.ct-channel--mail {
  border-left: 3px solid var(--cyan);
}

.ct-channel--phone {
  border-left: 3px solid var(--orange);
}

.ct-channel--address {
  border-left: 3px solid var(--violet);
}

.ct-channel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ct-channel__no {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.ct-channel__value {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--cyan);
  word-break: break-word;
}

.ct-channel__value a {
  color: var(--text);
  text-decoration: none;
  font-size: 17px;
}

.ct-channel__value a:hover {
  color: var(--orange);
}

.ct-channel__value--text {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
}

.ct-channel p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

.ct-channel__note {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding-top: 8px;
  border-top: 1px solid var(--ct-hair);
}

.ct-figure {
  margin: clamp(18px, 3vw, 26px) 0 0;
}

.page-contact .media__frame {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ct-card);
}

.page-contact .media__frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.ct-figure .media__frame {
  aspect-ratio: 12 / 7;
}

.ct-figure--night .media__frame {
  aspect-ratio: 16 / 10;
}

.page-contact .media__caption {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ---------- email scope ---------- */

.ct-scope {
  display: grid;
  border: 1px solid var(--line);
}

.ct-scope__item {
  display: grid;
  gap: 8px;
  padding: 15px 16px;
  background: var(--ct-card);
  border-bottom: 1px solid var(--ct-hair);
}

.ct-scope__item:last-child {
  border-bottom: 0;
}

.ct-scope__item h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.35;
  color: var(--text);
}

.ct-scope__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  font-size: 11px;
  color: var(--cyan);
}

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

/* ---------- hours ---------- */

.ct-hours {
  display: grid;
  gap: 12px;
}

.ct-hour {
  padding: 15px 16px;
  border: 1px solid var(--line);
  background: var(--ct-card);
  border-left: 3px solid var(--cyan);
}

.ct-hour--late {
  border-left-color: var(--amber);
}

.ct-hour--peak {
  border-left-color: var(--orange);
}

.ct-hour__time {
  margin: 0;
  font-size: 17px;
  color: var(--text);
}

.ct-hour--late .ct-hour__time {
  color: var(--amber);
}

.ct-hour--peak .ct-hour__time {
  color: var(--orange);
}

.ct-hour__label {
  margin: 6px 0 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.ct-hour__desc {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- address ---------- */

.ct-address {
  display: grid;
  gap: 16px;
}

.ct-address__card {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(10, 16, 32, 0.78);
}

.ct-address__value {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ct-hair);
}

.ct-address__hint {
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

.ct-address .ct-figure {
  margin: 0;
}

/* ---------- checklist ---------- */

.ct-checklist {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ct-checklist__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  background: var(--ct-card);
}

.ct-checklist__box {
  position: relative;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border: 1px solid rgba(0, 229, 199, 0.65);
  flex: 0 0 auto;
}

.ct-checklist__box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 10px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(42deg);
}

.ct-checklist__item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}

.ct-checklist__item p {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- cta ---------- */

.ct-cta {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3.6vw, 34px);
  border: 1px solid var(--line);
  border-top: 2px solid var(--orange);
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(0, 229, 199, 0.12), transparent 58%),
    linear-gradient(120deg, rgba(59, 42, 102, 0.55), rgba(10, 16, 32, 0.96) 62%);
}

.ct-cta h2 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 3.2vw, 28px);
  line-height: 1.15;
  color: var(--text);
}

.ct-cta__text p {
  margin: 12px 0 0;
  max-width: 56ch;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

.ct-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ct-legal {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.ct-legal a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 229, 199, 0.4);
}

/* ---------- responsive ---------- */

@media (min-width: 720px) {
  .ct-channels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ct-hours {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .contact-hero__facts {
    gap: 12px 28px;
  }
}

@media (min-width: 820px) {
  .contact-hero__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    align-items: end;
  }

  .ct-address {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
  }

  .ct-cta {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
}

@media (min-width: 1000px) {
  .contact-body__grid {
    grid-template-columns: 236px minmax(0, 1fr);
    align-items: start;
  }

  .contact-index {
    position: sticky;
    top: 96px;
  }

  .contact-index__list {
    flex-direction: column;
    overflow: visible;
    padding-bottom: 0;
  }

  .contact-index__link {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-index__link {
    transition: none;
  }
}
