.page-contact {
  --item-color: var(--c-ink);
  position: relative;
  overflow-x: clip;
  background: var(--c-black);
  color: var(--c-white);
}

.page-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 14px),
    radial-gradient(ellipse 900px 420px at 78% -4%, rgba(11, 102, 35, .45), transparent 65%);
}

.page-contact__layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: var(--maxw, 1280px);
  margin-inline: auto;
  padding: 28px 20px 72px;
}

@media (min-width: 980px) {
  .page-contact__layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 44px;
    padding: 36px 28px 96px;
  }
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 980px) {
  .contact-aside {
    flex: 0 0 280px;
    width: 280px;
    position: sticky;
    top: calc(var(--header-h, 76px) + 24px);
    align-self: flex-start;
  }
}

.contact-side-card {
  padding: 16px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .09);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

.contact-status__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-gray-bright);
}

.contact-status__label::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--c-gold);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.contact-status__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-status__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, .85);
}

.contact-status__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: var(--c-lime);
  box-shadow: 0 0 0 3px rgba(46, 139, 87, .22);
}

.contact-status__dot--gold {
  background: var(--c-gold);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, .18);
}

.contact-status__dot--off {
  background: var(--c-gray);
  box-shadow: 0 0 0 3px rgba(158, 158, 158, .16);
}

.contact-status__foot {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  font-size: 12px;
  line-height: 1.5;
  color: var(--c-gray);
}

.contact-aside__nav {
  display: flex;
  flex-direction: column;
}

.contact-aside__nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 2px;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: color .2s ease, padding-left .2s ease;
}

.contact-aside__nav a:first-of-type {
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.contact-aside__nav a:hover {
  color: var(--c-gold);
  padding-left: 6px;
}

.contact-aside__nav a span {
  font-size: 11px;
  color: var(--c-gold);
}

.contact-aside__quick {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-aside__quick a {
  padding: 8px 0;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: .03em;
  color: var(--c-white);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, .12);
  word-break: break-all;
  transition: color .2s ease;
}

.contact-aside__quick a:hover {
  color: var(--c-gold);
}

.contact-main {
  flex: 1 1 auto;
  min-width: 0;
}

.page-contact .breadcrumbs {
  margin-bottom: 14px;
}

.contact-head {
  position: relative;
  margin-bottom: 32px;
  padding-bottom: 22px;
  border-bottom: 2px solid var(--c-green);
}

.contact-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 72px;
  height: 4px;
  background: var(--c-gold);
}

.contact-head h1 {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: clamp(34px, 5vw, 52px);
  line-height: .95;
  text-transform: uppercase;
  color: var(--c-white);
}

.contact-head__lead {
  margin: 0;
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .74);
}

.contact-sec-head {
  margin-bottom: 18px;
}

.contact-sec-head__desc {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--c-gray);
}

.contact-channels {
  padding-bottom: 8px;
}

.contact-channels__media {
  max-width: 460px;
  margin: 0 0 26px;
  padding: 8px;
  background: rgba(255, 255, 255, .05);
  border-left: 4px solid var(--c-gold);
}

.contact-channels__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 400 / 250;
  object-fit: cover;
}

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

.contact-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 22px 18px;
  background: var(--c-paper);
  color: var(--item-color);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  transition: transform .3s ease, box-shadow .3s ease;
}

.contact-item--gold {
  background: var(--c-gold);
}

.contact-item--paper {
  background: var(--c-paper);
}

.contact-item--green {
  --item-color: var(--c-white);
  background: var(--c-green);
}

.contact-item--ink {
  --item-color: var(--c-white);
  background: #141414;
  box-shadow: inset 0 0 0 1px rgba(255, 215, 0, .4);
}

@media (min-width: 760px) {
  .contact-item {
    flex-direction: row;
    align-items: center;
    gap: 18px;
    padding: 24px;
  }
}

@media (hover: hover) {
  .contact-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow);
  }
}

.contact-item__idx {
  position: absolute;
  top: 8px;
  right: 12px;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: currentColor;
  opacity: .18;
}

