:root{
  --font: "Manrope", Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --header-h: 92px;

  --bg:#0F1A2B;
  --surface:#111F33;
  --surface-2:#0E192A;
  --muted:#B7C2D6;
  --text:#F1F5FF;

  --blue:#4C8DFF;
  --blue2:#2F6FE0;

  --yellow:#F6D44D;
  --red:#D8342A;

  --border: rgba(255,255,255,.10);
  --shadow: 0 18px 60px rgba(0,0,0,.35);
  --shadow-sm: 0 10px 30px rgba(0,0,0,.28);
  --radius: 18px;

  --container: 1200px;
}

*{box-sizing:border-box}
html,body{height:100%}

/* Anti overflow horizontal (real) */
html, body{
  max-width: 100%;
  overflow-x: clip;
}

body{
  padding-top: var(--header-h);
  margin:0;
  font-family: var(--font);
  background:
    radial-gradient(1200px 700px at 15% -5%, rgba(76,141,255,.20), transparent 60%),
    radial-gradient(900px 600px at 85% 10%, rgba(246,212,77,.12), transparent 55%),
    linear-gradient(180deg, #0F1A2B 0%, #0C1626 100%);
  color:var(--text);
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block;border:0}
.container{width:min(var(--container), 92%); margin-inline:auto}
.muted{color:var(--muted)}
.hide-sm{display:inline-flex}

/* =========================================================
   TOPBAR
========================================================= */
.topbar{
  background: rgba(17,31,51,.78);
  border-bottom:1px solid var(--border);
  backdrop-filter: blur(12px);
}
.topbar__wrap{
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 0;
  gap:12px;
  font-size:13px;
}
.topbar__left{display:flex; gap:16px; flex-wrap:wrap}
.topbar__left span{display:inline-flex; align-items:center; gap:8px; color:#D6DEEF}
.topbar__right{display:flex; gap:10px}

.icon-btn{
  width:34px;height:34px;border-radius:12px;
  display:grid;place-items:center;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  transition:.2s ease;
  box-shadow: var(--shadow-sm);
  color:#EAF0FF;
}
.icon-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(246,212,77,.35);
  background: rgba(255,255,255,.10);
}


/* =========================
   Currency Toggle (LPS / USD)
========================= */
.currency-toggle{
  display:flex;
  gap:6px;
  padding:4px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  box-shadow: var(--shadow-sm);
  align-items:center;
}

.cur-btn{
  border: 1px solid transparent;
  background: transparent;
  color: rgba(241,245,255,.92);
  font-weight: 900;
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  cursor:pointer;
  transition:.2s ease;
  line-height:1;
}

.cur-btn:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(76,141,255,.28);
  transform: translateY(-1px);
}

.cur-btn.is-active{
  background: linear-gradient(135deg, rgba(246,212,77,.96), rgba(216,52,42,.86));
  color:#10121A;
  border-color: rgba(246,212,77,.45);
}

/* En móvil, que no estorbe */
@media (max-width: 560px){
  .currency-toggle{ padding:3px; gap:4px; }
  .cur-btn{ padding:7px 9px; font-size:12px; }
}

/* =========================================================
   HEADER fijo
========================================================= */
.header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 2000;

  background: rgba(17,31,51,.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);

  transform: translateZ(0);
}
.header__wrap{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:16px;
}

/* BRAND */
.brand{
  display:flex; align-items:center; gap:12px;
  background: transparent;
  border:0;
  box-shadow:none;
  padding:0;
}
.brand:focus,
.brand:focus-visible{ outline:none; box-shadow:none; }

.brand img{
  width:auto;
  height:68px;
  border-radius:0;
  background: transparent !important;
  padding:0 !important;
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  object-fit:contain;
}
.brand__text{display:none}

/* NAV */
.nav{display:flex; align-items:center; gap:10px}
.nav__link{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid transparent;
  color:#F1F5FF;
  opacity:.95;
  transition:.2s ease;
}
.nav__link:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(76,141,255,.35);
  transform: translateY(-1px);
}
.nav__link.active{
  border-color: rgba(246,212,77,.55);
  background: rgba(246,212,77,.16);
}
.nav__cta{
  background: linear-gradient(135deg, rgba(246,212,77,.96), rgba(216,52,42,.86));
  color:#10121A;
  font-weight:900;
  border:0;
  padding:11px 14px;
  box-shadow: var(--shadow-sm);
}
.nav__cta:hover{filter:saturate(1.05) brightness(1.02)}

