/* =============================================
   FAQ.CSS — ServiHogar
============================================= */

/* =============================================
   HERO
============================================= */
.faq-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}

.faq-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #0d2028 0%, #1a3038 40%, #243f48 100%);
  z-index: 0;
}

.faq-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,.013) 2px,
    rgba(255,255,255,.013) 4px
  );
}

.faq-hero__photo {
  position: absolute;
  inset: 0;
  left: 42%;
  z-index: 1;
  overflow: hidden;
}

.faq-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.faq-hero__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #1a3038 0%,
    rgba(26,48,56,.85) 15%,
    rgba(26,48,56,.45) 45%,
    rgba(26,48,56,.15) 75%,
    rgba(26,48,56,.05) 100%
  );
  z-index: 2;
}

.faq-hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, #1a3038 0%, transparent 12%, transparent 85%, #1a3038 100%),
    linear-gradient(to left, rgba(176,138,90,.12) 0%, transparent 60%);
  z-index: 3;
}

@media (max-width: 767px) {
  .faq-hero__photo {
    left: 0;
    opacity: .18;
  }
  .faq-hero__photo::before {
    background: rgba(26,48,56,.7);
  }
}

.faq-hero__content {
  position: relative;
  z-index: 3;
  padding-block: 4rem;
  max-width: 58%;
  animation: fadeInUp .7s ease both;
}

@media (max-width: 767px) {
  .faq-hero__content { max-width: 100%; }
}

@media (min-width: 1024px) {
  .faq-hero { min-height: 72vh; }
  .faq-hero__content { padding-block: 5rem; }
}

.faq-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 1.25rem;
}

.faq-hero__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-gold);
  flex-shrink: 0;
}

.faq-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-white);
  letter-spacing: -.03em;
  margin-bottom: 1.25rem;
}

.faq-hero h1 em {
  font-style: normal;
  color: var(--color-gold-light);
}

.faq-hero__lead {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,.75);
  max-width: 50ch;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.faq-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.faq-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: .4rem .9rem;
  backdrop-filter: blur(4px);
}

.faq-hero__badge i {
  color: var(--color-gold-light);
  font-size: .85em;
}

.faq-section {
  background: var(--color-bg-warm);
}

.faq-group {
  margin-bottom: 3rem;
}

.faq-group:last-child { margin-bottom: 0; }

.faq-group__title {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid rgba(176,138,90,.2);
}

.faq-group__title i { color: var(--color-gold); }

/* Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid rgba(26,48,56,.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition);
}

.faq-item:hover {
  border-color: rgba(176,138,90,.25);
}

.faq-item.is-open {
  border-color: rgba(176,138,90,.35);
}

.faq-item__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.15rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: .95rem;
  font-weight: 600;
  color: var(--color-primary);
  gap: 1rem;
  transition: background var(--transition);
}

.faq-item__btn:hover { background: rgba(176,138,90,.03); }

.faq-item.is-open .faq-item__btn {
  background: rgba(26,48,56,.02);
}

.faq-item__chevron {
  font-size: .75rem;
  color: var(--color-gold);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.is-open .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
}

.faq-item.is-open .faq-item__body {
  max-height: 400px;
}

.faq-item__content {
  padding: .75rem 1.5rem 1.25rem;
  border-top: 1px solid rgba(26,48,56,.06);
  font-size: .9rem;
  color: var(--color-text-mid);
  line-height: 1.7;
}

.faq-item__content strong { color: var(--color-primary); }
