/**
 * FifoConsult Custom WordPress Theme
 *
 * CSS module: Project Inquiry Popup.
 *
 * Module:
 * Gold Glass Business Gateway / Project Inquiry Popup.
 *
 * This stylesheet controls the visual presentation of the premium Project
 * Inquiry contact popup that opens from the Project Value / Investment Guide
 * cloud through the Contact Us CTA.
 *
 * Responsibilities:
 * - Contact Us trigger link styling inside the Project Value cloud
 * - Project Inquiry modal overlay
 * - transparent PNG glass shell positioning
 * - dialog stage sizing and alignment
 * - close button styling
 * - heading, kicker and intro typography
 * - form field layout
 * - input, select and textarea styling
 * - inline SVG icon positioning
 * - gold / amber business accent system
 * - submit button glow and hover behavior
 * - protection text and status message styling
 * - scroll lock support through body/html state classes
 * - desktop/laptop visual tuning for the popup shell
 *
 * Related template:
 * template-parts/project-inquiry-popup.php
 *
 * Related JavaScript:
 * assets/js/project-inquiry-popup.js
 *
 * Server-side handler:
 * functions.php / fc_handle_project_inquiry_submit()
 *
 * Visual shell asset:
 * assets/img/project-inquiry/project-value-contact-popup-shell.png
 *
 * Visual identity:
 * Gold / amber business value, investment and collaboration identity.
 *
 * Important implementation note:
 * This CSS file is intentionally separated from main.css so the Project Inquiry
 * Popup can remain an independent, maintainable module.
 *
 * Concept, visual direction, structure, interface design and implementation:
 * Dragan Oljaca / FifoConsult
 *
 * Website: https://www.fifoconsult.com
 * Author: Dragan Oljaca
 * Brand: FifoConsult
 *
 * All rights reserved.
 */

.fc-project-inquiry-trigger {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  padding: 0 2px;
  margin: 0 2px;
  color: #d8ad42;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  text-shadow: 0 0 10px rgba(216, 173, 66, 0.34);
  transition:
    color 220ms ease,
    text-shadow 220ms ease,
    transform 220ms ease;
}

.fc-project-inquiry-trigger:hover {
  color: #ffd978;
  text-shadow:
    0 0 10px rgba(255, 217, 120, 0.62),
    0 0 26px rgba(216, 173, 66, 0.42);
  transform: translateY(-1px);
}

.fc-project-inquiry-trigger:focus-visible {
  outline: 1px solid rgba(255, 217, 120, 0.75);
  outline-offset: 4px;
  border-radius: 4px;
}

.fc-project-inquiry-overlay {
  position: fixed;
  inset: 0;
  z-index: 99980;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 120px 24px 40px;
  background: rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 360ms ease,
    visibility 360ms ease;
}

.fc-project-inquiry-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.fc-project-inquiry-stage {
  position: relative;
  width: min(780px, 92vw);
  aspect-ratio: 2048 / 1553;
  transform: translateY(10px) scale(0.985);
  opacity: 0;
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 360ms ease;
}

