/* inline style */

:root {
  --fc-navy: #1D3E7A;
  --fc-primary: #2E6BC5;
  --fc-primary-dark: #1D4E9D;
  --fc-wash: #EAF3FA;
  --fc-wash-2: #F5F9FC;
  --slate: #5B6B85;
  --slate-2: #8A97AF;
  --line: #D9E3F0;
  --line-2: #EBF1F8;
  --green: #10B981;
}

/* ============ AUDIENCE SELECTOR ============ */
section.audience {
  padding: 80px 0 40px;
}
.audience-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.audience-head .kicker {
  font-family: 'Quicksand', sans-serif;
  font-size: 11.5px;
  font-weight: 900;
  color: var(--fc-primary);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.audience-head h2 {
  font-family: 'Varela Round', sans-serif;
  font-size: 34px;
  font-weight: 900;
  color: var(--fc-navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 8px;
}
.audience-head h2 em {
  font-family: 'Quicksand', sans-serif;
  font-style: italic;
  font-weight: 400;
  color: var(--fc-primary);
}
.audience-head p {
  font-family: 'Quicksand', sans-serif;
  font-size: 15px;
  color: var(--slate);
  line-height: 1.55;
}
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .audience-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .audience-grid { grid-template-columns: 1fr; }
}
.audience-card.audience-card--household { background: #FFF8F1; border-color: #F1E2CE; }
.audience-card.audience-card--household.active { border-color: #C99B4D; }
.audience-card.audience-card--household .icon-block { background: #FBEBD6; color: #8A5A1F; }
.audience-card {
  background: white;
  border: 2px solid var(--line-2);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.audience-card:hover {
  border-color: var(--fc-primary);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(29,62,122,0.08);
}
.audience-card.active {
  border-color: var(--fc-primary);
  box-shadow: 0 20px 40px rgba(29,62,122,0.10);
}
.audience-card.active::after {
  content: '';
  position: absolute; top: 20px; right: 20px;
  width: 22px; height: 22px;
  background: var(--fc-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(46,107,197,0.18);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
}
.audience-card .icon-block {
  width: 52px; height: 52px;
  background: var(--fc-wash);
  color: var(--fc-primary);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.audience-card .icon-block svg { width: 26px; height: 26px; }
.audience-card h4 {
  font-family: 'Varela Round', sans-serif;
  font-size: 21px;
  font-weight: 900;
  color: var(--fc-navy);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.audience-card p {
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  color: var(--slate);
  line-height: 1.55;
}

.partner-link-row {
  font-family: 'Quicksand', sans-serif;
  text-align: center;
  margin-top: 22px;
  font-size: 14px;
  color: var(--slate);
}
.partner-link-row a {
  color: var(--fc-primary);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(46,107,197,0.4);
}

/* ============ FORM SECTION ============ */
section.form-section { padding: 40px 0 60px; }
.form-panel {
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 24px;
  padding: 48px 52px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(29,62,122,0.04);
}
.form-panel-head {
  display: flex; justify-content: flex-start; align-items: flex-start;
  gap: 20px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line-2);
}
.form-panel-head > div { flex: 1; }
.form-panel-head h3 {
  font-family: 'Varela Round', sans-serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--fc-navy);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 6px;
}
.form-panel-head h3 em {
  font-family: 'Quicksand', sans-serif;
  font-style: italic;
  font-weight: 400;
  color: var(--fc-primary);
}
.form-panel-head p {
  font-family: 'Quicksand', sans-serif;
  font-size: 14.5px;
  color: var(--slate);
  line-height: 1.5;
}
.form-panel-head .sla-pill {
  font-family: 'Quicksand', sans-serif;
  display: inline-flex; gap: 8px; align-items: center;
  padding: 8px 14px;
  background: var(--fc-wash);
  color: var(--fc-primary-dark);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}
.form-panel-head .sla-pill::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-row.single { grid-template-columns: 1fr; }
.form-field { display: flex; flex-direction: column; }
.form-field label {
  font-family: 'Quicksand', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--fc-navy);
  letter-spacing: 0.01em;
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
.form-field label .req { color: var(--fc-primary); font-weight: 900; }
.form-field label .opt {
  font-size: 11px;
  font-weight: 700;
  color: var(--slate-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--fc-wash-2);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: 'Quicksand', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--fc-navy);
  background: white;
  outline: none;
  transition: all 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--slate-2);
  font-weight: 500;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--fc-primary);
  box-shadow: 0 0 0 4px rgba(46,107,197,0.12);
}
.form-field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5 6 6.5 11 1.5' stroke='%232E6BC5' stroke-width='2' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.country-picker { position: relative; }
.country-input-wrapper {
  position: relative;
  display: flex; align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: white;
  transition: all 0.15s;
}
.country-input-wrapper:focus-within {
  border-color: var(--fc-primary);
  box-shadow: 0 0 0 4px rgba(46,107,197,0.12);
}
.country-flag-display {
  padding-left: 16px;
  font-size: 20px;
  line-height: 1;
  user-select: none;
}
.country-input {
  flex: 1;
  padding: 14px 12px;
  border: none !important;
  background: transparent !important;
  outline: none;
  font-family: 'Quicksand', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--fc-navy);
  box-shadow: none !important;
}
.country-input::placeholder { color: var(--slate-2); font-weight: 500; }
.country-input:focus { border: none !important; box-shadow: none !important; }
.country-chevron {
  width: 12px; height: 8px;
  margin-right: 16px;
  color: var(--fc-primary);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.country-picker.open .country-chevron { transform: rotate(180deg); }
.country-picker .country-dropdown {
  position: absolute !important;
  top: calc(100% + 4px) !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 99999 !important;
  margin: 0 !important;
  max-height: 260px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  background: #ffffff !important;
  box-shadow: 0 20px 40px rgba(29,62,122,0.14) !important;
}
.country-dropdown[hidden] { display: none; }
.country-option {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Quicksand', sans-serif;
  font-size: 14.5px;
  color: var(--fc-navy);
  font-weight: 600;
  transition: background 0.1s;
}
.country-option:hover, .country-option.active {
  background: var(--fc-wash);
}
.country-option .flag { font-size: 20px; line-height: 1; flex-shrink: 0; }
.country-option .name { flex: 1; }
.country-option.no-match {
  color: var(--slate-2);
  cursor: default;
  font-style: italic;
  font-weight: 500;
}
.country-option.no-match:hover { background: transparent; }
.form-field textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.55;
}
.form-field .char-counter {
  align-self: flex-end;
  margin-top: 4px;
  font-size: 12px;
  color: var(--slate-2);
  font-weight: 600;
}
.form-field .hint {
  font-size: 12.5px;
  color: var(--slate);
  margin-top: 6px;
  line-height: 1.5;
}
.form-field .hint a { color: var(--fc-primary); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.form-conditional {
  display: none;
  grid-column: 1 / -1;
  padding: 20px 22px;
  background: var(--fc-wash-2);
  border-radius: 14px;
  border: 1px solid var(--line-2);
  margin-bottom: 20px;
}
.form-conditional.show { display: block; animation: fadeIn 0.2s ease; }
.form-conditional-head {
  font-family: 'Quicksand', sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fc-primary);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.form-conditional-head::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--fc-primary);
  border-radius: 50%;
}
.form-conditional .form-row { margin-bottom: 14px; }
.form-conditional .form-row:last-child { margin-bottom: 0; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

.form-submit-row {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  margin-top: 8px;
  border-top: 1px solid var(--line-2);
  flex-wrap: wrap; gap: 16px;
}
.form-submit-row .privacy-note {
  font-family: 'Quicksand', sans-serif;
  font-size: 12.5px;
  color: var(--slate-2);
  line-height: 1.5;
  max-width: 380px;
  margin: 0;
}
.form-submit-row .privacy-note a {
  color: var(--fc-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
}
.form-submit-row button {
  background: var(--fc-primary);
  color: white;
  border: none;
  padding: 15px 32px;
  border-radius: 12px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex; align-items: center; gap: 10px;
}
.form-submit-row button:hover {
  background: var(--fc-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(29,62,122,0.15);
}
	
/* ============ MOBILE RESPONSIVE — FORM ============ */
@media (max-width: 768px) {
  section.form-section { padding: 24px 0 40px; }

  .form-panel {
    padding: 28px 20px;
    border-radius: 18px;
    max-width: 100%;
    margin: 0 16px;
  }

  .form-panel-head {
    flex-direction: column;
    gap: 12px;
    padding-bottom: 18px;
    margin-bottom: 20px;
  }
  .form-panel-head h3 { font-size: 21px; }
  .form-panel-head .sla-pill {
    white-space: normal;
    align-self: flex-start;
  }

  .form-row,
  .form-row.single {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 16px;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    padding: 13px 14px;
    font-size: 14.5px;
  }

  .form-conditional {
    padding: 16px 16px;
    margin-bottom: 16px;
  }

  .form-submit-row {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 14px;
  }
  .form-submit-row .privacy-note {
    max-width: 100%;
    text-align: center;
  }
  .form-submit-row button {
    width: 100%;
    justify-content: center;
    padding: 15px 24px;
  }

  .country-dropdown { max-height: 240px; }
}

@media (max-width: 480px) {
  .form-panel { padding: 22px 16px; margin: 0 10px; }
  .form-panel-head h3 { font-size: 19px; }
  .form-panel-head p { font-size: 13.5px; }
}	

