/* =========================== CTA Prototype (Footer CTA) =========================== */

:root{
  --cta-bg-top: #132a55;
  --cta-bg-mid: #0f1b33;
  --cta-bg-bottom: #0f1724; /* match footer solid */
  --cta-card-bg: #ffffff;
  --cta-card-text: #111827;
  --cta-field-bg: #f3f4f6;
  --cta-field-border: rgba(17,24,39,0.10);
  --cta-muted: rgba(255,255,255,0.82);
  --cta-radius-xl: 22px;
}

/* Outer section: NO background, no full-bleed hacks */
.cta-proto{
  margin: 0;
}

/* Background wrapper: full-bleed + gradient ONLY here */
.cta-proto__bg{
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
  box-sizing: border-box;
  overflow: hidden;
  color: #ffffff;

  /* spacing of CTA area */
  padding: 84px 0 18px; /* small bottom so it doesn't create a band */
}

.cta-proto__bg::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(1200px 700px at 70% 20%, rgba(255,255,255,0.12), rgba(255,255,255,0.00) 55%),
    radial-gradient(900px 600px at 20% 80%, rgba(11,95,255,0.22), rgba(11,95,255,0.00) 60%),
    linear-gradient(180deg, var(--cta-bg-top) 0%, var(--cta-bg-mid) 62%, var(--cta-bg-bottom) 100%);
}

/* container / layout */
.cta-proto__container{ position: relative; }
.cta-proto__grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 38px;
  align-items: center;
}

/* Left */
.cta-proto__title{
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.03;
  margin: 0 0 12px;
  font-weight: 900;
}
.cta-proto__subtitle{
  margin: 0 0 26px;
  max-width: 560px;
  color: var(--cta-muted);
  font-size: 1.06rem;
  line-height: 1.6;
}

/* Contacts */
.cta-proto__contacts{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.cta-proto__contact{
  display:flex;
  align-items:center;
  gap: 12px;
}
.cta-proto__icon{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
}
.cta-proto__link{
  color: rgba(255,255,255,0.88);
  text-decoration: none;
}
.cta-proto__link:hover{ color: #ffffff; text-decoration: none; }

/* Card form */
.cta-proto__card{
  background: var(--cta-card-bg);
  color: var(--cta-card-text);
  border-radius: var(--cta-radius-xl);
  padding: 30px;
  box-shadow: 0 26px 70px rgba(0,0,0,0.22);
  border: 1px solid rgba(16,24,40,0.08);
  margin-bottom: 18px; /* ensures it doesn't "touch" the footer border visually */
}
@media (max-width: 520px){
  .cta-proto__card{ padding: 22px; }
}

.cta-proto__form-title{
  margin: 0 0 18px;
  font-size: 1.6rem;
  font-weight: 900;
  color: #111827;
}

.cta-proto__form{ display:grid; gap: 14px; }
.cta-proto__row{ display:grid; gap: 14px; }
.cta-proto__row--2{ grid-template-columns: 1fr 1fr; }
@media (max-width: 520px){
  .cta-proto__row--2{ grid-template-columns: 1fr; }
}

.cta-proto__input{
  width: 100%;
  box-sizing: border-box;
  background: var(--cta-field-bg);
  border: 1px solid var(--cta-field-border);
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 1rem;
  outline: none;
  color: #111827;
}
.cta-proto__input::placeholder{ color: #667085; }
.cta-proto__input:focus{
  border-color: rgba(11,95,255,0.55);
  box-shadow: 0 0 0 3px rgba(11,95,255,0.20);
  background: #ffffff;
}

.cta-proto__textarea{ resize: vertical; min-height: 110px; }

/* submit button */
.cta-proto__submit{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 12px;
  width: 100%;
  border: 0;
  border-radius: 18px;
  padding: 16px 18px;
  font-weight: 800;
  cursor: pointer;
  background: #1f5fff;
  color: #ffffff;
  transition: transform 120ms ease, filter 120ms ease;
}
.cta-proto__submit:hover{ filter: brightness(1.03); }
.cta-proto__submit:active{ transform: translateY(1px); }
.cta-proto__submit-arrow{ font-size: 1.2em; }

/* Responsive */
@media (max-width: 980px){
  .cta-proto__bg{ padding: 56px 0 16px; }
  .cta-proto__grid{ grid-template-columns: 1fr; }
}