.contact-page {
  background: #fff;
}

.contact-hero {
  position: relative;
  min-height: min(750px, calc(100vh - 76px));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.contact-hero-bg,
.contact-final-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}

.contact-hero-bg {
  background-image: url("../images/site/final/contact_hero.jpg");
  background-position: center top;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,14,20,.98) 0%, rgba(8,14,20,.88) 47%, rgba(8,14,20,.44) 78%, rgba(8,14,20,.18) 100%),
    linear-gradient(0deg, rgba(8,14,20,.72) 0%, rgba(8,14,20,0) 58%);
}

.contact-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 92px;
  padding-bottom: 92px;
}

.contact-hero-content > * {
  max-width: 790px;
}

.contact-hero h1 {
  margin-bottom: 26px;
  color: #fff;
  font-size: clamp(42px, 5.7vw, 69px);
  line-height: 1.38;
}

.contact-hero-lead {
  margin-bottom: 27px;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.9;
}

.contact-proof {
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.contact-proof-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
}

.contact-proof-grid > div {
  min-height: 132px;
  padding: 27px 18px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.contact-proof-grid > div:last-child {
  border-right: 0;
}

.contact-proof-grid strong,
.contact-proof-grid span {
  display: block;
}

.contact-proof-grid strong {
  color: var(--gold-dark);
  font-size: 26px;
}

.contact-proof-grid span {
  margin-top: 7px;
  color: var(--text-light);
  font-size: 12px;
}

.contact-method-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.contact-method-card {
  display: flex;
  min-height: 415px;
  flex-direction: column;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(17,26,35,.06);
}

.method-number {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 35px;
}

.contact-method-card h3 {
  margin: 25px 0 8px;
  font-size: 22px;
}

.contact-method-card > strong {
  margin-bottom: 15px;
  color: var(--gold-dark);
  font-size: 16px;
}

.contact-method-card p {
  color: var(--text-light);
}

.contact-method-card .button {
  width: 100%;
  margin-top: auto;
}

.consultation-guide-layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(42px,7vw,88px);
  align-items: center;
}

.consultation-guide-image img {
  width: 100%;
  aspect-ratio: 5/4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.consultation-guide-copy p {
  color: var(--text-light);
}

.consultation-points {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.consultation-points li {
  padding: 14px 15px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.consultation-points li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--gold-dark);
}

.line-guide-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 36px;
  align-items: start;
}

.line-guide-copy h2 {
  color: #fff;
}

.line-guide-copy > p {
  color: rgba(255,255,255,.68);
}

.line-help-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1px;
  margin-top: 28px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.14);
}

.line-help-grid article {
  min-height: 175px;
  padding: 23px;
  background: var(--ink);
}

.line-help-grid span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 28px;
}

.line-help-grid h3 {
  margin: 19px 0 7px;
  color: #fff;
  font-size: 16px;
}

.line-help-grid p {
  margin: 0;
  color: rgba(255,255,255,.64);
  font-size: 13px;
}

.line-sample {
  padding: 34px;
  background: #fff;
  border-radius: var(--radius);
}

.line-sample-label {
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
}

.line-sample h3 {
  margin: 12px 0 17px;
  font-size: 22px;
}

.line-sample blockquote {
  margin: 0 0 18px;
  padding: 20px;
  background: var(--muted);
  border-left: 4px solid var(--gold);
  color: var(--ink);
  line-height: 1.9;
}

.line-sample p {
  color: var(--text-light);
}

.form-notice {
  display: grid;
  grid-template-columns: 185px 1fr;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto 20px;
  padding: 22px 26px;
  color: #fff;
  background: #5f2525;
}

.form-notice p {
  margin: 0;
  color: rgba(255,255,255,.78);
}

.contact-form-shell {
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 28px;
  color: #fff;
  background: var(--ink);
}

.form-header span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

.form-header h3 {
  margin: 4px 0 0;
  color: #fff;
  font-size: 20px;
}

.form-header p {
  max-width: 390px;
  margin: 0;
  color: rgba(255,255,255,.65);
  font-size: 12px;
  text-align: right;
}

.contact-form-shell iframe {
  display: block;
  width: 100%;
  min-height: 1040px;
  border: 0;
}

.privacy-note {
  max-width: 980px;
  margin: 16px auto 0;
  color: var(--text-light);
  font-size: 12px;
  text-align: center;
}

.after-contact-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.after-contact-grid li {
  min-height: 280px;
  padding: 29px 25px;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: 14px;
}

.after-contact-grid span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 34px;
}

.after-contact-grid h3 {
  margin: 27px 0 10px;
  font-size: 18px;
}

.after-contact-grid p {
  margin: 0;
  color: var(--text-light);
}

.after-contact-link {
  margin-top: 28px;
}

.office-photo-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.office-photo-grid article {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.office-photo-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.office-photo-grid article > div {
  padding: 21px;
}

.office-photo-grid span {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 27px;
}

.office-photo-grid h3 {
  margin: 10px 0 7px;
  font-size: 18px;
}

.office-photo-grid p {
  margin: 0;
  color: var(--text-light);
  font-size: 13px;
}

.access-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: stretch;
}

.map-frame {
  min-height: 510px;
  overflow: hidden;
  background: #e9e9e9;
  border-radius: var(--radius);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 510px;
  border: 0;
}

.access-card {
  padding: 30px 27px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.access-card h3 {
  margin-bottom: 22px;
  font-size: 23px;
}

.access-card dl {
  margin: 0 0 24px;
  border-top: 1px solid var(--border);
}

.access-card dl > div {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}

.access-card dt {
  color: var(--gold-dark);
  font-size: 12px;
}

.access-card dd {
  margin: 0;
  color: var(--text-light);
  font-size: 13px;
}

.contact-final-cta {
  min-height: 660px;
}

.contact-final-bg {
  background-image: url("../images/site/final/contact_worry.jpg");
  background-position: center;
}

@media (max-width: 1060px) {
  .contact-method-grid,
  .after-contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-method-card,
  .after-contact-grid li {
    min-height: auto;
  }

  .access-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .contact-hero {
    min-height: 720px;
  }

  .contact-hero-bg {
    background-position: 58% top;
  }

  .contact-hero-overlay {
    background:
      linear-gradient(90deg,rgba(8,14,20,.97) 0%,rgba(8,14,20,.85) 72%,rgba(8,14,20,.60) 100%),
      linear-gradient(0deg,rgba(8,14,20,.94) 0%,rgba(8,14,20,.52) 75%,rgba(8,14,20,.30) 100%);
  }

  .contact-hero-content {
    align-self: end;
    padding-top: 130px;
    padding-bottom: 54px;
  }

  .contact-hero h1 {
    font-size: clamp(36px,10.4vw,49px);
    line-height: 1.45;
  }

  .contact-hero-lead {
    font-size: 15px;
  }

  .contact-proof-grid,
  .consultation-guide-layout,
  .line-guide-layout,
  .line-help-grid,
  .office-photo-grid {
    grid-template-columns: 1fr;
  }

  .contact-proof-grid > div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .consultation-points {
    grid-template-columns: 1fr;
  }

  .line-sample {
    padding: 27px 22px;
  }

  .form-notice {
    grid-template-columns: 1fr;
  }

  .form-header {
    display: block;
  }

  .form-header p {
    margin-top: 12px;
    text-align: left;
  }

  .contact-form-shell iframe {
    min-height: 1160px;
  }

  .access-card dl > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .contact-final-cta {
    min-height: 720px;
  }
}
