/* ===== CONTACT PAGE HERO ===== */
.contact-hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
}

.contact-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1f18 0%, #0F2D23 60%, #16A34A18 100%);
  z-index: 0;
}

.contact-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 70% at 90% 50%, rgba(22,163,74,.12) 0%, transparent 70%);
}

.contact-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.contact-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
}

.contact-hero__sub {
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  line-height: 1.75;
}

/* ===== CONTACT SECTION LAYOUT ===== */
.contact-section {
  background: var(--off-white);
  padding: 72px 0 96px;
}

.contact-section__inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

/* ===== FORM CARD ===== */
.contact-form-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 8px 40px rgba(15,45,35,.1);
}

.cform__section-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e8f5ec;
}

.cform__section-optional {
  font-weight: 400;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
  font-size: .75rem;
}

.cform__radio-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.cform__radio-group { }

.cform__radio-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}

.cform__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.cform__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cform__field--full {
  margin-bottom: 16px;
}

.cform__field label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .03em;
}

.cform__field input,
.cform__field select,
.cform__field textarea {
  width: 100%;
  background: #f5f8f6;
  border: 1.5px solid #e0e8e4;
  border-radius: 10px;
  padding: 13px 18px;
  font-family: 'Poppins', sans-serif;
  font-size: .875rem;
  color: var(--text);
  outline: none;
  transition: border-color .2s, background .2s;
  appearance: none;
  -webkit-appearance: none;
}

.cform__field input::placeholder,
.cform__field textarea::placeholder { color: #aab8b0; }

.cform__field input:focus,
.cform__field select:focus,
.cform__field textarea:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(22,163,74,.08);
}

.cform__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='%238a9e94' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.cform__field textarea { resize: vertical; min-height: 110px; border-radius: 10px; }

/* ===== FILE UPLOAD ===== */
.cform__upload-hint {
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.cform__upload-area {
  position: relative;
  border: 2px dashed #c5d9cc;
  border-radius: 12px;
  padding: 36px 24px;
  text-align: center;
  background: #f5f8f6;
  cursor: pointer;
  transition: border-color .25s, background .25s;
  margin-bottom: 12px;
}

.cform__upload-area:hover,
.cform__upload-area.dragover {
  border-color: var(--green);
  background: #edf7ef;
}

.cform__upload-icon { margin-bottom: 12px; }
.cform__upload-icon svg { margin: 0 auto; }

.cform__upload-text {
  font-size: .9rem;
  color: var(--text);
  margin-bottom: 4px;
}

.cform__upload-sub {
  font-size: .75rem;
  color: var(--text-muted);
}

.cform__file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

/* File list */
.cform__file-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.cform__file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #edf7ef;
  border: 1px solid #c5d9cc;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--dark);
}

.cform__file-item__name {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cform__file-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: #e53e3e;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0 4px;
  transition: color .2s;
}
.cform__file-remove:hover { color: #c53030; }

/* Submit row */
.cform__submit {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cform__privacy {
  font-size: .75rem;
  color: var(--text-muted);
}

/* ===== SIDEBAR ===== */
.sidebar-card {
  background: var(--white);
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(15,45,35,.08);
  margin-bottom: 20px;
}

.sidebar-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}

.sidebar-card--dark {
  background: var(--dark);
}

.sidebar-card--dark h3 { color: var(--white); }
.sidebar-card--dark p  { color: rgba(255,255,255,.6); font-size: .875rem; margin-bottom: 16px; }

.sidebar-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.sidebar-step__num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.sidebar-steps strong {
  display: block;
  font-size: .9rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.sidebar-steps p {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.sidebar-contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--light-green);
  font-size: .875rem;
  font-weight: 500;
  word-break: break-all;
  transition: opacity .2s;
}
.sidebar-contact-link:hover { opacity: .8; }

.sidebar-trust {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 28px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(15,45,35,.08);
}

.sidebar-trust .trust-item {
  color: var(--dark);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .contact-section__inner {
    grid-template-columns: 1fr;
  }
  .contact-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .sidebar-card { margin-bottom: 0; }
  .sidebar-trust { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .contact-form-wrap { padding: 28px 20px; }
  .cform__radio-row,
  .cform__row { grid-template-columns: 1fr; }
  .contact-sidebar { grid-template-columns: 1fr; }
  .cform__submit { align-items: stretch; }
  .cform__submit .btn { text-align: center; }
}
