:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #6f6f73;
}
* {
  box-sizing: border-box;
}
html {
  background: #f3f2ee;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
.page-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(248, 246, 242, 0.62), rgba(255, 255, 255, 0.34)),
    url("background-office-v8.png") center / cover no-repeat;
}
.contact-card {
  width: min(100%, 620px);
  padding: clamp(30px, 6vw, 58px);
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 30px 90px rgba(37, 32, 29, 0.17);
  backdrop-filter: blur(20px) saturate(0.85);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #5d5d61;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow span {
  width: 28px;
  height: 2px;
  background: #bb342f;
}
h1 {
  margin: 0;
  max-width: 500px;
  font-size: clamp(54px, 11vw, 94px);
  line-height: 0.84;
  letter-spacing: -0.075em;
  font-weight: 800;
}
.intro {
  max-width: 430px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: clamp(16px, 2.3vw, 19px);
  line-height: 1.5;
}
.contact-list {
  display: grid;
  gap: 10px;
}
.contact-link {
  appearance: none;
  width: 100%;
  display: grid;
  grid-template-columns: 50px 1fr 30px;
  align-items: center;
  gap: 15px;
  min-height: 72px;
  padding: 10px 16px 10px 10px;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  border: 1px solid #e7e6e2;
  border-radius: 19px;
  background: #fff;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.contact-link:hover {
  transform: translateY(-2px);
  border-color: rgba(187, 52, 47, 0.36);
  box-shadow: 0 12px 30px rgba(20, 20, 20, 0.08);
}
.contact-link:focus-visible {
  outline: 3px solid rgba(0, 119, 255, 0.35);
  outline-offset: 3px;
}
.contact-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: #fff;
  border-radius: 15px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.mail {
  background: #161616;
  font-size: 23px;
}
.vk {
  background: #0077ff;
}
.max {
  background: linear-gradient(145deg, #6f5cff, #f03b79);
}
.phone {
  background: #16a36a;
  font-size: 21px;
}
.contact-copy {
  display: grid;
  gap: 5px;
}
.contact-copy strong {
  font-size: 16px;
  line-height: 1.1;
}
.contact-copy small {
  color: #858589;
  font-size: 13px;
}
.arrow {
  justify-self: center;
  color: #929296;
  font-size: 21px;
}
.contact-link:hover .arrow {
  transform: translate(2px, -2px);
  color: #151515;
}
.mail-fallback {
  display: grid;
  gap: 12px;
  margin-top: -2px;
  padding: 10px 14px;
  color: #737377;
  font-size: 12px;
  border: 1px dashed rgba(187, 52, 47, 0.26);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  animation: reveal 0.22s ease both;
}
.mail-fallback[hidden] {
  display: none;
}
.mail-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.mail-options a,
.copy-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  color: #972c28;
  font: 700 12px/1 Arial, Helvetica, sans-serif;
  text-decoration: none;
  border: 0;
  border-radius: 9px;
  background: rgba(187, 52, 47, 0.1);
  cursor: pointer;
}
.mail-options a:hover,
.copy-email:hover {
  background: rgba(187, 52, 47, 0.16);
}
.phone-toggle {
  border-color: rgba(22, 163, 106, 0.25);
  background: #fbfffd;
}
.chevron {
  justify-self: center;
  color: #929296;
  font-size: 24px;
  line-height: 1;
  transform: translateY(-3px);
  transition: transform 0.2s ease;
}
.chevron.open {
  transform: rotate(180deg) translateY(2px);
}
.call-details {
  display: grid;
  gap: 14px;
  margin-top: -2px;
  padding: 18px;
  border: 1px solid rgba(22, 163, 106, 0.22);
  border-radius: 19px;
  background: #f7fffb;
  animation: reveal 0.22s ease both;
}
.call-details[hidden] {
  display: none;
}
.schedule {
  display: grid;
  gap: 5px;
  color: #53575a;
  font-size: 14px;
  line-height: 1.35;
}
.schedule strong {
  margin-bottom: 3px;
  color: #202423;
  font-size: 15px;
}
.call-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 14px;
  background: #16a36a;
  box-shadow: 0 8px 20px rgba(22, 163, 106, 0.2);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}
.call-button:hover {
  transform: translateY(-1px);
  background: #118456;
}
.call-button:focus-visible {
  outline: 3px solid rgba(22, 163, 106, 0.3);
  outline-offset: 3px;
}
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
footer {
  margin-top: 26px;
  color: #99999d;
  font-size: 13px;
  text-align: center;
}
@media (max-width: 520px) {
  .page-shell {
    padding: 16px;
    place-items: center;
    background:
      linear-gradient(rgba(248, 246, 242, 0.58), rgba(255, 255, 255, 0.4)),
      url("background-mobile-v8.png") center / cover no-repeat;
  }
  .contact-card {
    min-height: calc(100svh - 32px);
    padding: 28px 20px 22px;
    border-radius: 26px;
  }
  h1 {
    font-size: clamp(56px, 18vw, 78px);
  }
  .intro {
    margin: 20px 0 27px;
  }
  .contact-link {
    grid-template-columns: 48px 1fr 24px;
    gap: 12px;
  }
  .contact-mark {
    width: 48px;
    height: 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
