/* /contact-us — measurements from the Framer desktop layout at 1440px. Black page. */

.company-contact { background: var(--black); color: var(--white); }

/* ---------- Hero ---------- */
.contact-hero { padding: 100px var(--gutter) 50px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.contact-hero-avatar { width: 175px; }
.contact-hero-avatar img { aspect-ratio: 1; }
.contact-hero h1 { margin-top: 10px; font-family: var(--font-gilroy); font-weight: 600; font-size: 56px; line-height: 67.2px; color: var(--white); }
.contact-hero-sub { margin-top: 33px; max-width: 570px; font-family: var(--font-gilroy); font-weight: 500; font-size: 24px; line-height: 30px; color: #8f8f8f; }
.contact-hero-btn { margin-top: 52px; min-height: 48px; padding: 12px 24px; font-size: 16px; line-height: 20px; }

/* ---------- Info card + form ---------- */
.contact-main { padding: 100px var(--gutter); display: flex; justify-content: center; align-items: flex-start; gap: 40px; }
.contact-info { flex: 0 1 447px; min-height: 827px; background: #1a1a1a; border-radius: 10px; padding: 31px 35px; display: flex; flex-direction: column; gap: 71px; }
.contact-info-block h2 { font-family: var(--font-gilroy); font-weight: 500; font-size: 24px; line-height: 30px; color: var(--white); }
.contact-info-block p { margin-top: 11px; font-weight: 500; font-size: 20px; line-height: 30px; color: #b6b6b6; }
.contact-info-block .contact-info-lg { margin-top: 10px; font-size: 22px; }
.contact-info-link { display: inline-block; margin-top: 10px; font-family: var(--font-gilroy); font-weight: 500; font-size: 24px; line-height: 24px; color: #267dff; }
.contact-info-block p.contact-info-link { margin-top: 10px; font-size: 24px; line-height: 35px; color: #267dff; }
.contact-info a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-info-address { margin-top: 8px; max-width: 250px; font-style: normal; font-family: var(--font-gilroy); font-weight: 700; font-size: 22px; line-height: 35px; color: #267dff; }

.contact-form-card { flex: 0 1 541px; border: 1px solid #1a1a1a; border-radius: 10px; padding: 24px 30px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; color: var(--white); }
.contact-form-title { margin: 0 0 35px 10px; text-align: center; font-family: var(--font-gilroy); font-weight: 700; font-size: 32px; line-height: 40px; color: var(--white); white-space: nowrap; }
.contact-form label { margin: 0 0 2px 10px; font-family: var(--font-gilroy); font-weight: 500; font-size: 16px; line-height: 22px; color: #888; }
.contact-form label span { font-size: 18px; color: #c70039; }
.contact-form input, .contact-form textarea { width: 100%; margin-bottom: 8px; padding: 12px; border: 0; border-radius: 10px; background: #1a1a1a; color: #999; font-family: var(--font-gilroy); font-weight: 500; font-size: 14px; line-height: 17px; outline: none; transition: box-shadow .2s ease; }
.contact-form input:focus, .contact-form textarea:focus { box-shadow: 0 0 0 2px rgba(0, 122, 255, .55); }
.contact-form textarea { height: 120px; margin-bottom: 15px; resize: vertical; }
.contact-form textarea::placeholder { color: #5c5c5c; }
.contact-form-hint { margin: -20px 0 0 10px; font-family: var(--font-gilroy); font-weight: 500; font-size: 11px; line-height: 13px; color: #818181; }
.contact-form button { height: 56px; border-radius: 10px; background: var(--blue); color: var(--white); font-family: var(--font-gilroy); font-weight: 700; font-size: 18px; transition: background-color .2s ease; }
.contact-form button:hover { background: var(--blue-hover); }

/* ---------- Brand sign-off ---------- */
.contact-brand { padding: 100px 0 150px; display: flex; flex-direction: column; align-items: center; gap: 45px; color: var(--white); }
.contact-brand-mark { width: 74px; height: 154px; }
.contact-brand-word { width: 211px; height: 45px; }
.contact-legal { width: min(1009px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; justify-content: flex-end; gap: 16px 32px; min-height: 52px; padding: 18px 0; font-family: var(--font-inter); font-weight: 500; letter-spacing: 0.06px; color: #616161; }
.contact-legal p { font-size: 16px; line-height: 16px; }
.contact-legal a { font-size: 20px; line-height: 16px; color: var(--white); transition: color .2s ease; }
.contact-legal a:hover { color: #08f; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Tablet + phone (Framer tablet layout, measured at 900px): form first, info card below ---------- */
@media (max-width: 1199px) {
  .contact-hero { padding: 108px 25px 58px; }
  .contact-main { flex-direction: column; align-items: center; gap: 40px; padding: 100px 0; }
  .contact-form-card { order: -1; flex: none; width: min(541px, 100% - 40px); }
  .contact-info { flex: none; width: calc(100% - 300px); min-height: 0; gap: 50px; padding: 18px 25px 17px; }
  .contact-info-address { max-width: 416px; font-weight: 500; }
  .contact-brand { padding: 43px 0; gap: 36px; }
  .contact-brand-mark { width: 51px; height: 107px; }
  .contact-brand-word { width: 127px; height: 27px; }
  .contact-legal { width: min(727px, 100% - 40px); min-height: 152px; padding: 50px 0; }
  .contact-legal a { font-size: 16px; }
}

/* ---------- Phone (Framer phone layout, measured at 390px) ---------- */
@media (max-width: 809px) {
  .contact-hero { padding: 100px 0 50px; }
  .contact-hero h1 { font-size: 42px; line-height: 50.4px; }
  .contact-hero-sub { margin-top: 30px; font-size: 22px; line-height: 30px; }
  .contact-hero-btn { margin-top: 53px; }
  .contact-main { gap: 100px; padding: 157px 0 61px; }
  .contact-form-card { width: min(361px, 100% - 16px); }
  .contact-info { width: min(361px, 100% - 16px); gap: 40px; padding: 44px 16px 43px 25px; }
  .contact-info-block p, .contact-info-block .contact-info-lg { margin-top: 17px; }
  .contact-info-link, .contact-info-block p.contact-info-link, .contact-info-address { margin-top: 16px; }
  .contact-info-address { max-width: none; }
  .contact-brand { padding: 50px 0 37px; gap: 35px; }
  .contact-brand-mark { width: 32px; height: 67px; }
  .contact-brand-word { width: 98px; height: 21px; }
  .contact-legal { justify-content: center; min-height: 94px; padding: 0; }
  .contact-legal a { font-size: 14px; }
}
