/* ==========================================================================
   REFIXEL HOME SERVICES - Production Contact Us Stylesheet
   Color System:
     Primary Navy: #0B3154
     Dark Navy: #071F39
     Hero Gradient: #123F68 to #071F39
     Primary Orange: #FF7800
     Orange Hover: #F45F20
     Light Background: #F8FAFC
     Text Navy: #102E4D
     Muted Text: #77869A
     Border: #E4E8ED
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --ref-navy-primary: #0B3154;
  --ref-navy-dark: #071F39;
  --ref-navy-text: #102E4D;
  --ref-orange: #FF7800;
  --ref-orange-hover: #F45F20;
  --ref-bg-light: #F8FAFC;
  --ref-muted: #334155;
  --ref-border: #E4E8ED;
  --ref-white: #FFFFFF;
}

.contact-page-wrapper {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ref-navy-text);
  background-color: var(--ref-white);
  overflow-x: hidden;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.contact-hero-section {
  position: relative;
  background: linear-gradient(135deg, #123F68 0%, #071F39 100%);
  min-height: 220px;
  padding: 55px 0 45px 0;
  color: var(--ref-white);
  overflow: visible;
  z-index: 20;
}

/* Subtle abstract curved shapes in background */
.contact-hero-section::before {
  content: "";
  position: absolute;
  top: -50px;
  right: 15%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.contact-hero-section::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: 5%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(255, 120, 0, 0.12);
  pointer-events: none;
}

.contact-hero-container {
  position: relative;
  z-index: 2;
}

.contact-hero-title {
  font-size: 56px;
  font-weight: 800;
  color: var(--ref-white);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.contact-hero-title .text-orange {
  color: var(--ref-orange);
  font-size: inherit;
  font-weight: inherit;
  display: inline;
}

.contact-hero-subtext {
  font-size: 18px;
  color: #f8fafc;
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: 0;
  font-weight: 500;
}

/* Overlapping Arched Image (Right side) */
.contact-arched-img-wrap {
  position: absolute;
  right: 35px;
  top: 15px;
  width: 255px;
  height: 415px;
  border-radius: 128px 128px 18px 18px;
  overflow: hidden;
  border: 4px solid var(--ref-white);
  box-shadow: 0 20px 45px rgba(7, 31, 57, 0.22);
  z-index: 30;
  background-color: var(--ref-navy-dark);
}

.contact-arched-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
}

/* ==========================================================================
   2. CONTACT INFORMATION SECTION (3 Horizontal Items)
   ========================================================================== */
.contact-info-section {
  position: relative;
  background-color: var(--ref-white);
  padding: 35px 0 50px 0;
  z-index: 5;
}

@media (min-width: 992px) {
  .contact-info-section {
    min-height: 290px;
  }
}

/* 3 Horizontally Aligned Items - Compact width leaving space for arched image */
.contact-items-row {
  display: flex;
  align-items: stretch;
  background: var(--ref-white);
  border: 1px solid var(--ref-border);
  border-radius: 16px;
  padding: 16px 12px;
  box-shadow: 0 4px 20px rgba(11, 49, 84, 0.05);
  max-width: calc(100% - 310px);
}

.contact-item-col {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px;
  min-width: 0;
}

.contact-item-col:nth-child(2) {
  flex: 1.25;
}

.contact-item-col:not(:last-child) {
  border-right: 1px solid var(--ref-border);
}

