/*
Theme Name: Home Brokers Orion
Theme URI: https://www.homesbrokerspr.com
Description: Tema hijo de Divi (Divi 5 primero, compatible con Divi 4) con integración TOTAL de Directorist 8.x: todas las vistas del directorio (archive, búsqueda, single, formularios, panel, autor, checkout) con los colores y tipografías de marca (Outfit + Poppins), animaciones inmersivas (cintas marquee, reveal escalonado, hovers Higgsfield), puntero personalizado solo en la web real, páginas del directorio creadas automáticamente al activar el tema y los bloques clásicos como shortcodes [h[hb_hero], [hb_marquee], [hb_contacto], etc. v4.0: soporte para los LAYOUTS NATIVOS de Divi 5 del kit HB-DIRECTORIO-v2 (bloques wp:divi/*, Loop Builder con atbdp_listing, Terms y Users, Design Variables) + Divi Builder habilitado en el CPT de listings + clases hb5-* del sistema de diseño.
Author: Home Brokers LLC
Author URI: https://www.homesbrokerspr.com
Template: Divi
Version: 5.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: homes-brokers-orion
*/

/* ==========================================================================
   HOMES BROKERS PR — SISTEMA DE DISEÑO (se carga solo con este child theme)
   Divi 4 y Divi 5 · Sin JS el sitio se ve y funciona 100% normal.
   ========================================================================== */
:root{
  --hb-sage:#F2F6EB; --hb-navy:#062C70; --hb-ink:#04122E;
  --hb-olive:#7FA62C; --hb-lime:#A8D43A; --hb-white:#FFFFFF;
  --hb-r:24px; --hb-shadow:0 26px 60px -26px rgba(4,18,46,.35);
  --hb-fh:'Outfit',sans-serif; --hb-fb:'Poppins',sans-serif;
}

::selection{background:var(--hb-lime);color:var(--hb-ink)}
@media (prefers-reduced-motion:no-preference){ html{scroll-behavior:smooth} }

/* ===== 1. Tipos y helpers de marca ===================================== */
.hb-eyebrow{display:inline-block;font-family:var(--hb-fb)!important;font-weight:600!important;font-size:12.5px!important;letter-spacing:3.2px!important;text-transform:uppercase!important;color:var(--hb-olive)!important;margin:0 0 6px}
.hb-eyebrow-lime{color:var(--hb-lime)!important}