/* HAMBURGER */
.hamburger{
  display:none;
  width:46px;height:46px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  cursor:pointer;
  gap:6px;
  padding:12px;
  box-shadow: var(--shadow-sm);
}
.hamburger span{
  display:block;
  height:2px;
  background:#F1F5FF;
  border-radius:99px;
  transition:.2s ease;
}
.hamburger span:nth-child(2){opacity:.8}
.hamburger.is-open span:nth-child(1){transform: translateY(8px) rotate(45deg)}
.hamburger.is-open span:nth-child(2){opacity:0}
.hamburger.is-open span:nth-child(3){transform: translateY(-8px) rotate(-45deg)}

/* MOBILE MENU */
.mobile-menu{
  display:none;
  border-top:1px solid var(--border);
  background: rgba(17,31,51,.92);
}
.mobile-menu__inner{
  width:min(var(--container), 92%);
  margin-inline:auto;
  padding:16px 0 22px;
  display:grid;
  gap:8px;
}
.mobile-link{
  padding:14px 14px;
  border-radius:16px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  transition:.2s ease;
  box-shadow: var(--shadow-sm);
  color:#F1F5FF;
}
.mobile-link:hover{
  transform: translateY(-1px);
  border-color: rgba(76,141,255,.30);
  background: rgba(255,255,255,.10);
}
.mobile-link--cta{
  background: linear-gradient(135deg, rgba(246,212,77,.96), rgba(216,52,42,.86));
  color:#10121A;
  font-weight:900;
  border:0;
}
.mobile-menu__meta{
  margin-top:10px;
  color:rgba(241,245,255,.80);
  display:grid;
  gap:6px;
  font-size:13px;
}

.app{min-height:60vh}

/* =========================================================
   SECTIONS
========================================================= */
.section{padding:46px 0}
.section--tight{padding:26px 0}
.section__title{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.section__title h2{
  margin:0;
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing:-.02em;
  color:#F3F7FF;
}
.section__title p{margin:0;color:rgba(241,245,255,.78)}

/* =========================================================
   HERO
========================================================= */
.hero{
  position:relative;
  overflow:hidden;
  border-bottom:1px solid var(--border);
}
.hero__bg{
  position:absolute; inset:0;
  background: url('https://images.unsplash.com/photo-1505691938895-1758d7feb511?auto=format&fit=crop&w=2400&q=70');
  background-size:cover;
  background-position:center;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.05);
}
.hero__overlay{
  position:absolute; inset:0;
  background: linear-gradient(90deg,
    rgba(15,26,43,.92),
    rgba(15,26,43,.72),
    rgba(15,26,43,.45)
  );
}
.hero__content{
  position:relative;
  padding:58px 0 40px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:18px;
  align-items:stretch;

  /* FIX overflow en grids */
  min-width:0;
}
.hero__grid > *{min-width:0}

.hero h1{
  margin:14px 0 10px;
  font-size: clamp(28px, 4vw, 54px);
  line-height:1.03;
  letter-spacing:-.03em;
  color:#F5F8FF;
}
.hero h1 .gold{
  background: linear-gradient(135deg, rgba(246,212,77,1), rgba(216,52,42,.95));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hero p{
  margin:0;
  color: rgba(241,245,255,.84);
  max-width:60ch;
  line-height:1.6;
  font-size: 15.5px;
}
.hero__actions{
  display:flex; gap:12px; flex-wrap:wrap;
  margin-top:18px;
}

/* =========================================================
   BUTTONS
========================================================= */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color:#F1F5FF;
  font-weight:900;
  cursor:pointer;
  transition:.2s ease;
  box-shadow: var(--shadow-sm);
}
.btn:hover{
  transform: translateY(-1px);
  border-color: rgba(76,141,255,.35);
  background: rgba(255,255,255,.10);
}
.btn--primary{
  border:0;
  background: linear-gradient(135deg, rgba(246,212,77,.96), rgba(216,52,42,.86));
  color:#10121A;
}
.btn--primary:hover{filter: saturate(1.05) brightness(1.03)}
.btn--ghost{background: rgba(255,255,255,.08)}

