:root {
	--black: #000000;
    --purple: #E83C68;
	--turquoise: #1aa6a6;
    --orange: #F6A81B;
    --orange-light: #FFCB05;
    --green: #32AC5C;
    --cream: #f5f4fa;
    --white: #ffffff;
    --gray: #6b7280;
    --gray-light: #ECEBEF;
	--gray-ultra: #f8f8f8;
    --red: #B02B20;
    --border: #d8d6e8;
    --shadow: 0 8px 40px rgba(22,21,36,0.12);
    --radius: 12px;
    /* aliases for reuse */
    --gold: #F6A81B;
    --gold-light: #FFCB05;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  body {
    font-family: 'Outfit', sans-serif;
    background: var(--cream);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 16px 60px;
    color: var(--black);
  }
  body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--turquoise), var(--purple));
    z-index: 100;
  }

  /* HEADER */
  .header {
    width: 100%;
    max-width: 760px;
    text-align: center;
    margin-bottom: 20px;
  }
  .header-badge {
    display: inline-block;
    background: var(--black);
    color: var(--gold);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 18px;
  }
  .header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    color: var(--black);
    line-height: 1.2;
    margin-bottom: 12px;
  }
  .header h1 span { color: var(--purple); }
  .header p {
    color: var(--gray);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto;
  }

  /* PROGRESS */
  .progress-wrap {
    width: 100%;
    max-width: 760px;
    margin-bottom: 32px;
  }
  .progress-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin-bottom: 10px;
  }
  .progress-steps::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--black);
    z-index: 0;
  }
  .progress-line {
    position: absolute;
    top: 18px;
    left: 18px;
    height: 2px;
    background: var(--purple);
    z-index: 1;
    transition: width .5s ease;
  }
  .step-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--cream);
    border: 2px solid var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray);
    position: relative;
    z-index: 2;
    transition: all .3s ease;
    flex-shrink: 0;
  }
  .step-dot.active {
    border-color: var(--purple);
    background: var(--purple);
    color: var(--white);
  }
  .step-dot.done {
    border-color: var(--purple);
    background: var(--purple);
    color: var(--white);
  }
  .step-dot.done::after {
    content: '✓';
    font-size: 14px;
  }
  .step-labels {
    display: flex;
    justify-content: space-between;
  }
  .step-label {
    font-size: 10px;
    font-weight: 500;
    color: var(--gray);
    text-align: center;
    width: 36px;
    line-height: 1.3;
    transition: color .3s;
  }
  .step-label.active { color: var(--purple); font-weight: 600; }
  .step-label.done { color: var(--purple); }

  /* CARD */
  .card {
    width: 100%;
    max-width: 760px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
  }
  .card-header {
    background: var(--black);
    padding: 24px 36px;
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .card-icon {
    width: 44px;
    height: 44px;
    background: var(--purple);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
  }
  .card-header-text h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    color: var(--purple);
    font-weight: 700;
  }
  .card-header-text p {
    font-size: 13px;
    color: var(--white);
    margin-top: 2px;
  }
  .card-body {
    padding: 36px;
  }

  /* STEP */
  .step { 
	display: none; 
	width: 760px;
  }
  .step.active { display: block; }

  /* SECTION TITLE */
  .section-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--turquoise);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
  }

  /* FIELDS */
  .field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }
  .field-grid.full { grid-template-columns: 1fr; }
  @media (max-width: 560px) { .field-grid { grid-template-columns: 1fr; } }

  .field {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .field label {
    font-size: 13px;
    font-weight: 500;
    color: var(--black);
  }
  .field label .req { color: red; margin-left: 2px; }

  .field input[type="text"],
  .field input[type="email"],
  .field input[type="tel"],
  .field select,
  .field textarea {
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: var(--black);
    background: var(--white);
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    appearance: none;
  }
  .field input:focus,
  .field select:focus,
  .field textarea:focus {
    border-color: var(--turquoise);
    box-shadow: 0 0 0 3px rgba(26,166,166,0.15);
  }
  .field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
  }

  /* QUESTION BLOCK */
  .q-block {
    background: var(--gray-ultra);
    border-radius: var(--radius);
    padding: 22px 24px;
    margin-bottom: 20px;
    border-left: 3px solid transparent;
    transition: border-color .2s;
  }
  .q-block:focus-within { border-left-color: var(--turquoise); }
  .q-block .q-num {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--turquoise);
    margin-bottom: 6px;
  }
  .q-block .q-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 14px;
    line-height: 1.4;
  }

  /* RADIO */
  .radio-group, .check-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
  }
  .radio-option, .check-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px 14px;
    background: var(--white);
    border-radius: 8px;
    border: 1.5px solid var(--border);
    transition: all .2s;
    font-size: 14px;
    color: var(--black);
    user-select: none;
  }
  .radio-option:hover, .check-option:hover {
    border-color: var(--turquoise);
    background: rgba(26,166,166,.1);
  }
  .radio-option input, .check-option input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
  }
  .radio-option.selected, .check-option.selected {
    border-color: var(--turquoise);
    background: rgba(26,166,166,.1);
  }
  .radio-dot, .check-box {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--border);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
  }
  .check-box { border-radius: 4px; }
  .radio-option.selected .radio-dot,
  .check-option.selected .check-box {
    border-color: var(--turquoise);
    background: var(--turquoise);
  }
  .radio-dot::after {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--white);
    opacity: 0;
    transition: opacity .2s;
  }
  .radio-option.selected .radio-dot::after { opacity: 1; }
  .check-box::after {
    content: '✓';
    font-size: 11px;
    color: var(--white);
    font-weight: 700;
    opacity: 0;
    transition: opacity .2s;
  }
  .check-option.selected .check-box::after { opacity: 1; }

  /* TWO-COL RADIO */
  .radio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  @media (max-width: 480px) { .radio-grid { grid-template-columns: 1fr; } }

  /* NAVIGATION */
  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    gap: 12px;
  }
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    border: none;
  }
  .btn-prev {
    background: var(--purple);
    color: var(--white);
  }
  .btn-prev:hover { background: var(--turquoise); }
  .btn-next {
    background: var(--purple);
    color: var(--white);
    margin-left: auto;
  }
  .btn-next:hover {
    background: var(--turquoise);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(49,42,116,0.3);
  }
  .btn-submit {
    background: var(--turquoise);
    color: var(--white);
  }
  .btn-submit:hover {
    background: var(--orange-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(246,168,27,0.4);
  }

  /* DOWNLOAD BUTTON */
  .download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--purple);
    color: #ffffff;
    padding: 13px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: 'Outfit', sans-serif;
    text-decoration: none;
    transition: all .2s;
  }
  .download-btn:hover {
    background: var(--turquoise);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(49,42,116,0.3);
  }

  /* ERROR */
  .err-msg {
    font-size: 12px;
    color: red;
    margin-top: 4px;
    display: none;
  }
  .field.has-error input,
  .field.has-error select { border-color: red; }

  /* STEP COUNTER */
  .step-counter {
    font-size: 12px;
    color: var(--gray);
    font-weight: 500;
  }
  .step-counter span { color: var(--black); font-weight: 600; }
</style>

<style>
/* CAPTCHA */
#captchaImg {
    width: 100px;
    height: 100px;
    display: block;
    margin-bottom: 6px;
}
.keypad {
    width: 100px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}
button.key {
    height: 30px;
    font-size: 12px;
}
#cont_captcha {
	width: 220px;
	margin: auto;
	text-align: center;
	padding-bottom: 30px;
}
#cont_captcha .refresh {
	padding: 5px 10px;
	border: 0px solid transparent;
	border-radius: 5px;
	transition: ease all .3s;
}
#cont_captcha .final {
	padding: 10px 80px;
	border: 0px solid transparent;
	border-radius: 10px;
	transition: ease all .3s;
	font-size: 18px;
}
#cont_captcha .numb {
	padding: 5px 10px;
	border: 1.5px solid var(--border);
	border-radius: 8px;
	font-family: 'Outfit', sans-serif;
	font-size: 14px;
	color: var(--black);
	background: var(--white);
	transition: border-color .2s, box-shadow .2s;
	outline: none;
	appearance: none;
}

@media screen and (max-device-width:770px), screen and (max-width:770px) {
	.step {
		width: 100%;
	}
	form {
		width: 97%;
	}
}
