/* =========================================================
   SOLUTION TECHNOLOGIE HUB — contact.css
   ========================================================= */

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--apricot);
  margin-bottom: 12px;
}

/* ── FORM WRAP ── */
.contact-form-wrap h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.2;
}
.contact-form-wrap h2 span { color: var(--apricot); }
.contact-form-wrap > p {
  color: var(--gray-text);
  margin-bottom: 30px;
}

/* ── FORM ELEMENTS ── */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
}
.required { color: var(--apricot); }

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}
.input-wrap > i:first-child {
  position: absolute;
  left: 14px;
  color: var(--gray-mid);
  font-size: 0.9rem;
  pointer-events: none;
  z-index: 1;
  transition: color 0.25s;
}
.input-wrap input,
.input-wrap select,
.input-wrap textarea {
  width: 100%;
  padding: 13px 16px 13px 42px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--dark-text);
  background: var(--white);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.input-wrap input:focus,
.input-wrap select:focus,
.input-wrap textarea:focus {
  border-color: var(--apricot);
  box-shadow: 0 0 0 4px rgba(255,170,91,0.12);
}
.input-wrap input:focus + i,
.input-wrap:focus-within > i:first-child { color: var(--apricot); }

.input-wrap--textarea { align-items: flex-start; }
.input-wrap--textarea > i:first-child { top: 14px; }
.input-wrap--textarea textarea { resize: vertical; min-height: 140px; }
.input-wrap--select .select-arrow {
  position: absolute;
  right: 14px;
  color: var(--gray-mid);
  font-size: 0.75rem;
  pointer-events: none;
}

.field-error {
  font-size: 0.78rem;
  color: #e53e3e;
  font-family: var(--font-display);
  min-height: 16px;
  text-align: left;
}
.input-wrap.error input,
.input-wrap.error select,
.input-wrap.error textarea {
  border-color: #e53e3e;
}

#submitBtn {
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(255, 170, 91, 0.3);
}

/* ── FORM SUCCESS ── */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 24px;
  background: var(--off-white);
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-lg);
}
.form-success.show { display: block; }
.success-icon {
  font-size: 3rem;
  color: #48bb78;
  margin-bottom: 16px;
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.form-success p { color: var(--gray-text); line-height: 1.7; margin: 0; }

/* ── CONTACT INFO SIDEBAR ── */
.contact-info { display: flex; flex-direction: column; gap: 24px; }

.info-card {
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 24px;
}
@media (min-width: 768px) {
  .info-card { padding: 32px; }
}
.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
  text-align: left;
}
.info-card h3 span { color: var(--apricot); }
.info-items { display: flex; flex-direction: column; gap: 20px; }
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
}
.info-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: var(--apricot-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--apricot);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.info-item label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-mid);
  margin-bottom: 2px;
}
.info-item a,
.info-item span {
  font-size: 0.9rem;
  color: var(--dark-text);
  font-weight: 500;
  transition: color 0.2s;
  display: block;
  word-break: break-word; /* Anpeche imel la debòde sou ti telefòn */
}
.info-item a:hover { color: var(--apricot); }

/* ── WHATSAPP CARD ── */
.whatsapp-card {
  background: linear-gradient(135deg, #075E54, #25D366);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: var(--white);
  text-align: left;
}
@media (min-width: 768px) {
  .whatsapp-card { padding: 28px; }
}
.whatsapp-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.whatsapp-card-text h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.whatsapp-card-text p {
  font-size: 0.88rem;
  opacity: 0.9;
  margin-bottom: 12px;
  line-height: 1.5;
}
.response-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 20px;
}
.response-badge i { color: #FFE066; }
.whatsapp-full-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.3s;
}
.whatsapp-full-btn:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
  color: var(--white);
}

/* ── SOCIAL CARD ── */
.social-card {
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.social-card h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 16px;
  text-align: left;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--gray-light);
  transition: all 0.25s var(--ease);
  font-size: 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--dark-text);
}
.social-link i { font-size: 1rem; width: 18px; text-align: center; }
.social-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.social-link--fb:hover  { background: #1877f2; color: white; border-color: #1877f2; }
.social-link--li:hover  { background: #0a66c2; color: white; border-color: #0a66c2; }
.social-link--ig:hover  { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: white; border-color: transparent; }
.social-link--gh:hover  { background: #24292e; color: white; border-color: #24292e; }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gray-light);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 16px;
}
.faq-question span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.25s;
}
.faq-question:hover span { color: var(--apricot); }
.faq-icon {
  color: var(--apricot);
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.3s;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 20px; }
.faq-answer p {
  color: var(--gray-text);
  font-size: 0.9rem;
  line-height: 1.75;
  margin: 0;
  text-align: left;
}

/* ── ADAPTATIONS MOBILES ── */
@media (max-width: 767px) {
  .social-link { padding: 10px; font-size: 0.8rem; }
}

/* FLOATING WHATSAPP BTN */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: all 0.3s ease;
}
.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1) translateY(-5px);
  color: #fff;
}
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
}