/* ==========================================================================
   Contact Page Styles — Red Carpet UAE
   ========================================================================== */

.contact-hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 5rem;
  /* background: radial-gradient(ellipse 80% 60% at 50% 12%, rgba(254, 246, 240, 0.95) 0%, rgba(252, 250, 247, 0.7) 45%, #ffffff 100%); */
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}


.contact-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.6vw, 3.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #14171f;
  margin: 0 auto 1.4rem;
  max-width: 960px;
}

.contact-hero__accent {
  display: inline-block;
  color: #b0050b;
  font-style: italic;
  font-weight: 800;
  position: relative;
  text-decoration: underline;
  text-decoration-color: rgba(176, 5, 11, 0.45);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}

.contact-hero__lead {
  font-size: clamp(1rem, 1.22vw, 1.15rem);
  line-height: 1.7;
  color: #55555e;
  max-width: 820px;
  margin: 0 auto 3rem;
  font-weight: 400;
}

/* Badges row */
.contact-hero__badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.contact-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 1.4rem 0.65rem 0.65rem;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(228, 224, 218, 0.9);
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.035), 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.22s ease;
  text-align: left;
}

.contact-hero__pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(60, 45, 30, 0.08);
  border-color: rgba(176, 5, 11, 0.25);
  background: rgba(255, 255, 255, 0.95);
}

.contact-hero__pill-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(176, 5, 11, 0.07);
  border: 1px solid rgba(176, 5, 11, 0.14);
  color: #b0050b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.22s ease, background 0.22s ease;
}

.contact-hero__pill:hover .contact-hero__pill-icon {
  transform: scale(1.06);
  background: rgba(176, 5, 11, 0.12);
}

.contact-hero__pill-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.contact-hero__pill-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1a1a1f;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.contact-hero__pill-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: #78716c;
  line-height: 1.2;
}

/* Contact Details Section */
.contact-grid-section {
  padding: 4.5rem 0 5.5rem;
  background: #fbfbfa;
}

.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.contact-channel-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-channel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
  border-color: rgba(176, 5, 11, 0.3);
}

.contact-channel-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(176, 5, 11, 0.08);
  color: #b0050b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-channel-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.35rem;
}

.contact-channel-card__desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
}

.contact-channel-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
  margin-top: auto;
}

.contact-channel-card__btn--red {
  background: #b0050b;
  color: #ffffff;
}

.contact-channel-card__btn--red:hover {
  background: #8e0409;
}

.contact-channel-card__btn--green {
  background: #25d366;
  color: #ffffff;
}

.contact-channel-card__btn--green:hover {
  background: #1eb855;
}

.contact-channel-card__btn--outline {
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: #1f2937;
  background: #ffffff;
}

.contact-channel-card__btn--outline:hover {
  border-color: #b0050b;
  color: #b0050b;
}

/* RTL Support */
[dir="rtl"] .contact-hero__pill,
body.is-rtl .contact-hero__pill {
  text-align: right;
  padding: 0.65rem 0.65rem 0.65rem 1.4rem;
}

[dir="rtl"] .contact-channel-card,
body.is-rtl .contact-channel-card {
  text-align: right;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .contact-hero {
    padding: 4.5rem 0 3.75rem;
  }
  .contact-hero__badges {
    gap: 1rem;
  }
  .contact-channels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .contact-hero {
    padding: 3.5rem 0 3rem;
  }
  .contact-hero__lead {
    margin-bottom: 2rem;
  }
  .contact-hero__badges {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    max-width: 340px;
    margin: 0 auto;
  }
  .contact-hero__pill {
    width: 100%;
  }
  .contact-channels-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* ==========================================================================
   Section 2: RFQ Form & Principal Headquarters Dual Grid
   ========================================================================== */
.contact-main-section {
  padding: 3.5rem 0 5.5rem;
  background: #fbfbfa;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.25rem;
  align-items: start;
}

/* LEFT: RFQ Protocol Form Card */
.contact-rfq-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 2.5rem 2.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.contact-rfq-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.rfq-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b0050b;
}

.rfq-badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(176, 5, 11, 0.07);
  color: #b0050b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-rfq-card__title {
  font-family: var(--font-display, inherit);
  font-size: 1.65rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.25;
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}

.contact-rfq-card__sub {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0 0 1.75rem;
}

.rfq-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.rfq-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.rfq-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.rfq-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
  letter-spacing: -0.01em;
}

.rfq-label .req {
  color: #b0050b;
}

.rfq-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.rfq-input-icon {
  position: absolute;
  left: 14px;
  width: 17px;
  height: 17px;
  color: #94a3b8;
  pointer-events: none;
}

.rfq-input-wrap input,
.rfq-input-wrap select,
.rfq-input-wrap textarea {
  width: 100%;
  height: 46px;
  padding: 0 14px 0 42px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.86rem;
  color: #1e293b;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.rfq-input-wrap select {
  cursor: pointer;
}

.rfq-textarea-wrap textarea {
  height: auto;
  padding: 12px 14px;
  min-height: 85px;
  resize: vertical;
}

.rfq-input-wrap input:focus,
.rfq-input-wrap select:focus,
.rfq-input-wrap textarea:focus {
  outline: none;
  border-color: #b0050b;
  box-shadow: 0 0 0 3px rgba(176, 5, 11, 0.1);
}

.rfq-submit-btn {
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, #b0050b 0%, #8e0409 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 6px 20px rgba(176, 5, 11, 0.28);
  transition: transform 0.18s, box-shadow 0.18s, filter 0.18s;
  margin-top: 0.35rem;
}

