/* Responsive adapters for existing Belgi components, not a global plugin reset.
 * Do not hide document overflow: plugin carousels/slide panels keep their own clipping. */
.belgi-global .belgi-header .belgi-logo{min-width:0;transition:color .2s}
.belgi-global .belgi-header .belgi-logo img{max-width:100%;transition:none}
.belgi-global .belgi-header-actions{flex-shrink:0}
.belgi-global :is(.belgi-card,.belgi-service-card,.belgi-benefit,.belgi-reading-detail,.belgi-footer-grid>*){min-width:0;overflow-wrap:break-word}
.belgi-global :is(.belgi-action,.belgi-product-link){box-sizing:border-box;max-width:100%;white-space:normal;text-align:center;overflow-wrap:break-word}
.belgi-global .belgi-footer-grid nav>a{display:inline-flex;align-items:center;min-height:36px;max-width:100%;overflow-wrap:anywhere}
.belgi-global :is(.srfm-form-container,.fluentform,.tutor-wrap) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){max-width:100%;box-sizing:border-box}
.belgi-global .belgi-review-window{touch-action:pan-y pinch-zoom}
.belgi-menu-heading,.belgi-menu-backdrop{display:none}
@media(max-width:900px){
 .belgi-global .belgi-header .belgi-navigation{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:0 10px;min-height:90px;padding:8px 0}
 .belgi-global .belgi-header .belgi-logo{grid-column:1;grid-row:1;width:clamp(110px,23vw,180px);max-width:100%}
 .belgi-global .belgi-header .belgi-logo img{height:72px;max-height:72px}
 .belgi-global .belgi-menu-toggle{grid-column:2;grid-row:1;display:inline-flex;align-items:center;justify-content:center;margin:0;padding:12px 10px;min-width:44px;min-height:44px;background:transparent;color:#754d55;border:1px solid #cdb8ad;border-radius:24px;font:600 11px/1 Raleway,Arial,sans-serif}
 .belgi-global .belgi-header-actions{grid-column:3;grid-row:1;gap:0;margin:0}
 .belgi-global .belgi-header-actions a{width:44px;min-width:44px;height:44px;border:0;border-radius:0}
 .belgi-global .belgi-navigation #belgi-menu{grid-column:1/-1;grid-row:2;order:initial;width:100%;margin:0;padding:12px 0 8px}
 .belgi-global.belgi-js .belgi-navigation #belgi-menu:not(.is-open){display:none}
 .belgi-global .belgi-navigation #belgi-menu ul{display:flex;flex-direction:column;gap:0;width:100%}
 .belgi-global .belgi-navigation #belgi-menu li{width:100%}
 .belgi-global .belgi-navigation #belgi-menu a{display:flex;align-items:center;min-height:48px;padding:14px 4px;font-size:12px;line-height:1.6}
 .belgi-global .belgi-cart-count{right:0;top:-2px}
 .belgi-global.home .belgi-hero{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)}
 .belgi-global.home .belgi-hero h1{font-size:clamp(36px,5.8vw,49px)}
 .belgi-global .belgi-calculator-layout{grid-template-columns:minmax(0,1fr);gap:26px}
 .belgi-global .belgi-calculator-intro{padding-top:0}
 .belgi-global .belgi-calculator-intro p:not(.belgi-kicker){max-width:600px}
}
@media(max-width:767px){
 /* Keep the real WhatsApp link, without covering half of a narrow form. */
 .belgi-global a.chaty-whatsapp-channel{width:48px!important;height:48px!important;min-height:48px;justify-content:center;padding:7px!important;gap:0;border-radius:50%!important;right:12px!important;bottom:max(12px,env(safe-area-inset-bottom))!important}
 .belgi-global a.chaty-whatsapp-channel .belgi-chat-copy{display:none}
 .belgi-global a.chaty-whatsapp-channel::after{display:none!important}
 .belgi-global:has(:is(input,textarea,select):focus) a.chaty-whatsapp-channel{visibility:hidden!important;pointer-events:none}
 .belgi-global :is(.srfm-form-container,.fluentform,.tutor-wrap) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){font-size:16px!important;line-height:1.5;min-height:44px}
 .belgi-global #matriz-destino-root input{font-size:16px!important;min-height:44px;box-sizing:border-box;max-width:100%}
 .belgi-global #matriz-destino-root button{min-height:44px;white-space:normal}
 .belgi-global.single-product .summary form.cart{gap:14px;align-items:center}
 .belgi-global.single-product .summary .single_add_to_cart_button{flex:1 1 165px;min-height:48px;margin:0!important}
 .belgi-global.single-product .woocommerce-tabs .panel{padding:22px 18px!important}
 .belgi-global.single-product .woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;gap:8px;padding:0}
 .belgi-global.single-product .woocommerce-tabs ul.tabs li{margin:0;max-width:100%}
 .belgi-global.single-product .woocommerce-tabs ul.tabs li a{min-height:44px;display:flex;align-items:center;padding:12px 16px;white-space:normal}
 .belgi-global.single-product #review_form textarea{font-size:16px;min-height:120px;width:100%}
 .belgi-global.single-product .ast-sticky-add-to-cart .ast-sticky-add-to-cart-content{gap:12px;flex-wrap:wrap}
 .belgi-global .belgi-footer-grid nav{gap:6px}
 .belgi-global .belgi-footer-grid nav>a{min-height:44px}
 .belgi-global .belgi-footer-bottom{padding-bottom:48px}
}
@media(max-width:650px){
 .belgi-global #matriz-destino-root div:has(>div>input){grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
 .belgi-global #matriz-destino-root>div>div{padding-inline:0!important}
 .belgi-global #matriz-destino-root button{min-width:0!important;max-width:100%;overflow-wrap:break-word}
 .belgi-global.home .belgi-hero{grid-template-columns:minmax(0,1fr)}
 .belgi-global.home .belgi-hero h1{font-size:clamp(35px,9.8vw,46px);line-height:1.15;letter-spacing:-1px}
 .belgi-global.home .belgi-hero .wp-block-buttons{gap:12px;align-items:stretch}
 .belgi-global.home .belgi-hero .wp-block-button{flex:1 1 170px}
 .belgi-global.home .belgi-hero .wp-block-button__link{width:100%}
 .belgi-global .belgi-offer-meta .belgi-badge{white-space:normal}
 .belgi-global .belgi-shortcuts .uagb-buttons-repeater{overflow-wrap:anywhere}
 .belgi-global .belgi-page-title h1{font-size:clamp(30px,8vw,40px);overflow-wrap:break-word}
 .belgi-global .belgi-service-card .belgi-service-bottom{gap:16px}
 .belgi-global .belgi-service-card .belgi-action{min-height:48px}
 .belgi-global.page-id-1441 .belgi-editorial .uagb-block-b5ec624c{padding:20px 16px!important;width:100%!important}
 .belgi-global.page-id-1441 .belgi-editorial .uagb-block-5165c1e9{margin:36px auto!important}
 .belgi-global.page-id-1441 .srfm-form-container{width:100%;max-width:100%}
 .belgi-global.page-id-1441 .srfm-form-container input::placeholder{font-size:14px}
 .belgi-global.page-id-1441 .srfm-submit-button{width:100%}
}
@media(max-width:480px){
 .belgi-global #matriz-destino-root table{table-layout:fixed;width:100%!important;font-size:12px!important}
 .belgi-global #matriz-destino-root table th{padding:8px 1px!important;font-size:10px!important;line-height:1.5;white-space:nowrap}
 .belgi-global #matriz-destino-root table th:first-child{width:40%}
 .belgi-global #matriz-destino-root table th:nth-child(2){width:15%}
 .belgi-global #matriz-destino-root table th:nth-child(3){width:20%}
 .belgi-global #matriz-destino-root table th:last-child{width:25%}
 .belgi-global #matriz-destino-root table td{padding:8px 4px!important;overflow-wrap:break-word;line-height:1.6}
 .belgi-global #matriz-destino-root table td:first-child span{font-size:11px!important}
}
@media(max-width:380px){
 .belgi-global .belgi-header .belgi-navigation{column-gap:5px}
 .belgi-global .belgi-header .belgi-logo{width:110px}
 .belgi-global .belgi-menu-toggle{padding:12px 8px}
 .belgi-global.home .belgi-card,.belgi-global .belgi-service-card{padding:24px 20px}
 .belgi-global .belgi-service-meta{align-items:flex-start}
 .belgi-global .belgi-badge{font-size:10px;letter-spacing:.4px;padding:6px 10px}
}
@media(prefers-reduced-motion:reduce){
 .belgi-global .belgi-header *{transition:none!important}
}
/* One WordPress menu, presented as an off-canvas navigation on small screens. */
@media(max-width:900px){
 .belgi-global .belgi-header .belgi-menu-toggle{grid-column:3;border:0;border-radius:8px;padding:10px;width:44px;height:44px;box-shadow:none;background:transparent}
 .belgi-global .belgi-header-actions{grid-column:2}
 .belgi-global .belgi-menu-toggle svg,.belgi-global .belgi-menu-close svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
 .belgi-global .belgi-menu-toggle:hover,.belgi-global .belgi-menu-close:hover{background:#f1e3db;color:#754d55}
 .belgi-global .belgi-header :is(button,a):focus-visible{outline:2px solid #754d55;outline-offset:4px}
 .belgi-global.belgi-menu-open{overflow:hidden}
 .belgi-global.belgi-menu-open .belgi-header{z-index:100000}
 .belgi-global.belgi-js .belgi-menu-backdrop{display:block;position:fixed;inset:0;background:rgb(48 35 41 / .38);opacity:0;visibility:hidden;transition:opacity .32s ease,visibility .32s;z-index:1000}
 .belgi-global.belgi-menu-open .belgi-menu-backdrop{opacity:1;visibility:visible}
 .belgi-global.belgi-js .belgi-navigation #belgi-menu,
 .belgi-global.belgi-js .belgi-navigation #belgi-menu:not(.is-open){display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:flex-start;gap:28px;position:fixed;inset:0 0 0 auto;width:min(88vw,380px);height:100dvh;margin:0;padding:calc(26px + env(safe-area-inset-top)) 28px calc(28px + env(safe-area-inset-bottom));background:#fcf5ef;overflow-y:auto;overscroll-behavior:contain;z-index:1001;transform:translateX(100%);visibility:hidden;transition:transform .32s cubic-bezier(.22,.61,.36,1),visibility .32s;box-shadow:-12px 0 40px rgb(48 35 41 / .08)}
 .belgi-global.belgi-js .belgi-navigation #belgi-menu.is-open{transform:translateX(0);visibility:visible}
 .belgi-global.belgi-js #belgi-menu .belgi-menu-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid #e8d9d0;padding-bottom:20px;color:#754d55;font:500 24px/1.3 Lora,Georgia,serif}
 .belgi-global #belgi-menu .belgi-menu-close{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;margin:0;padding:10px;color:#754d55;background:transparent;border:0;border-radius:8px;box-shadow:none}
 .belgi-global .belgi-navigation #belgi-menu>ul{gap:4px}
 .belgi-global .belgi-navigation #belgi-menu a{font:500 22px/1.45 Lora,Georgia,serif;text-transform:none;letter-spacing:0;min-height:52px;padding:12px 10px;border-radius:6px;color:#302329;overflow-wrap:anywhere}
 .belgi-global .belgi-navigation #belgi-menu a:hover,.belgi-global .belgi-navigation #belgi-menu a[aria-current=page]{background:#f1e3db;color:#754d55}
 .belgi-global .belgi-navigation #belgi-menu .sub-menu{position:static;visibility:visible;opacity:1;box-shadow:none;border:0;background:transparent;padding-left:16px;width:auto}
 .belgi-global .belgi-navigation #belgi-menu .sub-menu a{font:500 15px/1.5 Raleway,Arial,sans-serif;min-height:44px}
 .belgi-global:not(.belgi-js) .belgi-menu-toggle{display:none}
}
@media(min-width:901px){
 .belgi-global .belgi-navigation #belgi-menu a{font-size:13px;line-height:1.5;letter-spacing:.8px}
}
/* Navigation feedback without layout shifts; keyboard focus remains explicit. */
.belgi-global .belgi-navigation #belgi-menu a{transition:color .2s ease,background-color .2s ease}
.belgi-global .belgi-navigation #belgi-menu a:focus-visible{outline:2px solid #754d55;outline-offset:5px}
@media(min-width:901px){
 .belgi-global .belgi-navigation #belgi-menu>ul>li>a{position:relative;display:inline-flex;padding-block:10px;text-decoration:none}
 .belgi-global .belgi-navigation #belgi-menu>ul>li>a::after{content:"";position:absolute;left:0;right:0;bottom:3px;height:1.5px;background:#a66363;transform:scaleX(0);transform-origin:left;transition:transform .24s ease;pointer-events:none}
 .belgi-global .belgi-navigation #belgi-menu>ul>li>a:is(:focus-visible,[aria-current="page"]){color:#925d62}
 .belgi-global .belgi-navigation #belgi-menu>ul>li>a:is(:focus-visible,[aria-current="page"])::after{transform:scaleX(1)}
}
@media(min-width:901px) and (hover:hover){
 .belgi-global .belgi-navigation #belgi-menu>ul>li>a:hover{color:#925d62}
 .belgi-global .belgi-navigation #belgi-menu>ul>li>a:hover::after{transform:scaleX(1)}
}
@media(max-width:900px){
 .belgi-global .belgi-navigation #belgi-menu a:active{background:#e8d6cc;color:#56343e}
}
@media(prefers-reduced-motion:reduce){
 .belgi-global .belgi-navigation #belgi-menu a,.belgi-global .belgi-navigation #belgi-menu a::after{transition:none!important}
}
/* Contact: full-bleed image; contained, readable form and contact details. */
.belgi-global.page-id-1441 #content>.ast-container{width:100%;max-width:none;padding-inline:0}
.belgi-global.page-id-1441 #primary{width:100%;margin:0;padding-bottom:0}
.belgi-global.page-id-1441 .belgi-editorial{width:100%;max-width:none;margin:0;padding:0}
.belgi-global.page-id-1441 .belgi-editorial>.uagb-block-3b868780{width:100%!important;max-width:none!important;min-height:clamp(280px,29vw,440px)!important;margin:0!important;padding:64px 24px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background-size:cover!important;background-position:center 42%!important;display:flex;align-items:center;justify-content:center}
.belgi-global.page-id-1441 .belgi-editorial .uagb-block-9e022c12 h1{font-size:clamp(40px,4.5vw,64px)!important;line-height:1.12!important;text-transform:none!important}
.belgi-global.page-id-1441 .belgi-editorial .uagb-block-5165c1e9{width:calc(100% - 64px)!important;max-width:1100px!important;margin:72px auto 88px!important;padding:0!important}
.belgi-global.page-id-1441 .belgi-editorial .uagb-block-5165c1e9>.uagb-container-inner-blocks-wrap{display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:64px!important;align-items:start!important}
.belgi-global.page-id-1441 .belgi-editorial :is(.uagb-block-4d03c2a2,.uagb-block-f2e5eb79){width:100%!important;max-width:100%!important;min-width:0;padding:0!important;gap:24px!important}
.belgi-global.page-id-1441 .belgi-editorial .uagb-block-f2e5eb79{border-left:1px solid #e8d8ce;padding-left:40px!important}
.belgi-global.page-id-1441 .belgi-editorial h2{font-size:clamp(27px,2.4vw,34px)!important;line-height:1.25!important;letter-spacing:0!important;text-transform:none!important;margin:0!important}
.belgi-global.page-id-1441 .belgi-editorial .uagb-block-b5ec624c{width:100%!important;margin:0!important;padding:28px!important;border:1px solid #e8d8ce;border-radius:14px;box-shadow:none!important}
.belgi-global.page-id-1441 .srfm-form-container .srfm-input-common{min-height:48px;border:1px solid #cbb9ae!important;border-radius:8px!important;background:#fffdfb!important;color:#34262b!important;font-size:16px!important;box-sizing:border-box}
.belgi-global.page-id-1441 .srfm-form-container textarea.srfm-input-common{min-height:140px;resize:vertical}
.belgi-global.page-id-1441 .srfm-form-container .srfm-input-common:focus-visible{outline:2px solid #754d55;outline-offset:2px}
.belgi-global.page-id-1441 .srfm-submit-button{min-height:48px;padding:12px 28px!important;border-radius:999px!important;background:#754d55!important;color:#fff!important;border:0!important;transition:background-color .2s ease}
.belgi-global.page-id-1441 .srfm-submit-button:hover{background:#5f3b43!important}
.belgi-global.page-id-1441 .srfm-submit-button:focus-visible{outline:2px solid #754d55;outline-offset:4px}
@media(max-width:767px){
 .belgi-global.page-id-1441 .belgi-editorial .uagb-block-5165c1e9{width:calc(100% - 40px)!important;margin:40px auto 56px!important}
 .belgi-global.page-id-1441 .belgi-editorial .uagb-block-5165c1e9>.uagb-container-inner-blocks-wrap{grid-template-columns:minmax(0,1fr);gap:36px!important}
 .belgi-global.page-id-1441 .belgi-editorial .uagb-block-f2e5eb79{border-left:0;border-top:1px solid #e8d8ce;padding:28px 0 0!important}
 .belgi-global.page-id-1441 .belgi-editorial>.uagb-block-3b868780{min-height:260px!important;padding:48px 20px!important}
 .belgi-global.page-id-1441 .belgi-editorial .uagb-block-b5ec624c{padding:20px 16px!important}
}
@media(prefers-reduced-motion:reduce){.belgi-global.page-id-1441 .srfm-submit-button{transition:none}}
/* Compact mobile footer, shared by every page. Keep touch targets generous. */
@media(max-width:650px){
 .belgi-global .belgi-shared-footer{padding:28px 0 20px;text-align:center}
 .belgi-global .belgi-shared-footer .belgi-footer-grid{grid-template-columns:minmax(0,1fr);gap:22px}
 .belgi-global .belgi-shared-footer .belgi-logo{display:block;width:168px;margin:0 auto}
 .belgi-global .belgi-shared-footer .belgi-logo img{height:72px;object-fit:contain}
 .belgi-global .belgi-shared-footer .belgi-footer-grid>div>p{max-width:310px;margin:10px auto 0;font-size:13px;line-height:1.65}
 .belgi-global .belgi-shared-footer .belgi-footer-grid nav{align-items:center;gap:0}
 .belgi-global .belgi-shared-footer .belgi-footer-grid h2{margin:0 0 8px}
 .belgi-global .belgi-shared-footer .belgi-footer-grid nav>a{justify-content:center;min-height:44px;margin:0;padding:6px 8px;line-height:1.4}
 .belgi-global .belgi-shared-footer nav[aria-label="Tu próximo paso"]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 8px}
 .belgi-global .belgi-shared-footer nav[aria-label="Tu próximo paso"] h2{grid-column:1/-1}
 .belgi-global .belgi-shared-footer .belgi-socials{justify-content:center;margin-top:8px;gap:12px}
 .belgi-global .belgi-shared-footer .belgi-footer-bottom{justify-content:center;align-items:center;gap:8px;margin-top:22px;padding:14px 56px 0;min-height:44px;border-top:1px solid #ddcbc0;font-size:11px;line-height:1.5}
 .belgi-global .belgi-shared-footer .belgi-footer-bottom ul{justify-content:center;gap:8px 16px}
}
/* Keep the shortened service catalogue separated into clear sections. */
.belgi-global.page-id-4513 .belgi-editorial>.belgi-service-grid+h2{margin-top:64px!important}
.belgi-global.page-id-4513 .belgi-editorial>.belgi-pdf-details+h3{margin-top:40px!important;font-size:24px}
.belgi-global.page-id-4513 .belgi-editorial>.belgi-pdf-details+h3+p{max-width:760px;line-height:1.75}
.belgi-global.page-id-4513 .belgi-trust-grid p:empty{display:none}
@media(max-width:650px){.belgi-global.page-id-4513 .belgi-editorial>.belgi-service-grid+h2{margin-top:40px!important}}