.contact-item__icon {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  background: rgba(0, 0, 0, .1);
  color: var(--item-color);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.contact-item--green .contact-item__icon,
.contact-item--ink .contact-item__icon {
  background: rgba(255, 255, 255, .12);
  color: var(--c-gold);
}

.contact-item__body {
  flex: 1 1 auto;
  min-width: 0;
}

.contact-item__cat {
  margin: 0 0 4px;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: currentColor;
  opacity: .72;
}

.contact-item__value {
  display: inline-block;
  margin-bottom: 6px;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.3;
  color: inherit;
  text-decoration: none;
  word-break: break-word;
}

.contact-item__value:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-item__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: currentColor;
  opacity: .8;
}

.contact-item__act {
  flex: 0 0 auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  background: rgba(0, 0, 0, .1);
  color: inherit;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  transition: background .2s ease;
}

.contact-item__act:hover {
  background: rgba(0, 0, 0, .2);
}

.contact-item--green .contact-item__act,
.contact-item--ink .contact-item__act {
  background: rgba(255, 255, 255, .12);
  color: var(--c-white);
}

.contact-item--green .contact-item__act:hover,
.contact-item--ink .contact-item__act:hover {
  background: rgba(255, 255, 255, .22);
}

.contact-item__act--static {
  background: transparent;
}

@media (min-width: 760px) {
  .contact-item__act {
    align-self: center;
  }
}

.contact-map {
  margin: 26px 0 0;
  padding: 8px;
  background: #131313;
  border-left: 4px solid var(--c-gold);
}

.contact-map img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 300;
  object-fit: cover;
}

.contact-map figcaption {
  padding: 10px 4px 2px;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-gray);
}

.work-hours {
  margin-top: 44px;
  padding: 22px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .09);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.work-hours__grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 760px) {
  .work-hours__grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
}

.work-hours__slot {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
}

.work-hours__slot--online {
  background: var(--c-green);
}

.work-hours__slot--off {
  background: #171717;
  border: 1px solid rgba(255, 255, 255, .08);
}

.work-hours__dot {
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: var(--c-lime);
  box-shadow: 0 0 0 4px rgba(46, 139, 87, .24);
}

.work-hours__slot--off .work-hours__dot {
  background: var(--c-gray);
  box-shadow: 0 0 0 4px rgba(158, 158, 158, .16);
}

.work-hours__title {
  margin: 0 0 4px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--c-white);
}

.work-hours__slot--off .work-hours__title {
  color: rgba(255, 255, 255, .9);
}

.work-hours__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .78);
}

.work-hours__note {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 13px;
  color: var(--c-gray);
}

.support-tabs {
  margin-top: 44px;
}

.page-contact .tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-contact .tab {
  appearance: none;
  padding: 10px 16px;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: .07em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .07);
  color: var(--c-white);
  border: 1px solid rgba(255, 255, 255, .14);
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: background .2s ease, color .2s ease;
}

.page-contact .tab:hover {
  background: rgba(255, 255, 255, .14);
}

.page-contact .tab[aria-selected="true"] {
  background: var(--c-gold);
  color: var(--c-ink);
  border-color: var(--c-gold);
}

.page-contact .tab-panel {
  display: block;
  margin-top: 14px;
  padding: 22px 20px;
  background: var(--c-paper);
  color: var(--c-ink);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.support-qa {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.support-qa li {
  padding-left: 14px;
  border-left: 3px solid var(--c-green);
}

.support-qa__q {
  display: block;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.4;
  color: var(--c-green);
  text-decoration: none;
}

.support-qa__q:hover {
  color: var(--c-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-qa__a {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #4d4d4d;
}

.support-tabs__more {
  margin-top: 18px;
}

.contact-legal {
  margin-top: 28px;
  padding: 18px;
  background: rgba(255, 255, 255, .04);
  border-left: 3px solid var(--c-green);
}

.contact-legal p {
  margin: 6px 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .74);
}

.contact-legal a {
  color: var(--c-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-legal a:hover {
  color: var(--c-white);
}
