/* ── SHARED — back-top, wa-float, .btn-primary, .section-tag, .social-chip, .badge-pill, .reveal, animations ── */

/* ── WA FLOAT BUTTON ── */
/* Lado IZQUIERDO para no tapar el chat widget (derecha) */
.wa-float {
  position: fixed; bottom: 92px; left: 24px; right: auto; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  text-decoration: none; transition: transform .2s;
  animation: pulse 2.5s infinite;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 28px; height: 28px; fill: white; }

/* ── BACK TO TOP ── */
.back-top {
  position: fixed; bottom: 162px; left: 24px; right: auto; z-index: 199;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(7,11,20,.9); border: 1px solid rgba(192,21,42,.4);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity .3s, background .2s, transform .2s;
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--red); transform: translateY(-2px); }

/* ── SECTION TAGS ── */
.section-tag {
  display: inline-block;
  border: 1px solid rgba(192,21,42,.35); color: #ff5577;
  font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: .32rem .9rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.section-tag.blue { border-color: rgba(26,86,219,.4); color: #6ea8ff; }
.section-tag.gold { border-color: rgba(212,175,55,.4); color: var(--gold); }

/* ── SOCIAL CHIPS ── */
.social-chip {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .35rem .85rem; border-radius: 999px;
  border: 1px solid rgba(26,86,219,.25);
  font-size: .76rem; font-weight: 600; color: var(--white);
  text-decoration: none; transition: border-color .2s, background .2s;
}
.social-chip:hover { border-color: var(--blue); background: rgba(26,86,219,.08); }
.social-row { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .5rem; }

/* ── BADGE PILL ── */
.badge-pill {
  display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(192,21,42,.1); border: 1px solid rgba(192,21,42,.3);
  padding: .45rem 1.1rem; border-radius: 999px;
  font-size: .78rem; color: var(--red); font-weight: 600; margin-bottom: 1.8rem;
}

/* ── BTN PRIMARY ── */
.btn-primary {
  padding: .9rem 2.1rem; border-radius: 8px;
  background: var(--red); color: white;
  font-weight: 700; font-size: .95rem;
  border: none; cursor: pointer; text-decoration: none;
  box-shadow: 0 0 30px rgba(192,21,42,.35);
  transition: background .2s, transform .2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--red2); transform: translateY(-2px); }

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .6s, transform .6s;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── KEYFRAMES ── */
@keyframes fadeUp    { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeLeft  { to { opacity: 1; transform: translateX(0); } }
@keyframes fadeRight { to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn   { to { opacity: 1; transform: scale(1); } }
@keyframes pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50%     { box-shadow: 0 4px 35px rgba(37,211,102,.7); }
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 480px) {
  .wa-float  { bottom: 84px;  left: 16px; }
  .back-top  { bottom: 154px; left: 16px; }
}

/* ── ACORDEÓN REUTILIZABLE (FAQ, pasos, servicios) ───────────────── */
.acc { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: .7rem; }
.acc-item {
  border: 1px solid rgba(255,255,255,.09); border-radius: 14px;
  background: rgba(255,255,255,.025); overflow: hidden;
  transition: border-color .2s, background .2s;
}
.acc-item.open { border-color: rgba(212,175,55,.38); background: rgba(212,175,55,.045); }
.acc-head {
  width: 100%; display: flex; align-items: center; gap: .85rem;
  padding: 1.05rem 1.2rem; background: none; border: none; cursor: pointer;
  text-align: left; color: #fff; font-family: inherit;
}
.acc-lead { font-size: 1.3rem; flex-shrink: 0; line-height: 1; }
.acc-title { flex: 1; font-size: .96rem; font-weight: 700; color: rgba(255,255,255,.9); line-height: 1.35; }
.acc-toggle {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.3rem; font-weight: 400;
  color: var(--gold); background: rgba(212,175,55,.12); line-height: 1;
  transition: transform .25s ease;
}
.acc-item.open .acc-toggle { transform: rotate(45deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-panel-in { overflow: hidden; min-height: 0; }
.acc-content {
  padding: 0 1.2rem 1.15rem; font-size: .88rem; line-height: 1.6;
  color: rgba(255,255,255,.62);
}
.acc-content .acc-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .2rem; }
.acc-content .acc-tag {
  font-size: .72rem; font-weight: 600; padding: .3rem .6rem; border-radius: 7px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.72);
}
.acc-content .acc-note { font-size: .78rem; color: rgba(255,255,255,.4); margin-top: .7rem; font-style: italic; }
