/* ================================ GLOBAL CTA ENHANCEMENTS ================================ */
/* Modernize primary call-to-action buttons without touching styles.min.css or styles2.css */

/* Base CTA button */
.generic-button {
  /* Preserve existing layout intent (inline-flex, centering) but refine look */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.9rem;
  min-height: 44px;
  min-width: 210px;
  max-width: 100%;
  border-radius: 999px;
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  letter-spacing: 0.04em;
  text-transform: none;
  text-align: center;
  line-height: 1;
  background: linear-gradient(135deg, #16145d, #25239a);
  color: #ffffff;
  border: 0;
  box-shadow: 0 10px 24px rgba(22, 20, 93, 0.26);
  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out,
    background 0.18s ease-out,
    color 0.18s ease-out;
}

/* Strengthen label weight slightly for readability */
.generic-button span {
  font-weight: 600;
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

/* Standardize icon spacing on CTA buttons */
.generic-button svg {
  width: 1.1rem;
  height: 1.1rem;
  margin-right: 0.55rem;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  display: inline-block;
  vertical-align: middle;
  /* Icons use current text color so they track hover states automatically */
  color: inherit !important;
  background: transparent !important;
  transition: color 0.18s ease-out;
}

/* Disable the sliding background from root-base.css since we use a simple background change */
.generic-button::before {
  display: none !important;
  content: none !important;
}

/* Explicitly keep icon background transparent and color synced on hover */
.generic-button:hover svg {
  color: inherit !important;
  background: transparent !important;
}

.generic-button:hover {
  /* On hover: white button, dark blue text, stronger lift */
  background: #ffffff;
  color: #16145d;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(22, 20, 93, 0.35);
}

.service-card .generic-button,
.cta-card .generic-button,
.card .generic-button {
  width: min(100%, 260px);
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  justify-content: center;
  margin: 16px auto 0;
  box-shadow: 0 10px 30px rgba(22, 20, 93, 0.25);
  display: inline-flex;
  align-items: center;
}

.service-card .generic-button span,
.cta-card .generic-button span,
.card .generic-button span {
  width: 100%;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.generic-button:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(22, 20, 93, 0.22);
}

.generic-button:disabled,
.generic-button[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Ensure CTA buttons look consistent on colored section backgrounds */
.dark_blue .generic-button,
.crema .generic-button,
.light_blue .generic-button {
  margin-top: 1.2rem;
}

/* ================================ FAQ CARD OVERRIDES ================================ */
/* Force override of FAQ card titles to ensure mobile sizing is correct, dealing with potential style conflicts */
.faq-item h4 {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem) !important;
  line-height: 1.4 !important;
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .faq-item h4 {
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.25rem) !important;
  }
}

@media (max-width: 768px) {
  .generic-button {
    width: auto;
    min-width: auto; /* Relax min-width constraint on mobile to prevent overflow */
    padding: 0.75rem 1.4rem;
    font-size: 0.95rem;
    display: inline-flex; /* Keep flexbox for proper vertical centering */
    margin-left: auto;
    margin-right: auto;
  }

  .dark_blue .generic-button,
  .crema .generic-button,
  .light_blue .generic-button {
    display: inline-flex; /* Keep flexbox for proper vertical centering */
    margin-left: auto;
    margin-right: auto;
  }

  /* Keep inline CTA rows aligned when there are two buttons side-by-side */
  .cta-row .generic-button,
  .button-row .generic-button,
  .cta-inline .generic-button {
    display: inline-flex;
    margin-left: 0;
    margin-right: 0;
    width: auto;
  }

  /* FAQ Card Mobile Overrides */
  .faq-item h4 {
    font-size: clamp(1.15rem, 1.1rem + 0.4vw, 1.35rem) !important;
    margin-bottom: 14px !important;
  }
}

@media (max-width: 520px) {
  /* FAQ Card Extra Small Mobile Overrides */
  .faq-item h4 {
    font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem) !important;
    line-height: 1.45 !important;
    padding-left: 4px !important;
  }
}
