/* Seguros Bantrab Bienestar - visual refinement. Scope keeps admin forms unaffected. */
:root{--bantrab-teal:#2bb2ad;--bantrab-dark:#123e46}
body:has(.bb-homehero),body:has(.bb-catalog){background:#fff;color:#25383e;font-family:Arial,"Helvetica Neue",sans-serif}
body:has(.bb-homehero) header,body:has(.bb-catalog) header{position:relative;z-index:30;border:0;box-shadow:none;background:#fff}
body:has(.bb-homehero) nav,body:has(.bb-catalog) nav{max-width:1200px;min-height:110px;padding:0 24px;gap:12px;flex-direction:row;flex-wrap:nowrap}
.bb-header-logo{display:flex;align-items:center;flex-shrink:1;min-width:0}
.bb-header-logo img{display:block;width:clamp(200px,26vw,310px);height:auto;max-width:100%}
.bb-nav-actions{display:flex;align-items:center;gap:19px;color:#189c99}
.bb-icon-link{display:inline-flex;align-items:center;justify-content:center;position:relative;width:27px;height:34px;color:#159c97;transition:transform .2s ease,color .2s ease}
.bb-icon-link:hover{color:#087b77;transform:translateY(-1px)}.bb-icon-link svg{height:19px;width:19px;stroke:currentColor;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round}
.bb-count{position:absolute;right:-8px;top:0;min-width:17px;line-height:17px;font-size:10px;text-align:center;border-radius:50%;background:#e9e9e9;color:#555}
.bb-menu-toggle{border:0!important;border-radius:0!important;background:transparent!important;color:#159c97!important;padding:5px!important;display:inline-flex;align-items:center;justify-content:center;box-shadow:none!important}
.bb-menu-toggle svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.8;fill:none}
.bb-menu-pop{position:absolute;right:max(24px,calc((100vw - 1200px)/2 + 24px));top:calc(100% - 5px);min-width:212px;padding:10px;background:#fff;border:1px solid #ececec;box-shadow:0 14px 35px #0b3c3d1a;z-index:40}
.bb-menu-pop[hidden]{display:none!important}.bb-menu-pop a,.bb-menu-pop button{display:block;width:100%;text-align:left;padding:10px 12px;color:#29464b;font-size:13px;background:none!important;border-radius:3px!important;font-weight:500;box-shadow:none!important}.bb-menu-pop a:hover,.bb-menu-pop button:hover{background:#f1f8f8!important;color:#118f8d}
.bb-menu-pop form{margin:0}.bb-public-hero-logo{position:absolute;z-index:2;top:0;left:max(24px,calc((100vw - 1200px)/2 + 24px));background:#fff;padding:13px 24px 19px;display:none}
body:has(.bb-homehero) .bb-homehero{height:clamp(490px,40vw,685px);background-image:linear-gradient(0deg,rgba(0,0,0,.42),transparent 43%),url('/images/bantrab/hero-bienestar.jpg');background-position:center 49%;background-size:cover}
.bb-homehero-content{padding:0 16px 35px}.bb-homehero h1{font-family:Arial,"Helvetica Neue",sans-serif;font-size:clamp(30px,3.2vw,48px);font-weight:800;letter-spacing:.01em;text-shadow:0 2px 4px #0005;margin-bottom:16px}
.bb-button,body:has(.bb-catalog) .bb-button{background:var(--bantrab-teal);color:#071a1e!important;display:inline-flex;align-items:center;justify-content:center;min-height:47px;padding:12px 26px;border:0;border-radius:9px;box-shadow:3px 4px 0 #182a2b;font-size:13px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;transition:background .2s ease,transform .2s ease,box-shadow .2s ease}
.bb-button:hover{background:#229f9a;transform:translate(1px,1px);box-shadow:2px 3px 0 #182a2b}
.bb-home-actions{gap:19px}.bb-contact{color:#24aaa6}.bb-homecontact{padding:125px 22px 150px}.bb-contact h2{color:#27aaa6;letter-spacing:.01em}.bb-contact p{font-size:18px}.bb-whatsapp-button{font-size:13px;box-shadow:0 3px 9px #0001}
.bb-catalog{max-width:1150px;padding-top:65px;padding-bottom:95px}.bb-catalog h1{font-size:clamp(25px,3vw,34px);letter-spacing:.015em;margin-bottom:60px}
.bb-service-grid{gap:42px}.bb-service-card{border:1px solid #dedede;min-height:404px;padding:26px 12px 22px;box-shadow:none;transition:border-color .2s ease,box-shadow .2s ease}.bb-service-card:hover{border-color:#b9d8d6;box-shadow:0 12px 30px #03585a0a}
.bb-service-illustration{height:160px;width:160px;margin:14px auto 56px;border:0;background:none}.bb-service-illustration svg{width:100%;height:100%;display:block}.bb-card-name{font-size:17px;margin-bottom:12px;color:#14272a;font-weight:400}.bb-card-meta{font-size:14px;margin-bottom:13px}.bb-service-card .bb-button{min-height:47px;box-shadow:none;border-radius:8px;padding:12px 27px}
.bb-recorded{margin:150px auto 50px}.bb-recorded h2{font-size:27px;font-weight:800}.bb-recorded-illustration{background:var(--bantrab-teal)}
body:has(.bb-homehero) footer,body:has(.bb-catalog) footer{position:relative;background:#eee;color:#687177;padding:53px 15px 38px;letter-spacing:.105em}
body:has(.bb-homehero) footer:before,body:has(.bb-catalog) footer:before{content:"";position:absolute;top:-22px;left:50%;transform:translateX(-50%);border:22px solid transparent;border-top:0;border-bottom-color:#eee}
.bb-social{gap:20px;margin-bottom:28px}.bb-social a{font-size:13px;color:#158a9a}.bb-social svg{width:16px;height:16px;fill:currentColor}
body:has(.bb-homehero) main,body:has(.bb-catalog) main{min-height:0}
@media(max-width:800px){.bb-service-grid{gap:18px}.bb-catalog{padding:48px 18px 75px}.bb-service-illustration{margin-bottom:30px}.bb-homehero{background-position:55% center!important}}
@media(max-width:570px){body:has(.bb-homehero) nav,body:has(.bb-catalog) nav{min-height:76px;padding:0 18px;flex-direction:row;align-items:center}.bb-header-logo img{width:185px}.bb-nav-actions{gap:12px}.bb-icon-link{width:24px}.bb-service-grid{grid-template-columns:1fr;max-width:380px;margin:auto}.bb-service-card{min-height:0;padding:20px 16px 25px}.bb-service-illustration{margin-bottom:18px}.bb-homehero{height:580px!important;background-position:57% center!important}.bb-homehero-content{padding-bottom:35px}.bb-homehero h1{font-size:32px}.bb-home-actions{gap:10px}.bb-home-actions .bb-button{min-height:44px;font-size:11px;padding:10px 13px}.bb-contact{padding:90px 18px 100px}.bb-contact h2{margin-bottom:42px}.bb-recorded{margin:85px auto 35px}.bb-menu-pop{right:12px;top:70px}}
@media(prefers-reduced-motion:reduce){.bb-button,.bb-service-card,.bb-icon-link{transition:none}}

.bb-service-illustration img{display:block;width:100%;height:100%;object-fit:contain}

/* 20 oct 2026 — Identidad Bantrab: CTA legibles y tarjetas centradas. */
.bb-home-actions .bb-button,
.bb-service-card .bb-button,
.bb-recorded .bb-button,
.bb-button, body:has(.bb-catalog) .bb-button {
 color:#fff!important;
}
.bb-service-card { align-items:center!important; text-align:center!important; }
.bb-service-illustration { margin:12px auto 36px!important; overflow:hidden; flex-shrink:0; }
.bb-service-illustration img { display:block;width:100%;height:100%;object-fit:contain; }
.bb-service-card .bb-card-name, .bb-service-card .bb-card-meta { text-align:center;width:100%; }
.bb-service-card .bb-button { align-self:center!important;margin-top:auto; }
@media(max-width:570px){.bb-service-illustration{margin-bottom:22px!important}}
