/* Contact page template */
.contact-page {
  overflow: hidden;
  background: #ffffff;
}

.contact-hero {
  position: relative;
  overflow: hidden;
  padding: 66px 0 58px;
  background: #0e0f10;
  color: #ffffff;
}

.contact-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 78% 18%, rgba(79, 70, 229, 0.42), transparent 34%),
    radial-gradient(circle at 18% 82%, rgba(255, 106, 77, 0.22), transparent 30%);
  background-size: 48px 48px, 48px 48px, auto, auto;
  pointer-events: none;
}

.contact-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(255, 106, 77, 0.14));
  content: "";
  pointer-events: none;
}

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

.contact-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.48fr);
  gap: 42px;
  align-items: center;
}

.contact-hero-copy {
  max-width: 780px;
}

.contact-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.contact-hero .headline,
.contact-hero .lead {
  color: #ffffff;
}

.contact-hero .headline {
  max-width: 780px;
  margin: 0;
}

.contact-hero .lead {
  max-width: 690px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-primary,
.contact-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.contact-primary {
  background: linear-gradient(100deg, #4F46E5, #FF6A4D);
  color: #ffffff;
}

.contact-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.contact-primary:hover,
.contact-primary:focus,
.contact-secondary:hover,
.contact-secondary:focus {
  color: #ffffff;
  transform: translateY(-2px);
}

.contact-hero-panel {
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(20px);
}

.contact-panel-head span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.contact-panel-head strong {
  display: block;
  color: #ffffff;
  font-family: var(--font-display);
  line-height: 1.15;
}

.contact-panel-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.contact-panel-metrics div {
  min-height: 88px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-panel-metrics strong,
.contact-panel-metrics span {
  display: block;
}

.contact-panel-metrics strong {
  color: #FF6A4D;
  font-family: var(--font-mono);
  line-height: 1.1;
}

.contact-panel-metrics span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.74);
}

.contact-panel-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-panel-list li {
  display: flex;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
}

.contact-panel-list i {
  color: #FF6A4D;
}

.contact-options,
.contact-fit,
.contact-faq {
  background: #f5f6f8;
}

.contact-option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-option-card,
.contact-fit-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 24px;
  border: 1px solid #ECECF4;
  border-radius: 16px;
  background: #ffffff;
  color: #1f2430;
  text-decoration: none;
  box-shadow: 0 18px 48px rgba(17, 10, 38, 0.07);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.contact-option-card:hover,
.contact-option-card:focus,
.contact-fit-card:hover {
  border-color: rgba(79, 70, 229, 0.28);
  color: #1f2430;
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(17, 10, 38, 0.11);
}

.contact-option-card span,
.contact-fit-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(255, 106, 77, 0.14));
  color: #4F46E5;
}

.contact-option-card small {
  color: #7d8292;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.contact-option-card strong {
  margin-top: 6px;
  color: #050914;
  font-family: var(--font-display);
  line-height: 1.2;
}

.contact-option-card em {
  margin-top: 10px;
  color: #6B7180;
  font-style: normal;
}

.contact-inquiry-section {
  background:
    linear-gradient(90deg, rgba(255, 240, 236, 0.78) 0%, rgba(255, 255, 255, 0.95) 50%, rgba(79, 70, 229, 0.07) 100%),
    #ffffff;
}

.contact-inquiry-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(440px, 1fr);
  gap: 28px;
  align-items: start;
}

.contact-inquiry-copy {
  position: sticky;
  top: 110px;
  padding: 28px;
  border: 1px solid #ECECF4;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 20px 54px rgba(17, 10, 38, 0.08);
}

.contact-inquiry-copy h2 {
  margin: 12px 0;
  color: #050914;
}

.contact-inquiry-copy p {
  margin: 0;
  color: #6B7180;
}

.contact-inquiry-proof {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.contact-inquiry-proof div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid #ECECF4;
  border-radius: 12px;
  background: #fbfbfd;
}

.contact-inquiry-proof strong {
  color: #FF6A4D;
  font-family: var(--font-mono);
}

.contact-inquiry-proof span {
  color: #3e4554;
}

.contact-page-form {
  padding: 28px;
  border: 1px solid #ECECF4;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 20px 54px rgba(17, 10, 38, 0.08);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-page-form label {
  display: grid;
  gap: 8px;
}

.contact-page-form label span {
  color: #3a146d;
  font-weight: 700;
}

.contact-page-form input,
.contact-page-form select,
.contact-page-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #dfe2ea;
  border-radius: 10px;
  background: #fbfbfd;
  color: #1f2430;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-page-form textarea {
  resize: vertical;
}

.contact-page-form input:focus,
.contact-page-form select:focus,
.contact-page-form textarea:focus {
  border-color: #4F46E5;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.11);
}

.contact-message,
.contact-consent {
  margin-top: 16px;
}

.contact-consent {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 10px !important;
}

.contact-consent input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 3px;
  padding: 0;
}

.contact-consent span {
  color: #6B7180 !important;
  font-weight: 500 !important;
}

.contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}

.contact-form-actions button,
.contact-form-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.contact-form-actions button {
  border: 0;
  background: linear-gradient(100deg, #4F46E5, #FF6A4D);
  color: #ffffff;
}

.contact-form-actions a {
  border: 1px solid #dfe2ea;
  color: #4F46E5;
  background: #ffffff;
}

.contact-form-actions button:hover,
.contact-form-actions button:focus,
.contact-form-actions a:hover,
.contact-form-actions a:focus {
  transform: translateY(-2px);
}

.contact-fit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.contact-fit-card h3 {
  margin: 0 0 10px;
  color: #050914;
}

.contact-fit-card p {
  margin: 0;
  color: #6B7180;
}

.contact-operations {
  background: #ffffff;
}

.contact-operations-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}

.contact-map-panel {
  overflow: hidden;
  min-height: 430px;
  border-radius: 18px;
  background: #0e0f10;
  box-shadow: 0 24px 64px rgba(17, 10, 38, 0.14);
}

.contact-map-panel img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.contact-operations-copy {
  padding: 32px;
}

.contact-operations-copy h2 {
  margin: 12px 0;
  color: #050914;
}

.contact-operations-copy p {
  color: #6B7180;
}

.contact-operations-copy ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.contact-operations-copy li {
  display: flex;
  gap: 10px;
  color: #3e4554;
}

.contact-operations-copy i {
  color: #FF6A4D;
}

.contact-faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.contact-faq-copy {
  position: sticky;
  top: 110px;
}

.contact-faq-copy h2 {
  margin: 12px 0;
  color: #050914;
}

.contact-faq-copy p {
  color: #6B7180;
}

@media (max-width: 1199.98px) {
  .contact-hero-layout,
  .contact-inquiry-shell,
  .contact-operations-grid,
  .contact-faq-layout {
    grid-template-columns: 1fr;
  }

  .contact-inquiry-copy,
  .contact-faq-copy {
    position: static;
  }

  .contact-fit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .contact-hero {
    padding: 48px 0;
  }

  .contact-option-grid,
  .contact-form-grid,
  .contact-fit-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero-panel,
  .contact-inquiry-copy,
  .contact-page-form,
  .contact-operations-copy {
    padding: 22px;
  }

  .contact-panel-metrics {
    grid-template-columns: 1fr;
  }

  .contact-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-form-actions button,
  .contact-form-actions a,
  .contact-primary,
  .contact-secondary {
    width: 100%;
  }

  .contact-map-panel,
  .contact-map-panel img {
    min-height: 300px;
  }
}
