/* ============================
   Custom Styles — cytotecmifepristona.com
   ============================ */

/* ------ WhatsApp Floating Button ------ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  z-index: 9999;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}
.whatsapp-float:hover,
.whatsapp-float:focus {
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
  text-decoration: none;
}

/* ------ Feature cards — home page ------ */
.feature-card-custom {
  padding: 40px 30px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  height: 100%;
  background: #fff;
}
.feature-card-custom:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}
.feature-card-custom .fc-icon {
  font-size: 2.5rem;
  color: var(--color-primary, #09dca4);
  margin-bottom: 16px;
}
.feature-card-custom h4 {
  margin-bottom: 12px;
}

/* ------ Process steps — home page ------ */
.step-number {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(9, 220, 164, 0.2);
  line-height: 1;
  margin-bottom: 4px;
}

/* ------ Mission / Vision / Values cards — about page ------ */
.mvv-card {
  padding: 32px 24px;
  border-left: 4px solid var(--color-primary, #09dca4);
  background: #f8f9fa;
  margin-bottom: 24px;
  transition: box-shadow 0.2s ease;
}
.mvv-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}
.mvv-card h4 {
  margin-bottom: 12px;
}

/* ------ WhatsApp contact box — contact page ------ */
.wa-contact-box {
  background: #25D366;
  padding: 36px 28px;
  border-radius: 4px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  height: 100%;
  justify-content: center;
}
.wa-contact-box i {
  font-size: 3rem;
}
.wa-contact-box h4 {
  color: #fff;
  margin: 0;
}
.wa-contact-box p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}
.wa-contact-box .btn-wa {
  display: inline-block;
  background: #fff;
  color: #1a9e4d;
  border: none;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.wa-contact-box .btn-wa:hover {
  background: rgba(255, 255, 255, 0.88);
  color: #1a9e4d;
  text-decoration: none;
}

/* ------ Form feedback ------ */
.alert-success-custom {
  padding: 14px 18px;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  border-radius: 4px;
  margin-top: 12px;
  display: none;
}
.alert-error-custom {
  padding: 14px 18px;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
  border-radius: 4px;
  margin-top: 12px;
  display: none;
}

/* ------ FAQ intro text ------ */
.faq-intro {
  font-size: 1.05rem;
  margin-bottom: 36px;
  color: #666;
}

/* ------ Accessibility ------ */
:focus:not(:focus-visible) {
  outline: none;
}
:focus-visible {
  outline: 3px solid var(--color-primary, #09dca4);
  outline-offset: 2px;
}

/* ------ Lazy loading fade-in ------ */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.4s ease;
}
img[loading="lazy"].loaded {
  opacity: 1;
}