/* =========================================================
   HERO CARD
========================================================= */
.hero__card{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(17,31,51,.86);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:16px;
  position:relative;
  overflow:hidden;
  max-width:100%;
}
.hero__card:before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(420px 180px at 30% 10%, rgba(246,212,77,.16), transparent 60%),
    radial-gradient(420px 180px at 80% 60%, rgba(76,141,255,.14), transparent 55%);
  pointer-events:none;
}
.hero__card > *{position:relative}

.mini-stats{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
.stat{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  border-radius:16px;
  padding:12px;
}
.stat strong{display:block;font-size:18px;color:#F3F7FF}
.stat span{display:block;color:rgba(241,245,255,.78);font-size:12px;margin-top:4px}

.quick-search{
  margin-top:12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  border-radius:16px;
  padding:12px;
  max-width:100%;
}
.quick-search label{
  display:block; font-weight:900; margin-bottom:8px;
  color:#F3F7FF;
}
.qs-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  max-width:100%;
}

/* Inputs */
.input, select, textarea{
  width:100%;
  max-width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(10,18,32,.65);
  color:#F1F5FF;
  outline:none;
}
select option{color:#111}
.input::placeholder,
textarea::placeholder{color: rgba(241,245,255,.55)}
.qs-actions{display:flex;gap:10px;margin-top:10px}
.qs-actions .btn{width:100%}

/* =========================================================
   SLIDER WRAP
========================================================= */
.slider-wrap{
  margin-top:22px;
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(17,31,51,.75);
  box-shadow: var(--shadow);
}
.swiper-slide{
  position:relative;
  min-height: 260px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color:#0E192A;
}
.slide-overlay{
  position:absolute; inset:0;
  background: linear-gradient(90deg,
    rgba(0,0,0,.40),
    rgba(0,0,0,.18),
    rgba(0,0,0,.06)
  );
}
.slide-content{
  position:absolute;
  left:18px; bottom:18px; right:18px;
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:12px;
  color:#fff;
}
.slide-title{ margin:8px 0 0; font-weight:900; letter-spacing:-.02em; }
.slide-loc{ margin:4px 0 0; color: rgba(255,255,255,.90); font-size:13px; }
.price{ font-size:22px; font-weight:900; color:#fff; }
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px; border-radius:999px;
  background: rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.26);
  color:#fff; font-weight:900; font-size:12px;
}

/* =========================================================
   CARDS / PANELS
========================================================= */
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}

.card,
.panel,
.gallery,
.infoBox{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(17,31,51,.78);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow:hidden;
  color:#F1F5FF;
}

.card__media{
  height: 190px;
  background-size: cover;
  background-position:center;
  position:relative;
}
.card__media::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.55));
}
.card__body{padding:14px}
.card__title{margin:0 0 6px;font-weight:900;letter-spacing:-.02em;color:#F3F7FF}
.card__meta{display:flex; gap:10px; flex-wrap:wrap; color:rgba(241,245,255,.78); font-size:13px}

.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  font-size:12px;
  color:#DDE7FF;
}
.card__actions{display:flex; gap:10px; margin-top:12px}
.card__actions .btn{flex:1}

