/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --rojo: #dc1c2e;
  --rojo-osc: #b3121f;
  --azul: #003da5;
  --azul-osc: #002b73;
  --gris: #f4f5f7;
  --gris-bd: #e3e6eb;
  --txt: #1b2330;
  --txt-2: #5a6473;
  --radio: 12px;
  --sombra: 0 8px 30px rgba(20,30,60,.10);
  --max: 1180px;
}
html { scroll-behavior: smooth; }
body {
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--txt);
  font-size: 16px;
  line-height: 1.55;
  background: #fff;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: inherit; font-weight: 600; font-size: .95rem;
  padding: .72rem 1.4rem; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: .2s; white-space: nowrap;
}
.btn--primary { background: var(--rojo); color: #fff; }
.btn--primary:hover { background: var(--rojo-osc); }
.btn--outline { background: transparent; color: var(--azul); border-color: var(--azul); }
.btn--outline:hover { background: var(--azul); color: #fff; }
.btn--white { background: #fff; color: var(--azul); }
.btn--white:hover { background: #eef2fb; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* ===== Topbar ===== */
.topbar { background: var(--azul-osc); color: #cdd8f0; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar__right { display: flex; gap: 1.4rem; }
.topbar__right a:hover { color: #fff; }
.topbar__login { font-weight: 600; color: #fff; }

/* ===== Header ===== */
.header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.06); }
.header__inner { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a { font-weight: 500; color: var(--txt); padding: .3rem 0; position: relative; }
.nav a:hover, .nav a.is-current { color: var(--rojo); }
.nav a.is-current::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 3px;
  background: var(--rojo); border-radius: 3px;
}
.header__cta { margin-left: 1rem; }

/* Logo */
.logo { display: flex; align-items: center; gap: .55rem; }
.logo__mark {
  width: 40px; height: 40px; border-radius: 8px;
  background: linear-gradient(135deg, var(--azul) 50%, var(--rojo) 50%);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.logo__balloon {
  width: 16px; height: 20px; background: #fff; border-radius: 50% 50% 50% 0;
  transform: rotate(45deg); box-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.logo__text { font-weight: 800; font-size: 1.35rem; letter-spacing: .5px; color: var(--azul); }
.logo__text strong { color: var(--rojo); }

/* Nav toggle (mobile) */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; margin-left: auto; }
.nav-toggle span { width: 26px; height: 3px; background: var(--txt); border-radius: 3px; transition: .25s; }

/* ===== Hero ===== */
.hero {
  position: relative; color: #fff; padding: 5rem 0 6rem;
  background: linear-gradient(rgba(0,20,60,.55), rgba(0,20,60,.65)),
    url("https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=1600&q=70") center/cover no-repeat;
}
.hero__content { position: relative; z-index: 2; max-width: 880px; }
.hero__title { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.1; }
.hero__subtitle { margin-top: 1rem; font-size: 1.1rem; max-width: 620px; color: #e9eef8; }

/* Search box */
.search { background: #fff; border-radius: var(--radio); box-shadow: var(--sombra); margin-top: 2.2rem; overflow: hidden; }
.search__tabs { display: flex; border-bottom: 1px solid var(--gris-bd); }
.search__tab {
  flex: 0 0 auto; padding: .9rem 1.6rem; background: none; border: 0; cursor: pointer;
  font-family: inherit; font-weight: 600; color: var(--txt-2); border-bottom: 3px solid transparent;
}
.search__tab.is-active { color: var(--rojo); border-bottom-color: var(--rojo); }
.search__form { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 1rem; padding: 1.2rem; align-items: end; }
.search__field { display: flex; flex-direction: column; text-align: left; }
.search__field label { font-size: .78rem; font-weight: 600; color: var(--txt-2); margin-bottom: .3rem; }
.search__field input, .search__field select {
  font-family: inherit; font-size: .95rem; padding: .7rem .8rem;
  border: 1px solid var(--gris-bd); border-radius: 8px; color: var(--txt); background: #fff;
}
.search__field input:focus, .search__field select:focus { outline: 2px solid var(--azul); border-color: var(--azul); }
.search__submit { height: 46px; }

/* Hero stats */
.hero__stats { display: flex; flex-wrap: wrap; gap: 2.5rem; margin-top: 2.5rem; }
.hero__stats div { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 1.8rem; font-weight: 800; }
.hero__stats span { font-size: .85rem; color: #d6deee; }

/* ===== Sections ===== */
.section { padding: 4.5rem 0; }
.section--gray { background: var(--gris); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 2.8rem; }
.section__head h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 700; }
.section__head p { color: var(--txt-2); margin-top: .6rem; }
.section__head--row { display: flex; justify-content: space-between; align-items: center; text-align: left; max-width: none; }
.section__head--row p { margin-top: .3rem; }

/* ===== Services ===== */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.service-card {
  background: #fff; border: 1px solid var(--gris-bd); border-radius: var(--radio);
  padding: 2rem 1.6rem; transition: .25s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--sombra); border-color: transparent; }
.service-card__icon {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.7rem; background: #fdeaec; margin-bottom: 1rem;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.service-card p { color: var(--txt-2); font-size: 1rem; }
.link-arrow { display: inline-block; margin-top: .9rem; color: var(--rojo); font-weight: 600; font-size: .9rem; }
.link-arrow:hover { color: var(--rojo-osc); }

/* ===== Property cards ===== */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.prop-card {
  background: #fff; border: 1px solid var(--gris-bd); border-radius: var(--radio);
  overflow: hidden; transition: .25s; display: flex; flex-direction: column;
}
.prop-card:hover { transform: translateY(-5px); box-shadow: var(--sombra); }
.prop-card__media { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.prop-card__media img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.prop-card:hover .prop-card__media img { transform: scale(1.07); }
.prop-card__badge {
  position: absolute; top: 12px; left: 12px; background: var(--rojo); color: #fff;
  font-size: .72rem; font-weight: 600; padding: .25rem .7rem; border-radius: 999px; text-transform: capitalize;
}
.prop-card__fav {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.9); border: 0; cursor: pointer; font-size: 1rem; display: grid; place-items: center;
}
.prop-card__fav.is-active { color: var(--rojo); }
.prop-card__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.prop-card__price { font-size: 1.3rem; font-weight: 800; color: var(--azul); }
.prop-card__title { font-size: 1.02rem; font-weight: 600; margin: .25rem 0 .15rem; }
.prop-card__loc { font-size: .85rem; color: var(--txt-2); }
.prop-card__feats {
  display: flex; gap: 1rem; margin-top: .9rem; padding-top: .9rem;
  border-top: 1px solid var(--gris-bd); font-size: .82rem; color: var(--txt-2); flex-wrap: wrap;
}
.prop-card__feats span { display: inline-flex; align-items: center; gap: .3rem; }
.prop-card__btn { margin-top: 1rem; }

/* ===== Cities ===== */
.cities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.city {
  position: relative; aspect-ratio: 3/2; border-radius: var(--radio); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.2rem; color: #fff;
  background: var(--img) center/cover no-repeat; cursor: pointer;
}
.city::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.city span, .city small { position: relative; z-index: 1; }
.city span { font-weight: 700; font-size: 1.15rem; }
.city small { opacity: .9; }
.city:hover { transform: translateY(-4px); transition: .25s; }

/* ===== CTA banner ===== */
.cta-banner { background: linear-gradient(120deg, var(--azul), var(--azul-osc)); color: #fff; padding: 3rem 0; }
.cta-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-banner h2 { font-size: 1.7rem; }
.cta-banner p { color: #d6deee; margin-top: .3rem; }

/* ===== Why ===== */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.why h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: 1.3rem; }
.why__list { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.8rem; }
.why__list li { padding-left: 1.8rem; position: relative; color: var(--txt-2); }
.why__list li::before { content: "✓"; position: absolute; left: 0; color: var(--rojo); font-weight: 800; }
.why__list strong { color: var(--txt); }
.why__media img { border-radius: var(--radio); box-shadow: var(--sombra); }

/* ===== Testimonials ===== */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.testimonial { background: #fff; border-radius: var(--radio); padding: 1.8rem; box-shadow: var(--sombra); }
.testimonial p { font-style: italic; color: var(--txt); font-size: 1rem; }
.testimonial footer { display: flex; align-items: center; gap: .7rem; margin-top: 1.2rem; font-weight: 600; font-size: .9rem; }
.testimonial__avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--azul); color: #fff;
  display: grid; place-items: center; font-size: .8rem;
}

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.step { background: #fff; border-radius: var(--radio); padding: 1.8rem 1.4rem; border: 1px solid var(--gris-bd); }
.step__num {
  width: 42px; height: 42px; border-radius: 50%; background: var(--rojo); color: #fff;
  display: grid; place-items: center; font-weight: 800; margin-bottom: 1rem;
}
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--txt-2); font-size: 1rem; }

/* ===== Page head ===== */
.page-head { background: linear-gradient(120deg, var(--azul), var(--azul-osc)); color: #fff; padding: 3rem 0; }
.page-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
.page-head p { color: #d6deee; margin-top: .5rem; }

/* ===== Listing layout ===== */
.listing__layout { display: grid; grid-template-columns: 270px 1fr; gap: 2rem; align-items: start; }
.filters {
  background: #fff; border: 1px solid var(--gris-bd); border-radius: var(--radio);
  padding: 1.5rem; position: sticky; top: 90px;
}
.filters h3 { margin-bottom: 1.2rem; }
.filters__group { margin-bottom: 1.2rem; display: flex; flex-direction: column; }
.filters__group label { font-size: .82rem; font-weight: 600; color: var(--txt-2); margin-bottom: .4rem; }
.filters__group select, .filters__group input[type="range"] { font-family: inherit; }
.filters__group select { padding: .6rem; border: 1px solid var(--gris-bd); border-radius: 8px; }
.filters__reset { width: 100%; margin-top: .5rem; }
.listing__bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.4rem; }
.listing__bar #resCount { font-weight: 600; color: var(--txt-2); }
.listing__sort { padding: .55rem .8rem; border: 1px solid var(--gris-bd); border-radius: 8px; font-family: inherit; }
.listing__empty { text-align: center; padding: 3rem 0; color: var(--txt-2); }
.listing__empty p { margin-bottom: 1rem; }

/* ===== Agents ===== */
.agents-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.agent-card {
  background: #fff; border: 1px solid var(--gris-bd); border-radius: var(--radio);
  overflow: hidden; text-align: center; transition: .25s;
}
.agent-card:hover { transform: translateY(-5px); box-shadow: var(--sombra); }
.agent-card__img { aspect-ratio: 1/1; overflow: hidden; }
.agent-card__img img { width: 100%; height: 100%; object-fit: cover; }
.agent-card__body { padding: 1.3rem; }
.agent-card__body h3 { font-size: 1.15rem; }
.agent-card__zone { color: var(--txt-2); font-size: .9rem; margin: .2rem 0 .8rem; }
.agent-card__sales { display: inline-block; background: #fdeaec; color: var(--rojo); font-weight: 600; font-size: .8rem; padding: .25rem .8rem; border-radius: 999px; }
.agent-card__tel { display: block; margin-top: .9rem; font-weight: 600; color: var(--azul); }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: start; }
.contact__form { background: #fff; border: 1px solid var(--gris-bd); border-radius: var(--radio); padding: 2rem; }
.field { display: flex; flex-direction: column; margin-bottom: 1.1rem; }
.field label { font-size: .85rem; font-weight: 600; margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .95rem; padding: .7rem .8rem;
  border: 1px solid var(--gris-bd); border-radius: 8px; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--azul); border-color: var(--azul); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact__note { margin-top: 1rem; padding: .8rem 1rem; background: #e6f7ec; color: #1d7a3e; border-radius: 8px; font-size: .9rem; }
.contact__info { background: var(--gris); border-radius: var(--radio); padding: 2rem; }
.contact__info h3 { margin-bottom: 1rem; }
.contact__info p { color: var(--txt-2); margin-bottom: .9rem; }
.contact__map { margin-top: 1rem; border-radius: 10px; overflow: hidden; }
.contact__map iframe { width: 100%; height: 220px; border: 0; }

/* ===== Detalle de propiedad ===== */
.detail { padding: 2rem 0 3rem; }
.detail__notfound { text-align: center; padding: 3rem 0; }
.detail__notfound h1 { margin-bottom: .6rem; }
.detail__notfound p { color: var(--txt-2); margin-bottom: 1.4rem; }
.breadcrumb { font-size: .85rem; color: var(--txt-2); margin-bottom: 1.4rem; }
.breadcrumb a:hover { color: var(--rojo); }
.detail__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.detail__badge { position: static; display: inline-block; margin-bottom: .6rem; }
.detail__head h1 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
.detail__loc { color: var(--txt-2); margin-top: .3rem; }
.detail__price { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; color: var(--azul); }

/* Galería */
.gallery { display: grid; grid-template-columns: 1fr 130px; gap: .8rem; margin-bottom: 2.2rem; }
.gallery__main { border-radius: var(--radio); overflow: hidden; aspect-ratio: 16/10; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; flex-direction: column; gap: .8rem; }
.gallery__thumb { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; flex: 1; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--rojo); }

/* Layout detalle */
.detail__layout { display: grid; grid-template-columns: 1fr 340px; gap: 2.2rem; align-items: start; }
.detail__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.fact { background: var(--gris); border-radius: 10px; padding: 1rem; text-align: center; }
.fact__val { display: block; font-size: 1.3rem; font-weight: 800; color: var(--azul); }
.fact__key { font-size: .82rem; color: var(--txt-2); }
.detail__block { margin-bottom: 2.2rem; }
.detail__block h2 { font-size: 1.3rem; margin-bottom: .9rem; }
.detail__block p { color: var(--txt-2); }
.amenities { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.amenities li { color: var(--txt); }
.detail__map { border-radius: var(--radio); overflow: hidden; }
.detail__map iframe { width: 100%; height: 280px; border: 0; }
.detail__maptip { font-size: .82rem; margin-top: .5rem; }

/* Sidebar agente */
.detail__aside { position: sticky; top: 90px; }
.agent-box { background: #fff; border: 1px solid var(--gris-bd); border-radius: var(--radio); padding: 1.5rem; box-shadow: var(--sombra); }
.agent-box__top { display: flex; gap: .9rem; align-items: center; margin-bottom: 1rem; }
.agent-box__top img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.agent-box__top strong { display: block; }
.agent-box__top span { font-size: .85rem; color: var(--txt-2); }
.agent-box__top small { font-size: .78rem; color: var(--rojo); font-weight: 600; }
.agent-box__call { width: 100%; margin-bottom: 1rem; }
.agent-box__form { display: flex; flex-direction: column; gap: .7rem; }
.agent-box__form input, .agent-box__form textarea {
  font-family: inherit; font-size: .9rem; padding: .65rem .8rem;
  border: 1px solid var(--gris-bd); border-radius: 8px; resize: vertical;
}
.agent-box__form input:focus, .agent-box__form textarea:focus { outline: 2px solid var(--azul); border-color: var(--azul); }
.agent-box__note { font-size: .85rem; font-weight: 500; }
.agent-box__fav { width: 100%; margin-top: 1rem; }
.agent-box__fav.is-active { background: var(--rojo); color: #fff; border-color: var(--rojo); }
.detail__similar { margin-top: 1rem; }

@media (max-width: 960px) {
  .detail__layout { grid-template-columns: 1fr; }
  .detail__aside { position: static; }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery__thumbs { flex-direction: row; }
  .gallery__thumb { aspect-ratio: 1/1; }
  .detail__facts, .amenities { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Footer ===== */
.footer { background: #0e1726; color: #aeb8c8; padding-top: 3.2rem; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer__grid h4 { color: #fff; margin-bottom: 1rem; font-size: 1rem; }
.footer__grid a { display: block; padding: .25rem 0; color: #aeb8c8; }
.footer__grid a:hover { color: #fff; }
.logo--footer .logo__text { color: #fff; }
.logo--footer .logo__text strong { color: var(--rojo); }
.footer__about { margin-top: 1rem; max-width: 300px; }
.footer__social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.footer__social a {
  width: 36px; height: 36px; border-radius: 50%; background: #1c2738; color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: .8rem;
}
.footer__social a:hover { background: var(--rojo); }
.footer__bottom { border-top: 1px solid #1c2738; padding: 1.2rem 0; }
.footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; font-size: .82rem; }
.footer__bottom-inner a { margin-left: 1.2rem; }
.footer__bottom-inner a:hover { color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .services__grid, .cards-grid, .cities, .testimonials, .agents-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why, .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav {
    position: fixed; top: 110px; right: 0; left: 0; flex-direction: column; gap: 0;
    background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,.1); padding: .5rem 20px 1rem;
    transform: translateY(-130%); transition: .3s; max-height: calc(100vh - 110px); overflow: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--gris-bd); }
  .header__cta { display: none; }
  .nav-toggle { display: flex; }
  .search__form { grid-template-columns: 1fr; }
  .listing__layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .topbar__right a:not(.topbar__login) { display: none; }
}
@media (max-width: 520px) {
  .services__grid, .cards-grid, .cities, .testimonials, .agents-grid, .steps, .footer__grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .section__head--row { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero__stats { gap: 1.5rem; }
}

/* ===== Animaciones de entrada (reveal al hacer scroll) ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal--zoom { transform: scale(.94); }

/* Entrada del hero al cargar la página */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
.hero__title { animation: heroIn .8s .10s both; }
.hero__subtitle { animation: heroIn .8s .25s both; }
.hero .search { animation: heroIn .8s .40s both; }
.hero__stats { animation: heroIn .8s .55s both; }

/* ===== Botón flotante de WhatsApp (izquierda) ===== */
.wa-float {
  position: fixed; left: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .45);
  animation: waBob 3s ease-in-out infinite;
}
.wa-float svg { width: 32px; height: 32px; transition: transform .25s; }
.wa-float:hover svg { transform: scale(1.12); }
.wa-float:hover { box-shadow: 0 12px 30px rgba(37, 211, 102, .6); }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: #25d366; z-index: -1; animation: waPulse 2.4s ease-out infinite;
}
.wa-float__label {
  position: absolute; left: 70px; white-space: nowrap;
  background: #fff; color: var(--txt); font-weight: 600; font-size: .92rem;
  padding: .55rem .9rem; border-radius: 10px; box-shadow: var(--sombra);
  opacity: 0; transform: translateX(-8px); pointer-events: none; transition: .25s;
}
.wa-float:hover .wa-float__label { opacity: 1; transform: none; }
@keyframes waPulse {
  0% { transform: scale(1); opacity: .55; }
  70%, 100% { transform: scale(1.7); opacity: 0; }
}
@keyframes waBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (max-width: 520px) {
  .wa-float { left: 16px; bottom: 16px; }
  .wa-float__label { display: none; }
}

/* Respetar usuarios que prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; }
  .hero__title, .hero__subtitle, .hero .search, .hero__stats,
  .wa-float, .wa-float::before, .wa-float svg { animation: none; }
  .btn:hover, .wa-float:hover svg { transform: none; }
}