.hb-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--hb-olive)!important;color:#fff!important;border:none!important;border-radius:100px!important;padding:15px 32px!important;font-family:var(--hb-fb)!important;font-weight:600!important;font-size:15px!important;line-height:1.2!important;text-decoration:none!important;cursor:pointer;transition:transform .25s,box-shadow .25s,background .25s;position:relative;overflow:hidden}
.hb-btn:after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 32%,rgba(255,255,255,.38) 50%,transparent 68%);transform:translateX(-135%);transition:transform .65s ease;pointer-events:none}
.hb-btn:hover:after{transform:translateX(135%)}
.hb-btn:hover{background:var(--hb-ink)!important;transform:translateY(-2px);box-shadow:0 16px 34px -14px rgba(4,18,46,.5)}
.hb-btn svg{width:18px;height:18px;flex:0 0 18px;position:relative;z-index:1}
.hb-btn-lime{background:var(--hb-lime)!important;color:var(--hb-ink)!important}
.hb-btn-lime:hover{background:var(--hb-olive)!important;color:#fff!important}
.hb-btn-borde{background:transparent!important;border:2px solid rgba(6,44,112,.3)!important;color:var(--hb-navy)!important}
.hb-btn-borde:hover{background:transparent!important;border-color:var(--hb-olive)!important;color:var(--hb-olive)!important;box-shadow:none}
.hb-btn-xl{padding:18px 38px!important;font-size:16px!important;box-shadow:0 20px 44px -16px rgba(127,166,44,.55)}
.hb-btn-xl:hover{box-shadow:0 26px 54px -18px rgba(4,18,46,.55)}
.hb-btn-glass{background:rgba(242,246,235,.1)!important;border:1.5px solid rgba(242,246,235,.3)!important;color:#fff!important;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px)}
.hb-btn-glass:hover{background:rgba(242,246,235,.2)!important;border-color:rgba(242,246,235,.55)!important;color:#fff!important}
.hb-btn-glass svg{fill:currentColor}
a:focus-visible,button:focus-visible{outline:3px solid rgba(168,212,58,.75);outline-offset:2px}
@media (prefers-reduced-motion:no-preference){
  ::-webkit-scrollbar{width:11px}
  ::-webkit-scrollbar-track{background:var(--hb-sage)}
  ::-webkit-scrollbar-thumb{background:linear-gradient(180deg,var(--hb-olive),var(--hb-navy));border-radius:100px;border:3px solid var(--hb-sage)}
}

/* ===== 2. Reveal — SOLO se activa cuando el JS añade .hb-rv ============ */
.hb-rv{opacity:0;transform:translateY(26px);transition:opacity .8s cubic-bezier(.22,1,.36,1),transform .8s cubic-bezier(.22,1,.36,1)}
.hb-rv.hb-in{opacity:1;transform:none}

/* ===== 3. Texto dividido por palabras (inmersivo) ====================== */
.hb-split .hb-w{display:inline-block;overflow:hidden;vertical-align:bottom;padding-bottom:.1em;margin-bottom:-.1em}
.hb-split .hb-w>span{display:inline-block;transform:translateY(115%);transition:transform .9s cubic-bezier(.19,1,.22,1)}
.hb-split.hb-in .hb-w>span{transform:translateY(0)}

@media (prefers-reduced-motion:reduce){
  .hb-rv{opacity:1!important;transform:none!important;transition:none!important}
  .hb-split .hb-w>span{transform:none!important;transition:none!important}
  .hb-nos-chip,.hb-nos-ring,.hb-float-soft{animation:none!important}
}

/* ===== 5. HERO PREMIUM — inmersivo a pantalla completa (.hb-heroP) ======
   Imagen a sangre completa + velos navy/ink, Ken Burns lento, badge de
   licencia en cristal, titular de dos líneas con acento lima degradado,
   buscador Directorist en panel de cristal, meta de confianza y guía de scroll. */
.et_pb_row:has(.hb-heroP){width:100%!important;max-width:100%!important;padding:0!important}
.hb-heroP{position:relative;display:flex;align-items:center;min-height:min(94vh,1000px);min-height:min(94svh,1000px);overflow:hidden;isolation:isolate;font-family:var(--hb-fb)}
.hb-heroP-bg{position:absolute;inset:0;z-index:-3}
.hb-heroP-bg img{width:100%;height:100%;object-fit:cover;object-position:62% 40%;transform:scale(1.06);will-change:transform,translate}
.hb-heroP.hb-hero-fx .hb-heroP-bg img{animation:hb-kenburnsP 22s ease-in-out infinite alternate}
@keyframes hb-kenburnsP{from{transform:scale(1.06)}to{transform:scale(1.15) translate(-1.4%,-1%)}}
.hb-heroP-veil{position:absolute;inset:0;z-index:-2;background:linear-gradient(100deg,rgba(4,18,46,.88) 0%,rgba(6,44,112,.55) 34%,rgba(6,44,112,.12) 58%,rgba(4,18,46,.5) 100%),linear-gradient(to top,rgba(4,18,46,.92) 0%,rgba(4,18,46,.22) 46%,rgba(4,18,46,.08) 100%)}
.hb-heroP-noise{position:absolute;inset:0;z-index:-1;opacity:.05;mix-blend-mode:overlay;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");background-size:220px 220px}
.hb-heroP-glow{position:absolute;left:-10%;bottom:-32%;width:54vw;height:54vw;z-index:-1;background:radial-gradient(circle,rgba(168,212,58,.22),rgba(168,212,58,0) 62%)}
.hb-heroP,.hb-heroP *{box-sizing:border-box}
.hb-heroP-inner{position:relative;z-index:2;width:100%;max-width:1180px;margin:0 auto;padding:clamp(90px,11vh,150px) 24px clamp(74px,9vh,112px);will-change:transform,opacity}
.hb-h-lic{display:inline-flex;align-items:center;gap:9px;background:rgba(255,255,255,.1);border:1px solid rgba(242,246,235,.22);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);color:#fff!important;border-radius:100px;padding:9px 18px;font-family:var(--hb-fb)!important;font-size:12.5px!important;font-weight:600!important;letter-spacing:1.8px;text-transform:uppercase;margin:0 0 22px!important}
.hb-h-lic:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--hb-lime);box-shadow:0 0 0 4px rgba(168,212,58,.25);animation:hb-pulse 2.6s ease-in-out infinite}
@keyframes hb-pulse{0%,100%{box-shadow:0 0 0 4px rgba(168,212,58,.25)}50%{box-shadow:0 0 0 9px rgba(168,212,58,.1)}}
.hb-heroP h1{font-family:var(--hb-fh)!important;font-weight:800!important;font-size:clamp(42px,6.4vw,88px)!important;line-height:.98!important;letter-spacing:-.022em;color:#fff!important;margin:0 0 22px!important}
.hb-h-line{display:block}
.hb-h-accent{background:linear-gradient(92deg,var(--hb-lime) 8%,#D9F47E 55%,#F4FFC9 95%);-webkit-background-clip:text;background-clip:text;color:transparent!important;-webkit-text-fill-color:transparent}
.hb-heroP .hb-h-sub{font-family:var(--hb-fb)!important;font-size:clamp(15.5px,1.5vw,19px)!important;line-height:1.75!important;color:rgba(242,246,235,.88)!important;max-width:600px;margin:0 0 30px!important}
.hb-heroP .hb-h-btns{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.hb-heroP .hb-h-search{margin:30px 0 4px;max-width:980px}
.hb-h-search .directorist-search-form{background:rgba(255,255,255,.96)!important;border:none!important;border-radius:20px!important;box-shadow:0 30px 70px -30px rgba(4,18,46,.6)!important}
.hb-h-meta{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;margin:26px 0 0!important;color:rgba(242,246,235,.72)!important;font-size:13px!important;letter-spacing:.4px}
.hb-h-meta i{width:4px;height:4px;border-radius:50%;background:var(--hb-lime);opacity:.85}
.hb-h-scroll{position:absolute;left:50%;bottom:20px;transform:translateX(-50%);width:26px;height:42px;border:2px solid rgba(242,246,235,.45);border-radius:16px;z-index:2}
.hb-h-scroll span{position:absolute;left:50%;top:7px;width:4px;height:9px;margin-left:-2px;border-radius:3px;background:var(--hb-lime);animation:hb-scrollcue 1.9s ease-in-out infinite}
@keyframes hb-scrollcue{0%{transform:translateY(0);opacity:1}72%{transform:translateY(14px);opacity:0}100%{opacity:0}}
/* Compatibilidad: si tu propio hero usa CSS ID "hb-hero", sigue puliéndose */
#et-boc #hb-hero,#hb-hero{position:relative;overflow:hidden}
#et-boc #hb-hero.hb-hero-fx img,#hb-hero.hb-hero-fx img{animation:hb-kenburns 2.4s cubic-bezier(.22,1,.36,1) both;will-change:transform}
@keyframes hb-kenburns{from{transform:scale(1.09)}to{transform:scale(1)}}
#et-boc #hb-hero .et_pb_button,#hb-hero .et_pb_button{position:relative;overflow:hidden}
#et-boc #hb-hero .et_pb_button:after,#hb-hero .et_pb_button:after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.35) 50%,transparent 70%);transform:translateX(-130%);transition:transform .7s ease}
#et-boc #hb-hero .et_pb_button:hover:after,#hb-hero .et_pb_button:hover:after{transform:translateX(130%)}
#et-boc #hb-hero .et_pb_button,#hb-hero .et_pb_button{transition:transform .25s,box-shadow .25s}
#et-boc #hb-hero .et_pb_button:hover,#hb-hero .et_pb_button:hover{transform:translateY(-2px)}
@media(max-width:767px){
  .hb-heroP{min-height:min(88vh,880px);min-height:min(88svh,880px)}
  .hb-heroP-bg img{object-position:70% 42%}
  .hb-heroP-inner{padding:64px 22px 84px}
  .hb-heroP h1{font-size:clamp(34px,9.2vw,44px)!important}
  .hb-heroP .hb-h-sub{font-size:15.5px!important}
  .hb-h-scroll{display:none}
  .hb-h-search .directorist-search-form{border-radius:16px}
}
@media (prefers-reduced-motion:reduce){
  .hb-heroP.hb-hero-fx .hb-heroP-bg img{animation:none!important}
  .hb-heroP-bg img{transform:none!important}
  .hb-h-lic:before,.hb-h-scroll span{animation:none!important}
}

/* ===== 6. DIRECTORIST — INTEGRACIÓN COMPLETA (v3.0) ====================
   Cubre TODAS las áreas del plugin Directorist 8.x con clases REALES:
   archive · búsqueda básica/avanzada · tarjetas grid/list · badges ·
   taxonomías (categorías y ubicaciones) · single listing · formulario de
   publicación · panel del usuario · perfil de autor · acceso (login) ·
   checkout y recibo · paginación · mapa · alertas · responsive.
   Si Directorist no está activo, estas reglas simplemente no aplican. */

/* --- 6.1 Base tipográfica del directorio ------------------------------- */
.atbd_wrapper,.atbdp,.directorist-container,.directorist-container-fluid{
  font-family:var(--hb-fb);color:var(--hb-ink)}
.atbd_wrapper h1,.atbd_wrapper h2,.atbd_wrapper h3,.atbd_wrapper h4,
.atbd_wrapper h5,.directorist-container h1,.directorist-container h2,
.directorist-container h3,.directorist-container h4{
  font-family:var(--hb-fh);color:var(--hb-navy);letter-spacing:-.01em}
.atbd_wrapper a{color:var(--hb-navy);text-decoration:none;transition:color .25s}
.atbd_wrapper a:hover{color:var(--hb-olive)}
.atbd_wrapper img{max-width:100%}
.atbd_wrapper input,.atbd_wrapper select,.atbd_wrapper textarea{
  font-family:var(--hb-fb)}

/* --- 6.2 Botones -------------------------------------------------------- */
.directorist-btn{
  border-radius:100px!important;font-family:var(--hb-fb)!important;
  font-weight:600!important;letter-spacing:.3px!important;
  transition:transform .25s,box-shadow .25s,background .25s,color .25s!important}
.directorist-btn:hover{transform:translateY(-2px)}
.directorist-btn-primary{
  background:var(--hb-olive)!important;border:none!important;color:#fff!important;
  box-shadow:0 14px 30px -14px rgba(127,166,44,.6)!important}
.directorist-btn-primary:hover{background:var(--hb-ink)!important;color:#fff!important}
.directorist-btn-light{
  background:#fff!important;color:var(--hb-navy)!important;
  border:1.5px solid rgba(6,44,112,.18)!important}
.directorist-btn-light:hover{border-color:var(--hb-olive)!important;color:var(--hb-olive)!important}
.directorist-btn-danger{background:#B3341F!important;border:none!important;color:#fff!important}
.directorist-btn-danger:hover{background:#8C2717!important;color:#fff!important}
.directorist-btn--add-listing{
  background:var(--hb-lime)!important;color:var(--hb-ink)!important;
  border:none!important;font-weight:700!important;
  box-shadow:0 14px 30px -14px rgba(168,212,58,.7)!important}
.directorist-btn--add-listing:hover{background:#fff!important;color:var(--hb-ink)!important}
.directorist-btn--logout{
  background:transparent!important;color:var(--hb-navy)!important;
  border:1.5px solid rgba(6,44,112,.3)!important}
.directorist-btn--logout:hover{border-color:#B3341F!important;color:#B3341F!important}
.directorist-btn-block{width:100%}
.directorist-btn-search{
  background:var(--hb-olive)!important;color:#fff!important;border:none!important;
  font-weight:700!important;box-shadow:0 16px 34px -14px rgba(127,166,44,.65)!important}
.directorist-btn-search:hover{background:var(--hb-ink)!important;color:#fff!important}
.directorist-filter-btn{
  background:#fff!important;color:var(--hb-navy)!important;
  border:1.5px solid rgba(6,44,112,.22)!important}
.directorist-filter-btn:hover{border-color:var(--hb-olive)!important;color:var(--hb-olive)!important}
.directorist-btn__back{font-weight:600}
.directorist-btn-submit{background:var(--hb-lime)!important;color:var(--hb-ink)!important;border:none!important}
.directorist-btn-profile-save{background:var(--hb-olive)!important;color:#fff!important;border:none!important}
.directorist-authentication__form__btn{background:var(--hb-olive)!important;color:#fff!important;border:none!important}
.directorist-authentication__form__btn:hover{background:var(--hb-ink)!important;color:#fff!important}
.directorist-btn-reset-js{
  background:transparent!important;color:var(--hb-navy)!important;
  border:1.5px dashed rgba(6,44,112,.35)!important}
.directorist-btn-reset-js:hover{border-color:var(--hb-olive)!important;color:var(--hb-olive)!important}

/* --- 6.3 Badges y planes ------------------------------------------------ */
.directorist-badge,.directorist-badge-featured{
  background:var(--hb-lime)!important;color:var(--hb-ink)!important;
  border-radius:100px!important;border:none!important;
  font-family:var(--hb-fb)!important;font-size:11px!important;font-weight:700!important;
  letter-spacing:.5px!important;padding:5px 12px!important;text-transform:uppercase}
.directorist-badge--popular{background:var(--hb-navy)!important;color:#fff!important}
.directorist-badge--new{background:var(--hb-olive)!important;color:#fff!important}
.directorist-listing-plan,.directorist-ex-plan{
  font-family:var(--hb-fb)!important;font-size:11.5px!important;font-weight:600!important;
  color:var(--hb-olive)!important;background:rgba(127,166,44,.1)!important;
  border-radius:100px!important;padding:3px 10px!important}

/* --- 6.4 Barra superior del archive ------------------------------------ */
.directorist-header-bar{
  background:#fff!important;border-radius:22px!important;
  border:1px solid rgba(6,44,112,.08)!important;
  box-shadow:0 18px 44px -26px rgba(4,18,46,.22)!important;
  padding:20px 26px!important;transition:box-shadow .35s,transform .35s}
.directorist-header-bar.hb-dir-sticky{
  box-shadow:0 30px 60px -26px rgba(4,18,46,.4)!important}
.directorist-listings-header__left h4,
.directorist-listings-header__left .directorist-title{
  font-family:var(--hb-fh)!important;font-weight:800!important;
  color:var(--hb-navy)!important;font-size:1.35em!important;margin:0}
.directorist-viewas,.directorist-dropdown__toggle,.directorist-sortby-dropdown .directorist-btn{
  border-radius:100px!important;font-weight:600!important}
.directorist-viewas__item{border-radius:100px!important;transition:all .25s}
.directorist-viewas__item.active{background:var(--hb-olive)!important;color:#fff!important}
.directorist-dropdown__links{
  border-radius:18px!important;border:1px solid rgba(6,44,112,.08)!important;
  box-shadow:0 30px 60px -24px rgba(4,18,46,.35)!important;overflow:hidden}
.directorist-dropdown__links__single{transition:background .25s,color .25s;padding:10px 18px!important}
.directorist-dropdown__links__single:hover,
.directorist-dropdown__links__single.active{
  background:rgba(127,166,44,.1)!important;color:var(--hb-olive)!important}

/* --- 6.5 Tarjetas de listing (grid y lista) ---------------------------- */
.directorist-archive-items{margin:0 -10px}
.directorist-archive-items .directorist-col-6,
.directorist-archive-items .directorist-col-12{padding:10px}
.directorist-listing-single{
  background:#fff!important;border:1px solid rgba(6,44,112,.08)!important;
  border-radius:22px!important;overflow:hidden;
  box-shadow:0 14px 40px -20px rgba(4,18,46,.16)!important;
  transition:transform .35s cubic-bezier(.22,1,.36,1),box-shadow .35s}
.directorist-listing-single:hover{
  transform:translateY(-7px);
  box-shadow:0 34px 66px -26px rgba(4,18,46,.32)!important}
.directorist-listing-single__thumb{overflow:hidden;position:relative}
.directorist-listing-single__thumb img{
  transition:transform .8s cubic-bezier(.22,1,.36,1)}
.directorist-listing-single:hover .directorist-listing-single__thumb img{
  transform:scale(1.07)}
.directorist-thumb-top-left .directorist-badge{margin:12px 0 0 12px}
.directorist-thumb-top-right .directorist-badge{margin:12px 12px 0 0}
.directorist-listing-single__content{padding:6px 6px 2px}
.directorist-listing-single__info{padding:20px 22px 8px}
.directorist-listing-title,.directorist-listing-title a{
  font-family:var(--hb-fh)!important;font-weight:700!important;
  color:var(--hb-navy)!important;text-decoration:none!important;
  transition:color .25s}
.directorist-listing-title a:hover{color:var(--hb-olive)!important}
.directorist-archive-contents .directorist-listing-title{font-size:1.08em}
.directorist-listing-single__info__list{margin:10px 0 4px}
.directorist-listing-single__info__list li{
  color:#3D4A5C!important;font-size:13.5px!important}
.directorist-listing-single__info__list li i,
.directorist-listing-single__info__list li svg,
.directorist-listing-single__info__list li .fa{
  color:var(--hb-olive)!important}
.directorist-listing-category a,.directorist-listing-category i,
.directorist-listing-category svg{color:var(--hb-olive)!important}
.directorist-listing-excerpt{
  color:#5A6A7D!important;font-size:14px!important;line-height:1.75!important}
.directorist-listing-single__meta{
  border-top:1px dashed rgba(127,166,44,.35)!important;
  margin:10px 22px 0;padding:14px 0 18px}
.directorist-listing-single__meta__left,
.directorist-listing-single__meta__right{color:#7A8A99;font-size:12.5px}
.directorist-listing-price{font-weight:700;color:var(--hb-navy)!important}
.directorist-listing-price-amount{color:var(--hb-olive)!important;font-weight:700}

/* --- 6.6 Categorías y ubicaciones -------------------------------------- */
.directorist-categories__single{
  background:#fff!important;border-radius:22px!important;
  border:1px solid rgba(6,44,112,.08)!important;
  box-shadow:0 14px 40px -20px rgba(4,18,46,.14)!important;
  transition:transform .35s cubic-bezier(.22,1,.36,1),box-shadow .35s,border-color .35s}
.directorist-categories__single:hover{
  transform:translateY(-6px);border-color:rgba(127,166,44,.4)!important;
  box-shadow:0 30px 60px -24px rgba(4,18,46,.28)!important}
.directorist-categories__single__icon{
  background:rgba(127,166,44,.12)!important;border-radius:50%!important;
  color:var(--hb-olive)!important;transition:background .3s,color .3s}
.directorist-categories__single:hover .directorist-categories__single__icon{
  background:var(--hb-olive)!important;color:#fff!important}
.directorist-categories__single__icon svg,.directorist-categories__single__icon i{
  color:inherit!important}
.directorist-categories__single__name{
  font-family:var(--hb-fh)!important;font-weight:700!important;
  color:var(--hb-navy)!important}
.directorist-categories__single__total{
  background:rgba(168,212,58,.18)!important;color:var(--hb-ink)!important;
  border-radius:100px!important;font-weight:600!important;padding:3px 12px}
.directorist-location__single{
  border-radius:22px!important;overflow:hidden;
  box-shadow:0 14px 40px -20px rgba(4,18,46,.24)!important;
  transition:transform .35s cubic-bezier(.22,1,.36,1),box-shadow .35s}
.directorist-location__single:hover{transform:translateY(-6px);
  box-shadow:0 30px 60px -24px rgba(4,18,46,.36)!important}
.directorist-location__single__img{position:relative}
.directorist-location__single__img img{transition:transform .8s cubic-bezier(.22,1,.36,1)}
.directorist-location__single:hover .directorist-location__single__img img{transform:scale(1.06)}
.directorist-location__single__img:after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(4,18,46,0) 40%,rgba(4,18,46,.75) 100%)}
.directorist-location__content,.directorist-location__count{position:relative;z-index:2}
.directorist-location__count{
  background:var(--hb-lime)!important;color:var(--hb-ink)!important;
  border-radius:100px!important;font-weight:700!important}
.directorist-taxonomy-list__card{
  border-radius:16px!important;border-color:rgba(6,44,112,.1)!important;
  transition:border-color .3s,background .3s}
.directorist-taxonomy-list__card:hover{border-color:var(--hb-olive)!important}
.directorist-taxonomy-list__icon{color:var(--hb-olive)!important}
.directorist-taxonomy-list__name{font-weight:600;color:var(--hb-navy)!important}
.directorist-taxonomy-list__count{
  background:rgba(168,212,58,.18)!important;border-radius:100px!important;
  font-weight:600!important;color:var(--hb-ink)!important}

/* --- 6.7 Formulario de búsqueda ----------------------------------------- */
.directorist-search-form__box{
  background:#fff!important;border-radius:26px!important;
  border:1px solid rgba(6,44,112,.08)!important;
  box-shadow:0 26px 60px -30px rgba(4,18,46,.3)!important}
.directorist-search-field input,.directorist-search-field select,
.directorist-search-field textarea,
.directorist-search-field .directorist-select .select2-container .select2-selection{
  border-radius:14px!important;border:1.5px solid #DCE6CC!important;
  transition:border-color .25s,box-shadow .25s}
.directorist-search-field input:focus,.directorist-search-field select:focus,
.directorist-search-field textarea:focus{
  border-color:var(--hb-olive)!important;
  box-shadow:0 0 0 4px rgba(127,166,44,.15)!important;outline:none}
.directorist-advanced-filter__advanced{
  background:var(--hb-sage)!important;border-radius:18px!important;padding:22px!important}
.directorist-advanced-filter__title{
  font-family:var(--hb-fh)!important;font-weight:800!important;color:var(--hb-navy)!important}
.directorist-checkbox__label:before,.directorist-radio__label:before{
  border-color:rgba(6,44,112,.25)!important;border-radius:6px}
.directorist-checkbox__input:checked~.directorist-checkbox__label:before,
.directorist-checkbox input:checked+.directorist-checkbox__label:before{
  background:var(--hb-olive)!important;border-color:var(--hb-olive)!important}
.directorist-radio-circle,.directorist-radio__label:after{
  border-color:rgba(6,44,112,.25)!important}
.directorist-radio input:checked+.directorist-radio__label:before{
  background:var(--hb-olive)!important;border-color:var(--hb-olive)!important}
.directorist-search-form-action__submit .directorist-btn{min-height:52px}

/* --- 6.8 Single listing -------------------------------------------------- */
.directorist-single-wrapper{font-family:var(--hb-fb)}
.directorist-single-listing-slider-wrap{
  border-radius:26px!important;overflow:hidden;
  box-shadow:0 30px 70px -30px rgba(4,18,46,.4)!important}
.directorist-single-listing-top .directorist-btn{border-radius:100px!important}
.directorist-listing-single-quickinfo .directorist-listing-single__info{
  background:#fff!important;border-radius:22px!important;
  border:1px solid rgba(6,44,112,.08)!important;
  box-shadow:0 14px 40px -20px rgba(4,18,46,.18)!important}
.directorist-card{
  background:#fff!important;border-radius:22px!important;
  border:1px solid rgba(6,44,112,.08)!important;
  box-shadow:0 14px 40px -20px rgba(4,18,46,.15)!important;
  transition:box-shadow .3s}
.directorist-card__header__title{
  font-family:var(--hb-fh)!important;font-weight:800!important;
  color:var(--hb-navy)!important;font-size:1.15em!important}
.directorist-card__header-icon,.directorist-card__header-icon svg,
.directorist-card__header-icon i{color:var(--hb-olive)!important}
.directorist-card-author-info .directorist-single-author-avatar img{
  border:3px solid var(--hb-lime)!important;border-radius:50%!important}
.directorist-single-author-name{font-family:var(--hb-fh)!important;font-weight:700!important;color:var(--hb-navy)!important}
.directorist-author-social__item,.directorist-author-social-item a{
  background:rgba(127,166,44,.12)!important;color:var(--hb-olive)!important;
  border-radius:50%!important;transition:background .3s,color .3s}
.directorist-author-social__item:hover,.directorist-author-social-item a:hover{
  background:var(--hb-olive)!important;color:#fff!important}
.directorist-contact-owner-form input,.directorist-contact-owner-form textarea{
  border-radius:14px!important;border:1.5px solid #DCE6CC!important}
.directorist-contact-owner-form input:focus,.directorist-contact-owner-form textarea:focus{
  border-color:var(--hb-olive)!important;box-shadow:0 0 0 4px rgba(127,166,44,.15)!important}
.directorist-related-listing-header__title{
  font-family:var(--hb-fh)!important;font-weight:800!important;color:var(--hb-navy)!important}
.directorist-card .fa-star,.directorist-card .fas.fa-star,
.directorist-card .fa-star-half-alt{color:var(--hb-lime)!important}
.directorist-widget-title{font-family:var(--hb-fh)!important;font-weight:800!important;color:var(--hb-navy)!important}

/* --- 6.9 Formulario de publicación (add listing) ------------------------ */
.directorist-add-listing-wrapper{font-family:var(--hb-fb)}
.directorist-content-module{
  background:#fff!important;border-radius:22px!important;
  border:1px solid rgba(6,44,112,.08)!important;
  box-shadow:0 14px 40px -20px rgba(4,18,46,.14)!important;
  padding:28px!important;margin-bottom:24px}
.directorist-content-module__title{
  font-family:var(--hb-fh)!important;font-weight:800!important;
  color:var(--hb-navy)!important;font-size:1.2em!important;margin-bottom:16px}
.directorist-form-label{font-weight:600!important;color:var(--hb-ink)!important;font-size:13.5px}
.directorist-form-required{color:var(--hb-lime)!important}
.directorist-form-element input,.directorist-form-element select,
.directorist-form-element textarea{
  border-radius:14px!important;border:1.5px solid #DCE6CC!important;
  padding:12px 16px!important;transition:border-color .25s,box-shadow .25s;
  background:#fff}
.directorist-form-element input:focus,.directorist-form-element select:focus,
.directorist-form-element textarea:focus{
  border-color:var(--hb-olive)!important;
  box-shadow:0 0 0 4px rgba(127,166,44,.15)!important;outline:none}
.directorist-form-element .select2-container--default .select2-selection--single{
  border-radius:14px!important;border:1.5px solid #DCE6CC!important;height:46px}
.directorist-form-element .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:43px}
.directorist-form-submit__btn{
  background:var(--hb-lime)!important;color:var(--hb-ink)!important;
  border:none!important;font-weight:700!important;border-radius:100px!important;
  padding:16px 40px!important;
  box-shadow:0 16px 34px -14px rgba(168,212,58,.7)!important;
  transition:transform .25s,background .25s}
.directorist-form-submit__btn:hover{background:var(--hb-olive)!important;color:#fff!important;transform:translateY(-2px)}
.directorist-add-listing-types__single__link{
  border-radius:22px!important;border:1.5px solid rgba(6,44,112,.12)!important;
  transition:border-color .3s,transform .3s,box-shadow .3s}
.directorist-add-listing-types__single__link:hover{
  border-color:var(--hb-olive)!important;transform:translateY(-4px);
  box-shadow:0 24px 50px -22px rgba(4,18,46,.3)}
.directorist-form-social-fields__remove{color:#B3341F!important}

/* --- 6.10 Panel del usuario (dashboard) --------------------------------- */
.directorist-user-dashboard{font-family:var(--hb-fb)}
.directorist-user-dashboard__nav,.directorist-user-dashboard-tab__nav{
  background:#fff!important;border-radius:22px!important;
  border:1px solid rgba(6,44,112,.08)!important;
  box-shadow:0 14px 40px -20px rgba(4,18,46,.15)!important;overflow:hidden}
.directorist-tab__nav__items{padding:10px}
.directorist-tab__nav__item{border-radius:14px!important;transition:background .25s}
.directorist-tab__nav__link,.directorist-booking-nav-link{
  color:var(--hb-navy)!important;font-weight:600!important;border-radius:14px!important}
.directorist-tab__nav__link:hover{background:rgba(127,166,44,.1)!important;color:var(--hb-olive)!important}
.directorist-tab__nav__item.active .directorist-tab__nav__link,
.directorist-tab__nav__active .directorist-tab__nav__link{
  background:var(--hb-olive)!important;color:#fff!important}
.directorist_menuItem-icon svg,.directorist_menuItem-icon i{color:currentColor}
.directorist-user-dashboard-search input{
  border-radius:100px!important;border:1.5px solid #DCE6CC!important;padding:10px 18px}
.directorist-user-dashboard-search input:focus{
  border-color:var(--hb-olive)!important;outline:none}
.directorist-table{border-radius:16px!important;overflow:hidden}
.directorist-table thead th{
  background:var(--hb-sage)!important;color:var(--hb-navy)!important;
  font-family:var(--hb-fb)!important;font-weight:700!important;font-size:12px!important;
  letter-spacing:.5px;text-transform:uppercase;border-bottom:none}
.directorist-table tbody td{border-color:rgba(6,44,112,.07)!important;vertical-align:middle}
.directorist-table-listing-info__content .directorist-title{
  font-family:var(--hb-fh)!important;font-weight:700!important;color:var(--hb-navy)!important}
.directorist-link-btn{color:var(--hb-olive)!important;font-weight:600!important}
.directorist-link-btn:hover{color:var(--hb-ink)!important}
.directorist-status,.directorist-table-status span{
  border-radius:100px!important;font-weight:600!important;font-size:11.5px!important}
.directorist-alert{border-radius:16px!important;border:none!important;font-family:var(--hb-fb)}
.directorist-alert-info,.directorist-alert-success{
  background:rgba(127,166,44,.12)!important;color:var(--hb-navy)!important}
.directorist-alert-warning{background:rgba(168,212,58,.16)!important;color:var(--hb-ink)!important}
.directorist-alert-danger{background:rgba(179,52,31,.1)!important;color:#8C2717!important}

/* --- 6.11 Perfil de autor y agentes -------------------------------------- */
.directorist-author-profile,.directorist-author-profile-area{
  font-family:var(--hb-fb)}
.directorist-author-profile__avatar img{
  border:4px solid var(--hb-lime)!important;border-radius:50%!important}
.directorist-author-name,.directorist-author-profile__avatar__info__name{
  font-family:var(--hb-fh)!important;font-weight:800!important;color:var(--hb-navy)!important}
.directorist-author-meta-list__item .directorist-info i,
.directorist-author-meta-list__item .directorist-info svg{color:var(--hb-olive)!important}
.directorist-author-info-list__item i,.directorist-author-info-list__item svg{
  color:var(--hb-olive)!important}
.directorist-author-listing-top__title{
  font-family:var(--hb-fh)!important;font-weight:800!important;color:var(--hb-navy)!important}
.directorist-author-listing-type{border-radius:100px!important}

/* --- 6.12 Acceso (login / registro) -------------------------------------- */
.directorist-login-wrapper,.directorist-authentication{font-family:var(--hb-fb)}
.directorist-authentication__form{
  background:#fff!important;border-radius:26px!important;
  border:1px solid rgba(6,44,112,.08)!important;
  box-shadow:0 26px 60px -28px rgba(4,18,46,.3)!important;padding:34px!important}
.directorist-authentication__form__toggle-area a,.directorist-authentication__btn{
  color:var(--hb-olive)!important;font-weight:600!important}
.directorist-authentication__form__toggle-area a:hover{color:var(--hb-navy)!important}
.directorist-password-group-eyeIcon{color:var(--hb-olive)!important}

/* --- 6.13 Checkout y recibo de pago -------------------------------------- */
.directorist-checkout-form,.directorist-payment-receipt{font-family:var(--hb-fb)}
.directorist-checkout-card{
  background:#fff!important;border-radius:26px!important;
  border:1px solid rgba(6,44,112,.08)!important;
  box-shadow:0 26px 60px -28px rgba(4,18,46,.28)!important}
.directorist-checkout-card .directorist-card__header__title{
  font-size:1.25em!important}
.directorist-summery-label{font-weight:600;color:var(--hb-ink)}
.directorist-summery-amount{font-weight:700;color:var(--hb-olive)!important}
.directorist-summery-total{font-family:var(--hb-fh)!important;font-weight:800!important;color:var(--hb-navy)!important}
.directorist-payment-gateways .directorist-checkout-payment{
  border:1.5px solid rgba(6,44,112,.12)!important;border-radius:16px!important;
  transition:border-color .3s,background .3s}
.directorist-payment-gateways .directorist-checkout-payment.active,
.directorist-payment-gateways .directorist-checkout-payment:hover{
  border-color:var(--hb-olive)!important;background:rgba(127,166,44,.06)}
.directorist-payment-action .directorist-btn{
  background:var(--hb-lime)!important;color:var(--hb-ink)!important;border:none!important;
  font-weight:700!important;padding:15px 38px!important;
  box-shadow:0 16px 34px -14px rgba(168,212,58,.7)!important}
.directorist-payment-action .directorist-btn:hover{background:var(--hb-olive)!important;color:#fff!important}
.directorist-payment-thanks-text{color:var(--hb-navy)!important;font-family:var(--hb-fh)!important;font-weight:700!important}

/* --- 6.14 Paginación ------------------------------------------------------ */
.directorist-pagination .page-numbers{
  border-radius:100px!important;min-width:38px;min-height:38px;
  display:inline-flex;align-items:center;justify-content:center;
  font-weight:600!important;transition:all .25s}
.directorist-pagination .page-numbers.current{
  background:var(--hb-olive)!important;color:#fff!important;border-color:var(--hb-olive)!important}
.directorist-pagination .page-numbers:hover{
  border-color:var(--hb-olive)!important;color:var(--hb-olive)!important}

/* --- 6.15 Mapa ------------------------------------------------------------ */
.leaflet-popup-content-wrapper{border-radius:18px!important;font-family:var(--hb-fb)!important}
.leaflet-popup-content b,.directorist-map-popup-title{font-family:var(--hb-fh)!important;color:var(--hb-navy)!important}

/* --- 6.16 Reveal + interacción (estilo Higgsfield) ------------------------ */
.directorist-listing-single.hb-rv,.directorist-categories__single.hb-rv,
.directorist-location__single.hb-rv,.directorist-card.hb-rv{
  opacity:0;transform:translateY(26px)}
.directorist-listing-single.hb-rv.hb-in,.directorist-categories__single.hb-rv.hb-in,
.directorist-location__single.hb-rv.hb-in,.directorist-card.hb-rv.hb-in{
  opacity:1;transform:none}
/* el hover SIEMPRE gana al estado revelado */
.directorist-listing-single:hover,.directorist-listing-single.hb-rv.hb-in:hover{
  transform:translateY(-7px)}
.directorist-categories__single:hover,
.directorist-categories__single.hb-rv.hb-in:hover{
  transform:translateY(-6px)}
.directorist-location__single:hover,
.directorist-location__single.hb-rv.hb-in:hover{
  transform:translateY(-6px)}
.directorist-listing-single,.directorist-categories__single,
.directorist-location__single,.directorist-card{
  transition-property:transform,box-shadow,opacity,border-color}
.atbd_wrapper :focus-visible,.directorist-btn:focus-visible{
  outline:3px solid rgba(168,212,58,.6)!important;outline-offset:2px}

/* --- 6.17 Responsive del directorio --------------------------------------- */
@media (max-width:991px){
  .directorist-header-bar{flex-wrap:wrap;gap:12px}
  .directorist-listings-header__right{margin-left:0!important}
  .directorist-user-dashboard{display:block}
  .directorist-user-dashboard__nav{margin-bottom:18px}
}
@media (max-width:767px){
  .directorist-listing-single__info{padding:16px 18px 6px}
  .directorist-listing-single__meta{margin:6px 18px 0}
  .directorist-header-bar{padding:16px 18px!important;border-radius:18px}
  .directorist-search-form__box{border-radius:20px}
  .directorist-advanced-filter__advanced{padding:16px}
  .directorist-content-module{padding:20px!important;border-radius:18px}
  .directorist-authentication__form{padding:24px!important}
  .directorist-tab__nav__items{display:flex;overflow-x:auto;gap:4px}
  .directorist-tab__nav__item{flex-shrink:0}
  .directorist-categories__single{margin-bottom:14px}
  .directorist-table{font-size:13px}
}
@media (prefers-reduced-motion:reduce){
  .directorist-listing-single,.directorist-categories__single,
  .directorist-location__single,.directorist-card,.directorist-btn{
    transition:none!important}
  .directorist-listing-single:hover,.directorist-categories__single:hover,
  .directorist-location__single:hover{transform:none!important}
}

/* ===== 7. SECCIÓN DE CONTACTO ========================================== */
.hb-contact{position:relative;background:var(--hb-sage);border-radius:28px;padding:clamp(28px,5vw,64px);overflow:hidden;font-family:var(--hb-fb)}
.et_pb_row:has(.hb-contact){width:100%!important;max-width:1280px!important;padding:0!important}
.hb-deco{position:absolute;border-radius:50%;pointer-events:none}
.hb-deco-a{width:340px;height:340px;right:-120px;top:-140px;background:radial-gradient(circle at 30% 30%,rgba(168,212,58,.4),rgba(168,212,58,0) 65%)}
.hb-deco-b{width:420px;height:420px;left:-160px;bottom:-200px;background:radial-gradient(circle at 60% 40%,rgba(6,44,112,.15),rgba(6,44,112,0) 65%)}
.hb-c-head{max-width:660px;margin:0 auto 42px;text-align:center;position:relative;z-index:1}
.hb-c-title{font-family:var(--hb-fh)!important;font-weight:700!important;color:var(--hb-navy)!important;font-size:clamp(30px,4vw,46px)!important;line-height:1.08!important;margin:12px 0 14px!important}
.hb-c-sub{color:var(--hb-ink)!important;opacity:.75;font-size:16px!important;line-height:1.75!important;max-width:540px;margin:0 auto!important}
.hb-c-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:26px;position:relative;z-index:1}
@media(max-width:980px){.hb-c-grid{grid-template-columns:1fr}}

.hb-c-info{background:linear-gradient(160deg,var(--hb-navy) 0%,var(--hb-ink) 100%);border-radius:24px;padding:clamp(24px,3vw,40px);color:var(--hb-sage);display:flex;flex-direction:column;gap:6px}
.hb-c-info h3{font-family:var(--hb-fh)!important;font-size:22px!important;font-weight:700!important;margin:0 0 14px!important;color:#fff!important}
.hb-ci{display:flex;gap:14px;align-items:center;text-decoration:none!important;color:inherit;padding:13px 14px;border-radius:16px;transition:background .25s,transform .25s}
a.hb-ci:hover{background:rgba(242,246,235,.08);transform:translateX(4px)}
.hb-ci-ic{flex:0 0 42px;width:42px;height:42px;border-radius:12px;background:rgba(168,212,58,.16);display:flex;align-items:center;justify-content:center;color:var(--hb-lime)}
.hb-ci-ic svg{width:20px;height:20px}
.hb-ci-tx b{display:block;font-family:var(--hb-fh)!important;font-size:16px!important;color:#fff!important;font-weight:600!important;line-height:1.3!important}
.hb-ci-tx small{color:rgba(242,246,235,.6)!important;font-size:12.5px!important;line-height:1.45!important;display:block;margin-top:2px}
.hb-c-lic{margin-top:auto;padding-top:18px;border-top:1px solid rgba(242,246,235,.14);font-size:11.5px;letter-spacing:1.4px;text-transform:uppercase;color:rgba(242,246,235,.55)}

.hb-c-form{background:#fff;border-radius:24px;padding:clamp(24px,3vw,40px);box-shadow:var(--hb-shadow)}
.hb-c-form h3{font-family:var(--hb-fh)!important;color:var(--hb-navy)!important;font-size:22px!important;font-weight:700!important;margin:0 0 6px!important}
.hb-f-note{color:var(--hb-ink)!important;opacity:.6;font-size:13.5px!important;margin:0 0 20px!important;line-height:1.6!important}
.hb-wa-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:640px){.hb-wa-form{grid-template-columns:1fr}}
.hb-field{display:flex;flex-direction:column;gap:6px}
.hb-field.hb-f-full{grid-column:1/-1}
.hb-field label{font-size:11.5px!important;font-weight:600!important;letter-spacing:1.4px;text-transform:uppercase;color:var(--hb-olive)!important}
.hb-field input,.hb-field select,.hb-field textarea{font-family:var(--hb-fb)!important;font-size:15px!important;color:var(--hb-ink)!important;background:var(--hb-sage)!important;border:1.5px solid transparent!important;border-radius:14px!important;padding:13px 16px!important;outline:none;transition:border-color .2s,background .2s;max-width:100%}
.hb-field textarea{min-height:110px;resize:vertical}
.hb-field input:focus,.hb-field select:focus,.hb-field textarea:focus{border-color:var(--hb-olive)!important;background:#fff!important}
.hb-wa-form .hb-btn{grid-column:1/-1;width:100%;padding:17px 32px!important}
.hb-c-alt{grid-column:1/-1;text-align:center;font-size:13.5px!important;color:var(--hb-navy)!important;opacity:.75;text-decoration:none!important}
.hb-c-alt:hover{opacity:1;text-decoration:underline!important}

/* Si añaden el módulo de formulario de DIVI dentro de contacto, queda bonito: */
.hb-contact .et_pb_contact_form_container p{color:var(--hb-ink)}
.hb-contact .et_pb_contact_form_container input{background:var(--hb-sage)!important;border:1.5px solid transparent!important;border-radius:14px!important;padding:13px 16px!important;color:var(--hb-ink)!important}
.hb-contact .et_pb_contact_form_container input:focus{border-color:var(--hb-olive)!important;background:#fff!important}
.hb-contact .et_pb_contact_submit.et_pb_button{background:var(--hb-olive)!important;border:none!important;border-radius:100px!important;color:#fff!important;font-family:var(--hb-fb)!important;font-weight:600!important;padding:16px 34px!important}
.hb-contact .et_pb_contact_submit.et_pb_button:hover{background:var(--hb-ink)!important}

/* ===== 8. FOOTER sencillo ============================================== */
.hb-foot{background:var(--hb-ink);color:var(--hb-sage);padding:56px 24px 0;font-family:var(--hb-fb)}
.et_pb_row:has(.hb-foot){width:100%!important;max-width:100%!important;padding:0!important}
.hb-f-top{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1.4fr .9fr 1.2fr .8fr;gap:34px;padding-bottom:44px}
@media(max-width:980px){.hb-f-top{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.hb-f-top{grid-template-columns:1fr}}
.hb-f-brand img.hb-f-logo{max-width:190px;width:auto;background:#fff;border-radius:14px;padding:10px 14px;display:block}
.hb-f-brand p{font-size:14px!important;color:rgba(242,246,235,.65)!important;line-height:1.7!important;margin:14px 0 0!important}
.hb-f-col h4{font-family:var(--hb-fh)!important;font-size:13px!important;letter-spacing:2.2px;text-transform:uppercase;color:var(--hb-lime)!important;margin:6px 0 16px!important}
.hb-f-col a,.hb-f-col span{display:block;color:rgba(242,246,235,.78)!important;font-size:14px!important;text-decoration:none!important;margin:0 0 10px!important;line-height:1.55!important;transition:color .2s,padding-left .2s}
.hb-f-col a:hover{color:var(--hb-lime)!important;padding-left:4px}
.hb-f-soc{display:flex;gap:10px}
.hb-f-soc a{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:rgba(242,246,235,.08);border:1px solid rgba(242,246,235,.14);margin:0!important;padding:0!important;transition:background .25s,border-color .25s}
.hb-f-soc a:hover{background:var(--hb-olive)!important;border-color:var(--hb-olive)!important;padding-left:0!important}
.hb-f-soc svg{width:18px;height:18px;fill:var(--hb-sage)}
.hb-f-bot{border-top:1px solid rgba(242,246,235,.12);padding:18px 24px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;max-width:1180px;margin:0 auto;font-size:12.5px!important;color:rgba(242,246,235,.5)!important}
.hb-f-bot span{margin:0!important;font-size:12.5px!important;line-height:1.6!important}

/* ===== 9. Banner para páginas subordinadas ============================= */
.hb-banner{position:relative;overflow:hidden;background:linear-gradient(140deg,var(--hb-navy) 0%,var(--hb-ink) 90%);padding:clamp(56px,8vw,104px) 24px;text-align:center;color:var(--hb-sage);font-family:var(--hb-fb)}
.et_pb_row:has(.hb-banner){width:100%!important;max-width:100%!important;padding:0!important}
.hb-ban-deco{position:absolute;border-radius:50%;border:1.5px solid rgba(168,212,58,.25)}
.hb-ban-deco-a{width:220px;height:220px;left:-70px;top:-70px}
.hb-ban-deco-b{width:340px;height:340px;right:-120px;bottom:-160px;border-color:rgba(242,246,235,.12)}
.hb-ban-deco-c{width:14px;height:14px;left:14%;bottom:22%;background:var(--hb-lime);border:none;opacity:.7}
.hb-crumb{display:inline-block;font-size:12px!important;font-weight:600!important;letter-spacing:2.6px;text-transform:uppercase;color:var(--hb-lime)!important}
.hb-banner h1{font-family:var(--hb-fh)!important;font-weight:700!important;font-size:clamp(34px,5vw,58px)!important;color:#fff!important;line-height:1.05!important;margin:12px 0 14px!important}
.hb-ban-sub{color:rgba(242,246,235,.72)!important;font-size:16px!important;line-height:1.7!important;max-width:580px;margin:0 auto!important}

/* ===== 10. Bloque NOSOTROS ============================================= */
.hb-nos{max-width:1180px;margin:0 auto;padding:clamp(48px,7vw,96px) 24px;display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(28px,4vw,60px);align-items:center;font-family:var(--hb-fb)}
.et_pb_row:has(.hb-nos){width:100%!important;max-width:100%!important;padding:0!important}
@media(max-width:900px){.hb-nos{grid-template-columns:1fr}}
.hb-nos h2{font-family:var(--hb-fh)!important;color:var(--hb-navy)!important;font-size:clamp(28px,3.6vw,42px)!important;line-height:1.1!important;margin:12px 0 16px!important}
.hb-nos-txt p{color:var(--hb-ink)!important;opacity:.78!important;line-height:1.8!important;font-size:15.5px!important;margin:0 0 14px!important}
.hb-chk{list-style:none!important;padding:0!important;margin:16px 0 26px!important;display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media(max-width:520px){.hb-chk{grid-template-columns:1fr}}
.hb-chk li{display:flex;gap:10px;align-items:center;font-weight:500!important;color:var(--hb-navy)!important;font-size:14.5px!important;margin:0!important}
.hb-chk svg{width:18px;height:18px;flex:0 0 18px;color:var(--hb-olive)}
.hb-nos-btns{display:flex;gap:14px;flex-wrap:wrap}
.hb-nos-vis{position:relative;min-height:360px}
.hb-nos-card{position:absolute;inset:0;background:linear-gradient(160deg,var(--hb-navy) 0%,var(--hb-ink) 100%);border-radius:28px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.hb-nos-word{font-family:var(--hb-fh);font-weight:700;font-size:clamp(64px,7vw,112px);line-height:.92;background:linear-gradient(180deg,rgba(242,246,235,.34) 0%,rgba(242,246,235,.03) 100%);-webkit-background-clip:text;background-clip:text;color:transparent;user-select:none}
.hb-nos-chip{position:absolute;left:7%;bottom:9%;background:#fff;border-radius:16px;padding:14px 18px;display:flex;gap:12px;align-items:center;box-shadow:var(--hb-shadow);animation:hb-float 4s ease-in-out infinite}
.hb-nos-chip img{width:36px;height:36px;object-fit:contain}
.hb-nos-chip b{font-family:var(--hb-fh);color:var(--hb-navy);font-size:15px;display:block;line-height:1.25}
.hb-nos-chip small{display:block;color:rgba(4,18,46,.55);font-size:12px}
.hb-nos-ring{position:absolute;top:-26px;right:-26px;width:130px;height:130px;border:2px dashed rgba(168,212,58,.55);border-radius:50%;animation:hb-spin 18s linear infinite}
@keyframes hb-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
@keyframes hb-spin{to{transform:rotate(360deg)}}

/* ===== 11. Bloque SERVICIOS ============================================ */
.hb-srv{max-width:1180px;margin:0 auto;padding:clamp(40px,6vw,84px) 24px;font-family:var(--hb-fb)}
.et_pb_row:has(.hb-srv){width:100%!important;max-width:100%!important;padding:0!important}
.hb-srv-head{text-align:center;max-width:600px;margin:0 auto 42px}
.hb-srv-head h2{font-family:var(--hb-fh)!important;color:var(--hb-navy)!important;font-size:clamp(28px,3.6vw,42px)!important;margin:10px 0 12px!important}
.hb-srv-head p{color:var(--hb-ink)!important;opacity:.72!important;font-size:15.5px!important;line-height:1.7!important}
.hb-srv-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
@media(max-width:1020px){.hb-srv-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.hb-srv-grid{grid-template-columns:1fr}}
.hb-srv-card{background:#fff;border:1px solid rgba(6,44,112,.08);border-radius:22px;padding:30px 24px;transition:transform .3s,box-shadow .3s,border-color .3s;position:relative;overflow:hidden}
.hb-srv-card:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--hb-lime),var(--hb-olive));transform:scaleX(0);transform-origin:left;transition:transform .45s cubic-bezier(.22,1,.36,1)}
.hb-srv-card:hover:before{transform:scaleX(1)}
.hb-srv-card:hover{transform:translateY(-8px);box-shadow:var(--hb-shadow);border-color:rgba(127,166,44,.45)}
.hb-srv-ic{width:52px;height:52px;border-radius:16px;background:var(--hb-sage);display:flex;align-items:center;justify-content:center;margin-bottom:18px;color:var(--hb-navy);transition:background .3s,color .3s}
.hb-srv-card:hover .hb-srv-ic{background:var(--hb-lime)}
.hb-srv-ic svg{width:24px;height:24px}
.hb-srv-card h3{font-family:var(--hb-fh)!important;color:var(--hb-navy)!important;font-size:19px!important;margin:0 0 8px!important}
.hb-srv-card p{color:var(--hb-ink)!important;opacity:.7!important;font-size:14px!important;line-height:1.7!important;margin:0 0 14px!important}
.hb-srv-card a{color:var(--hb-olive)!important;font-weight:600!important;font-size:14px!important;text-decoration:none!important}
.hb-srv-card a:hover{text-decoration:underline!important}

/* ===== 12. Botón "volver arriba" con anillo de progreso ================ */
#hbTop{position:fixed;right:24px;bottom:24px;width:52px;height:52px;border-radius:50%;background:var(--hb-ink);border:1px solid rgba(242,246,235,.15);box-shadow:0 18px 40px -16px rgba(4,18,46,.55);z-index:99998;cursor:pointer;opacity:0;pointer-events:none;transform:translateY(14px);transition:opacity .3s,transform .3s;display:flex;align-items:center;justify-content:center;padding:0}
#hbTop.hb-show{opacity:1;pointer-events:auto;transform:none}
#hbTop svg{width:26px;height:26px}
#hbTop .hb-t-arrow{position:absolute;width:16px;height:16px;color:var(--hb-lime)}
#hbTop circle{fill:none;stroke:var(--hb-lime);stroke-width:2;stroke-linecap:round}

/* Fin del pack — una sola vez, sin duplicados */

/* ==========================================================================
   BLOQUES COMPLETOS (cintas marquee · confianza + cifras)
   El HERO PREMIUM (.hb-heroP) vive arriba, en la sección 5 del sistema.
   ========================================================================== */
.et_pb_row:has(.hb-mq-zone){width:100%!important;max-width:100%!important;padding:0!important}
.hb-mq-zone{--mq-verde:#7FA62C;--mq-navy:#062C70;--mq-lime:#A8D43A;--mq-vel:38s;--mq-size:clamp(17px,2vw,26px);position:relative;overflow:hidden;padding:clamp(36px,4.5vw,66px) 0;font-family:'Outfit',sans-serif}
.hb-mq{width:106%;margin-left:-3%;display:flex;overflow:hidden;user-select:none}
.hb-mq-track{display:flex;align-items:center;width:max-content;animation:hb-mq-scroll var(--mq-vel) linear infinite;will-change:transform}
.hb-mq:hover .hb-mq-track{animation-play-state:paused}
.hb-mq-item{font-weight:800;font-size:var(--mq-size);letter-spacing:.045em;text-transform:uppercase;white-space:nowrap;padding:clamp(14px,1.6vw,22px) clamp(14px,1.8vw,26px);line-height:1.1}
.hb-mq-d{font-size:calc(var(--mq-size)*.62);padding:0 2px}
.hb-mq-verde{background:var(--mq-verde);transform:rotate(-1deg);box-shadow:0 14px 30px -18px rgba(4,18,46,.45)}
.hb-mq-verde .hb-mq-item{color:#fff}
.hb-mq-verde .hb-mq-d{color:rgba(242,246,235,.9)}
/* Ángulos ORIGINALES del diseño: la cinta verde sube (−1°) y la navy baja
   (+1°). Se tocan en el borde izquierdo y se abren en cuña hacia la derecha.
   margin-top = tan(1°)·ancho de banda ≈ +1.85vw: cancela el cruce a la
   izquierda (beso) y deja abrir la cuña blanca a la derecha. */
.hb-mq-navy{background:linear-gradient(90deg,var(--mq-navy) 0%,#04122E 100%);transform:rotate(1deg);margin-top:clamp(10px,1.85vw,40px);position:relative;z-index:2;box-shadow:0 18px 40px -20px rgba(4,18,46,.55)}
.hb-mq-navy .hb-mq-item{color:transparent;-webkit-text-stroke:1.4px rgba(242,246,235,.7)}
.hb-mq-navy .hb-mq-d{color:var(--mq-lime);-webkit-text-stroke:0}
@supports not (-webkit-text-stroke:1px #fff){.hb-mq-navy .hb-mq-item{color:rgba(242,246,235,.35)}}
@keyframes hb-mq-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.hb-mq-navy .hb-mq-track{animation-direction:reverse}
@media (prefers-reduced-motion:reduce){.hb-mq-track{animation:none}}
@media (max-width:767px){.hb-mq{width:114%;margin-left:-7%}}

.et_pb_row:has(.hb-cf){width:100%!important;max-width:100%!important;padding:0!important}
.hb-cf{--cf-navy:#062C70;--cf-ink:#04122E;--cf-lime:#A8D43A;--cf-sage:#F2F6EB;position:relative;overflow:hidden;padding:clamp(20px,3vw,44px) 24px 0;font-family:'Outfit',sans-serif}
.hb-cf-words{position:relative;display:flex;justify-content:center}
.hb-cf-word{display:flex;align-items:center;width:max-content;font-weight:800;font-size:clamp(90px,14vw,200px);line-height:.92;letter-spacing:.01em;text-transform:uppercase;white-space:nowrap;color:transparent;-webkit-text-stroke:2px rgba(4,18,46,.11);will-change:transform}
@supports not (-webkit-text-stroke:2px #fff){.hb-cf-word{color:rgba(4,18,46,.07)}}
.hb-cf-word i{flex:0 0 auto;width:.13em;height:.13em;border:.022em solid rgba(4,18,46,.14);border-radius:50%;margin:0 .34em}
.hb-cf-dot{position:absolute;left:37%;top:24%;width:12px;height:12px;background:var(--cf-lime);border-radius:50%;box-shadow:0 0 0 7px rgba(168,212,58,.18)}
.hb-cf-card{position:relative;z-index:2;max-width:1180px;margin:clamp(-44px,-3vw,-16px) auto 0;background:linear-gradient(110deg,var(--cf-navy) 0%,var(--cf-ink) 55%,#0B2C63 100%);border-radius:26px;box-shadow:0 30px 70px -30px rgba(4,18,46,.55);display:grid;grid-template-columns:repeat(4,1fr)}
.hb-cf-stat{padding:clamp(26px,3.2vw,46px) clamp(20px,2.6vw,40px);border-left:1px solid rgba(242,246,235,.09)}
.hb-cf-stat:first-child{border-left:none}
.hb-cf-num{display:inline-block;font-weight:800;font-size:clamp(36px,4.5vw,58px);color:#fff;line-height:1;letter-spacing:-.01em}
.hb-cf-suf{font-weight:800;font-size:clamp(36px,4.5vw,58px);color:var(--cf-lime)}
.hb-cf-lab{font-family:'Poppins',sans-serif;font-size:13.5px;line-height:1.55;color:rgba(242,246,235,.62);margin-top:12px}
@media(max-width:860px){
  .hb-cf-card{grid-template-columns:1fr 1fr}
  .hb-cf-stat:nth-child(odd){border-left:none}
  .hb-cf-stat:nth-child(n+3){border-top:1px solid rgba(242,246,235,.09)}
}

/* ==========================================================================
   MEJORAS DE MOVIMIENTO para los layouts nativos (módulos con CSS ID)
   Funciona también en Divi 5 y Divi 4. Sin este CSS el diseño sigue viéndose
   bien: las cintas quedan rectas y la palabra gigante estática.
   ========================================================================== */
#hb-mq-verde,#hb-mq-navy{overflow:hidden!important;white-space:nowrap!important}
#hb-mq-verde{transform:rotate(-1deg)!important;width:104%!important;margin-left:-2%!important;box-shadow:0 14px 30px -18px rgba(4,18,46,.45)!important}
#hb-mq-verde .et_pb_text_inner{display:inline-flex!important;align-items:center;animation:hb-mq-scroll 38s linear infinite;will-change:transform}
#hb-mq-navy{transform:rotate(1deg)!important;width:104%!important;margin-left:-2%!important;margin-top:clamp(10px,1.85vw,40px)!important;z-index:2;box-shadow:0 18px 40px -20px rgba(4,18,46,.55)!important}
#hb-mq-navy .et_pb_text_inner{display:inline-flex!important;align-items:center;animation:hb-mq-scroll 38s linear infinite reverse;will-change:transform}
@keyframes hb-mq-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
#hb-mq-verde:hover .et_pb_text_inner,#hb-mq-navy:hover .et_pb_text_inner{animation-play-state:paused}
#hb-cf-word{white-space:nowrap!important;will-change:transform}
@media (prefers-reduced-motion:reduce){#hb-mq-verde .et_pb_text_inner,#hb-mq-navy .et_pb_text_inner{animation:none!important}#hb-cf-word{transform:none!important}}

/* --- CINTAS NATIVAS GENÉRICAS (v6) — cubre la cinta del PODCAST ---
   El bloque de arriba anima solo #hb-mq-verde / #hb-mq-navy (home).
   Esta regla cubre CUALQUIER cinta nativa: la del podcast
   (#hb-pod-mq-navy) y cualquier futuro módulo Text con clase
   .hb-mq dentro de una sección .hb-mq-zone. */
.et_pb_text.hb-mq,
#hb-pod-mq-navy,
.hb-mq-zone .et_pb_text:not(.hb-mq-verde){
  display:block!important;white-space:nowrap!important;
  overflow:hidden!important;user-select:none;
}
.et_pb_text.hb-mq .et_pb_text_inner,
#hb-pod-mq-navy .et_pb_text_inner,
.hb-mq-zone .et_pb_text:not(.hb-mq-verde) .et_pb_text_inner{
  display:inline-flex!important;align-items:center;width:max-content;
  animation:hb-mq-scroll 38s linear infinite;will-change:transform;
}
.et_pb_text.hb-mq:hover .et_pb_text_inner,
#hb-pod-mq-navy:hover .et_pb_text_inner{animation-play-state:paused}
.et_pb_section:has(.hb-mq-zone){overflow:hidden}
@media (max-width:767px){
  .hb-mq-zone .et_pb_row{width:114%!important;margin-left:-7%!important}
}
@supports (-webkit-text-stroke:1px #000){
  #hb-pod-mq-navy,
  .et_pb_text.hb-mq-navy,
  .hb-mq-zone .et_pb_text:not(.hb-mq-verde){
    background-color:#062C70!important;
    background-image:linear-gradient(90deg,#062C70 0%,#04122E 100%)!important;
    color:transparent!important;
    -webkit-text-stroke:1.4px rgba(242,246,235,.78)!important;
  }
}
@media (prefers-reduced-motion:reduce){
  .et_pb_text.hb-mq .et_pb_text_inner,
  #hb-pod-mq-navy .et_pb_text_inner,
  .hb-mq-zone .et_pb_text:not(.hb-mq-verde) .et_pb_text_inner{animation:none!important}
}

/* ============ CONTACTO NATIVO (Contact Form de Divi → WhatsApp) ============
   El diseño base vive en los atributos del módulo (fuentes, colores,
   radios, sombras); este bloque añade SOLO lo que Divi no cubre por
   atributos. Sin este CSS el formulario sigue viéndose y funcionando. */
.hb-wa-send .et_pb_contact_form_label{font-family:Poppins,sans-serif;font-size:11.5px!important;font-weight:600!important;letter-spacing:1.4px;text-transform:uppercase;color:#7FA62C!important}
.hb-wa-send input:focus,.hb-wa-send select:focus,.hb-wa-send textarea:focus{border-color:#7FA62C!important;background:#FFFFFF!important}
.hb-wa-send .et_pb_contact_submit{width:100%;padding:16px 34px}
.hb-wa-send textarea{min-height:110px;resize:vertical}
#hb-contacto-info a{transition:background .25s ease,transform .25s ease}
#hb-contacto-info a:hover{background:rgba(242,246,235,.08);transform:translateX(4px)}

/* ===== FOOTER PROPIO — el footer genérico de Divi se oculta ==============
   Las páginas traen al final la sección "HB Footer" (módulos nativos). Si
   creas un Global Footer en Divi > Theme Builder, esta regla no molesta. */
#main-footer{display:none!important}


/* ==========================================================================
   BLOQUES NATIVOS DIVI 5 (v4) — clases hb5-* de los layouts del directorio
   Estos layouts se importan desde HB-DIRECTORIO-v2-importar-BIBLIOTECA.json
   (formato bloque wp:divi/*). El HTML de marca vive dentro de los módulos
   Text nativos; el child theme lo viste todo. Sin este CSS los layouts se
   ven "planos"; con él lucen el estilo Higgsfield completo.
   ========================================================================== */

/* ===== hb5 · Cabeceras de sección ====================================== */
.hb5-eyebrow{display:inline-block;font-family:var(--hb-fb);font-weight:700;font-size:12.5px;letter-spacing:3.2px;text-transform:uppercase;color:var(--hb-olive);margin:0 auto 16px;text-align:center}
.hb5-eyebrow.hb5-claro{color:var(--hb-lime)}
.hb5-title{font-family:var(--hb-fh);font-weight:800;font-size:clamp(32px,4.6vw,58px);line-height:1.1;color:var(--hb-ink);margin:0 auto 16px;text-align:center;letter-spacing:-.5px}
.hb5-title.hb5-claro{color:#fff}
.hb5-title .hb5-acento{color:var(--hb-olive)}
.hb5-title.hb5-claro .hb5-acento{color:var(--hb-lime)}
.hb5-sub{font-family:var(--hb-fb);font-weight:400;font-size:16px;line-height:1.8;color:#3D4A5C;margin:0 auto;text-align:center;max-width:620px}
.hb5-sub.hb5-claro{color:rgba(242,246,235,.78)}

/* ===== hb5 · Botones ==================================================== */
.hb5-botones{display:flex;gap:14px;flex-wrap:wrap;margin-top:34px}
.hb5-botones--centro{justify-content:center}
.hb5-btn{display:inline-flex;align-items:center;gap:9px;font-family:var(--hb-fb);font-weight:700;font-size:13.5px;letter-spacing:1.6px;text-transform:uppercase;text-decoration:none;border-radius:999px;padding:15px 30px;line-height:1;transition:transform .25s ease,box-shadow .25s ease,background .25s ease,color .25s ease,border-color .25s ease;cursor:pointer}
.hb5-btn span{display:inline-flex;align-items:center;gap:8px}
.hb5-btn--lima{background:var(--hb-lime);color:var(--hb-ink);box-shadow:0 12px 28px -12px rgba(168,212,58,.55)}
.hb5-btn--lima:hover{background:#fff;color:var(--hb-ink);transform:translateY(-3px)}
.hb5-btn--ghost{background:transparent;color:var(--hb-ink);border:2px solid var(--hb-ink)}
.hb5-btn--ghost:hover{background:var(--hb-ink);color:#fff;transform:translateY(-3px)}
.hb5-btn--ghost-claro{background:rgba(242,246,235,.12);color:#F2F6EB;border:1px solid rgba(242,246,235,.55)}
.hb5-btn--ghost-claro:hover{background:#fff;color:var(--hb-ink);border-color:#fff;transform:translateY(-3px)}

/* ===== hb5 · Cinta marquee (autocontenida, sin depender de Divi) ======== */
.hb5-cinta{overflow:hidden;white-space:nowrap;border-radius:26px;margin:0 -2%;max-width:104%;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.hb5-cinta--navy{background:var(--hb-navy);color:#F2F6EB;box-shadow:0 24px 50px -26px rgba(6,44,112,.55)}
.hb5-cinta--olive{background:var(--hb-olive);color:#fff;box-shadow:0 24px 50px -26px rgba(127,166,44,.5)}
.hb5-cinta-pista{display:inline-flex;align-items:center;width:max-content;animation:hb5-cinta-scroll 38s linear infinite;will-change:transform}
.hb5-cinta:hover .hb5-cinta-pista{animation-play-state:paused}
.hb5-cinta-tramo{display:inline-flex;align-items:center;font-family:var(--hb-fh);font-weight:800;font-size:clamp(17px,2.2vw,24px);letter-spacing:1.2px;text-transform:uppercase;padding:20px 0}
@keyframes hb5-cinta-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.hb5-cinta-pista{animation:none}}

/* ===== hb5 · Tarjetas (categorías, pasos, ubicaciones) ================== */
.hb5-card{display:flex;flex-direction:column;gap:10px;background:#fff;border:1px solid #E3EBD5;border-radius:22px;padding:30px 28px;text-decoration:none;transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;height:100%;box-sizing:border-box}
.hb5-card:hover{transform:translateY(-6px);box-shadow:0 30px 60px -28px rgba(4,18,46,.22);border-color:var(--hb-lime)}
.hb5-card-ic{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:16px;background:var(--hb-sage);color:var(--hb-navy)}
.hb5-card-ic svg{width:26px;height:26px}
.hb5-card-num{font-family:var(--hb-fh);font-weight:800;font-size:22px;color:var(--hb-olive);width:auto;height:auto;background:var(--hb-sage);border-radius:999px;padding:8px 18px}
.hb5-card-t{font-family:var(--hb-fh);font-weight:700;font-size:19px;color:var(--hb-ink);margin:4px 0 0}
.hb5-card-c{font-family:var(--hb-fb);font-weight:400;font-size:14px;line-height:1.7;color:#7A8A99;margin:0}
.hb5-card-mas{display:inline-flex;align-items:center;gap:8px;font-family:var(--hb-fb);font-weight:700;font-size:12px;letter-spacing:2px;text-transform:uppercase;color:var(--hb-olive);margin-top:auto;padding-top:12px}
.hb5-card-mas svg{width:16px;height:16px;transition:transform .25s ease}
.hb5-card:hover .hb5-card-mas svg{transform:translateX(6px)}
.hb5-card--loc{background:linear-gradient(135deg,var(--hb-navy),var(--hb-ink));border-color:transparent}
.hb5-card--loc .hb5-card-t{color:#fff;font-size:26px}
.hb5-card--loc .hb5-card-c{color:rgba(242,246,235,.72)}
.hb5-card--loc .hb5-card-mas{color:var(--hb-lime)}

/* ===== hb5 · Ficha de listing (plantilla del Loop Builder) ============== */
.hb5-ficha{display:flex;flex-direction:column;background:#fff;border:1px solid #E3EBD5;border-radius:22px;overflow:hidden;transition:transform .3s ease,box-shadow .3s ease;height:100%}
.hb5-ficha:hover{transform:translateY(-6px);box-shadow:0 30px 60px -26px rgba(4,18,46,.25)}
.hb5-ficha-foto{position:relative;padding-top:62%;background-size:cover;background-position:center;background-color:var(--hb-navy)}
.hb5-ficha-badge{position:absolute;top:14px;left:14px;display:inline-flex;align-items:center;gap:6px;background:var(--hb-lime);color:var(--hb-ink);font-family:var(--hb-fb);font-weight:700;font-size:10.5px;letter-spacing:1.6px;text-transform:uppercase;border-radius:999px;padding:7px 13px}
.hb5-ficha-tipo{position:absolute;top:14px;right:14px;background:rgba(4,18,46,.6);backdrop-filter:blur(4px);color:#F2F6EB;font-family:var(--hb-fb);font-weight:600;font-size:11px;letter-spacing:1.4px;text-transform:uppercase;border-radius:999px;padding:7px 13px}
.hb5-ficha-cuerpo{display:flex;flex-direction:column;gap:8px;padding:22px 22px 20px}
.hb5-ficha-precio{font-family:var(--hb-fh);font-weight:800;font-size:26px;color:var(--hb-olive);margin:0}
.hb5-ficha-t{font-family:var(--hb-fh);font-weight:700;font-size:17.5px;line-height:1.35;color:var(--hb-ink);margin:0}
.hb5-ficha-meta{display:flex;align-items:center;gap:7px;font-family:var(--hb-fb);font-weight:400;font-size:13.5px;color:#7A8A99;margin:0}
.hb5-ficha-meta svg{width:15px;height:15px;flex:none;color:var(--hb-olive)}
.hb5-ficha-pie{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #E3EBD5;margin-top:6px;padding-top:14px}
.hb5-ficha-agente{display:flex;align-items:center;gap:7px;font-family:var(--hb-fb);font-weight:600;font-size:12.5px;color:var(--hb-navy)}
.hb5-ficha-agente svg{width:15px;height:15px;color:var(--hb-olive)}
.hb5-ficha-acc{display:flex;align-items:center;gap:12px;color:#7A8A99}
.hb5-ficha-acc svg{width:17px;height:17px}

/* ===== hb5 · Guía del Loop Builder (borrable) =========================== */
.hb5-guia{background:linear-gradient(120deg,#FAFCF6,#F2F6EB);border:1.5px dashed var(--hb-olive);border-radius:22px;padding:28px 30px}
.hb5-guia-t{display:flex;align-items:center;gap:10px;font-family:var(--hb-fh);font-weight:800;font-size:18px;color:var(--hb-ink);margin:0 0 14px}
.hb5-guia-t svg{width:22px;height:22px;color:var(--hb-olive)}
.hb5-guia-pasos{margin:0;padding-left:20px;font-family:var(--hb-fb);font-size:14.5px;line-height:1.9;color:#3D4A5C}
.hb5-guia-pasos li{margin-bottom:8px}
.hb5-guia-pasos b{color:var(--hb-navy)}
.hb5-guia-nota{font-family:var(--hb-fb);font-size:12.5px;color:#7A8A99;margin:12px 0 0}

/* ===== hb5 · Paginación ================================================= */
.hb5-paginacion{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;font-family:var(--hb-fb)}
.hb5-paginacion a,.hb5-pag-actual{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;border-radius:12px;text-decoration:none;font-weight:600;font-size:14px}
.hb5-pag-actual{background:var(--hb-ink);color:#fff}
.hb5-paginacion a{background:#fff;border:1px solid #E3EBD5;color:#3D4A5C;transition:all .22s ease}
.hb5-paginacion a:hover{background:var(--hb-lime);border-color:var(--hb-lime);color:var(--hb-ink);transform:translateY(-2px)}
.hb5-pag-salto{color:#7A8A99}
.hb5-pag-sig{padding:0 18px;gap:8px}
.hb5-pag-sig svg{width:16px;height:16px}

/* ===== hb5 · Buscador hero ============================================== */
.hb5-buscador{background:#fff;border-radius:26px;padding:14px;box-shadow:0 32px 70px -30px rgba(4,18,46,.4)}
.hb5-buscador-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr auto;gap:10px;align-items:end}
.hb5-bcampo{display:flex;flex-direction:column;gap:6px}
.hb5-bcampo>span:first-child{font-family:var(--hb-fb);font-weight:700;font-size:11px;letter-spacing:1.8px;text-transform:uppercase;color:#7A8A99;padding-left:6px}
.hb5-binput{display:flex;align-items:center;gap:9px;background:var(--hb-sage);border-radius:14px;padding:13px 15px}
.hb5-binput svg{width:17px;height:17px;color:var(--hb-olive);flex:none}
.hb5-binput input,.hb5-binput select{flex:1;min-width:0;border:0;background:transparent;font-family:var(--hb-fb);font-size:14px;color:#3D4A5C;outline:none;appearance:none}
.hb5-binput input::placeholder{color:#9AA9B8}
.hb5-binput select{cursor:pointer}
.hb5-bcampo-btn .hb5-btn{padding:15px 26px;height:auto}
.hb5-buscador-nota{display:flex;align-items:center;gap:8px;font-family:var(--hb-fb);font-size:12px;color:#7A8A99;margin:12px 6px 2px}
.hb5-buscador-nota svg{width:15px;height:15px;color:var(--hb-olive)}

/* ===== hb5 · Chips de filtros rápidos =================================== */
.hb5-chips{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.hb5-chip{display:inline-flex;align-items:center;font-family:var(--hb-fb);font-weight:600;font-size:13px;color:var(--hb-navy);text-decoration:none;background:#fff;border:1px solid #E3EBD5;border-radius:999px;padding:10px 20px;transition:all .22s ease}
.hb5-chip:hover{background:var(--hb-navy);color:#fff;border-color:var(--hb-navy);transform:translateY(-2px)}

/* ===== hb5 · Tarjeta de agente ========================================== */
.hb5-agente{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;background:#fff;border:1px solid #E3EBD5;border-radius:22px;padding:34px 26px;height:100%;transition:transform .3s ease,box-shadow .3s ease}
.hb5-agente:hover{transform:translateY(-6px);box-shadow:0 30px 60px -28px rgba(4,18,46,.22)}
.hb5-agente-foto{display:inline-flex;align-items:center;justify-content:center;width:92px;height:92px;border-radius:50%;background:var(--hb-sage);color:var(--hb-navy);border:3px solid var(--hb-lime)}
.hb5-agente-foto svg{width:40px;height:40px}
.hb5-agente-t{font-family:var(--hb-fh);font-weight:700;font-size:19px;color:var(--hb-ink);margin:8px 0 0}
.hb5-agente-c{font-family:var(--hb-fb);font-weight:600;font-size:12px;letter-spacing:1.6px;text-transform:uppercase;color:var(--hb-olive);margin:0}
.hb5-agente-meta{display:flex;align-items:center;gap:7px;font-family:var(--hb-fb);font-size:13px;color:#7A8A99;margin:0 0 6px}
.hb5-agente-meta svg{width:15px;height:15px;color:var(--hb-olive)}
.hb5-agente .hb5-botones{margin-top:auto}

/* ===== hb5 · Perfil de agente =========================================== */
.hb5-perfil{background:#fff;border:1px solid #E3EBD5;border-radius:26px;padding:38px 36px}
.hb5-perfil-cab{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.hb5-perfil-foto{display:inline-flex;align-items:center;justify-content:center;width:104px;height:104px;border-radius:50%;background:var(--hb-sage);color:var(--hb-navy);border:4px solid var(--hb-lime);flex:none}
.hb5-perfil-foto svg{width:46px;height:46px}
.hb5-perfil-t{font-family:var(--hb-fh);font-weight:800;font-size:clamp(24px,3vw,34px);color:var(--hb-ink);margin:0 0 4px}
.hb5-perfil-c{font-family:var(--hb-fb);font-weight:600;font-size:13px;letter-spacing:1.8px;text-transform:uppercase;color:var(--hb-olive);margin:0 0 10px}
.hb5-perfil-meta{display:flex;flex-wrap:wrap;gap:8px 18px;font-family:var(--hb-fb);font-size:13.5px;color:#7A8A99;margin:0}
.hb5-perfil-meta svg{width:15px;height:15px;color:var(--hb-olive);vertical-align:-2px;margin-right:5px}
.hb5-perfil-bio{font-family:var(--hb-fb);font-size:15px;line-height:1.85;color:#3D4A5C;border-top:1px solid #E3EBD5;margin-top:24px;padding-top:22px}

/* ===== hb5 · Planes ===================================================== */
.hb5-plan{display:flex;flex-direction:column;gap:14px;background:#fff;border:1px solid #E3EBD5;border-radius:24px;padding:36px 30px;height:100%;transition:transform .3s ease,box-shadow .3s ease}
.hb5-plan:hover{transform:translateY(-6px);box-shadow:0 30px 60px -28px rgba(4,18,46,.22)}
.hb5-plan--dest{background:linear-gradient(150deg,var(--hb-navy),var(--hb-ink));border-color:transparent;box-shadow:0 34px 70px -28px rgba(6,44,112,.5)}
.hb5-plan-nombre{font-family:var(--hb-fb);font-weight:700;font-size:12.5px;letter-spacing:2.6px;text-transform:uppercase;color:var(--hb-olive);margin:0}
.hb5-plan--dest .hb5-plan-nombre{color:var(--hb-lime)}
.hb5-plan-precio{font-family:var(--hb-fh);font-weight:800;font-size:38px;color:var(--hb-ink);margin:0}
.hb5-plan--dest .hb5-plan-precio{color:#fff}
.hb5-plan-lista{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.hb5-plan-lista li{display:flex;align-items:center;gap:10px;font-family:var(--hb-fb);font-size:14px;color:#3D4A5C}
.hb5-plan--dest .hb5-plan-lista li{color:rgba(242,246,235,.85)}
.hb5-plan-lista svg{width:16px;height:16px;color:var(--hb-olive);flex:none}
.hb5-plan--dest .hb5-plan-lista svg{color:var(--hb-lime)}
.hb5-plan .hb5-botones{margin-top:auto}

/* ===== hb5 · CTA navy (autocontenido: el fondo vive aquí) ================ */
.hb5-cta{display:grid;grid-template-columns:1.2fr 1fr;gap:26px;align-items:center;
background:linear-gradient(125deg,var(--hb-navy),var(--hb-ink));border-radius:30px;
padding:52px 46px;box-shadow:0 34px 70px -30px rgba(4,18,46,.45)}
.hb5-cta-t{font-family:var(--hb-fh);font-weight:700;font-size:clamp(24px,3vw,30px);line-height:1.25;color:#fff;margin:0 0 12px}
.hb5-cta-c{font-family:var(--hb-fb);font-size:15.5px;line-height:1.8;color:rgba(242,246,235,.8);margin:0 0 14px}
.hb5-cta-datos{font-family:var(--hb-fb);font-size:13px;color:rgba(242,246,235,.6);margin:0}
@media (max-width:980px){.hb5-cta{grid-template-columns:1fr;padding:38px 30px}}

/* ===== hb5 · Zona shortcode Directorist ================================= */
.hb5-sc{background:#fff;border:1px solid #E3EBD5;border-radius:26px;padding:34px 30px;overflow-x:auto}
.hb5-sc--estrecho{max-width:640px;margin:0 auto}
.hb5-sc-nota{display:flex;align-items:center;gap:8px;font-family:var(--hb-fb);font-size:12.5px;color:#7A8A99;margin:16px 4px 0}

/* ===== hb5 · Responsive ================================================ */
@media (max-width:980px){
  .hb5-buscador-grid{grid-template-columns:1fr 1fr}
  .hb5-bcampo-btn{grid-column:1/-1}
  .hb5-bcampo-btn .hb5-btn{width:100%;justify-content:center}
  .hb5-perfil{padding:30px 24px}
}
@media (max-width:767px){
  .hb5-title{font-size:clamp(30px,8.4vw,38px)}
  .hb5-botones{flex-direction:column;align-items:stretch}
  .hb5-botones .hb5-btn{justify-content:center}
  .hb5-cinta{margin:0 -4%;max-width:108%}
  .hb5-cinta-tramo{font-size:15.5px}
  .hb5-buscador-grid{grid-template-columns:1fr}
  .hb5-perfil-cab{flex-direction:column;text-align:center}
  .hb5-perfil-meta{justify-content:center}
  .hb5-paginacion{gap:7px}
}

/* ==========================================================================
   11. ORION v5 — FICHA DE PROPIEDAD · CALCULADORA · ZONAS · TESTIMONIOS ·
       BLOG · 404 · BÚSQUEDA RÁPIDA STICKY
   Todo autocontenido: sin estos estilos los módulos Divi nativos se ven
   correctos (solo sin el acabado ORION).
   ========================================================================== */

/* ---------- 11.1 Ficha de propiedad (Theme Builder, single listing) ----- */
.hb5-prop-hero{display:flex;flex-wrap:wrap;gap:18px;align-items:center;justify-content:space-between;margin-top:26px}
.hb5-prop-chips{display:flex;flex-wrap:wrap;gap:10px}
.hb5-prop-chips .hb5-chip{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.22);color:#fff}
.hb5-prop-chips .hb5-chip--lima{background:var(--hb-lime);border-color:var(--hb-lime);color:var(--hb-ink);font-weight:600}
.hb5-prop-precio{font-family:var(--hb-fh);font-weight:800;font-size:clamp(30px,4vw,44px);color:var(--hb-lime);margin:0;letter-spacing:-.5px}
.hb5-prop-specs{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:34px}
.hb5-spec{display:flex;gap:14px;align-items:center;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);border-radius:18px;padding:16px 18px;transition:transform .3s ease,background .3s ease}
.hb5-spec:hover{transform:translateY(-3px);background:rgba(255,255,255,.1)}
.hb5-spec svg{width:26px;height:26px;color:var(--hb-lime);flex:none}
.hb5-spec b{display:block;font-family:var(--hb-fh);font-weight:700;color:#fff;font-size:18px;line-height:1.15}
.hb5-spec span{display:block;font-family:var(--hb-fb);font-size:12px;letter-spacing:1.6px;text-transform:uppercase;color:rgba(255,255,255,.62);margin-top:3px}
.hb5-prop-gal{display:grid;grid-template-columns:2.1fr 1fr;gap:14px}
.hb5-prop-gal-sec{display:grid;gap:14px}
.hb5-prop-foto{border-radius:24px;background-size:cover;background-position:center;min-height:300px;position:relative;overflow:hidden;box-shadow:var(--hb-shadow)}
.hb5-prop-foto--mini{min-height:143px}
.hb5-prop-foto-badge{position:absolute;top:16px;left:16px;background:var(--hb-lime);color:var(--hb-ink);font-family:var(--hb-fb);font-weight:600;font-size:12px;letter-spacing:2px;padding:8px 14px;border-radius:999px}
.hb5-prop-cuerpo{display:grid;grid-template-columns:2fr 1fr;gap:34px;align-items:start}
.hb5-prop-bloque{background:#fff;border:1px solid #E3EBD5;border-radius:24px;padding:34px;box-shadow:0 18px 44px -30px rgba(4,18,46,.28)}
.hb5-prop-bloque + .hb5-prop-bloque{margin-top:26px}
.hb5-prop-bloque h3{font-family:var(--hb-fh);font-weight:800;font-size:24px;color:var(--hb-ink);margin:0 0 16px;letter-spacing:-.3px}
.hb5-prop-bloque p{font-family:var(--hb-fb);color:#3D4A5C;line-height:1.75;margin:0 0 14px}
.hb5-prop-feats{display:grid;grid-template-columns:1fr 1fr;gap:12px 26px;margin:6px 0 0;padding:0;list-style:none}
.hb5-prop-feats li{display:flex;gap:10px;align-items:center;font-family:var(--hb-fb);color:#3D4A5C;font-size:14.5px}
.hb5-prop-feats li svg{width:18px;height:18px;color:var(--hb-olive);flex:none}
.hb5-prop-panel{position:sticky;top:110px}
.hb5-agente.hb5-agente--panel{background:#fff;border:1px solid #E3EBD5;border-radius:24px;padding:26px;box-shadow:0 18px 44px -30px rgba(4,18,46,.3)}

/* ---------- 11.2 Calculadora hipotecaria -------------------------------- */
.hb5-calc{background:#fff;border:1px solid #E3EBD5;border-radius:26px;box-shadow:var(--hb-shadow);padding:clamp(24px,3.4vw,44px);display:grid;grid-template-columns:1.15fr .95fr;gap:clamp(22px,3vw,40px)}
.hb5-calc-t{font-family:var(--hb-fh);font-weight:800;font-size:clamp(22px,2.6vw,30px);color:var(--hb-ink);margin:0 0 6px;letter-spacing:-.4px}
.hb5-calc-d{font-family:var(--hb-fb);color:#7A8A99;font-size:14px;margin:0 0 24px}
.hb5-calc-campos{display:grid;gap:20px}
.hb5-calc-field{display:grid;gap:8px}
.hb5-calc-field > label{font-family:var(--hb-fb);font-weight:600;font-size:13px;letter-spacing:1.6px;text-transform:uppercase;color:#3D4A5C;display:flex;justify-content:space-between;align-items:baseline}
.hb5-calc-field > label b{color:var(--hb-olive);letter-spacing:0;font-size:15px}
.hb5-calc-field input[type="number"]{font-family:var(--hb-fh);font-weight:700;font-size:22px;color:var(--hb-ink);border:1.5px solid #E3EBD5;border-radius:14px;padding:14px 18px;background:#FAFCF5;outline:none;transition:border .25s ease,box-shadow .25s ease;width:100%}
.hb5-calc-field input[type="number"]:focus{border-color:var(--hb-lime);box-shadow:0 0 0 4px rgba(168,212,58,.18)}
.hb5-calc-field input[type="range"]{appearance:none;-webkit-appearance:none;width:100%;height:8px;border-radius:999px;background:linear-gradient(90deg,var(--hb-lime),#E3EBD5);outline:none;cursor:pointer}
.hb5-calc-field input[type="range"]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:24px;height:24px;border-radius:50%;background:var(--hb-navy);border:3px solid var(--hb-lime);cursor:pointer}
.hb5-calc-field input[type="range"]::-moz-range-thumb{width:24px;height:24px;border-radius:50%;background:var(--hb-navy);border:3px solid var(--hb-lime);cursor:pointer}
.hb5-calc-field select{font-family:var(--hb-fb);font-weight:600;font-size:16px;color:var(--hb-ink);border:1.5px solid #E3EBD5;border-radius:14px;padding:13px 16px;background:#FAFCF5;outline:none;cursor:pointer}
.hb5-calc-out{background:var(--hb-ink);border-radius:22px;padding:30px;color:#fff;display:flex;flex-direction:column;justify-content:center;gap:16px}
.hb5-calc-out-t{font-family:var(--hb-fb);font-size:12px;letter-spacing:2.6px;text-transform:uppercase;color:rgba(255,255,255,.6);margin:0}
.hb5-calc-mensual{font-family:var(--hb-fh);font-weight:800;font-size:clamp(38px,4.4vw,52px);color:var(--hb-lime);margin:0;letter-spacing:-1px;line-height:1}
.hb5-calc-fila{display:flex;justify-content:space-between;gap:14px;border-top:1px dashed rgba(255,255,255,.18);padding-top:12px}
.hb5-calc-fila span{font-family:var(--hb-fb);font-size:13px;color:rgba(255,255,255,.62)}
.hb5-calc-fila b{font-family:var(--hb-fh);font-weight:700;font-size:16px;color:#fff}
.hb5-calc-nota{font-family:var(--hb-fb);font-size:12px;color:rgba(255,255,255,.5);margin:0}

/* ---------- 11.3 Testimonios -------------------------------------------- */
.hb5-testi{background:#fff;border:1px solid #E3EBD5;border-radius:24px;padding:28px;box-shadow:0 18px 44px -32px rgba(4,18,46,.3);display:flex;flex-direction:column;gap:14px;height:100%}
.hb5-testi-est{display:flex;gap:3px;color:var(--hb-lime)}
.hb5-testi-est svg{width:17px;height:17px}
.hb5-testi-c{font-family:var(--hb-fb);font-style:italic;color:#3D4A5C;line-height:1.7;margin:0;font-size:15px}
.hb5-testi-pie{display:flex;gap:12px;align-items:center;margin-top:auto;padding-top:8px}
.hb5-testi-avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,var(--hb-navy),#0B2C63);color:var(--hb-lime);font-family:var(--hb-fh);font-weight:700;display:flex;align-items:center;justify-content:center;flex:none}
.hb5-testi-n{display:block;font-family:var(--hb-fh);font-weight:700;color:var(--hb-ink);font-size:15px;margin:0;line-height:1.2}
.hb5-testi-l{display:block;font-family:var(--hb-fb);font-size:12.5px;color:#7A8A99;margin:3px 0 0}

/* ---------- 11.4 Stats / contadores -------------------------------------- */
.hb5-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.hb5-stat{background:var(--hb-ink);border-radius:24px;padding:30px 26px;text-align:center;position:relative;overflow:hidden}
.hb5-stat::after{content:"";position:absolute;right:-38px;top:-38px;width:120px;height:120px;border-radius:50%;background:radial-gradient(circle at 30% 30%,rgba(168,212,58,.32),transparent 70%)}
.hb5-stat-num{font-family:var(--hb-fh);font-weight:800;font-size:clamp(38px,4.6vw,54px);color:var(--hb-lime);margin:0;line-height:1;letter-spacing:-1px}
.hb5-stat-t{font-family:var(--hb-fb);font-size:12.5px;letter-spacing:2.4px;text-transform:uppercase;color:rgba(255,255,255,.72);margin:10px 0 0}
.hb5-stat-c{font-family:var(--hb-fb);font-size:13px;color:rgba(255,255,255,.5);margin:8px 0 0}

/* ---------- 11.5 Zonas (Explora Puerto Rico) ----------------------------- */
.hb5-zona{position:relative;display:block;border-radius:24px;overflow:hidden;min-height:230px;padding:26px;color:#fff;text-decoration:none;background:linear-gradient(135deg,var(--hb-navy),#04122E);box-shadow:0 18px 44px -30px rgba(4,18,46,.4);transition:transform .35s ease}
.hb5-zona:hover{transform:translateY(-6px)}
.hb5-zona::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 82% 18%,rgba(168,212,58,.25),transparent 46%),radial-gradient(circle at 12% 88%,rgba(242,246,235,.12),transparent 42%)}
.hb5-zona > *{position:relative}
.hb5-zona-t{font-family:var(--hb-fh);font-weight:800;font-size:22px;margin:0;letter-spacing:-.3px}
.hb5-zona-c{font-family:var(--hb-fb);font-size:13.5px;color:rgba(255,255,255,.72);margin:8px 0 0;line-height:1.6;max-width:34ch}
.hb5-zona-n{display:inline-flex;align-items:center;gap:8px;font-family:var(--hb-fb);font-weight:600;font-size:12.5px;letter-spacing:2px;color:var(--hb-lime);margin-top:14px;text-transform:uppercase}
.hb5-zona-n svg{width:16px;height:16px;transition:transform .3s ease}
.hb5-zona:hover .hb5-zona-n svg{transform:translateX(4px)}
.hb5-zona-nm{font-family:var(--hb-fh);font-weight:700;font-size:15px;color:#fff;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:7px 14px;display:inline-block;margin:16px 0 0}

/* ---------- 11.6 Blog ----------------------------------------------------- */
.hb5-blog{background:#fff;border:1px solid #E3EBD5;border-radius:24px;overflow:hidden;box-shadow:0 18px 44px -32px rgba(4,18,46,.28);display:flex;flex-direction:column;height:100%;transition:transform .35s ease}
.hb5-blog:hover{transform:translateY(-5px)}
.hb5-blog-foto{aspect-ratio:16/9;background-size:cover;background-position:center;position:relative}
.hb5-blog-foto .hb5-ficha-badge{position:absolute;top:14px;left:14px}
.hb5-blog-cuerpo{padding:24px 26px 26px;display:flex;flex-direction:column;gap:10px;flex:1}
.hb5-blog-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-family:var(--hb-fb);font-size:12px;color:#7A8A99}
.hb5-blog-meta b{color:var(--hb-olive);font-weight:600;letter-spacing:1.6px;text-transform:uppercase;font-size:11.5px}
.hb5-blog-meta svg{width:14px;height:14px;color:var(--hb-olive);flex:none;vertical-align:-2px}
.hb5-blog-t{font-family:var(--hb-fh);font-weight:800;font-size:20px;color:var(--hb-ink);margin:0;line-height:1.3;letter-spacing:-.3px}
.hb5-blog-c{font-family:var(--hb-fb);font-size:14px;color:#3D4A5C;line-height:1.65;margin:0}
.hb5-blog-mas{font-family:var(--hb-fb);font-weight:600;font-size:12.5px;letter-spacing:2px;color:var(--hb-navy);text-transform:uppercase;display:inline-flex;gap:8px;align-items:center;margin-top:auto;padding-top:10px}
.hb5-blog-mas svg{width:16px;height:16px;color:var(--hb-olive)}
.hb5-blog--featured{display:grid;grid-template-columns:1.25fr 1fr}
.hb5-blog--featured .hb5-blog-foto{aspect-ratio:auto;height:100%;min-height:420px}
.hb5-blog--featured .hb5-blog-cuerpo{padding:clamp(24px,3vw,44px);justify-content:center}
.hb5-blog--featured .hb5-blog-t{font-size:clamp(24px,2.8vw,34px)}

/* ---------- 11.7 404 ------------------------------------------------------ */
.hb5-404{font-family:var(--hb-fh);font-weight:800;font-size:clamp(120px,24vw,260px);line-height:.9;color:rgba(255,255,255,.1);margin:0;letter-spacing:-6px}
.hb5-404 b{color:var(--hb-lime)}
.hb5-404-caja{display:flex;gap:clamp(24px,4vw,60px);align-items:center;flex-wrap:wrap}

/* ---------- 11.8 Búsqueda rápida sticky ---------------------------------- */
.hb5-qs{position:sticky;top:70px;z-index:60;margin:-46px auto 0;max-width:1180px;padding:0 20px}
.hb5-qs-in{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid #E3EBD5;border-radius:999px;box-shadow:0 22px 48px -24px rgba(4,18,46,.4);padding:10px 12px 10px 24px;flex-wrap:nowrap}
.hb5-qs-in svg{width:20px;height:20px;color:var(--hb-olive);flex:none}
.hb5-qs-in input{flex:1;min-width:120px;border:none;outline:none;font-family:var(--hb-fb);font-size:15px;color:var(--hb-ink);background:transparent}
.hb5-qs-in input::placeholder{color:#9AA8B6}
.hb5-qs-in .hb5-btn{white-space:nowrap;padding:12px 22px}
@media(max-width:600px){.hb5-qs-in input{font-size:14px}.hb5-qs{top:56px}}

/* ---------- 11.9 Responsive ORION ----------------------------------------- */
@media(max-width:980px){
  .hb5-prop-cuerpo{grid-template-columns:1fr}
  .hb5-prop-panel{position:static}
  .hb5-prop-gal{grid-template-columns:1fr}
  .hb5-prop-specs{grid-template-columns:repeat(2,1fr)}
  .hb5-calc{grid-template-columns:1fr}
  .hb5-stats{grid-template-columns:1fr}
  .hb5-blog--featured{grid-template-columns:1fr}
  .hb5-prop-bloque{padding:26px}
}
@media(max-width:480px){
  .hb5-prop-specs{grid-template-columns:1fr 1fr}
  .hb5-prop-feats{grid-template-columns:1fr}
  .hb5-404-caja{gap:20px}
}

/* ===== 11.10 Recortes anti-overflow (ORION) ============================== */
/* Las cintas sangran 4% a propósito (efecto borde a borde); estos recortes
   evitan que el sangrado cree scroll horizontal sin tocar el diseño. */
body.hb-dir-page,
body.hb-orion-page{overflow-x:hidden}
.et_pb_text_inner:has(> .hb5-cinta){overflow:hidden}
@media(max-width:600px){
  .hb5-qs-in{flex-wrap:wrap;border-radius:26px;padding:12px}
  .hb5-qs-in input{flex:1 1 100%;padding:9px 6px}
  .hb5-qs-in .hb5-btn{flex:1 1 auto;justify-content:center}
  .hb5-qs-in a.hb5-btn--ghost{display:none}
}
