/* ==========================================================================
   FRONTIER PUMPS — CONTACT & INQUIRY SECTION (EXACT MOCKUP MATCH)
   Design System: Apple Minimalism + High-Precision Fire Engineering
   Colors: Primary Red (#D71920), Charcoal (#151719), Pure White (#FFFFFF),
           Soft Background (#F8F9FA), Border (#E5E7EB), Muted (#777C82)
   ========================================================================== */

.fp-contact-section {
  position: relative;
  background: #F8F9FA;
  padding: 80px 24px 60px;
  overflow: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #151719;
}

/* Background Ambient Red Swoops */
.fp-contact-swoop-bottom-left {
  position: absolute;
  bottom: -60px;
  left: -80px;
  width: 320px;
  height: 220px;
  background: radial-gradient(circle at center, rgba(215, 25, 32, 0.95) 0%, rgba(184, 20, 26, 0.85) 70%, transparent 100%);
  border-radius: 50% 50% 0 0;
  transform: rotate(-15deg);
  pointer-events: none;
  z-index: 1;
}

.fp-contact-swoop-bottom-right {
  position: absolute;
  bottom: -40px;
  right: -60px;
  width: 360px;
  height: 220px;
  background: radial-gradient(circle at center, rgba(215, 25, 32, 0.95) 0%, rgba(184, 20, 26, 0.85) 70%, transparent 100%);
  border-radius: 50% 50% 0 0;
  transform: rotate(12deg);
  pointer-events: none;
  z-index: 1;
}

.fp-contact-container {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   Top Hero Grid: Left Info | Center Form | Right Pump Machinery
   -------------------------------------------------------------------------- */
.fp-contact-top-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr 0.95fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 48px;
}

@media (max-width: 1080px) {
  .fp-contact-top-grid {
    grid-template-columns: 1fr 1.1fr;
  }
  .fp-contact-visual-panel {
    display: none;
  }
}

@media (max-width: 820px) {
  .fp-contact-top-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- Left Column: Info --- */
.fp-contact-info-col {
  padding-right: 12px;
}

.fp-contact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #151719;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.fp-contact-eyebrow .fp-slash {
  color: #D71920;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.05em;
  font-size: 15px;
}

.fp-contact-title {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  color: #151719;
  letter-spacing: -0.03em;
  margin: 0 0 16px 0;
}

.fp-contact-title .fp-accent-red {
  color: #D71920;
}

.fp-contact-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #555A60;
  margin: 0 0 32px 0;
  max-width: 380px;
}

/* Contact Details List */
.fp-contact-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fp-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #ECEEF0;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.fp-contact-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fp-contact-item:hover {
  transform: translateX(3px);
}

.fp-contact-icon-box {
  width: 48px;
  height: 48px;
  background: #D71920;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(215, 25, 32, 0.22);
}

.fp-contact-item-text {
  display: flex;
  flex-direction: column;
}

.fp-contact-item-label {
  font-size: 12px;
  font-weight: 600;
  color: #777C82;
  margin-bottom: 2px;
}

.fp-contact-item-val {
  font-size: 15px;
  font-weight: 700;
  color: #151719;
  line-height: 1.35;
}

/* --- Center Column: Floating Inquiry Card --- */
.fp-inquiry-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 34px 30px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 5;
}

.fp-inquiry-header {
  margin-bottom: 22px;
}

.fp-inquiry-title {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #151719;
  letter-spacing: -0.02em;
  margin: 0 0 6px 0;
}

.fp-inquiry-bar {
  width: 36px;
  height: 3.5px;
  background: #D71920;
  border-radius: 2px;
}

.fp-inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fp-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 540px) {
  .fp-form-row {
    grid-template-columns: 1fr;
  }
}

.fp-input-field {
  width: 100%;
  height: 44px;
  background: #FFFFFF;
  border: 1px solid #DCE0E5;
  border-radius: 8px;
  padding: 0 14px;
  font-family: inherit;
  font-size: 14px;
  color: #151719;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.fp-input-field::placeholder {
  color: #8C939B;
  font-size: 13.5px;
}

.fp-input-field:focus {
  border-color: #D71920;
  box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.12);
}

.fp-select-wrapper {
  position: relative;
  width: 100%;
}

.fp-select-field {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 36px;
}

.fp-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #151719;
}

.fp-textarea-field {
  width: 100%;
  min-height: 110px;
  background: #FFFFFF;
  border: 1px solid #DCE0E5;
  border-radius: 8px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  color: #151719;
  outline: none;
  transition: all 0.2s ease;
  resize: vertical;
  box-sizing: border-box;
}

.fp-textarea-field::placeholder {
  color: #8C939B;
  font-size: 13.5px;
}

.fp-textarea-field:focus {
  border-color: #D71920;
  box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.12);
}

.fp-submit-btn {
  width: 100%;
  height: 48px;
  background: #D71920;
  color: #FFFFFF;
  border: none;
  border-radius: 24px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  box-shadow: 0 6px 18px rgba(215, 25, 32, 0.28);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.fp-submit-btn:hover {
  background: #BD1319;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(215, 25, 32, 0.38);
}

.fp-submit-btn:active {
  transform: translateY(0);
}

/* --- Right Column: Visual Pump Room Machinery Panel --- */
.fp-contact-visual-panel {
  position: relative;
  height: 420px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-contact-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fp-contact-visual-panel:hover .fp-contact-visual-img {
  transform: scale(1.03);
}

/* Dynamic Curved Red Ribbon Frame on Visual */
.fp-contact-visual-swoop-top {
  position: absolute;
  top: -30px;
  left: -30px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle at top left, #D71920 60%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

.fp-contact-visual-swoop-bot {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle at bottom right, #D71920 60%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   Bottom Feature Cards Bar: 4 Pillars
   Product Inquiry | Technical Support | Project Quotation | Partnership
   -------------------------------------------------------------------------- */
.fp-contact-features-bar {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  z-index: 4;
}

@media (max-width: 980px) {
  .fp-contact-features-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 540px) {
  .fp-contact-features-bar {
    grid-template-columns: 1fr;
  }
}

.fp-feat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 14px;
  border-right: 1px solid #ECEEF0;
  transition: transform 0.2s ease;
}

.fp-feat-card:last-child {
  border-right: none;
}

@media (max-width: 980px) {
  .fp-feat-card:nth-child(2) {
    border-right: none;
  }
}

.fp-feat-card:hover {
  transform: translateY(-2px);
}

.fp-feat-icon-wrap {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D71920;
}

.fp-feat-text {
  display: flex;
  flex-direction: column;
}

.fp-feat-title {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 800;
  color: #151719;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

.fp-feat-desc {
  font-size: 12px;
  color: #777C82;
  line-height: 1.35;
}