.rfq-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(176, 5, 11, 0.38);
  filter: brightness(1.05);
}

.rfq-trust-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  font-weight: 500;
  color: #64748b;
  margin-top: 0.25rem;
  text-align: center;
}

.rfq-trust-line svg {
  color: #b0050b;
  flex-shrink: 0;
}

.rfq-tech-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-top: 1.5rem;
}

.rfq-tech-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.rfq-tech-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.15rem;
}

.rfq-tech-desc {
  font-size: 0.73rem;
  line-height: 1.45;
  color: #64748b;
  margin: 0;
}

/* RIGHT: Principal Headquarters & Map Card */
.contact-hq-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 2.25rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.contact-hq-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hq-eyebrow-wrap {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.25rem;
}

.hq-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b0050b;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(176, 5, 11, 0.2);
}

.hq-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b0050b;
}

.contact-hq-card__title {
  font-family: var(--font-display, inherit);
  font-size: 1.45rem;
  font-weight: 800;
  color: #111827;
  margin: 0;
  letter-spacing: -0.02em;
}

.btn-open-maps {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.95rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #b0050b;
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.btn-open-maps:hover {
  background: #fef2f2;
  border-color: #b0050b;
}

.hq-map-box {
  width: 100%;
  height: 230px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  margin-bottom: 1.15rem;
  background: #e5e7eb;
  position: relative;
}

.hq-map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.hq-location-bar {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 1.15rem;
}

.hq-location-icon {
  color: #b0050b;
  flex-shrink: 0;
  margin-top: 2px;
}

.hq-location-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.15rem;
}

.hq-location-sub {
  font-size: 0.76rem;
  color: #64748b;
  line-height: 1.35;
}

.hq-contacts-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.hq-contact-subcard {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hq-contact-subcard__head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #475569;
}

.hq-contact-subcard__head svg {
  color: #b0050b;
}

.hq-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hq-contact-list li {
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hq-contact-label {
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 500;
}

.hq-contact-list a {
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  transition: color 0.18s;
}

.hq-contact-list a:hover {
  color: #b0050b;
  text-decoration: underline;
}

.hq-email-link {
  word-break: break-all;
}

.hq-hours-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hq-hours-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  color: #334155;
  flex-wrap: wrap;
}

.hq-hours-header svg {
  color: #b0050b;
  flex-shrink: 0;
}

.hq-hours-title {
  font-weight: 700;
  color: #0f172a;
}

.hq-hours-time {
  font-weight: 500;
  color: #475569;
}

.hq-emergency-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fef2f2;
  border: 1px solid #fee2e2;
  border-radius: 6px;
  padding: 0.45rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #b91c1c;
}

.hq-emergency-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #dc2626;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.25);
  flex-shrink: 0;
}

/* RTL layout */
[dir="rtl"] .rfq-input-wrap input,
[dir="rtl"] .rfq-input-wrap select,
body.is-rtl .rfq-input-wrap input,
body.is-rtl .rfq-input-wrap select {
  padding: 0 42px 0 14px;
  text-align: right;
}

[dir="rtl"] .rfq-input-icon,
body.is-rtl .rfq-input-icon {
  left: auto;
  right: 14px;
}

/* Mail and phone icons & inputs aligned same as English mode */
[dir="rtl"] .rfq-input-wrap:has(input[type="tel"]) .rfq-input-icon,
[dir="rtl"] .rfq-input-wrap:has(input[type="email"]) .rfq-input-icon,
body.is-rtl .rfq-input-wrap:has(input[type="tel"]) .rfq-input-icon,
body.is-rtl .rfq-input-wrap:has(input[type="email"]) .rfq-input-icon,
[dir="rtl"] .rfq-field:has(#rfq-phone) .rfq-input-icon,
[dir="rtl"] .rfq-field:has(#rfq-email) .rfq-input-icon,
body.is-rtl .rfq-field:has(#rfq-phone) .rfq-input-icon,
body.is-rtl .rfq-field:has(#rfq-email) .rfq-input-icon {
  left: 14px !important;
  right: auto !important;
}

[dir="rtl"] .rfq-input-wrap input[type="tel"],
[dir="rtl"] .rfq-input-wrap input[type="email"],
body.is-rtl .rfq-input-wrap input[type="tel"],
body.is-rtl .rfq-input-wrap input[type="email"],
[dir="rtl"] #rfq-phone,
[dir="rtl"] #rfq-email,
body.is-rtl #rfq-phone,
body.is-rtl #rfq-email {
  direction: ltr !important;
  text-align: left !important;
  padding: 0 14px 0 42px !important;
}

[dir="rtl"] .hq-contact-subcard__head svg,
body.is-rtl .hq-contact-subcard__head svg {
  transform: none;
  flex-shrink: 0;
}

[dir="rtl"] .hq-contact-list a,
body.is-rtl .hq-contact-list a {
  direction: ltr;
  display: inline-block;
  unicode-bidi: isolate;
}

[dir="rtl"] .contact-rfq-card,
body.is-rtl .contact-rfq-card,
[dir="rtl"] .contact-hq-card,
body.is-rtl .contact-hq-card {
  text-align: right;
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .contact-hq-card__header {
    flex-wrap: wrap;
  }

  .rfq-row-2,
  .hq-contacts-split {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .contact-rfq-card,
  .contact-hq-card {
    padding: 1.5rem 1.25rem;
  }
}