.contact-item-icon-box {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: rgba(255, 120, 0, 0.12);
  color: var(--ref-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
}

.contact-item-col:hover .contact-item-icon-box {
  background: var(--ref-orange);
  color: var(--ref-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 120, 0, 0.28);
}

.contact-item-content {
  overflow: hidden;
  min-width: 0;
}

.contact-item-value {
  font-family: 'Poppins', sans-serif !important;
  font-size: 17.5px;
  font-weight: 700;
  color: var(--ref-navy-dark);
  margin-bottom: 3px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-item-value a {
  color: var(--ref-navy-dark);
  text-decoration: none;
  transition: color 0.25s ease;
}

.contact-item-value a:hover {
  color: var(--ref-orange);
}

.contact-item-subtext {
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px;
  color: #334155;
  margin-bottom: 0;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   2.1. BECOME A PARTNER CTA CARD (Red Box Area)
   ========================================================================== */
.contact-partner-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, #F8FAFC 0%, #FFF8F3 100%);
  border: 1px solid rgba(255, 120, 0, 0.22);
  border-radius: 16px;
  padding: 16px 24px;
  margin-top: 18px;
  box-shadow: 0 4px 20px rgba(11, 49, 84, 0.04);
  max-width: calc(100% - 310px);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.contact-partner-card::after {
  content: "";
  position: absolute;
  right: -25px;
  bottom: -25px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 120, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.contact-partner-card:hover {
  border-color: rgba(255, 120, 0, 0.45);
  box-shadow: 0 8px 24px rgba(255, 120, 0, 0.08);
  transform: translateY(-2px);
}

.partner-card-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.partner-card-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 12px;
  background: rgba(255, 120, 0, 0.12);
  color: var(--ref-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
}

.contact-partner-card:hover .partner-card-icon {
  background: var(--ref-orange);
  color: var(--ref-white);
  transform: scale(1.05);
}

.partner-card-text {
  min-width: 0;
}

.partner-card-badge {
  font-family: 'Poppins', sans-serif !important;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 120, 0, 0.14);
  color: #c2410c;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 6px;
}

.partner-card-title {
  font-family: 'Poppins', sans-serif !important;
  font-size: 20px;
  font-weight: 700;
  color: var(--ref-navy-dark);
  margin-bottom: 4px;
  line-height: 1.3;
}

.partner-card-subtext {
  font-family: 'Poppins', sans-serif !important;
  font-size: 15px;
  color: #334155;
  margin-bottom: 0;
  line-height: 1.45;
  font-weight: 500;
}

.partner-card-action {
  flex-shrink: 0;
}

.btn-partner-cta {
  font-family: 'Poppins', sans-serif !important;
  background: linear-gradient(135deg, #FF7800 0%, #F45F20 100%);
  color: #FFFFFF !important;
  font-size: 15.5px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(255, 120, 0, 0.35);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-partner-cta i {
  transition: transform 0.25s ease;
}

.btn-partner-cta:hover {
  background: linear-gradient(135deg, #F45F20 0%, #e05316 100%);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(244, 95, 32, 0.45);
}

.btn-partner-cta:hover i {
  transform: translateX(4px);
}

/* ==========================================================================
   3. MAIN CONTACT AREA (Two-Column: Form & Location)
   ========================================================================== */
.contact-main-section {
  background-color: var(--ref-white);
  padding: 35px 0 75px 0;
}

/* LEFT: Dark Navy Contact Form Card */
.contact-form-card {
  position: relative;
  background: linear-gradient(145deg, #123F68 0%, #071F39 100%);
  border-radius: 14px;
  padding: 38px 34px;
  color: var(--ref-white);
  box-shadow: 0 16px 36px rgba(7, 31, 57, 0.18);
  overflow: hidden;
  height: 100%;
}

/* Subtle decorative waves in bottom right corner */
.contact-form-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.contact-form-card::before {
  content: "";
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1px solid rgba(255, 120, 0, 0.12);
  pointer-events: none;
}

.form-card-title {
  font-size: 28px;
  font-weight: 500;
  color: var(--ref-orange);
  margin-bottom: 10px;
}

.form-card-desc {
  font-size: 16px;
  color: #f1f5f9;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 480px;
  font-weight: 400;
}

/* Inputs with transparent/dark navy background & subtle border */
.ref-form-group {
  position: relative;
  margin-bottom: 20px;
}

.ref-form-group .form-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #cbd5e1;
  font-size: 17px;
  pointer-events: none;
  transition: color 0.25s ease;
}

.ref-form-group.has-textarea .form-icon {
  top: 20px;
  transform: none;
}

.ref-input-pill {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 35px;
  padding: 15px 22px 15px 52px;
  color: var(--ref-white);
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: all 0.3s ease;
}

.ref-input-pill::placeholder {
  color: #cbd5e1;
  font-size: 15px;
}

.ref-input-pill:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--ref-orange);
  box-shadow: 0 0 0 3px rgba(255, 120, 0, 0.25);
  color: var(--ref-white);
}

.ref-input-pill:focus + .form-icon {
  color: var(--ref-orange);
}

.ref-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  padding: 16px 22px 16px 52px;
  color: var(--ref-white);
  font-size: 16px;
  font-family: inherit;
  outline: none;
  resize: vertical;
  min-height: 140px;
  transition: all 0.3s ease;
}

.ref-textarea::placeholder {
  color: #cbd5e1;
  font-size: 15px;
}

.ref-textarea:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--ref-orange);
  box-shadow: 0 0 0 3px rgba(255, 120, 0, 0.25);
  color: var(--ref-white);
}

.btn-submit-contact {
  background-color: var(--ref-orange);
  color: var(--ref-white);
  border: none;
  border-radius: 35px;
  font-size: 16.5px;
  font-weight: 700;
  padding: 15px 42px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255, 120, 0, 0.35);
  margin-top: 8px;
}