/* =========================================================
   FILTERS
========================================================= */
.filters{
  display:grid;
  grid-template-columns: 1.2fr .9fr .9fr .7fr .7fr;
  gap:10px;
  margin-top:10px;
}
.panel{padding:14px}
.panel h3{margin:0 0 10px;color:#F3F7FF}
.results-head{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px;
  margin:10px 0 12px;
  color:rgba(241,245,255,.78);
}
.sort{width: 220px}

/* =========================================================
   DETAIL
========================================================= */
.detail{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:14px;
}
.gallery .swiper-slide{min-height: 420px}
.kv{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  margin-top:12px;
}
.kv .stat strong{font-size:16px}
.map{
  width:100%;
  height: 320px;
  border:0;
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
}

/* =========================================================
   FOOTER
========================================================= */
.footer{
  margin-top:30px;
  border-top:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(14,25,42,.95), rgba(12,22,38,.98));
}
.footer__grid{
  padding:28px 0;
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap:18px;
}
.footer h4{margin:0 0 10px;color:#F3F7FF}
.footer a{
  display:block;
  color:rgba(241,245,255,.82);
  padding:6px 0;
  opacity:.9;
}
.footer a:hover{opacity:1}
.footer__brand{
  display:flex; align-items:center; gap:12px;
}
.footer__brand img{
  width:auto;
  height:74px;
  border-radius:0;
  background: transparent !important;
  padding:0 !important;
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  object-fit:contain;
}
.footer__brand > div{display:none}

.footer__social{display:flex; gap:10px; margin-top:12px}
.footer__social a{
  width:38px;height:38px;border-radius:14px;
  display:grid; place-items:center;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  box-shadow: var(--shadow-sm);
  color:#F1F5FF;
}
.footer__social a:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(246,212,77,.35);
}
.footer__info{display:flex; align-items:center; gap:10px; color:rgba(241,245,255,.78); padding:6px 0}

/* Newsletter */
.newsletter{display:flex; gap:10px}
.newsletter input{
  flex:1;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(10,18,32,.65);
  color:#F1F5FF;
}
.newsletter input::placeholder{color: rgba(241,245,255,.55)}
.newsletter button{
  padding:12px 14px;
  border-radius:14px;
  border:0;
  background: linear-gradient(135deg, rgba(246,212,77,.96), rgba(216,52,42,.86));
  color:#10121A;
  font-weight:900;
  cursor:pointer;
  box-shadow: var(--shadow-sm);
}
.footer__bottom{
  border-top:1px solid rgba(255,255,255,.10);
  padding:14px 0;
}
.footer__bottomWrap{
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap;
  color:rgba(241,245,255,.78);
  font-size:13px;
}

