/* ==============================
  Remote Support Page
============================== */

.contact-hero {
  position: relative;
  overflow: hidden;
  min-height: 336px;
  padding: 0;
  display: grid;
  align-items: center;
  background: #ffffff url("images/remote-hero-bg.webp") center center / cover no-repeat;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(247, 251, 255, 0.66) 0%,
      rgba(247, 251, 255, 0.42) 46%,
      rgba(247, 251, 255, 0.08) 100%
    );
}

.contact-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 46px;
  align-items: stretch;
}

.contact-hero-copy {
  position: relative;
  z-index: 1;
}

.contact-hero-kicker {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 7px 16px;
  color: #ffffff;
  background: #0089e8;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.contact-hero h1 {
  margin-bottom: 22px;
  color: #001b3f;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.045em;
}

.contact-hero-nowrap {
  white-space: nowrap;
}

.contact-hero-lead {
  width: min(620px, 100%);
  margin: 0;
  color: #334155;
  font-size: 16px;
  line-height: 1.95;
  font-weight: 800;
}

.contact-hero-visual {
  display: none;
}

.remote-flow-section {
  padding: 86px 0;
  background: #ffffff;
}

.remote-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.remote-flow-card {
  padding: 30px 28px;
  position: relative;
  background: #f7fbff;
  border-radius: 18px;
}

.remote-flow-card:not(:last-child)::after {
  content: "▶";
  position: absolute;
  top: 50%;
  right: -36px;
  z-index: 2;
  color: #0089e8;
  font-size: 44px;
  line-height: 1;
  font-weight: 900;
  transform: translateY(-50%);
}

.remote-flow-card span {
  display: inline-flex;
  margin-bottom: 16px;
  color: #0089e8;
  font-size: 26px;
  line-height: 1;
  font-weight: 900;
}

.remote-flow-card h3 {
  color: #001b3f;
}

.remote-flow-card p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.85;
  font-weight: 700;
}

.remote-terms-section {
  padding: 88px 0 104px;
  background: #f5f7fa;
}

.remote-terms-box {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 48px;
  background: #ffffff;
  border-radius: 24px;
}

.remote-terms-content {
  color: #334155;
}

.remote-terms-content h3 {
  margin: 30px 0 10px;
  color: #001b3f;
  font-size: 18px;
}

.remote-terms-content h3:first-child {
  margin-top: 0;
}

.remote-terms-content p {
  margin-bottom: 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.95;
  font-weight: 700;
}

.remote-consent-form {
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

.remote-agree-check {
  display: flex;
  justify-content: center;
  gap: 12px;
  color: #111827;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 900;
}

.remote-agree-check input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex: 0 0 auto;
}

.remote-download-button {
  min-width: 360px;
  margin-top: 24px;
  padding: 17px 30px;
  color: #ffffff;
  background: var(--color-main);
  border-radius: 999px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 900;
  box-shadow: none;
}

@media (max-width: 900px) {
  .contact-hero {
    min-height: 336px;
    padding: 0;
    background: #ffffff url("images/remote-hero-bg.webp") center center / cover no-repeat;
  }

  .contact-hero::before {
    background:
      linear-gradient(
        180deg,
        rgba(247, 251, 255, 0.82) 0%,
        rgba(247, 251, 255, 0.58) 32%,
        rgba(247, 251, 255, 0.28) 64%,
        rgba(247, 251, 255, 0.10) 100%
      );
  }

  .contact-hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-hero-visual {
    display: none;
  }

  .remote-flow-grid {
    grid-template-columns: 1fr;
  }

  .remote-flow-card:not(:last-child)::after {
    content: "▼";
    top: auto;
    right: auto;
    bottom: -34px;
    left: 50%;
    font-size: 34px;
    transform: translateX(-50%);
  }

  .remote-terms-box {
    padding: 36px 30px;
  }
}

@media (max-width: 520px) {
  .contact-hero {
    min-height: 336px;
    padding: 0;
    background: #ffffff url("images/remote-hero-bg.webp") center center / cover no-repeat;
  }

  .contact-hero::before {
    background:
      linear-gradient(
        180deg,
        rgba(247, 251, 255, 0.92) 0%,
        rgba(247, 251, 255, 0.84) 28%,
        rgba(247, 251, 255, 0.46) 52%,
        rgba(247, 251, 255, 0.16) 78%,
        rgba(247, 251, 255, 0.02) 100%
      );
  }

  .contact-hero h1 {
    font-size: 34px;
  }

  .contact-hero-lead {
    font-size: 14px;
  }

  .remote-terms-box {
    padding: 30px 22px;
    border-radius: 18px;
  }

  .remote-agree-check {
    justify-content: flex-start;
    text-align: left;
  }

  .remote-download-button {
    width: 100%;
    min-width: 0;
    font-size: 15px;
  }
}