.btn-submit-contact:hover {
  background-color: var(--ref-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244, 95, 32, 0.45);
  color: var(--ref-white);
}

/* RIGHT: Location Section */
.contact-location-wrap {
  padding-left: 20px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.location-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--ref-navy-dark);
  margin-bottom: 10px;
}

.location-desc {
  font-size: 16px;
  color: var(--ref-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 100%;
}

/* Realistic Demo Map Card - Edge to Edge in container */
.demo-map-card {
  position: relative;
  width: 100% !important;
  flex: 1 1 auto;
  min-height: 380px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--ref-border);
  box-shadow: 0 6px 20px rgba(11, 49, 84, 0.06);
  margin-bottom: 20px;
}

.demo-map-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

/* Floating White Map Info Card top-left */
.map-floating-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(228, 232, 237, 0.8);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 290px;
}

.map-pin-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 120, 0, 0.15);
  color: var(--ref-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.map-badge-info h6 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ref-navy-dark);
  margin-bottom: 3px;
  line-height: 1.25;
}

.map-badge-info p {
  font-size: 12px;
  color: var(--ref-muted);
  margin-bottom: 3px;
  line-height: 1.2;
}

.map-badge-rating {
  font-size: 12px;
  color: #f59e0b;
  font-weight: 600;
}

.map-badge-rating span {
  color: var(--ref-navy-dark);
  margin-left: 3px;
  font-weight: 700;
}

/* Social Media Section */
.contact-social-block {
  margin-top: auto;
  padding-top: 30px;
}

.social-section-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--ref-navy-dark);
  margin-bottom: 14px;
}

.contact-social-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-social-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #f1f5f9;
  color: var(--ref-navy-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  text-decoration: none !important;
  transition: all 0.25s ease;
  border: 1px solid var(--ref-border);
}

.contact-social-btn:hover {
  transform: translateY(-3px);
  background: var(--ref-orange);
  color: var(--ref-white);
  border-color: var(--ref-orange);
  box-shadow: 0 8px 18px rgba(255, 120, 0, 0.25);
}

/* ==========================================================================
   4. FREQUENTLY ASKED QUESTIONS SECTION
   ========================================================================== */
.contact-faq-section {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif !important;
  background-color: var(--ref-bg-light);
  padding: 85px 0 95px 0;
  border-top: 1px solid var(--ref-border);
  position: relative;
}

.contact-faq-header {
  margin-bottom: 50px;
}

.contact-faq-badge {
  font-family: 'Poppins', sans-serif !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 120, 0, 0.14);
  color: #c2410c;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 8px 22px;
  border-radius: 30px;
  margin-bottom: 18px;
}

.contact-faq-title {
  font-family: 'Poppins', sans-serif !important;
  font-size: 38px;
  font-weight: 700;
  color: var(--ref-navy-dark);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
  line-height: 1.25;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-faq-title .text-orange {
  color: var(--ref-orange) !important;
  font-size: 44px !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px;
}

.contact-faq-subtext {
  font-family: 'Poppins', sans-serif !important;
  font-size: 20px;
  color: #1e293b !important; /* Visible, dark, high contrast */
  font-weight: 500;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.65;
}

/* FAQ Grid: Two Columns (Left & Right) */
.contact-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  align-items: start;
}