.fc-project-inquiry-overlay.is-open .fc-project-inquiry-stage {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.fc-project-inquiry-shell {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.fc-project-inquiry-close {
  position: absolute;
  top: 7.8%;
  right: 23.2%;
  z-index: 3;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: rgba(235, 238, 245, 0.56);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.82;
  transition:
    color 220ms ease,
    text-shadow 220ms ease,
    transform 220ms ease;
}

.fc-project-inquiry-close:hover,
.fc-project-inquiry-close:focus-visible {
  color: rgba(255, 218, 135, 0.95);
  text-shadow: 0 0 18px rgba(216, 173, 66, 0.55);
  transform: scale(1.04);
  outline: none;
}

.fc-project-inquiry-form {
  position: absolute;
  z-index: 2;
  left: 29.5%;
  top: 9.6%;
  width: 40.8%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  color: rgba(255, 255, 255, 0.82);
}

.fc-project-inquiry-heading {
  text-align: center;
  transform: translateY(-8px);
  margin-bottom: 20px;
}

.fc-project-inquiry-kicker {
  margin: 0 0 14px;
  transform: translateY(-5px);
  color: #d8ad42;
  font-size: 9.5px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.fc-project-inquiry-heading h2 {
  margin: 0 0 8px;
  color: rgba(245, 246, 250, 0.88);
  font-size: 31px;
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.025em;
  text-shadow:
    0 2px 14px rgba(0, 0, 0, 0.72),
    0 0 18px rgba(255, 255, 255, 0.06);
}

.fc-project-inquiry-intro {
  max-width: 96%;
  margin: 0 auto;
  color: rgba(235, 238, 245, 0.62);
  font-size: 11px;
  line-height: 1.32;
}

.fc-project-inquiry-fields {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fc-project-inquiry-field {
  position: relative;
  width: 100%;
}

.fc-project-inquiry-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  z-index: 2;
  width: 15px;
  height: 15px;
  transform: translateY(-50%);
  color: rgba(216, 173, 66, 0.86);
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(216, 173, 66, 0.22));
}

.fc-project-inquiry-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fc-project-inquiry-fields input,
.fc-project-inquiry-fields select,
.fc-project-inquiry-fields textarea {
  width: 100%;
  border: 1px solid rgba(255, 218, 135, 0.28);
  border-radius: 7px;
  background: rgba(5, 7, 12, 0.42);
  color: rgba(240, 242, 248, 0.82);
  font: inherit;
  font-size: 12px;
  outline: none;
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.025),
    0 0 18px rgba(0, 0, 0, 0.26);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.fc-project-inquiry-fields input,
.fc-project-inquiry-fields select {
  height: 35px;
  padding: 0 42px 0 40px;
}

.fc-project-inquiry-fields select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(180deg, rgba(5, 7, 12, 0.42), rgba(5, 7, 12, 0.42)),
    url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.2 5.1L7 8.9l3.8-3.8' fill='none' stroke='%23f0d48a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position:
    center,
    right 18px center;
  background-size:
    100% 100%,
    14px 14px;
}

.fc-project-inquiry-fields textarea {
  min-height: 76px;
  resize: none;
  padding: 10px 12px;
}

.fc-project-inquiry-fields input::placeholder,
.fc-project-inquiry-fields textarea::placeholder {
  color: rgba(230, 234, 242, 0.46);
}

.fc-project-inquiry-fields input:focus,
.fc-project-inquiry-fields select:focus,
.fc-project-inquiry-fields textarea:focus {
  border-color: rgba(255, 217, 120, 0.68);
  background: rgba(5, 8, 14, 0.58);
  box-shadow:
    0 0 0 1px rgba(255, 217, 120, 0.18),
    0 0 22px rgba(216, 173, 66, 0.18);
}

.fc-project-inquiry-submit {
  margin: 17px auto 0;
  width: 78%;
  min-height: 41px;
  border: 1px solid rgba(255, 218, 135, 0.72);
  border-radius: 999px;
  background:
    radial-gradient(
      circle at 70% 8%,
      rgba(255, 236, 171, 0.95),
      transparent 18%
    ),
    linear-gradient(180deg, rgba(92, 60, 18, 0.92), rgba(24, 14, 6, 0.96));
  color: rgba(255, 255, 255, 0.88);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 18px rgba(216, 173, 66, 0.34),
    0 8px 26px rgba(0, 0, 0, 0.48);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.fc-project-inquiry-submit:hover,
.fc-project-inquiry-submit:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 231, 155, 0.95);
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 26px rgba(216, 173, 66, 0.48),
    0 10px 30px rgba(0, 0, 0, 0.55);
}

.fc-project-inquiry-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.fc-project-inquiry-protection {
  margin: 7px 0 0;
  color: rgba(230, 234, 242, 0.42);
  text-align: center;
  font-size: 9.5px;
  line-height: 1.2;
}

.fc-project-inquiry-status {
  min-height: 14px;
  margin-top: 1px;
  color: rgba(255, 217, 120, 0.92);
  text-align: center;
  font-size: 9.8px;
  line-height: 1.15;
  text-shadow: 0 0 8px rgba(216, 173, 66, 0.22);
}

.fc-project-inquiry-hp {
  position: absolute;
  left: -99999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

html.fc-project-inquiry-open,
body.fc-project-inquiry-open {
  overflow: hidden;
}

/* =========================================================
   START A PROJECT / PROJECT INQUIRY — TYPOGRAPHY COLOR HARMONIZATION
   Applies the approved Mega Menu / TEXT reader bronze-gold palette
   only to the existing white and neutral text.

   Existing gold kicker, icons, borders, select arrows, button glow,
   validation colors and interaction states remain unchanged.

   Typography colors only — no layout, dimensions, background,
   animation, timing, form behavior or JavaScript changes.
   ========================================================= */

/* Main identity */

.fc-project-inquiry-popup {
  color: #635d4f !important;
}

.fc-project-inquiry-kicker {
  color: #9a7d3f !important;
}

.fc-project-inquiry-title {
  color: #887b60 !important;
}

.fc-project-inquiry-intro {
  color: #635d4f !important;
}

/* Form controls */

.fc-project-inquiry-field input,
.fc-project-inquiry-field textarea,
.fc-project-inquiry-field select {
  color: #958b73 !important;
}

.fc-project-inquiry-field input::placeholder,
.fc-project-inquiry-field textarea::placeholder {
  color: #706957 !important;
  opacity: 1 !important;
}

.fc-project-inquiry-field select:invalid,
.fc-project-inquiry-field select option[disabled] {
  color: #706957 !important;
}

.fc-project-inquiry-field select option {
  color: #958b73 !important;
}

/* Submit button and helper copy */

.fc-project-inquiry-submit {
  color: #958b73 !important;
}

.fc-project-inquiry-submit:hover,
.fc-project-inquiry-submit:focus-visible {
  color: #b2924d !important;
}

.fc-project-inquiry-note,
.fc-project-inquiry-security-note,
.fc-project-inquiry-status,
.fc-project-inquiry-status.is-info {
  color: #706957 !important;
}

/* Semantic success and error colors intentionally remain unchanged. */

