/* Footer — Clínica Roos */
.rx-footer {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, .78);
  background: linear-gradient(170deg, #638969 0%, #638969 55%, #638969 100%);
  padding: 70px 0 28px;
  font-size: 15px;
}
.rx-footer a { color: inherit; text-decoration: none; transition: .3s; }
.rx-wave { position: absolute; top: -1px; left: 0; width: 100%; height: 70px; line-height: 0; }
.rx-wave svg { width: 100%; height: 100%; display: block; }
.rx-wave path { fill: #f4faff; }
.rx-glow { position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; animation: rxFootGlow 12s ease-in-out infinite alternate; }
.rx-glow.g1 { width: 420px; height: 420px; right: -120px; top: 120px; background: rgba(61, 127, 176, .35); }
.rx-glow.g2 { width: 360px; height: 360px; left: -120px; bottom: 40px; background: rgba(38, 140, 150, .28); animation-delay: -6s; }
@keyframes rxFootGlow { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 30px) scale(1.15); } }
.rx-footer .container { position: relative; z-index: 2; }

/* Aparición al hacer scroll */
.rx-reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s ease, transform .9s cubic-bezier(.22, 1, .36, 1); }
.rx-reveal.in { opacity: 1; transform: none; }
.rx-cols .rx-col:nth-child(2) { transition-delay: .1s; }
.rx-cols .rx-col:nth-child(3) { transition-delay: .2s; }
.rx-cols .rx-col:nth-child(4) { transition-delay: .3s; }

