.contact-page {
  position: relative;
  z-index: 1;
  padding-bottom: 90px;
}

.contact-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.contact-hero {
  padding: clamp(70px, 9vw, 118px) 0 clamp(44px, 6vw, 70px);
  text-align: center;
}

.contact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #d2ab67;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.contact-eyebrow::before,
.contact-eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(210, 171, 103, 0.55);
}

.contact-hero h1 {
  max-width: 920px;
  margin: 0 auto;
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.contact-hero p {
  max-width: 680px;
  margin: 24px auto 0;
  color: rgba(232, 234, 240, 0.68);
  font-size: clamp(15.5px, 2vw, 18px);
  line-height: 1.75;
}

.contact-hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.contact-secondary-btn {
  min-height: 48px;
  border: 1px solid rgba(210, 171, 103, 0.24);
  border-radius: 10px;
  padding: 13px 22px;
  color: #f3d18c;
  font-weight: 700;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.contact-secondary-btn:hover {
  border-color: rgba(210, 171, 103, 0.58);
  background: rgba(210, 171, 103, 0.07);
  transform: translateY(-1px);
}

.contact-section {
  padding: clamp(34px, 5vw, 58px) 0;
}

.contact-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 24px;
}

.contact-section-head h2 {
  margin: 0;
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 500;
  line-height: 1;
}

.contact-section-head p {
  max-width: 420px;
  margin: 0;
  color: rgba(232, 234, 240, 0.62);
  line-height: 1.65;
  font-size: 14.5px;
}

.contact-path-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: stretch;
}

