/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  background-color: #f5f4f0;
  color: #1a1a1a;
  line-height: 1.6;
  min-height: 100vh;
}

/* ============================================
   HEADER
============================================ */
.site-header {
  background: linear-gradient(135deg, #1c2b20 0%, #2e4535 100%);
  color: #fff;
  padding: 60px 24px 50px;
  text-align: center;
}

.header-inner {
  max-width: 640px;
  margin: 0 auto;
}

.header-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8fbe8f;
  margin-bottom: 14px;
}

.header-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #ffffff;
}

.header-subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: #c8d8c8;
  line-height: 1.7;
  margin-bottom: 20px;
}

.header-time {
  font-size: 0.82rem;
  color: #8fbe8f;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ============================================
   FORM WRAPPER
============================================ */
.form-wrapper {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 24px 60px;
}

/* ============================================
   FORM SECTIONS
============================================ */
.form-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px 28px;
  margin-bottom: 20px;
  border: 1px solid #e8e4dc;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2e4535;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e8f0e8;
}

/* ============================================
   FORM GROUPS & LABELS
============================================ */
.form-group {
  margin-bottom: 24px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group > label,
.form-group label:not(.radio-option) {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 6px;
  line-height: 1.4;
}

.q-number {
  color: #2e4535;
  font-weight: 700;
  margin-right: 2px;
}

.q-hint {
  display: block;
  font-size: 0.82rem;
  font-weight: 400;
  color: #6b7280;
  margin-top: 3px;
  line-height: 1.5;
}

/* ============================================
   INPUTS & TEXTAREAS
============================================ */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #1a1a1a;
  background: #fafaf8;
  border: 1.5px solid #d8d3ca;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
  line-height: 1.6;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
  color: #b0a898;
  font-weight: 300;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #2e4535;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(46, 69, 53, 0.08);
}

textarea {
  min-height: 90px;
}

/* ============================================
   RADIO BUTTONS
============================================ */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.radio-option {
  display: flex !important;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem !important;
  font-weight: 400 !important;
  color: #2d2d2d !important;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1.5px solid #e0dbd2;
  background: #fafaf8;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.radio-option:hover {
  border-color: #2e4535;
  background: #f2f7f2;
}

.radio-option input[type="radio"] {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  accent-color: #2e4535;
  cursor: pointer;
}

/* ============================================
   PRICING DETAILS — show/hide
============================================ */
#pricing_details_group {
  transition: opacity 0.2s ease;
}

#pricing_details_group.hidden {
  display: none;
}

/* ============================================
   SUBMIT AREA
============================================ */
.form-submit-area {
  text-align: center;
  padding-top: 10px;
}

.submit-btn {
  display: inline-block;
  background: #2e4535;
  color: #ffffff;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 16px 48px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  width: 100%;
  max-width: 360px;
}

.submit-btn:hover {
  background: #1c2b20;
}

.submit-btn:active {
  transform: scale(0.98);
}

.submit-btn:disabled {
  background: #7a9880;
  cursor: not-allowed;
  transform: none;
}

.submit-note {
  font-size: 0.8rem;
  color: #9a948a;
  margin-top: 12px;
  font-weight: 300;
}

#formStatus {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 500;
}

#formStatus .success-msg {
  color: #2e6b3e;
  background: #edf7ef;
  border: 1px solid #b5dfc0;
  border-radius: 8px;
  padding: 14px 18px;
  line-height: 1.5;
}

#formStatus .error-msg {
  color: #8b2020;
  background: #fdf0f0;
  border: 1px solid #f0b8b8;
  border-radius: 8px;
  padding: 14px 18px;
}

/* ============================================
   FOOTER
============================================ */
/* PDF Download Section */
.pdf-section {
  max-width: 680px;
  margin: 0 auto 40px;
  padding: 0 24px;
  text-align: center;
}

.pdf-divider {
  width: 48px;
  height: 2px;
  background: #d8d3ca;
  margin: 0 auto 28px;
}

.pdf-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.pdf-hint {
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 300;
  margin-bottom: 20px;
  line-height: 1.6;
}

.pdf-btn {
  display: inline-block;
  background: transparent;
  color: #2e4535;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 13px 28px;
  border: 2px solid #2e4535;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.pdf-btn:hover {
  background: #2e4535;
  color: #ffffff;
}

.pdf-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pdf-status {
  font-size: 0.82rem;
  color: #6b7280;
  margin-top: 12px;
  min-height: 20px;
}

.pdf-status.error {
  color: #8b2020;
}

.site-footer {
  text-align: center;
  padding: 32px 24px;
  font-size: 0.82rem;
  color: #9a948a;
  font-weight: 300;
  border-top: 1px solid #e8e4dc;
  background: #f5f4f0;
}

/* ============================================
   RESPONSIVE — MOBILE
============================================ */
@media (max-width: 600px) {
  .site-header {
    padding: 44px 20px 38px;
  }

  .form-wrapper {
    padding: 24px 16px 48px;
  }

  .form-section {
    padding: 24px 20px;
  }

  .submit-btn {
    max-width: 100%;
  }
}