/* =========================================================
   FLOATING WA
========================================================= */
.whatsapp-float{
  position:fixed;
  right:18px;
  bottom:18px;
  width:58px;height:58px;
  border-radius:18px;
  display:grid;place-items:center;
  background:#25D366;
  color:#07110A;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  z-index:1200;
  border: 1px solid rgba(255,255,255,.10);
  transform: translateZ(0);
  transition: .2s ease;
}
.whatsapp-float:hover{transform: translateY(-2px)}
.whatsapp-float i{font-size:28px; color:#061007}

/* TOAST */
.toast{
  position:fixed;
  left:50%;
  bottom:26px;
  transform: translateX(-50%);
  background: rgba(0,0,0,.70);
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
  padding:12px 14px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity:0;
  pointer-events:none;
  transition:.25s ease;
  z-index:1300;
}
.toast.show{opacity:1; bottom:34px}

/* =========================================================
   KICKER PRO (Web profesional / Propiedades modernas / Atención inmediata)
   - Se ve como mini-card elegante (tipo +100)
   - Chips centrados y nunca se salen
========================================================= */
.kicker.kicker--pro{
  display:flex;
  align-items:center;
  gap:12px;

  /* look tipo card */
  width: fit-content;            /* en PC NO se vuelve una barra */
  max-width: 560px;
  padding:12px 14px;
  border-radius: 18px;

  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  margin: 0;                     /* lo controla tu layout */
}

.kicker__icon{
  width:40px;
  height:40px;
  border-radius: 14px;
  display:grid;
  place-items:center;

  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
  flex: 0 0 auto;
}
.kicker__icon i{
  font-size: 14px;
  color: rgba(241,245,255,.95);
}

.kicker__text{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:center;
  align-items:center;
  text-align:center;
}

.kicker__text .chip{
  display:inline-flex;
  align-items:center;
  padding:7px 10px;
  border-radius: 999px;

  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(241,245,255,.92);
  font-weight: 800;
  font-size: 12.5px;
  line-height: 1;
  white-space: nowrap;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 980px){
  .nav{display:none}
  .hamburger{display:grid}
  .mobile-menu{display:none}

  .hero__grid{grid-template-columns:1fr}
  .grid-3{grid-template-columns: repeat(2, 1fr)}
  .filters{grid-template-columns: 1fr 1fr}
  .footer__grid{grid-template-columns: 1fr 1fr}
  .hide-sm{display:none}
  .detail{grid-template-columns:1fr}
}

/* Mobile: arregla el ancho del buscador y stats */
@media (max-width: 680px){
  .hero__content{ padding: 44px 0 58px; }

  /* CLAVE: en móvil el card NO debe permitir “salirse” */
  .hero__card{
    width:100%;
    max-width:100%;
    overflow:hidden;
    padding:14px;
  }
  .hero__card:before{
    inset: 0;                 /* brillo dentro del card, sin salir */
    border-radius: var(--radius);
  }

  .mini-stats{grid-template-columns: 1fr}
  .qs-grid{grid-template-columns: 1fr !important}

  .input, select, textarea{
    min-height:46px;
    border-radius:14px;
  }

  .qs-actions{margin-top:12px}
  .qs-actions .btn{
    width:100%;
    justify-content:center;
    padding:13px 14px;
    border-radius:16px;
  }

  .hero{ padding-bottom: 18px; }

  /* Kicker: ocupa todo el ancho y centrado bonito */
  .kicker.kicker--pro{
    width:100%;
    max-width:100%;
    padding:12px;
    gap:10px;
  }
}

/* WhatsApp flotante: respeta safe-area */
@media (max-width: 560px){
  .whatsapp-float{
    right:14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    width:56px;
    height:56px;
    border-radius:18px;
  }

  .grid-3{grid-template-columns:1fr}
  .newsletter{flex-direction:column}
  .sort{width:100%}

  .kicker__icon{width:38px;height:38px;border-radius:14px}
  .kicker__text .chip{font-size:12px;padding:7px 9px}
}

/* EXTRA: si tu #app estaba con altura fija, esto evita “cortes” */
#app{ height:auto; overflow:visible; }

/* =========================================
   TOPBAR: en móvil dejar SOLO el conversor
========================================= */
@media (max-width: 640px){

  /* Oculta toda la parte izquierda (teléfono/correo/ubicación) */
  .topbar__left{
    display: none !important;
  }

  /* Oculta redes sociales (solo los iconos) */
  .topbar__right .icon-btn{
    display: none !important;
  }

  /* Asegura que el conversor quede visible y bien alineado */
  .topbar__wrap{
    justify-content: center !important;
  }

  .topbar__right{
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
  }

  .topbar__right .currency-toggle{
    display: inline-flex !important;
  }
}

/* =========================
   FOOTER FIX (MOBILE)
   - Evita cortes en boletín
   - Grid apila bien
========================= */

/* Asegura que el grid no fuerce columnas anchas */
.footer__grid{
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* MUY IMPORTANTE: permite que el contenido se encoja sin desbordar */
.footer__grid > *{
  min-width: 0;
}

/* Newsletter: que nunca se salga del contenedor */
.newsletter{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  width: 100%;
  max-width: 100%;
}

.newsletter input,
.newsletter button{
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Mejora visual en móvil (evita que el botón quede "apretado") */
.newsletter button{
  white-space: nowrap;
}

/* Texto y enlaces del footer: que partan línea y no se recorten */
.footer a,
.footer .muted,
.footer__info{
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* RESPONSIVE: apilar footer en móvil */
@media (max-width: 900px){
  .footer__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px){
  .footer__grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* Boletín: input arriba, botón abajo (sin cortes) */
  .newsletter{
    grid-template-columns: 1fr;
  }

  .newsletter button{
    width: 100%;
  }

  /* Espaciado más cómodo */
  .footer__social{
    margin-top: 12px;
  }
}

/* Footer bottom no debe apretar contenido */
.footer__bottomWrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Estilos para los grupos de filtro con etiqueta */
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0; /* Evita desbordes */
}

.filter-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #4b5563;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 2px;
}

.filter-group--action {
  justify-content: flex-end;
  display: flex;
  flex-direction: column;
}

/* Ajuste para que el botón tenga buena altura */
.filter-group--action button {
  height: 42px; /* Misma altura que inputs/selects */
  margin-top: auto;
}

/* En móviles, apilar con espacio */
@media (max-width: 768px) {
  .filter-group {
    width: 100%;
  }
}