  :root{
      --ih-primary:#D45C12;
      --ih-secondary:#0E6F8E;
      --ih-accent:#C8A24A;
      --ih-text:#21241B;
      --ih-muted:#616359;
      --ih-border:#E6E7E9;
      --ih-bg:#F6F7F8;
      --ih-surface:#FFFFFF;
      --ih-success:#1E7A4A;
      --ih-error:#B42318;
      --radius:16px;
      --radius-sm:12px;
      --shadow:0 12px 32px rgba(33,36,27,0.08);
      --max:1200px;
    }
.popup-content {
    width: 80%;
    max-width: 720px;position: relative;margin:5% auto 0;
}
.close-popup {
    color: #333;
    position: absolute;
}
.form-card{
      background: var(--ih-surface);
      border:1px solid var(--ih-border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow: hidden;
      margin-bottom: 44px;
    }

    .form-hero{
      padding: 28px 28px 22px;
      border-bottom:1px solid var(--ih-border);
      background:
        linear-gradient(135deg, rgba(212,92,18,0.06), transparent 40%),
        linear-gradient(180deg, #fff 0%, #fcfcfc 100%);
    }

    .pill-row{
      display:flex;
      flex-wrap:wrap;
      gap:10px;
      margin-bottom:14px;
    }

    .pill{
      display:inline-flex;
      align-items:center;
      padding:7px 12px;
      border-radius:999px;
      background:#f3f5f6;
      color: var(--ih-text);
      border:1px solid var(--ih-border);
      font-size:12px;
      font-weight:700;
      letter-spacing:0.03em;
      text-transform:uppercase;
    }

    .pill.primary{
      background: rgba(212,92,18,0.08);
      border-color: rgba(212,92,18,0.18);
      color: var(--ih-primary);
    }

    .pill.secondary{
      background: rgba(14,111,142,0.08);
      border-color: rgba(14,111,142,0.18);
      color: var(--ih-secondary);
    }

    .form-hero h3{
      margin:0 0 10px;
      font-size: clamp(24px, 3vw, 34px);
      line-height:1.15;
    }

    .form-hero p{
      margin:0;
      max-width: 760px;
      color: var(--ih-muted);
    }

    .form-card{
      padding: 28px;
    }

    .grid{
      display:grid;
      grid-template-columns: repeat(12, minmax(0,1fr));
      gap:18px;
    }

    .field,
    .fieldset{
      grid-column: span 12;
    }

    .span-6{ grid-column: span 6; }
    .span-4{ grid-column: span 4; }
    .span-8{ grid-column: span 8; }

    .form-card label,
    .form-card legend{
      display:block;
      margin-bottom:4px;
      font-size:14px;
      font-weight:600;
      color: var(--ih-text);    border-bottom: 0px solid #e5e5e5;
    }

    .help{
      display:block;
      margin-top:6px;
      color: var(--ih-muted);
      font-size:12px;
    }

    .form-card input,
    .form-card select,
    .form-card textarea, .form-card input[type="text"], .form-card input[type="email"]{
      width:100%;
      border:1px solid var(--ih-border);
      border-radius: 12px;
      background:#fff;
      color: var(--ih-text);
      padding: 10px 14px;
      font: inherit;
      outline:none;
      transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;height:inherit;
    }

    input:focus,
    select:focus,
    textarea:focus{
      border-color: var(--ih-secondary);
      box-shadow: 0 0 0 4px rgba(14,111,142,0.12);
    }

    textarea{
      min-height: 130px;
      resize: vertical;
    }

    fieldset{
      margin:0;
      padding:0;
      border:0;
      min-width:0;
    }

    .choice-grid{
      display:grid;
      grid-template-columns: repeat(2, minmax(0,1fr));
      gap:12px;
    }

    .choice{
      position:relative;
    }

    .choice input{
      position:absolute;
      inset:0;
      opacity:0;
      cursor:pointer;
    }

    .choice label{
      margin:0;
      border:1px solid var(--ih-border);
      border-radius:12px;
      padding:14px 14px;
      background:#fff;
      min-height:100%;
      color: var(--ih-muted);
      font-weight:600;
      cursor:pointer;
      transition: all .2s ease;
    }

    .choice input:checked + label,
    .choice input:focus + label{
      border-color: var(--ih-secondary);
      background: rgba(14,111,142,0.05);
      color: var(--ih-text);
      box-shadow: 0 0 0 4px rgba(14,111,142,0.08);
    }

    .submit-row{
      display:flex;
      flex-wrap:wrap;
      align-items:center;
      justify-content:space-between;
      gap:14px;
      margin-top: 26px;
      padding-top: 22px;
      border-top:1px solid var(--ih-border);
    }

    .submit-note{
      color: var(--ih-text);
      font-size:14px;
      max-width: 620px;
    }

    .btn{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:50px;
      padding: 0 22px;
      border-radius: 999px;
      border:0;
      background: var(--ih-primary);
      color:#fff;
      font-weight:600;
      font-size:15px;
      cursor:pointer;
      transition: transform .15s ease, opacity .15s ease;
    }

    .btn:hover{ transform: translateY(-1px); opacity: .96;color:#fff !important; }
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ih-text);
  cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0px;
  cursor: pointer;margin-right: 5px;
}

.checkbox-item a {
  color: var(--ih-text);
  text-decoration: underline;
}

.phone-field {
  display: flex;
  gap: 12px;
}

.phone-field .phone-code {
  width: 100px;
  min-width: 120px;
  flex: 0 0 120px;
}

.phone-field input[type="tel"] {
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 680px) {
  .phone-field {
    gap: 10px;
  }

  .phone-field .phone-code {
    width: 100px;
    min-width: 110px;
    flex-basis: 110px;
  }
}
input.error,
select.error,
textarea.error {
  border-color: #B42318;
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.12);
}

.validation-message {
  margin-top: 6px;
  font-size: 12px;
  color: #B42318;
}
	.grid {
    gap: 10px;
}
 
@media(max-width:767px){
	.span-4, .span-6  {
    grid-column: span 12;
}
	.form-card {
    padding: 15px;
}


	.form-card {
    padding: 15px;
}
.popup-content {
        max-height: 80%;
        top: 10%;        overflow-y: auto;width: 90%;

    }
}