/* ==========================================================================
   GrowthWeb Dedicated Inquiry Page (/site/ask.html & /ask.html)
   Clean White Form Surface + Pretendard Variable + Emerald Mint Accent
   ========================================================================== */

html,
body.gw-ask-page {
  background: #ffffff !important;
  color: #111315 !important;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif !important;
  overflow-x: clip !important;
}

body.gw-ask-page h1,
body.gw-ask-page h2,
body.gw-ask-page h3,
body.gw-ask-page p,
body.gw-ask-page label,
body.gw-ask-page span {
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* Dark Sticky Header matching Main Page */
body.gw-ask-page .gw-ed-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: 76px;
  background: rgba(0, 0, 0, 0.88) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.gw-ask-page .gw-ed-logo {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 20px !important;
  letter-spacing: -0.04em;
  text-decoration: none !important;
}

.ask-logo-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #00d68f;
  color: #000000 !important;
  font-weight: 900;
  font-size: 15px;
  line-height: 1;
}

body.gw-ask-page .gw-ed-logo span:last-child {
  color: #00d68f !important;
}

body.gw-ask-page .gw-ed-nav .nav-menu a {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
}

body.gw-ask-page .gw-ed-nav .nav-menu a:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

body.gw-ask-page .gw-ed-btn--quote-text {
  background: transparent !important;
  border: none !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 0 14px !important;
  height: 40px;
  border-radius: 9999px;
  cursor: pointer;
}

body.gw-ask-page .gw-ed-btn--quote-text:hover {
  color: #00d68f !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

body.gw-ask-page .gw-ed-btn--mint {
  background: #00d68f !important;
  color: #000000 !important;
  font-weight: 800 !important;
  border: none !important;
  border-radius: 9999px !important;
  padding: 0 20px !important;
  height: 40px;
  text-decoration: none !important;
}

body.gw-ask-page .gw-ed-burger {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
}

body.gw-ask-page .gw-ed-mobile-drawer {
  background: rgba(7, 9, 10, 0.98) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.gw-ask-page .gw-ed-mobile-links a {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
}

body.gw-ask-page .gw-ed-mobile-ctas .gw-ed-btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  color: #ffffff !important;
  background: transparent !important;
}

/* Main Inquiry Container */
.ask-main {
  background: #ffffff;
  padding: 144px 24px 116px;
}

.ask-container {
  max-width: 780px;
  margin: 0 auto;
}

.ask-header {
  text-align: center;
  margin-bottom: 40px;
}

.ask-header h1 {
  margin: 0 0 14px !important;
  font-size: clamp(2.1rem, 4.2vw, 3.1rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.2 !important;
  color: #111315 !important;
}

.ask-header p {
  margin: 0 !important;
  font-size: clamp(1rem, 1.4vw, 1.125rem) !important;
  font-weight: 500 !important;
  color: #52525b !important;
  line-height: 1.65 !important;
}

/* 3-Column Compact Quick Contact Bar */
.ask-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 48px;
}

.ask-quick-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #f7f8fa;
  border: 1px solid #e4e4e7;
  text-decoration: none !important;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.ask-quick-card:hover {
  border-color: #00d68f;
  background: #f0fdf8;
  transform: translateY(-2px);
}

.ask-quick-label {
  font-size: 12.5px !important;
  font-weight: 700 !important;
  color: #00a86b !important;
}

.ask-quick-value {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #111315 !important;
  word-break: break-all;
}

/* Form Layout & Field Styling */
.ask-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 32px;
  border-top: 2px solid #111315;
}

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

.ask-label {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #111315 !important;
  line-height: 1.5 !important;
  display: inline-flex;
  align-items: flex-start;
  gap: 5px;
}

.ask-req {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: #ef4444;
  margin-top: 7px;
  flex-shrink: 0;
}

.ask-input,
.ask-textarea {
  width: 100%;
  padding: 14px 16px !important;
  border-radius: 12px !important;
  border: 1.5px solid #e4e4e7 !important;
  background: #ffffff !important;
  color: #111315 !important;
  font-size: 15.5px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  outline: none !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.ask-textarea {
  min-height: 118px;
  resize: vertical;
}

.ask-input:focus,
.ask-textarea:focus {
  border-color: #00d68f !important;
  box-shadow: 0 0 0 3px rgba(0, 214, 143, 0.2) !important;
}

.ask-input::placeholder,
.ask-textarea::placeholder {
  color: #a1a1aa !important;
}

/* Checkbox & Radio Lists */
.ask-check-list,
.ask-radio-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.ask-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15.5px !important;
  font-weight: 500 !important;
  color: #27272a !important;
  cursor: pointer;
}

