/* ==========================================================================
   Contact Us (Figma "Web Agency Design-Contact", prototype page 13).
   Header and footer come from style.css.
   ========================================================================== */

/* ---------- Banner ---------- */
/* Photo comes from the page (style="background-image:…") */
.ct-hero {
  --banner-pb: 108px;
  --banner-x: 3px;
  --banner-pos: center top;
  --banner-shade: linear-gradient(90deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .62) 40%, rgba(0, 0, 0, .45) 70%, rgba(0, 0, 0, .38) 100%);
}
.ct-hero__title {
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: 62px;
  line-height: 78px;
  color: var(--color-white);
}
.ct-hero__text {
  width: 820px;
  margin-top: 38px;
  padding-left: 3px;
  font-family: var(--font-dm-sans);
  font-size: 18px;
  line-height: 30px;
  color: #FFFFFF;
}
.ct-hero__text a { color: #2E8BFF; }
.ct-hero__text a:hover { text-decoration: underline; }

/* ---------- Form section ---------- */
.ct-main { padding: var(--section-space) 0; background: #F5F6FD; }
.ct-wrap { display: flex; align-items: flex-start; gap: 32px; width: 1332px; max-width: 100%; margin: 0 auto; }

.ct-form {
  flex: 0 0 861px;
  padding: 50px 40px 40px;
  border: 1px solid #E6E8F0;
  border-radius: 10px;
  background: var(--color-white);
}
.ct-eyebrow {
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--color-primary);
}
.ct-form__title {
  margin-top: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid #E6E8F0;
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: 38px;
  line-height: 48px;
  letter-spacing: -.5px;
  color: #0B1428;
}
.ct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; margin-top: 28px; }
.ct-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; } /* lets the select shrink on narrow phones */
.ct-field--full { margin-top: 22px; }
.ct-label {
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: 15px;
  line-height: 20px;
  color: #0B1428;
}
.ct-label b { color: var(--color-primary); font-weight: 600; }
.ct-label--row { display: flex; justify-content: space-between; align-items: baseline; }
.ct-label--row small { font-family: var(--font-dm-sans); font-weight: 400; font-size: 12px; color: #6B7280; }

.ct-input {
  position: relative;
  display: flex;
  align-items: center;
  height: 44px;
  border: 1px solid #E2E5EC;
  border-radius: 4px;
  background: #F8F9FB;
  color: #6B7280;
  transition: border-color .2s ease, background-color .2s ease;
}
.ct-input:focus-within { border-color: var(--color-primary); background: #FFFFFF; }
.ct-input > svg { flex: 0 0 16px; margin-left: 16px; }
.ct-input input, .ct-input select, .ct-field textarea {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 14px 0 12px;
  border: 0;
  outline: 0;
  background: transparent;
  font-family: var(--font-dm-sans);
  font-size: 15px;
  color: #111827;
}
.ct-input input::placeholder, .ct-field textarea::placeholder { color: #9CA3AF; }
.ct-input--phone select {
  flex: 0 0 110px;
  padding: 0 10px 0 14px;
  border-right: 1px solid #E2E5EC;
  border-radius: 4px 0 0 4px;
  background: #EEF4FF;
  color: #111827;
  cursor: pointer;
}
.ct-input--phone input { padding-left: 14px; }
.ct-input--select select { padding-left: 16px; appearance: none; -webkit-appearance: none; color: #111827; cursor: pointer; }
.ct-input--select > svg { position: absolute; right: 14px; margin: 0; pointer-events: none; }

.ct-drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 26px 20px 24px;
  border: 1.5px dashed #D3D9E5;
  border-radius: 6px;
  background: #FAFBFD;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.ct-drop:hover, .ct-drop.is-over { border-color: var(--color-primary); background: #F2F7FF; }
.ct-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.ct-drop__icon { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 6px; border-radius: 8px; background: #EAF3FF; color: var(--color-primary); }
.ct-drop__title { font-family: var(--font-poppins); font-weight: 500; font-size: 14px; color: #0B1428; }
.ct-drop__title span, .ct-drop__text { font-family: var(--font-dm-sans); font-weight: 400; font-size: 13px; color: #6B7280; }
.ct-drop__text u { color: var(--color-primary); font-weight: 600; }
.ct-drop__types { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-family: var(--font-dm-sans); font-weight: 600; font-size: 11px; color: #6B7280; letter-spacing: .5px; }
.ct-drop__types i { width: 4px; height: 4px; border-radius: 50%; background: #9CA3AF; }
.ct-drop__file { font-family: var(--font-dm-sans); font-weight: 600; font-size: 13px; color: var(--color-primary); }
.ct-drop__file:empty { display: none; }

.ct-field textarea {
  height: 133px;
  padding: 14px 16px;
  border: 1px solid #E2E5EC;
  border-radius: 4px;
  background: #F8F9FB;
  resize: vertical;
  line-height: 22px;
}
.ct-field textarea:focus { border-color: var(--color-primary); background: #FFFFFF; }

.ct-form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 34px; }
.ct-nda {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border-radius: 4px;
  background: #F1F3F8;
  font-family: var(--font-dm-sans);
  font-size: 13px;
  color: #111827;
}
.ct-form__status { flex: 1; text-align: right; font-family: var(--font-dm-sans); font-size: 13px; color: #D2405F; }
.ct-form__status.is-done { color: #1F9D6B; }
.ct-submit {
  flex: 0 0 183px;
  height: 48px;
  border: 0;
  border-radius: 5px;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-poppins);
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
  transition: background-color .2s ease;
}
.ct-submit:hover { background: #005EB4; }

/* ---------- Sidebar ---------- */
.ct-side { flex: 1; display: flex; flex-direction: column; gap: 25px; min-width: 0; }
.ct-steps { padding: 24px 24px 22px; border: 1px solid #E6E8F0; border-radius: 6px; background: var(--color-white); }
.ct-steps__head { display: flex; align-items: center; gap: 8px; font-family: var(--font-poppins); font-weight: 600; font-size: 19px; line-height: 26px; color: #0B1428; }
.ct-steps__head svg { color: var(--color-primary); }
.ct-steps__list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 22px; }
.ct-steps__item { display: flex; gap: 16px; }
.ct-steps__num { flex: 0 0 26px; height: 26px; margin-top: 2px; border-radius: 50%; background: #EEF4FF; display: grid; place-items: center; font-family: var(--font-poppins); font-weight: 600; font-size: 12px; color: var(--color-primary); }
.ct-steps__title { font-family: var(--font-poppins); font-weight: 600; font-size: 16px; line-height: 22px; color: #0B1428; }
.ct-steps__text { max-width: 300px; margin-top: 6px; font-family: var(--font-dm-sans); font-size: 14px; line-height: 20px; color: #6B7280; }

.ct-desk { padding: 24px; border-radius: 6px; background: #020B1F; box-shadow: 0 20px 40px -18px rgba(2, 11, 31, .6); color: var(--color-white); }
.ct-desk__top { display: flex; align-items: center; gap: 14px; }
.ct-desk__icon { flex: 0 0 48px; height: 48px; border: 1px solid #1E2A44; border-radius: 6px; background: #0A1630; display: grid; place-items: center; color: #2E8BFF; }
.ct-desk__eyebrow { font-family: var(--font-poppins); font-weight: 600; font-size: 12px; line-height: 16px; letter-spacing: .4px; text-transform: uppercase; color: #2E8BFF; }
.ct-desk__title { margin-top: 2px; font-family: var(--font-poppins); font-weight: 600; font-size: 19px; line-height: 26px; }
.ct-desk__text { max-width: 400px; margin-top: 18px; padding-bottom: 18px; border-bottom: 1px solid #1E2A44; font-family: var(--font-dm-sans); font-size: 14px; line-height: 21px; color: #A9B2C3; }
.ct-desk__links { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; }
.ct-desk__links a { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-poppins); font-size: 14px; color: var(--color-white); }
.ct-desk__links a svg { color: #2E8BFF; }
.ct-desk__links a:hover { color: #9FCBFF; }

/* ==========================================================================
   Smaller screens
   ========================================================================== */
@media (max-width: 1199.98px) {
  .ct-hero__title { font-size: 38px; line-height: 48px; }
  .ct-hero__text { width: auto; max-width: 640px; margin-top: 20px; padding-left: 0; font-size: 17px; line-height: 28px; }
  .ct-wrap { flex-direction: column; align-items: stretch; padding: 0 16px; gap: 20px; }
  .ct-form { flex: none; padding: 32px 20px 24px; }
  .ct-form__title { font-size: 30px; line-height: 38px; }
  .ct-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .ct-form__foot { flex-wrap: wrap; }
  .ct-form__status { order: 3; flex-basis: 100%; text-align: left; }
  .ct-submit { flex: 1 1 180px; }
}

/* Tablets and phones: the form box keeps the same 24px inside as the boxes next to it */
@media (max-width: 1199.98px) {
  .ct-form { padding-left: 24px; padding-right: 24px; }
}

/* Banner below 1200px: the text runs across the bright windows of the photo, so the
   shade is even from left to right and uses the site's navy (like the other banners) */
@media (max-width: 1199.98px) {
  .ct-hero { --banner-shade: linear-gradient(180deg, rgba(6, 7, 27, .55) 0%, rgba(6, 7, 27, .78) 45%, rgba(6, 7, 27, .9) 100%); }
}
