/* =========================================================
   CONTACT PAGE
   50 BY FRIDAY AI
   ========================================================= */


/* =========================================================
   CURRENT NAVIGATION STATE
   ========================================================= */

.site-navigation .nav-cta[aria-current="page"] {
  color: #061309;
  background: var(--fridai-green-bright);
  border-color: var(--fridai-green-bright);
}


/* =========================================================
   CONTACT HERO
   ========================================================= */

.contact-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  min-height: 100vh;

  padding:
    clamp(145px, 18vh, 195px)
    0
    clamp(90px, 11vw, 135px);

  color: var(--white);

  background:
    radial-gradient(
      circle at 8% 25%,
      rgba(29, 185, 84, 0.14),
      transparent 29%
    ),
    radial-gradient(
      circle at 91% 28%,
      rgba(70, 194, 193, 0.14),
      transparent 29%
    ),
    linear-gradient(
      140deg,
      #000000,
      #050a07 50%,
      #071313
    );
}

.contact-hero-grid {
  position: absolute;
  inset: 0;
  z-index: -3;

  opacity: 0.28;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    );

  background-size: 45px 45px;

  mask-image:
    linear-gradient(
      to bottom,
      black,
      rgba(0, 0, 0, 0.55),
      transparent
    );
}

.contact-hero-glow {
  position: absolute;
  z-index: -2;

  width: 500px;
  aspect-ratio: 1;

  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.13;

  pointer-events: none;
}

.contact-hero-glow-green {
  top: 11%;
  left: -230px;

  background: var(--fridai-green);
}

.contact-hero-glow-blue {
  top: 16%;
  right: -230px;

  background: var(--bridge-blue);
}

.contact-hero-shell {
  display: grid;

  grid-template-columns:
    minmax(0, 0.85fr)
    minmax(520px, 1.15fr);

  gap: clamp(55px, 8vw, 105px);
  align-items: start;
}


/* =========================================================
   CONTACT INTRODUCTION
   ========================================================= */

.contact-hero-copy {
  position: sticky;
  top: 135px;

  max-width: 680px;
}

.contact-hero-copy h1 {
  margin-bottom: 27px;

  font-size: clamp(3.4rem, 7vw, 6.5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.contact-hero-copy h1 span {
  display: block;

  color: transparent;

  background:
    linear-gradient(
      92deg,
      var(--fridai-green-bright),
      #e1ffeb 47%,
      var(--bridge-blue-bright)
    );

  background-clip: text;
  -webkit-background-clip: text;
}

.contact-hero-lead {
  max-width: 650px;
  margin-bottom: 36px;

  color: rgba(255, 255, 255, 0.67);

  font-size: clamp(1.03rem, 1.7vw, 1.2rem);
  line-height: 1.78;
}


/* =========================================================
   CONTACT PATHS
   ========================================================= */

.contact-paths {
  display: grid;
  gap: 9px;
}

.contact-path {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;

  padding: 15px 16px;

  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 11px;

  background: rgba(255, 255, 255, 0.025);

  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.contact-path:hover {
  transform: translateX(5px);

  border-color: rgba(104, 239, 236, 0.24);
  background: rgba(255, 255, 255, 0.045);
}

.contact-path-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;
}

.contact-path-dot-green {
  background: var(--fridai-green-bright);

  box-shadow:
    0 0 9px var(--fridai-green-bright);
}

.contact-path-dot-blue {
  background: var(--bridge-blue-bright);

  box-shadow:
    0 0 9px var(--bridge-blue-bright);
}

.contact-path-dot-white {
  background: var(--white);

  box-shadow:
    0 0 9px rgba(255, 255, 255, 0.55);
}

.contact-path div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contact-path strong {
  color: rgba(255, 255, 255, 0.9);

  font-size: 0.8rem;
}

.contact-path small {
  color: rgba(255, 255, 255, 0.43);

  font-size: 0.67rem;
  line-height: 1.4;
}

.contact-path i {
  color: rgba(255, 255, 255, 0.45);

  font-size: 0.87rem;
  font-style: normal;

  transition:
    color var(--transition),
    transform var(--transition);
}

.contact-path:hover i {
  color: var(--bridge-blue-bright);

  transform: translateX(3px);
}


/* =========================================================
   FORM PANEL
   ========================================================= */

.contact-form-panel {
  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.018)
    );

  box-shadow:
    0 35px 100px rgba(0, 0, 0, 0.42),
    0 0 65px rgba(70, 194, 193, 0.055);
}

.contact-form-topbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;

  min-height: 53px;
  padding: 0 18px;

  border-bottom:
    1px solid rgba(255, 255, 255, 0.09);
}

.contact-form-status {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--fridai-green-bright);

  box-shadow:
    0 0 9px var(--fridai-green-bright);
}