.contact-path-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contact-path-card,
.contact-panel,
.contact-step-card,
.contact-faq-item {
  border: 1px solid rgba(244, 235, 221, 0.12);
  background: linear-gradient(160deg, rgba(8, 18, 37, 0.72), rgba(3, 8, 19, 0.46));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.contact-path-card {
  min-height: 190px;
  padding: 22px;
  border-radius: 18px;
  text-align: left;
  color: #f4ebdd;
  cursor: pointer;
  transition: border-color 0.28s ease, background 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.contact-path-card:hover {
  border-color: rgba(210, 171, 103, 0.45);
  background: linear-gradient(160deg, rgba(210, 171, 103, 0.08), rgba(8, 18, 37, 0.72));
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(210, 171, 103, 0.06);
}

.contact-path-card.is-selected {
  border-color: rgba(210, 171, 103, 0.74);
  background: linear-gradient(160deg, rgba(210, 171, 103, 0.14), rgba(8, 18, 37, 0.82));
}

.contact-card-kicker {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #d2ab67;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.contact-card-check {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(210, 171, 103, 0.45);
  border-radius: 999px;
  color: transparent;
}

.contact-path-card.is-selected .contact-card-check {
  color: #030813;
  background: #d2ab67;
}

.contact-path-card h3 {
  margin: 0;
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.05;
}

.contact-path-card p {
  margin: 14px 0 0;
  color: rgba(232, 234, 240, 0.64);
  font-size: 13.8px;
  line-height: 1.65;
}

.diagnostic-visual {
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(210, 171, 103, 0.2);
  background:
    radial-gradient(circle at 80% 10%, rgba(210, 171, 103, 0.13), transparent 38%),
    rgba(8, 18, 37, 0.72);
}

.diagnostic-visual h3 {
  margin: 0 0 22px;
  color: #f4ebdd;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.path-node {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 13px;
  color: rgba(232, 234, 240, 0.45);
  transition: color 0.28s ease;
}

.path-node + .path-node {
  margin-top: 18px;
}

.path-node-dot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(244, 235, 221, 0.14);
  background: rgba(3, 8, 19, 0.58);
  color: rgba(232, 234, 240, 0.44);
  position: relative;
}

.path-node:not(:last-child) .path-node-dot::after {
  content: "";
  position: absolute;
  top: 33px;
  left: 50%;
  width: 1px;
  height: 24px;
  background: rgba(244, 235, 221, 0.12);
}

.path-node.is-active {
  color: #f4ebdd;
}

.path-node.is-active .path-node-dot {
  border-color: rgba(210, 171, 103, 0.72);
  background: rgba(210, 171, 103, 0.18);
  color: #d2ab67;
  box-shadow: 0 0 22px rgba(210, 171, 103, 0.12);
}

.path-node.is-active:not(:last-child) .path-node-dot::after {
  background: linear-gradient(180deg, rgba(210, 171, 103, 0.58), rgba(210, 171, 103, 0.08));
}

.path-node strong {
  display: block;
  font-size: 15px;
  line-height: 34px;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
  gap: 22px;
  align-items: start;
}

.contact-panel {
  border-radius: 22px;
  padding: clamp(22px, 4vw, 34px);
}

.contact-panel h2,
.contact-panel h3 {
  margin: 0;
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  line-height: 1;
}

.contact-panel > p {
  margin: 12px 0 26px;
  color: rgba(232, 234, 240, 0.62);
  font-size: 14.5px;
  line-height: 1.65;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-field {
  display: grid;
  gap: 8px;
}

.contact-field.is-wide {
  grid-column: 1 / -1;
}

.contact-field label {
  color: rgba(244, 235, 221, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.contact-field input,
.contact-field select,
.contact-field textarea,
.contact-message-box {
  width: 100%;
  border: 1px solid rgba(244, 235, 221, 0.12);
  border-radius: 13px;
  background: rgba(3, 8, 19, 0.62);
  color: #f4ebdd;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.contact-field textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus,
.contact-message-box:focus {
  border-color: rgba(210, 171, 103, 0.7);
  box-shadow: 0 0 0 3px rgba(210, 171, 103, 0.12);
  background: rgba(3, 8, 19, 0.78);
}

.contact-submit-row,
.contact-whatsapp-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.contact-form-note {
  color: rgba(232, 234, 240, 0.5);
  font-size: 12.5px;
}

.contact-message-box {
  min-height: 300px;
  resize: vertical;
  line-height: 1.55;
  font-size: 13.5px;
}

.contact-process-grid,
.contact-faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contact-step-card {
  border-radius: 18px;
  padding: 24px;
}

.contact-step-card span {
  color: #d2ab67;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.contact-step-card h3 {
  margin: 18px 0 10px;
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
}

.contact-step-card p,
.contact-faq-item p {
  margin: 0;
  color: rgba(232, 234, 240, 0.62);
  line-height: 1.65;
  font-size: 14px;
}

.contact-faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-faq-item {
  border-radius: 16px;
  padding: 22px;
}

.contact-faq-item h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 16px;
}

.contact-final {
  margin-top: 26px;
  padding: clamp(34px, 5vw, 54px);
  border: 1px solid rgba(210, 171, 103, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 18%, rgba(210, 171, 103, 0.12), transparent 34%),
    linear-gradient(160deg, rgba(8, 18, 37, 0.78), rgba(3, 8, 19, 0.62));
  text-align: center;
}

.contact-final h2 {
  margin: 0;
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 500;
  line-height: 1;
}

.contact-final p {
  max-width: 600px;
  margin: 18px auto 0;
  color: rgba(232, 234, 240, 0.64);
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .contact-path-layout,
  .contact-main-grid {
    grid-template-columns: 1fr;
  }

  .contact-path-cards,
  .contact-process-grid {
    grid-template-columns: 1fr;
  }

  .diagnostic-visual {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .diagnostic-visual h3 {
    grid-column: 1 / -1;
    margin-bottom: 4px;
  }

  .path-node {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .path-node + .path-node {
    margin-top: 0;
  }

  .path-node:not(:last-child) .path-node-dot::after {
    display: none;
  }
}

@media (max-width: 720px) {
  .contact-shell {
    width: min(100% - 24px, 1180px);
  }

  .contact-hero {
    padding-top: 54px;
  }

  .contact-section-head {
    display: block;
  }

  .contact-section-head p {
    margin-top: 14px;
  }

  .contact-form-grid,
  .contact-faq-grid {
    grid-template-columns: 1fr;
  }

  .diagnostic-visual {
    grid-template-columns: 1fr 1fr;
  }

  .contact-hero-actions,
  .contact-submit-row,
  .contact-whatsapp-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-hero-actions > *,
  .contact-submit-row > *,
  .contact-whatsapp-actions > * {
    justify-content: center;
    width: 100%;
  }
}
