
/* ===== MAIN GRID ===== */
.layout {
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3.5rem;
  align-items: start;
}




@media (max-width: 960px) {
  
  .section-sidebar-right {
   	display:none; 
  }  
  
  section {
    padding-bottom: 3rem !important;
  }
  
  .layout {
    grid-template-columns: 1fr;
  }
}

/* ===== FORM SECTIONS ===== */
.form-section {
  background: #DECCAB;
  border: 1px solid var(--bdr);
  border-radius: 2px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.form-section-header {
  padding: 1.3rem 1.6rem;
  border-bottom: 1px solid var(--bdr);
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--red);
}

.form-section-header h2 {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--form-color);
  line-height: 1.3;
}

.form-section-body {
  padding: 1.6rem;
}


/* ===== FIELDS ===== */
.field-row {
  display: grid;
  grid-template-columns: 0.7fr 2fr;
  gap: 14px;
  margin-bottom: 14px;
}

.field-row.full {
  grid-template-columns: 1fr 1fr;
  margin-top: 20px;
}

@media (max-width: 600px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}


.field label {
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: black;
  font-weight: 400;
}

.field label .req {
  color: var(--red);
}

.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--charcoal);
  background: white;
  border: 1px solid var(--bdr);
  border-radius: 2px;
  padding: 0.65rem 0.9rem;
  outline: none;
  width: 100%;
  transition: border-color 0.15s, background 0.15s;
  appearance: none;
  -webkit-appearance: none;
}


.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b6b5e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  padding-right: 2.5rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--main-color-blue);
  background: var(--main-blue-color3);
  box-shadow: 0 0 0 3px rgba(30, 111, 156, 0.06);
}

.field textarea {
  resize: vertical;
  line-height: 1.65;
}

/* ===== CHECKBOX ===== */
.check-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--bdr);
  border-radius: 2px;
  transition: all 0.15s;
  background: white !important;
}

.check-option.checked {
  border-color: var(--main-color-blue);
  background: rgba(30, 111, 156, 0.05);
}

.check-box {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--bdr);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.15s;
}

.check-option.checked .check-box {
  background: var(--main-blue-color);
  border-color: var(--main-blue-color);
}

.check-option.checked .check-box::after {
  content: "✓";
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
}

.check-text {
  font-size: 0.83rem;
  color: black;
  line-height: 1.55;
}

.check-text a {
  color: var(--main-blue-color);
}

.check-text a:hover {
  text-decoration: underline;
}

input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* ===== SUBMIT ===== */
.form-submit {
  margin-top: 2rem;
}

.btn-submit {
  width: 100%;
  padding: 1.1rem;
  background: var(--main-blue-color);
  color: #fff;
  border: none;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s;
}


/* ===== SITE-BAR BOXEN ===== */

.sb-box {
  background: #fff;
  border: 1px solid var(--bdr);
  border-radius: 3px;
  padding: 1.5rem;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

.sb-box:first-child {
  border-top: 3px solid var(--main-blue-color);
}

.sb-ttl {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--main-blue-color);
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 1.2rem;
}

.sb-ttl::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--main-blue-color);
}


/* ===== MEDIA QUERIES ===== */
@media (max-width: 1024px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hbg {
    display: flex;
  }

  .nav-inner {
    padding: 0 20px;
  }

  .nav-logo {
    margin-right: 0;
  }

  #mob-p {
    display: none;
    background: #fff;
    border-top: 1px solid var(--bdr);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }

  #mob-p.open {
    display: block;
  }

  .mob-it {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 20px;
    font-size: 14px;
    color: var(--charcoal);
    border-bottom: 1px solid var(--bdr);
    cursor: pointer;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    width: 100%;
    text-align: left;
    font-family: var(--sans);
  }

  .mob-it:hover {
    background: var(--sand);
  }

  .mob-sub {
    display: none;
    background: var(--sand);
    border-bottom: 1px solid var(--bdr);
  }

  .mob-sub.open {
    display: block;
  }

  .mob-sub a {
    display: block;
    padding: 9px 20px 9px 36px;
    font-size: 13px;
    color: var(--muted);
  }

  .mob-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 14px 20px;
    background: var(--sand);
  }

  .mob-cta a {
    justify-content: center;
    text-align: center;
    padding: 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 2px;
  }

  .mob-cb {
    background: var(--main-blue-color);
    color: #fff;
  }

  .mob-cg {
    color: var(--main-blue-color);
    border: 1px solid rgba(30, 111, 156, 0.3);
  }

  .mob-arr {
    width: 8px;
    height: 8px;
    border-right: 1.5px solid var(--muted);
    border-bottom: 1.5px solid var(--muted);
    transform: rotate(45deg);
    flex-shrink: 0;
  }

  .mob-it.open .mob-arr {
    transform: rotate(225deg);
    border-color: var(--main-blue-color);
  }
}