.contact-form-topbar p {
  margin: 0;

  color: rgba(255, 255, 255, 0.46);

  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.contact-form-topbar em {
  color: var(--bridge-blue-bright);

  font-size: 0.55rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.13em;
}


/* =========================================================
   FORM
   ========================================================= */

.contact-form {
  padding: clamp(25px, 4vw, 40px);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-field-full {
  grid-column: 1 / -1;
}

.contact-field label {
  color: rgba(255, 255, 255, 0.74);

  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;

  color: var(--white);
  background: rgba(0, 0, 0, 0.24);

  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 9px;

  outline: none;

  transition:
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

.contact-field input,
.contact-field select {
  min-height: 51px;
  padding: 12px 14px;
}

.contact-field textarea {
  min-height: 170px;
  padding: 14px;

  line-height: 1.65;
  resize: vertical;
}

.contact-field select {
  cursor: pointer;
}

.contact-field select option {
  color: #111713;
  background: #ffffff;
}

.contact-field input:hover,
.contact-field select:hover,
.contact-field textarea:hover {
  border-color: rgba(104, 239, 236, 0.24);
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: var(--bridge-blue-bright);

  background: rgba(0, 0, 0, 0.34);

  box-shadow:
    0 0 0 3px rgba(104, 239, 236, 0.1),
    0 0 22px rgba(70, 194, 193, 0.06);
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.contact-privacy-note {
  margin: 19px 0 24px;

  color: rgba(255, 255, 255, 0.39);

  font-size: 0.69rem;
  line-height: 1.6;
}

.contact-submit-button {
  width: 100%;

  color: #031307;

  background:
    linear-gradient(
      90deg,
      var(--fridai-green-bright),
      #7bf3c7,
      var(--bridge-blue-bright)
    );

  box-shadow:
    0 12px 36px rgba(29, 185, 84, 0.16);
}

.contact-submit-button:hover {
  background:
    linear-gradient(
      90deg,
      #61f692,
      #91f8d2,
      #82f5f2
    );

  box-shadow:
    0 16px 46px rgba(70, 194, 193, 0.2);
}


/* =========================================================
   WHAT HAPPENS NEXT
   ========================================================= */

.contact-next-section {
  padding:
    clamp(95px, 11vw, 155px)
    0;

  background:
    radial-gradient(
      circle at 10% 18%,
      rgba(29, 185, 84, 0.06),
      transparent 26%
    ),
    linear-gradient(
      180deg,
      #f7faf8,
      #ebf1ed
    );
}

.contact-next-heading {
  display: block;
}

.contact-next-heading h2 {
  width: 100%;
  max-width: 990px;
  margin-bottom: 0;

  color: var(--dark-text);

  font-size: clamp(2.5rem, 5vw, 4.6rem);
  font-weight: 850;
  line-height: 1.03;
  letter-spacing: -0.058em;
}

.contact-next-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-next-card {
  min-height: 320px;
  padding: clamp(27px, 3.5vw, 38px);

  border: 1px solid var(--border-light);
  border-radius: 20px;

  background: rgba(255, 255, 255, 0.72);

  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

.contact-next-card:hover {
  transform: translateY(-7px);

  border-color: rgba(29, 185, 84, 0.25);
  background: var(--white);

  box-shadow:
    0 25px 65px rgba(15, 41, 24, 0.08);
}

.contact-next-number {
  display: block;

  margin-bottom: 73px;

  color: var(--fridai-green-dark);

  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.contact-next-card h3 {
  height: 2.5em;
  margin-bottom: 17px;

  color: var(--dark-text);

  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 840;
  line-height: 1.14;
  letter-spacing: -0.042em;

  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.contact-next-card p {
  margin-bottom: 0;

  color: var(--dark-muted);

  font-size: 0.91rem;
  line-height: 1.74;
}


/* =========================================================
   FOOTER LEGAL LINKS
   ========================================================= */

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.46);

  font-size: 0.73rem;

  transition: color var(--transition);
}

.footer-legal-links a:hover {
  color: var(--fridai-green-bright);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1080px) {
  .contact-hero-shell {
    grid-template-columns: 1fr;
  }

  .contact-hero-copy {
    position: static;

    max-width: 860px;
  }

  .contact-paths {
    max-width: 720px;
  }

  .contact-form-panel {
    width: min(100%, 850px);
  }
}

@media (max-width: 850px) {
  .contact-next-grid {
    grid-template-columns: 1fr;
  }

  .contact-next-card {
    min-height: auto;
  }

  .contact-next-number {
    margin-bottom: 48px;
  }
}

@media (max-width: 650px) {
  .contact-hero {
    min-height: auto;

    padding:
      125px
      0
      75px;
  }

  .contact-hero-copy h1 {
    font-size: clamp(3rem, 14vw, 4.7rem);
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-field-full {
    grid-column: auto;
  }

  .contact-form-topbar {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .contact-form-topbar em {
    display: none;
  }

  .contact-form {
    padding: 24px 19px;
  }

  .contact-path small {
    display: none;
  }

  .contact-next-section {
    padding:
      78px
      0;
  }

  .contact-next-card {
    padding: 27px 22px;
  }

  .footer-legal-links {
    gap: 12px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-path,
  .contact-next-card {
    transform: none !important;
  }
}