/* Banda CTA */
.rx-cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding: 38px 44px; border-radius: 28px;
  background: linear-gradient(120deg, rgba(159, 195, 230, .2), rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px);
  margin-bottom: 56px;
}
.rx-kicker { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: #d2957e; }
.rx-cta-band h2 { color: #fff; font-size: 38px; line-height: 1.15; margin: 8px 0 10px; }
.rx-cta-band h2 em { font-style: italic; font-family: "Instrument Serif", serif; font-weight: 400; color: #d2957e; }
.rx-cta-band p { margin: 0; color: rgba(255, 255, 255, .7); }
.rx-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.rx-btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 50px; font-weight: 600; font-size: 15px; position: relative; overflow: hidden; }
.rx-btn-wa { background: #25d366; color: #fff !important; box-shadow: 0 10px 26px rgba(37, 211, 102, .35); }
.rx-btn-wa::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .4), transparent); transform: skewX(-20deg); animation: rxFootShine 3.5s infinite; }
@keyframes rxFootShine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
.rx-btn-wa:hover { transform: translateY(-3px); }
.rx-btn-ghost { border: 1px solid rgba(255, 255, 255, .35); color: #fff !important; }
.rx-btn-ghost:hover { background: #fff; color: #0a2336 !important; transform: translateY(-3px); }

/* Columnas */
.rx-cols { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.2fr; gap: 40px; margin-bottom: 44px; }
.rx-col h3 { color: #fff; font-size: 19px; margin: 0 0 22px; position: relative; padding-bottom: 12px; }
.rx-col h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #d2957e, transparent); }
.rx-flogo { display: inline-flex; align-items: center; gap: 12px; color: #fff !important; font-size: 26px; font-weight: 600; margin-bottom: 18px; }
.rx-flogo b { color: #d2957e; font-weight: 700; }
.rx-brand-col p { line-height: 1.7; margin-bottom: 20px; }
.rx-fsocial { display: flex; flex-direction: column; gap: 10px; }
.rx-fsocial a { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; padding: 8px 16px 8px 8px; border-radius: 40px; border: 1px solid rgba(255, 255, 255, .18); font-size: 14px; }
.rx-fsocial a i { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .1); transition: .3s; }
.rx-fsocial a:hover { color: #fff; border-color: transparent; background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); transform: translateX(4px); }
.rx-fsocial a:hover i { background: rgba(255, 255, 255, .25); }

.rx-links { list-style: none; margin: 0; padding: 0; }
.rx-links li { margin-bottom: 12px; }
.rx-links a { position: relative; display: inline-block; padding-left: 0; }
.rx-links a::before { content: "\f061"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", sans-serif; font-weight: 900; font-size: 11px; position: absolute; left: -16px; top: 50%; transform: translateY(-50%); opacity: 0; color: #d2957e; transition: .3s; }
.rx-links a:hover { color: #fff; padding-left: 18px; }
.rx-links a:hover::before { opacity: 1; left: 0; }


.rx-quick label { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #d2957e; margin-bottom: 8px; }
.rx-quick div { display: flex; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 50px; padding: 5px; transition: .3s; }
.rx-quick div:focus-within { border-color: #25d366; box-shadow: 0 0 0 4px rgba(37, 211, 102, .18); }
.rx-quick input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: #fff; padding: 0 14px; font-size: 14px; }
.rx-quick input::placeholder { color: rgba(255, 255, 255, .5); }
.rx-quick button { width: 42px; height: 42px; flex: none; border: 0; border-radius: 50%; background: #25d366; color: #fff; font-size: 20px; cursor: pointer; transition: .3s; }
.rx-quick button:hover { transform: scale(1.1) rotate(-8deg); }

/* Barra inferior */
.rx-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.rx-bottom p { margin: 0; }
.rx-bottom b { color: #fff; }
.rx-bottom ul { display: flex; gap: 22px; list-style: none; margin: 0 auto 0 0; padding: 0; }
.rx-bottom ul a:hover { color: #d2957e; }
.rx-top { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .3); color: #fff !important; }
.rx-top:hover { background: #d2957e; color: #0a2336 !important; transform: translateY(-5px); }

/* Responsive */
@media (max-width: 1199px) {
  .rx-cols { grid-template-columns: 1fr 1fr; }
  .rx-cta-band h2 { font-size: 32px; }
}
@media (max-width: 991px) {
    .rx-cta-band { padding: 30px 26px; text-align: center; justify-content: center; }
  .rx-cta-actions { justify-content: center; }
}
@media (max-width: 575px) {
  .rx-footer { padding-top: 60px; }
  .rx-cols { grid-template-columns: 1fr; gap: 32px; }
  .rx-cta-band h2 { font-size: 27px; }
  .rx-btn { width: 100%; justify-content: center; }
  .rx-bottom { flex-direction: column; text-align: center; }
  .rx-bottom ul { margin: 0; flex-wrap: wrap; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .rx-reveal { opacity: 1; transform: none; transition: none; }
  .rx-glow, .rx-btn-wa::after { animation: none; }
}

/* Contacto (columna) */
.rx-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rx-contact a { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 16px; border: 1px solid transparent; color: #fff; transition: .3s; }
.rx-contact i { width: 42px; height: 42px; flex: none; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: rgba(159, 195, 230, .16); color: #d2957e; transition: .35s; }
.rx-contact small { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.rx-contact span { font-size: 14.5px; font-weight: 600; word-break: break-word; }
.rx-contact a:hover { background: rgba(255, 255, 255, .08); border-color: rgba(159, 195, 230, .4); transform: translateX(5px); }
.rx-contact a:hover i { background: #d2957e; color: #0a2336; transform: rotate(-8deg) scale(1.08); }

/* Franja: equipo + mensaje rápido */
.rx-strip { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; padding: 22px 28px; margin-bottom: 36px; border-radius: 24px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.rx-team { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.rx-strip-title { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #d2957e; }
.rx-member { display: flex; align-items: center; gap: 12px; }
.rx-member > i { width: 42px; height: 42px; flex: none; border-radius: 50%; background: rgba(159, 195, 230, .16); color: #d2957e; display: flex; align-items: center; justify-content: center; }
.rx-member b { display: block; color: #fff; font-size: 15px; }
.rx-member small { color: rgba(255, 255, 255, .6); font-size: 12.5px; }
.rx-strip .rx-quick { flex: 1 1 320px; max-width: 440px; }
@media (max-width: 767px) { .rx-strip { padding: 20px; } .rx-strip .rx-quick { max-width: none; } }
.rx-flogo img { height: 64px; width: auto; display: block; }
