.page-contact {
  --contact-gap: 16px;
  background: var(--cream);
}

.page-contact .contact-hero {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  padding: 32px 0 40px;
}

.page-contact .contact-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .38;
}

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

.page-contact .contact-hero .breadcrumb {
  margin-bottom: 18px;
}

.page-contact .contact-hero .page-title {
  margin: 0 0 10px;
  color: var(--deep);
}

.page-contact .contact-hero .page-lead {
  max-width: 640px;
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.page-contact .hero-shells {
  display: none;
}

.page-contact .contact-section {
  padding: 48px 0 8px;
}

.page-contact .contact-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--contact-gap);
  margin-top: 28px;
}

.page-contact .contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px 22px;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid transparent;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

.page-contact .contact-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
  border-color: var(--gold);
}

.page-contact .contact-card:focus-visible {
  outline: 4px solid var(--gold);
  outline-offset: 3px;
  transform: translateY(-3px);
}

.page-contact .contact-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 6px;
  border-radius: 50%;
  color: var(--cream);
}

.page-contact .contact-card-mail .contact-icon {
  background: var(--deep);
}

.page-contact .contact-card-phone .contact-icon {
  background: var(--coral-red);
}

.page-contact .contact-card-address .contact-icon {
  background: var(--seaweed);
}

.page-contact .contact-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--text-soft);
}

.page-contact .contact-value {
  font-weight: 800;
  font-size: 16px;
  color: var(--deep);
  word-break: break-all;
}

.page-contact .contact-hint {
  font-size: 13px;
  color: var(--text-soft);
}

.page-contact .feedback-section {
  margin-top: 40px;
  padding: 48px 0;
  background: var(--tint-seaweed);
}

.page-contact .feedback-wrap {
  display: grid;
  gap: 22px;
  align-items: stretch;
}

.page-contact .feedback-art {
  min-height: 140px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--mint);
}

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

.page-contact .feedback-panel {
  background: var(--surface);
  border-radius: 30px;
  padding: 28px 22px;
  box-shadow: var(--shadow);
}

.page-contact .feedback-form {
  margin-top: 8px;
}

.page-contact .field-block {
  margin-top: 20px;
}

.page-contact .field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--deep);
}

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

.page-contact .type-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 15px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--deep);
  cursor: default;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.page-contact .type-tag:hover,
.page-contact .type-tag:focus-visible {
  border-color: var(--deep);
  outline: none;
}

.page-contact .type-tag.is-active {
  background: var(--gold);
  border-color: var(--deep);
  box-shadow: 0 0 0 4px rgba(255, 215, 0, .22);
}

.page-contact .feedback-input {
  width: 100%;
  min-height: 128px;
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: 18px;
  background: var(--mint);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  line-height: 1.6;
  resize: vertical;
  box-shadow: inset 0 2px 6px rgba(30, 58, 95, .06), 0 1px 0 rgba(255, 255, 255, .7);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.page-contact .feedback-input:focus {
  outline: none;
  border-color: var(--seaweed);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(46, 139, 87, .14);
}

.page-contact .feedback-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.page-contact .feedback-cycle {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
}

.page-contact .status-section {
  padding: 48px 0;
  background: var(--tint-sand);
}

.page-contact .status-timeline {
  position: relative;
  display: grid;
  gap: var(--contact-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-contact .status-timeline::before {
  content: "";
  position: absolute;
  top: 33px;
  bottom: 33px;
  left: 31px;
  width: 3px;
  border-radius: 2px;
  background: var(--line);
  transform: translateX(-50%);
}

.page-contact .status-item {
  position: relative;
  min-height: 92px;
  padding: 22px 20px 22px 64px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.page-contact .status-dot {
  position: absolute;
  top: 22px;
  left: 20px;
  z-index: 1;
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

.page-contact .status-pending .status-dot {
  background: var(--fail);
  box-shadow: 0 0 0 6px rgba(220, 20, 60, .14);
}

.page-contact .status-progress .status-dot {
  background: var(--pending);
  box-shadow: 0 0 0 6px rgba(255, 140, 0, .16);
}

.page-contact .status-done .status-dot {
  background: var(--ok);
  box-shadow: 0 0 0 6px rgba(50, 205, 50, .16);
}

.page-contact .status-name {
  display: block;
  margin-bottom: 4px;
  font-weight: 800;
  color: var(--deep);
}

.page-contact .status-desc {
  display: block;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
}

.page-contact .related-section {
  padding: 48px 0;
  background: var(--tint-blush);
}

.page-contact .related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--contact-gap);
  margin-top: 26px;
}

.page-contact .related-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 24px;
  border-radius: 22px;
  background: var(--cream);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.page-contact .related-card:hover {
  background: #FFFFFF;
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

.page-contact .related-card:focus-visible {
  outline: 4px solid var(--gold);
  outline-offset: 3px;
}

.page-contact .related-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-weight: 800;
  color: var(--deep);
}

.page-contact .related-title::after {
  content: "→";
  font-weight: 700;
  color: var(--coral);
}

.page-contact .related-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
}

@media (min-width: 768px) {
  .page-contact .contact-hero {
    padding: 56px 0 72px;
  }

  .page-contact .hero-shells {
    position: absolute;
    right: 4%;
    bottom: 8px;
    z-index: 0;
    display: block;
    width: 260px;
    height: 150px;
  }

  .page-contact .hero-shell {
    position: absolute;
    display: block;
    border-radius: 52% 48% 46% 54% / 58% 56% 44% 42%;
    filter: saturate(.95);
  }

  .page-contact .hero-shell-coral {
    right: 16px;
    bottom: 0;
    width: 170px;
    height: 118px;
    background: var(--coral);
    opacity: .16;
  }

  .page-contact .hero-shell-sand {
    right: 142px;
    bottom: 22px;
    width: 122px;
    height: 92px;
    border-radius: 46% 54% 42% 58% / 50% 60% 40% 50%;
    background: var(--gold);
    opacity: .22;
  }

  .page-contact .hero-shell-seaweed {
    right: 34px;
    bottom: 30px;
    width: 96px;
    height: 108px;
    border-radius: 58% 42% 50% 50% / 52% 48% 56% 44%;
    background: var(--seaweed);
    opacity: .14;
  }

  .page-contact .contact-card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }

  .page-contact .feedback-wrap {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 28px;
  }

  .page-contact .feedback-art {
    min-height: 100%;
  }

  .page-contact .feedback-panel {
    padding: 36px 40px;
  }

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

  .page-contact .status-timeline::before {
    top: 45px;
    bottom: 45px;
    left: auto;
    right: 12%;
    left: 12%;
    width: auto;
    height: 3px;
    transform: none;
  }

  .page-contact .status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 0;
    padding: 32px 20px 28px;
    text-align: center;
  }

  .page-contact .status-dot {
    position: static;
    width: 26px;
    height: 26px;
    margin-bottom: 12px;
  }

  .page-contact .related-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

@media (min-width: 1200px) {
  .page-contact .hero-shells {
    right: 80px;
  }

  .page-contact .contact-section,
  .page-contact .related-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .page-contact .feedback-section,
  .page-contact .status-section {
    padding: 64px 0;
  }
}
