/* ═══════════════════════════════════════════════
   Contact + FAQ — contact.css
   ═══════════════════════════════════════════════ */

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

/* ── Section wrapper ── */
.contact-faq {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  background: #f7f8fa;
  padding: 100px 0;
}

.contact-faq__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* ════════════════════════════════════════
   LEFT — REQUEST A QUOTE FORM
   ════════════════════════════════════════ */
.raq {
  background: #ffffff;
  border-radius: 10px;
  padding: 48px 44px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.07);
}

.raq__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #f9a826;
  margin-bottom: 10px;
}

.raq__heading {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 900;
  color: #2f3542;
  letter-spacing: -0.4px;
  line-height: 1.15;
  margin-bottom: 36px;
}

/* ── Form layout ── */
.raq__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.raq__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.raq__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.raq__field--full {
  grid-column: 1 / -1;
}

.raq__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #2f3542;
}

/* ── Inputs ── */
.raq__input {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 0.88rem;
  color: #2f3542;
  background: #ffffff;
  border: 1.5px solid #e2e5ea;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.raq__input::placeholder {
  color: #b0b8c4;
}

.raq__input:focus {
  border-color: #f9a826;
  box-shadow: 0 0 0 3px rgba(249,168,38,0.12);
}

/* ── Select wrapper ── */
.raq__select-wrap {
  position: relative;
}

.raq__select {
  cursor: pointer;
  padding-right: 40px;
}

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

/* ── Textarea ── */
.raq__textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

/* ── Submit button ── */
.raq__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  background: #f9a826;
  color: #1e1e1e;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 15px 32px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(249,168,38,0.32);
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.22s ease,
              background 0.2s;
}

.raq__btn svg {
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1);
}

.raq__btn:hover {
  background: #e8971a;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 32px rgba(249,168,38,0.45);
}

.raq__btn:hover svg {
  transform: translateX(4px);
}

/* ════════════════════════════════════════
   RIGHT — FAQ ACCORDION
   ════════════════════════════════════════ */
.faq {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

/* blurred background image overlay */
.faq__bg-overlay {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=900&q=60');
  background-size: cover;
  background-position: center;
  filter: blur(2px) brightness(0.18);
  z-index: 0;
  transform: scale(1.05);
}

.faq__content {
  position: relative;
  z-index: 1;
  padding: 48px 44px;
}

.faq__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #f9a826;
  margin-bottom: 10px;
}

.faq__heading {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.3px;
  margin-bottom: 14px;
}

.faq__desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 32px;
}

/* ── Accordion list ── */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── Accordion item ── */
.faq__item {
  border-radius: 6px;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,0.1);
}

/* ── Question button ── */
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  border: none;
  background: #ffffff;
  color: #2f3542;
  transition: background 0.2s, color 0.2s;
}

.faq__chevron {
  flex-shrink: 0;
  color: #2f3542;
  transition: transform 0.3s ease, color 0.2s;
}

/* ── Active item ── */
.faq__item--active .faq__q {
  background: #f9a826;
  color: #ffffff;
}

.faq__item--active .faq__chevron {
  color: #ffffff;
  transform: rotate(180deg);
}

/* ── Answer body ── */
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.3s ease;
  background: #ffffff;
  border-top: 1.5px solid #e8e8e8;
}

.faq__a p {
  padding: 18px 20px;
  font-size: 0.84rem;
  color: #555;
  line-height: 1.75;
  margin: 0;
}

/* open state */
.faq__item--active .faq__a {
  max-height: 300px;
}

/* collapsed items hover */
.faq__item:not(.faq__item--active) .faq__q:hover {
  background: #f7f8fa;
}

/* ════════════════════════════════════════
   SCROLL-IN ANIMATION
   ════════════════════════════════════════ */
.raq,
.faq__content {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.raq.in-view,
.faq__content.in-view {
  opacity: 1;
  transform: translateY(0);
}

.faq__content { transition-delay: 0.12s; }

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 960px) {
  .contact-faq__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .contact-faq { padding: 64px 0; }
  .contact-faq__inner { padding: 0 20px; }
  .raq { padding: 32px 24px; }
  .raq__row { grid-template-columns: 1fr; }
  .faq__content { padding: 32px 24px; }
  .raq__btn { width: 100%; justify-content: center; }
}