.contact-faq-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-faq-item {
  background: var(--ref-white);
  border: 1.5px solid var(--ref-border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 3px 12px rgba(11, 49, 84, 0.03);
}

.contact-faq-item:hover {
  border-color: rgba(255, 120, 0, 0.35);
  box-shadow: 0 6px 18px rgba(11, 49, 84, 0.06);
  transform: translateY(-1px);
}

.contact-faq-item.active {
  border-color: var(--ref-orange);
  box-shadow: 0 6px 22px rgba(255, 120, 0, 0.1);
}

.contact-faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  text-align: left;
  cursor: pointer;
  font-family: 'Poppins', sans-serif !important;
  color: #071F39 !important;
  font-size: 17.5px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  transition: color 0.25s ease;
}

.contact-faq-question:hover {
  color: var(--ref-orange) !important;
}

.contact-faq-item.active .contact-faq-question {
  color: var(--ref-orange) !important;
}

.faq-q-text {
  flex: 1;
  font-family: 'Poppins', sans-serif !important;
  font-size: 17.5px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: #071F39 !important;
  letter-spacing: -0.15px;
  transition: color 0.25s ease;
}

.contact-faq-question:hover .faq-q-text,
.contact-faq-item.active .faq-q-text {
  color: var(--ref-orange) !important;
}

