/* Metrics-matched fallback to eliminate font-swap layout shift (CLS).
   Approximates Inter so fallback text occupies the same space until Inter loads. */
@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  ascent-override: 90.20%;
  descent-override: 22.48%;
  line-gap-override: 0.00%;
  size-adjust: 107.40%;
}

/* ===================================================================
   CONTACT PAGE – Styles
   This file contains all styles for the contact page, including
   replicated shared components (header, footer, nav modal) and
   contact-specific sections: hero, form, info cards.
   =================================================================== */

/* --- GLOBAL / RESET --- */
html {
  scroll-padding-top: 88px;
  scrollbar-width: thin;
  background-image:
    repeating-linear-gradient(to bottom, rgba(140, 140, 140, 0.28) 0 7px, transparent 7px 14px),
    repeating-linear-gradient(to bottom, rgba(140, 140, 140, 0.28) 0 7px, transparent 7px 14px),
    repeating-linear-gradient(to bottom, rgba(140, 140, 140, 0.28) 0 7px, transparent 7px 14px);
  background-size: 1px 100%, 1px 100%, 1px 100%;
  background-position: calc(50% - 320px) 0, 50% 0, calc(50% + 320px) 0;
  background-repeat: no-repeat;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background-color: #ffffff;
}

::-webkit-scrollbar {
  width: 8px;
}

/* --- HEADER --- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  box-sizing: border-box;
  font-family: Inter, "Inter Fallback", sans-serif;
}

.site-header::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  flex-grow: 0;
  opacity: 0.5;
  mix-blend-mode: color-burn;
  background-color: #8c8c8c;
  pointer-events: none;
}


.site-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 64px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px 32px;
  box-sizing: border-box;
}

.site-header-logo {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.site-header-logo-img {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(260px, 50vw);
  flex-shrink: 0;
  object-fit: contain;
}

.site-header-logo-text {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  flex-grow: 0;
  width: auto;
  height: auto;
  mix-blend-mode: color-burn;
  font-family: Inter, "Inter Fallback", sans-serif;
  font-size: 24px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: -0.25px;
  text-align: left;
  color: #533afd;
}


.site-header-menu-btn {
  display: none;
}

.site-header-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 26px;
}

.site-header-link {
  width: 90px;
  height: 16px;
  flex-grow: 0;
  mix-blend-mode: color-burn;
  font-family: Inter, "Inter Fallback", sans-serif;
  font-size: 16px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: -0.25px;
  text-align: left;
  color: rgba(10, 10, 10, 0.68);
  text-decoration: none;
}


.site-header-link-arrow {
  font-size: 14px;
  line-height: 1;
  opacity: 0.85;
}

.site-header-cta {
  width: 144px;
  height: 32px;
  flex-grow: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 3px 5px;
  border-radius: 36px;
  background-color: #2b2b2b;
  line-height: 1;
  letter-spacing: -0.25px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.25s ease;
}

.site-header-cta:hover {
  background-color: #030303;
}

.site-header-cta .site-header-link-arrow {
  opacity: 1;
}

.home-nav-modal {
  display: none;
}



/* --- CONTACT HERO (matches feature page header) --- */
.contact-hero {
  position: relative;
  width: 100%;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  overflow: visible;
}