.ask-choice input[type="checkbox"],
.ask-choice input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #00d68f;
  cursor: pointer;
  flex-shrink: 0;
}

.ask-other-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.ask-other-row span {
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #52525b !important;
  white-space: nowrap;
}

.ask-other-row .ask-input {
  max-width: 340px;
  padding: 10px 14px !important;
}

/* 3-Part Phone Input */
.ask-phone-group {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  max-width: 420px;
}

.ask-phone-group .ask-input {
  text-align: center;
  letter-spacing: 0.04em;
}

.ask-phone-dash {
  color: #a1a1aa !important;
  font-weight: 700;
}

/* Custom File Upload */
.ask-file-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.ask-file-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1.5px dashed #cbd5e1;
  background: #f8fafc;
  color: #111315 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.ask-file-btn:hover {
  border-color: #00d68f;
  background: #f0fdf8;
}

.ask-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.ask-file-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ask-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #f7f8fa;
  border: 1px solid #e4e4e7;
  font-size: 14px !important;
  color: #27272a !important;
}

.ask-file-remove {
  border: none;
  background: transparent;
  color: #71717a !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}

.ask-file-remove:hover {
  background: #fee2e2;
  color: #dc2626 !important;
}

/* Privacy Policy Box */
.ask-privacy-box {
  height: 168px;
  overflow-y: auto;
  border: 1.5px solid #e4e4e7;
  border-radius: 12px;
  padding: 16px 18px;
  background: #fafafa;
  font-size: 13.5px !important;
  line-height: 1.7 !important;
  color: #52525b !important;
}

.ask-privacy-box p {
  margin: 0 0 10px !important;
  font-size: 13.5px !important;
  color: #52525b !important;
}

.ask-privacy-box strong {
  color: #18181b !important;
  font-weight: 700 !important;
}

.ask-agree-check {
  margin-top: 6px;
  font-weight: 700 !important;
  color: #111315 !important;
}

/* Submit & Status */
.ask-submit-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
}

.ask-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 56px;
  border-radius: 9999px;
  border: none;
  background: #00d68f;
  color: #000000 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 214, 143, 0.3);
  transition: background 0.18s ease, transform 0.18s ease;
}

.ask-submit-btn:hover {
  background: #00c07f;
  transform: translateY(-2px);
}

.ask-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.ask-status {
  margin: 0 !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #dc2626 !important;
  text-align: center;
  min-height: 22px;
}

/* Success View */
.ask-success {
  text-align: center;
  padding: 56px 24px;
  border-radius: 24px;
  background: #f0fdf8;
  border: 1.5px solid rgba(0, 214, 143, 0.35);
}

.ask-success[hidden] {
  display: none !important;
}

.ask-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  background: #00d68f;
  color: #000000 !important;
  margin-bottom: 20px;
}

.ask-success h2 {
  margin: 0 0 12px !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #111315 !important;
}

.ask-success p {
  margin: 0 0 28px !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  color: #3f3f46 !important;
}

.ask-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  border-radius: 9999px;
  background: #111315;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

@media (max-width: 768px) {
  .ask-main {
    padding: 104px 16px 76px;
  }

  .ask-header h1 {
    font-size: clamp(1.75rem, 7.2vw, 2.25rem) !important;
  }

  .ask-quick-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ask-choice {
    align-items: flex-start;
  }

  .ask-choice input[type="checkbox"],
  .ask-choice input[type="radio"] {
    margin-top: 3px;
  }

  .ask-phone-group {
    gap: 6px;
    max-width: 100%;
  }

  .ask-phone-group .ask-input {
    padding: 12px 8px !important;
    min-width: 0;
    font-size: 14.5px !important;
  }

  .ask-file-item {
    min-width: 0;
  }

  .ask-file-item span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .ask-other-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .ask-other-row .ask-input {
    max-width: 100%;
  }

  .ask-submit-btn {
    width: 100%;
    padding: 15px 24px;
  }
}