.faq-toggle-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: rgba(11, 49, 84, 0.06);
  color: var(--ref-navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-faq-item.active .faq-toggle-icon {
  background: var(--ref-orange);
  color: var(--ref-white);
  transform: rotate(45deg);
}

.contact-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.contact-faq-item.active .contact-faq-answer {
  max-height: 600px;
  transition: max-height 0.45s ease-in-out;
}

.faq-answer-inner {
  font-family: 'Poppins', sans-serif !important;
  padding: 0 20px 20px 20px;
  color: #1e293b !important; /* Visible, dark, high contrast */
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  border-top: 1px dashed rgba(228, 232, 237, 0.9);
  padding-top: 14px;
}

/* Bottom Support Card */
.contact-faq-footer-card {
  font-family: 'Poppins', sans-serif !important;
  background: var(--ref-white);
  border: 1px solid var(--ref-border);
  border-radius: 20px;
  padding: 28px 36px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 6px 24px rgba(11, 49, 84, 0.05);
}

.faq-footer-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.faq-footer-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 16px;
  background: rgba(255, 120, 0, 0.12);
  color: var(--ref-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.faq-footer-info h5 {
  font-family: 'Poppins', sans-serif !important;
  font-size: 21px;
  font-weight: 700;
  color: var(--ref-navy-dark);
  margin-bottom: 5px;
}

.faq-footer-info p {
  font-family: 'Poppins', sans-serif !important;
  font-size: 16.5px;
  color: #1e293b !important; /* Visible, dark, high contrast */
  font-weight: 500;
  margin-bottom: 0;
}

.faq-footer-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.btn-faq-whatsapp {
  font-family: 'Poppins', sans-serif !important;
  background: #25D366;
  color: #FFFFFF !important;
  padding: 13px 24px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
}

.btn-faq-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.btn-faq-call {
  font-family: 'Poppins', sans-serif !important;
  background: var(--ref-navy-dark);
  color: #FFFFFF !important;
  padding: 13px 24px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.btn-faq-call:hover {
  background: #123F68;
  transform: translateY(-2px);
}

/* ==========================================================================
   5. NEWSLETTER SECTION
   ========================================================================== */
.contact-newsletter-section {
  position: relative;
  background-color: var(--ref-navy-dark);
  padding: 38px 0;
  color: var(--ref-white);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-newsletter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.newsletter-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--ref-white);
  margin-bottom: 5px;
}

.newsletter-subtext {
  font-size: 15.5px;
  color: #f8fafc;
  margin-bottom: 0;
  font-weight: 400;
}

.newsletter-form-pill {
  display: flex;
  align-items: center;
  background: var(--ref-white);
  border-radius: 40px;
  padding: 6px 8px 6px 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 480px;
}

.newsletter-form-pill input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 15px;
  font-family: inherit;
  color: var(--ref-navy-dark);
  padding: 8px 12px 8px 0;
}

.newsletter-form-pill input::placeholder {
  color: #64748b;
  font-size: 14.5px;
}

.newsletter-form-pill button {
  background: var(--ref-orange);
  color: var(--ref-white);
  border: none;
  border-radius: 35px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.newsletter-form-pill button:hover {
  background: var(--ref-orange-hover);
  box-shadow: 0 4px 14px rgba(244, 95, 32, 0.35);
}

/* ==========================================================================
   5. RESPONSIVE ADAPTATIONS
   ========================================================================== */
@media (max-width: 1199px) {
  .contact-arched-img-wrap {
    width: 230px;
    height: 380px;
    right: 15px;
  }
}

@media (max-width: 991px) {
  .contact-hero-section {
    min-height: auto;
    padding: 45px 0 65px 0;
  }

  .contact-hero-title {
    font-size: 44px;
  }

  .contact-hero-subtext {
    font-size: 16px;
  }
  
  .contact-arched-img-wrap {
    position: relative;
    right: auto;
    top: auto;
    margin: 30px auto -30px auto;
    width: 240px;
    height: 370px;
  }

  .contact-info-section {
    padding-top: 40px;
  }

  .contact-items-row {
    flex-direction: column;
    padding: 20px;
    gap: 18px;
    max-width: 100%;
  }

  .contact-partner-card {
    max-width: 100%;
    margin-top: 20px;
  }

  .contact-item-col {
    padding: 10px 14px;
  }

  .contact-item-col:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--ref-border);
    padding-bottom: 18px;
  }

  .contact-location-wrap {
    padding-left: 0;
    margin-top: 40px;
    height: auto;
  }

  .demo-map-card {
    height: 280px;
    min-height: 280px;
  }

  .contact-social-block {
    margin-top: 25px;
    padding-top: 0;
  }

  .contact-newsletter-row {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form-pill {
    max-width: 100%;
  }

  .contact-faq-section {
    padding: 60px 0 65px 0;
  }

  .contact-faq-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-faq-title {
    font-size: 32px;
  }

  .contact-faq-title .text-orange {
    font-size: 38px !important;
  }

  .contact-faq-subtext {
    font-size: 18.5px;
  }

  .contact-faq-question {
    font-size: 16.5px !important;
    padding: 15px 18px;
  }

  .faq-q-text {
    font-size: 16.5px !important;
  }

  .faq-toggle-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 13px;
  }

  .faq-answer-inner {
    font-size: 17px;
    padding: 0 24px 22px 24px;
  }

  .contact-faq-footer-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    gap: 18px;
  }

  .faq-footer-actions {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 576px) {
  .contact-hero-title {
    font-size: 36px;
  }

  .contact-hero-subtext {
    font-size: 15px;
  }

  .form-card-title {
    font-size: 24px;
  }

  .form-card-desc {
    font-size: 14.5px;
  }

  .location-title {
    font-size: 24px;
  }

  .location-desc {
    font-size: 14.5px;
  }

  .demo-map-card {
    height: 240px;
    min-height: 240px;
  }

  .contact-partner-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 16px;
    gap: 16px;
  }

  .partner-card-action {
    width: 100%;
  }

  .btn-partner-cta {
    width: 100%;
    justify-content: center;
  }

  .contact-form-card {
    padding: 28px 20px;
  }

  .newsletter-form-pill {
    flex-direction: column;
    border-radius: 20px;
    padding: 14px;
    gap: 12px;
  }

  .newsletter-form-pill input {
    width: 100%;
    padding: 6px 0;
    text-align: center;
  }

  .newsletter-form-pill button {
    width: 100%;
    border-radius: 14px;
  }

  .contact-faq-title {
    font-size: 26px;
    gap: 6px;
  }

  .contact-faq-title .text-orange {
    font-size: 30px !important;
  }

  .contact-faq-subtext {
    font-size: 17px;
  }

  .contact-faq-question {
    padding: 14px 16px;
    font-size: 15.5px !important;
  }

  .faq-q-text {
    font-size: 15.5px !important;
  }

  .faq-toggle-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    font-size: 12px;
  }

  .faq-answer-inner {
    padding: 0 20px 20px 20px;
    font-size: 16px;
  }

  .faq-footer-actions {
    flex-direction: column;
  }

  .btn-faq-whatsapp,
  .btn-faq-call {
    width: 100%;
    justify-content: center;
  }
}