.contact-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 64px 64px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-hero-copy {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-hero-title {
  margin: 0 0 12px;
  padding: 16px 0 0;
  width: 100%;
  font-family: Inter, "Inter Fallback", sans-serif;
  font-size: 54px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.25px;
  text-align: center;
  color: #0a0a0a;
  -webkit-text-fill-color: #0a0a0a;
  overflow: visible;
}

.contact-hero-title-line {
  display: block;
  width: 100%;
  overflow: visible;
  color: #0a0a0a;
  -webkit-text-fill-color: #0a0a0a;
}

.contact-hero-desc {
  margin: 0;
  padding: 0;
  font-family: Inter, "Inter Fallback", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: #4b5563;
  max-width: 560px;
}

/* --- CONTACT MAIN SECTION --- */
.contact-section {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 48px 0 80px;
  box-sizing: border-box;
  clip-path: inset(0 -100vmax);
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100vmax;
  right: -100vmax;
  background-image: linear-gradient(180deg, #F7FAFF 0%, #EEF4FF 100%);
  z-index: -1;
}

.contact-section-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 64px;
  box-sizing: border-box;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(5, 8, 22, 0.08);
  overflow: hidden;
  border: 1px solid rgba(83, 58, 253, 0.08);
}

/* Left Column: Contact Info */
.contact-info {
  background-color: #ffffff;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 32px;
  border-right: 1px solid #eef0f6;
}

.contact-info-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-info-title {
  font-family: Inter, "Inter Fallback", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #0a0a0a;
  margin: 0;
  letter-spacing: -0.5px;
}

.contact-info-subtitle {
  font-family: Inter, "Inter Fallback", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #533afd 0%, #f15ba3 100%);
  box-shadow: 0 4px 12px rgba(83, 58, 253, 0.25);
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  color: #ffffff;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-info-label {
  font-family: Inter, "Inter Fallback", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #0a0a0a;
  letter-spacing: -0.01em;
}

.contact-info-value {
  font-family: Inter, "Inter Fallback", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #4b5563;
  line-height: 1.5;
}

.contact-info-value a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info-value a:hover {
  color: #102a5c;
}



/* Right Column: Form wrapper */
.contact-form-wrapper {
  background: #ffffff;
  padding: 60px 56px;
}

.contact-form-title {
  font-family: Inter, "Inter Fallback", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #0a0a0a;
  margin: 0 0 32px;
  letter-spacing: -0.5px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-field label {
  font-family: Inter, "Inter Fallback", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #374151;
  letter-spacing: -0.01em;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 11px 18px;
  border: 1px solid #d1d5db;
  border-radius: 30px; /* Highly rounded pill shape */
  font-family: Inter, "Inter Fallback", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #0a0a0a;
  background-color: #f9fafb;
  box-sizing: border-box;
  outline: none;
  transition: all 0.2s ease;
}

.contact-field textarea {
  border-radius: 20px; /* Textarea less rounded for space */
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #9ca3af;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: #797979;
  background-color: #ffffff;
}

.contact-field input.is-error,
.contact-field textarea.is-error {
  border-color: #ef4444;
  background-color: #fffafb;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.contact-field .field-error {
  font-family: Inter, "Inter Fallback", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #ef4444;
  min-height: 16px;
  display: none;
  padding-left: 12px;
}

.contact-field .field-error.is-visible {
  display: block;
}

.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 36px;
  border: 1px solid #2b2b2b;
  background-color: #2b2b2b;
  color: #ffffff;
  font-family: Inter, "Inter Fallback", sans-serif;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  letter-spacing: -0.25px;
  cursor: pointer;
  transition: all 0.25s ease;
  min-height: 44px;
  margin-top: 8px;
}

.contact-submit-btn:hover {
  background-color: #030303;
  border-color: #030303;
  transform: translateY(-1px);
}

.contact-submit-btn:active {
  transform: translateY(1px);
}

.contact-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.contact-submit-btn .btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.contact-submit-btn.is-loading .btn-spinner {
  display: inline-block;
}

.contact-submit-btn.is-loading .btn-label {
  opacity: 0.7;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Map section styles */
.contact-map-section {
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  display: block;
  overflow: hidden;
  border-top: 1px solid #eef0f6;
}
.contact-map-section iframe {
  display: block;
}

/* --- SUCCESS TOAST --- */
.contact-toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: 14px;
  background: #0a0a0a;
  color: #fff;
  font-family: Inter, "Inter Fallback", sans-serif;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 12px 40px rgba(10, 10, 10, 0.18);
  transform: translateY(120%) scale(0.95);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
  pointer-events: none;
}

.contact-toast.is-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.contact-toast.is-error {
  background: #b42318;
}

.contact-toast.is-error .contact-toast-icon {
  display: none;
}

.contact-toast-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #533afd;
}

.contact-toast-icon svg {
  width: 14px;
  height: 14px;
}

/* --- FOOTER --- */
footer.site-footer {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: radial-gradient(circle at top left, #102A5C 0%, #050816 45%, #02040A 100%);
  font-family: Inter, "Inter Fallback", sans-serif;
  overflow: hidden;
}

footer.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../../../img/FooterBackgroundLogo.png");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
  opacity: 0.02;
  pointer-events: none;
}

.site-footer-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  box-sizing: border-box;
}

.site-footer-main {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 100px;
  width: 100%;
}

.site-footer-brand {
  width: 310px;
  max-width: 100%;
  flex-shrink: 0;
}

.site-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.site-footer-logo:hover {
  opacity: 0.85;
}

.site-footer-logo-img {
  display: block;
  width: 40px;
  height: 40px;
}

.site-footer-logo-text {
  width: 99px;
  height: 24px;
  flex-grow: 0;
  font-family: Inter, "Inter Fallback", sans-serif;
  font-size: 24px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: -0.25px;
  text-align: left;
  color: #ffffff;
}

.site-footer-desc {
  margin: 20px 0;
  width: 310px;
  height: 63px;
  flex-grow: 0;
  font-family: Inter, "Inter Fallback", sans-serif;
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: -0.25px;
  text-align: left;
  color: #9ca3af;
}

.site-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.site-footer-nav {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 25%;
  width: auto;
  max-width: 100%;
  flex: 0 0 auto;
  min-width: 0;
  margin-top: -15px;
}

.site-footer-col {
  width: max-content;
  max-width: 140px;
}

.site-footer-col:last-child {
  max-width: min(280px, 100%);
  min-width: 0;
}

.site-footer-col--links {
  max-width: 160px;
}

.site-footer-heading {
  font-family: Inter, "Inter Fallback", sans-serif;
  font-size: 16px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: -0.25px;
  text-align: left;
  color: #ffffff;
}

.site-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: Inter, "Inter Fallback", sans-serif;
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: -0.25px;
  text-align: left;
  color: #9ca3af;
}

.site-footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer-links a:hover {
  color: #ffffff;
}

.site-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer-contact-item {
  margin: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: #9ca3af;
}

.site-footer-contact-item a {
  color: #9ca3af;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
  transition: color 0.2s ease;
}

.site-footer-contact-item a:hover {
  color: #ffffff;
}

.site-footer-contact-item--stacked {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.site-footer-contact-label {
  font-size: 14px;
  font-weight: bold;
  line-height: 1.5;
  color: #ffffff;
}

.site-footer-copyright {
  margin: 64px 0 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: Inter, "Inter Fallback", sans-serif;
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: -0.25px;
  color: #7e858b;
}

.site-footer-copyright-text {
  margin: 0;
}

.site-footer-legal {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  flex-shrink: 0;
}

.site-footer-legal a {
  color: #7e858b;
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.25px;
  transition: color 0.2s ease;
}

.site-footer-legal a:hover {
  color: #ffffff;
}
