/* UP NATIVE — Consolidated original corporate CSS; staging 2026-10-24. */

/* ===== assets/css/up-base.css ===== */
:root{--up-navy:#005494;--up-deep:#00385F;--up-blue:#0078B8;--up-accent:#0095CC;--up-pale:#EDF8FD;--up-line:#C9E5F2;--up-ink:#174D6A;--up-muted:#587D91;--up-white:#fff;--up-display:"Cormorant Garamond",Georgia,serif;--up-body:Montserrat,Arial,sans-serif}
html{scroll-behavior:smooth;scroll-padding-top:108px}
body.up-approved{margin:0;background:#fff;color:var(--up-ink);font-family:var(--up-body);font-size:16px;line-height:1.75;-webkit-font-smoothing:antialiased;overflow-x:hidden}
body.up-approved *{box-sizing:border-box}
body.up-approved h1,body.up-approved h2,body.up-approved h3,body.up-approved h4{font-family:var(--up-display);font-weight:500;color:var(--up-navy);text-transform:none}
body.up-approved a{color:inherit;text-decoration:none}
body.up-approved img{max-width:100%;height:auto}
body.up-approved button,body.up-approved input,body.up-approved select,body.up-approved textarea{font:inherit}
body.up-approved :focus-visible{outline:3px solid #6f96bd;outline-offset:3px}
body.up-approved .elementor-location-header,body.up-approved .elementor-location-footer{display:none!important}
.up-wrap{width:min(1220px,calc(100% - 72px));margin-inline:auto}
.up-site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.98);border-bottom:1px solid var(--up-line);backdrop-filter:blur(12px)}
.admin-bar .up-site-header{top:32px}
.up-header-inner{min-height:82px;display:flex;align-items:center;gap:30px}
.up-brand{display:flex;align-items:center;gap:10px;flex-shrink:0}
.up-brand img{width:52px;height:52px;object-fit:contain}
.up-brand>span{font-family:var(--up-display);font-size:21px;line-height:1;letter-spacing:.8px;color:var(--up-navy)}
.up-brand small{display:block;font-family:var(--up-body);font-size:9px;letter-spacing:2px;margin-top:5px;color:#62798d}
.up-desktop-nav{margin-left:auto;min-width:0}
.up-nav-menu{display:flex;align-items:center;gap:22px;list-style:none;margin:0;padding:0}
.up-nav-menu li{position:relative;list-style:none;margin:0}
.up-desktop-nav>.up-nav-menu>li>a{display:block;padding:34px 0;font-family:var(--up-display);font-size:17px;font-weight:600;white-space:nowrap;color:var(--up-navy)}
.up-nav-menu .sub-menu{display:none;position:absolute;top:100%;left:-18px;width:310px;background:#fff;border:1px solid var(--up-line);box-shadow:0 18px 45px rgba(8,27,49,.13);padding:9px;z-index:70;overflow:visible}
.up-nav-menu li:hover>.sub-menu,.up-nav-menu li:focus-within>.sub-menu{display:block}
.up-nav-menu .sub-menu li>a{display:block;padding:9px 11px;font-size:12px;line-height:1.45;border-radius:3px}
.up-nav-menu .sub-menu li>a:hover,.up-nav-menu .sub-menu li>a:focus{background:var(--up-pale)}
.up-nav-menu .sub-menu .sub-menu{top:-9px;left:100%}
.up-menu-toggle{display:none;margin-left:auto;width:48px;height:48px;border:1px solid #005494;border-radius:4px;background:#005494;padding:11px;cursor:pointer}
.up-menu-toggle span{display:block;height:2px;background:#fff;margin:5px 0;border-radius:2px}
.up-menu-toggle:hover,.up-menu-toggle[aria-expanded="true"]{background:#00385f;border-color:#00385f}
.up-menu-toggle:focus-visible{outline:3px solid #6f96bd;outline-offset:3px}
.up-mobile-panel{background:#fff;border-top:1px solid var(--up-line);max-height:72vh;overflow:auto}
.up-mobile-panel[hidden]{display:none}
.up-mobile-menu-list{display:block;padding:12px 0 24px}
.up-mobile-menu-list>li{border-bottom:1px solid #edf1f4}
.up-mobile-menu-list a{display:block;padding:12px 42px 12px 0;font-family:var(--up-display);font-size:18px}
.up-mobile-menu-list .sub-menu{display:none;position:static;width:auto;max-height:none;border:0;box-shadow:none;padding:0 0 8px 18px}
.up-mobile-menu-list .up-submenu-open>.sub-menu{display:block}
.up-mobile-menu-list .sub-menu a{font-family:var(--up-body);font-size:13px;padding:8px 36px 8px 0}
.up-submenu-toggle{position:absolute;right:0;top:7px;border:0;background:transparent;width:34px;height:34px;font-size:22px;color:var(--up-navy)}
.up-main{min-height:60vh}
.up-hero{background:linear-gradient(112deg,#f1f5f9 0%,#f9fbfc 62%,#eaf1f6 100%);border-bottom:1px solid var(--up-line)}
.up-breadcrumb{display:flex;gap:9px;align-items:center;flex-wrap:wrap;padding-top:22px;font-size:11px;color:#708497}
.up-breadcrumb a:hover{text-decoration:underline}
.up-hero-copy{padding:34px 0 46px;max-width:900px}
.up-eyebrow{font-size:10px;letter-spacing:2px;text-transform:uppercase;font-weight:700;color:#668096;margin:0 0 13px}
.up-hero h1,.up-home-hero h1{margin:0;color:var(--up-navy);font-family:var(--up-display);font-weight:500;font-size:clamp(36px,4.1vw,56px);line-height:1.03;letter-spacing:-1.1px;text-wrap:balance}
.up-hero-lead{max-width:800px;margin:18px 0 0;color:#3e5a70;font-size:16px;line-height:1.85}
.up-body-layout{display:grid;grid-template-columns:225px minmax(0,1fr);gap:62px;padding-top:46px;padding-bottom:64px}
.up-index{position:sticky;top:118px;align-self:start;max-height:calc(100vh - 145px);overflow:auto;padding-right:12px}
.up-index-label{display:block;font-size:10px;text-transform:uppercase;letter-spacing:1.5px;color:#73899a;margin-bottom:12px}
.up-index>a{display:block;padding:7px 0 7px 14px;border-left:1px solid var(--up-line);font-size:11px;line-height:1.55;color:#647d90}
.up-index>a:hover,.up-index>a.active{color:var(--up-navy);border-left:2px solid var(--up-accent);background:linear-gradient(90deg,#f2f6fa,transparent)}
.up-index .up-index-cta{margin-top:18px;padding:11px 10px;background:var(--up-navy);color:#fff;border:0;text-align:center;font-size:11px}
.up-content-body{min-width:0;max-width:900px}
.up-content-body>section,.up-content-body>.up-content-section{padding:0 0 34px;margin:0 0 40px;border-bottom:1px solid #e7edf2}
.up-content-body h2{font-size:31px;line-height:1.18;margin:34px 0 16px;letter-spacing:-.35px}
.up-content-body h2:first-child{margin-top:0}
.up-content-body h3{font-size:22px;line-height:1.28;margin:24px 0 10px}
.up-content-body p{margin:0 0 17px;color:#425f76;font-size:14px;line-height:1.9}
.up-content-body ul,.up-content-body ol{padding-left:22px;color:#425f76;font-size:14px;line-height:1.8;margin:0 0 20px}
.up-content-body li{margin:8px 0}
.up-content-body table{display:block;overflow:auto;border-collapse:collapse;width:100%;font-size:13px}
.up-content-body td,.up-content-body th{border:1px solid var(--up-line);padding:11px;min-width:120px;text-align:left}
.up-content-body th{background:var(--up-pale)}
.up-content-body>a:not(.up-content-cta){text-decoration:underline;text-decoration-color:#9fb1c0;text-underline-offset:3px}
.up-content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0}
.up-content-grid>*{min-width:0}
.up-link-card{display:block;position:relative;border:1px solid var(--up-line);background:#fff;padding:22px 38px 22px 22px;transition:.18s ease}
.up-link-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(18,36,61,.08)}
.up-link-card>strong,.up-link-card>h2,.up-link-card>h3{display:block;font-family:var(--up-display);font-size:21px;color:var(--up-navy);margin:0 0 8px}
.up-link-card:after{content:'↗';position:absolute;right:14px;top:18px;color:#71899c}
.up-content-cta{display:inline-flex!important;align-items:center;justify-content:center;background:var(--up-navy);color:#fff!important;border-radius:3px;padding:12px 18px!important;font-size:12px;font-weight:700;text-decoration:none!important}
.up-faq-item{border-top:1px solid var(--up-line)}
.up-faq-item:last-child{border-bottom:1px solid var(--up-line)}
.up-faq-item summary{position:relative;cursor:pointer;list-style:none;padding:18px 36px 18px 0;font-family:var(--up-display);font-size:19px;color:var(--up-navy)}
.up-faq-item summary::-webkit-details-marker{display:none}
.up-faq-item summary:after{content:'+';position:absolute;right:7px;top:15px;font-family:var(--up-body);font-size:22px;color:#648099}
.up-faq-item[open] summary:after{content:'−'}
.up-request-band{background:#eef4f8;padding:58px 0}
.up-request-panel{display:grid;grid-template-columns:minmax(250px,.7fr) minmax(0,1.3fr);gap:38px;align-items:start}
.up-request-intro{padding:22px 0}
.up-request-intro h2{font-size:34px;line-height:1.1;margin:0 0 14px}
.up-request-intro p:not(.up-eyebrow){font-size:13px;color:#5d768a;max-width:390px}
.up-form-shell{background:#fff;border:1px solid var(--up-line);border-radius:8px;padding:24px 28px;box-shadow:0 12px 34px rgba(18,36,61,.05);min-width:0}
.up-form-shell .wpforms-container,.up-form-shell div.wpforms-container-full{margin:0!important;max-width:none!important}
.up-form-shell .wpforms-form{padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
.up-form-shell .wpforms-field{padding:10px 0!important;margin:0!important}
.up-form-shell .wpforms-field-label{font-family:var(--up-body)!important;font-size:13px!important;color:var(--up-navy)!important;font-weight:600!important}
.up-form-shell input:not([type=checkbox]):not([type=radio]),.up-form-shell select,.up-form-shell textarea{width:100%!important;max-width:100%!important;border:1px solid #cbd7e1!important;border-radius:4px!important;background:#fff!important;color:var(--up-ink)!important;min-height:44px!important;font:14px var(--up-body)!important;box-shadow:none!important}
.up-form-shell button{border-radius:3px!important;min-height:44px!important;font:700 12px var(--up-body)!important}
.up-form-shell .wpforms-page-next,.up-form-shell .wpforms-submit{background:var(--up-navy)!important;color:#fff!important;border:1px solid var(--up-navy)!important;padding:11px 19px!important}
.up-form-shell .wpforms-page-prev{background:#fff!important;color:var(--up-navy)!important;border:1px solid #cbd7e1!important;padding:11px 19px!important}
.up-form-shell .wpforms-page-indicator{display:flex!important;gap:18px!important;align-items:flex-start!important;margin:0 0 22px!important;padding:0 0 18px!important;border-bottom:1px solid var(--up-line)!important}
.up-form-shell .wpforms-page-indicator-page{flex:1!important;float:none!important;width:auto!important;margin:0!important;position:relative!important;display:block!important}
.up-form-shell .wpforms-page-indicator-page-number{position:relative!important;z-index:2!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:32px!important;height:32px!important;margin:0!important;border-radius:50%!important}
.up-form-shell .wpforms-page-indicator-page-title{display:block!important;margin:8px 0 0!important;font:11px/1.35 var(--up-body)!important;color:#73889a!important;text-decoration:none!important}
.up-form-shell .wpforms-page-indicator-page.active .wpforms-page-indicator-page-title{color:var(--up-navy)!important;font-weight:700!important}
.up-form-shell .wpforms-page-indicator-page:after{top:15px!important}
.up-home-hero{position:relative;overflow:hidden;background:linear-gradient(116deg,#eef4f8 0%,#fbfcfd 62%,#e7eef4 100%);border-bottom:1px solid var(--up-line)}
.up-home-hero-inner{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:60px;align-items:center;padding:58px 0 64px}
.up-home-mark{font-family:var(--up-display);font-size:170px;line-height:.8;color:rgba(18,63,118,.08);text-align:right;user-select:none}
.up-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}
.up-button{display:inline-flex;padding:12px 18px;background:var(--up-navy);color:#fff!important;border:1px solid var(--up-navy);border-radius:3px;font-size:12px;font-weight:700}
.up-button-outline{background:transparent;color:var(--up-navy)!important}
.up-services{padding:26px 0 8px}
.up-service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.up-service-grid>a{display:flex;flex-direction:column;min-height:210px;padding:23px;background:#fff;border:1px solid var(--up-line);transition:.18s ease}
.up-service-grid>a:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(18,36,61,.07)}
.up-service-grid small{font-size:9px;letter-spacing:1.5px;color:#7a91a3}
.up-service-grid h2{font-size:26px;margin:25px 0 10px}
.up-service-grid p{font-size:12px;line-height:1.65;color:#5e778a;margin:0 0 20px}
.up-service-grid span{font-size:11px;font-weight:700;margin-top:auto}
.up-home-content{padding-top:34px;padding-bottom:54px}
.up-home-content .up-content-body{max-width:none}
.up-simple-page,.up-listing{padding-top:52px;padding-bottom:64px}
.up-simple-page .up-content-body{max-width:900px;margin-inline:auto}
.up-listing article{padding:24px 0;border-bottom:1px solid var(--up-line);max-width:850px}
.up-listing h2{font-size:26px;margin:0 0 8px}
.up-listing p{font-size:14px;color:#5d7588}
.up-site-footer{background:var(--up-deep);color:#dbe6ef;padding:48px 0 18px}
.up-footer-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,260px));justify-content:center;gap:64px}
.up-site-footer h3{font-family:var(--up-display);font-size:21px;color:#fff!important;margin:0 0 15px}
.up-site-footer a,.up-site-footer p{display:block;color:#dbe6ef;font-size:12px;line-height:1.9;margin:0}
.up-site-footer a:hover{text-decoration:underline}
.up-footer-bottom{position:relative;display:flex;justify-content:center;align-items:center;border-top:1px solid #274059;margin-top:38px;padding-top:17px;font-size:10px;color:#9fb5c5;text-align:center}
.up-back-top{position:absolute;right:0;width:35px;height:35px;border-radius:50%;background:#89a2b4;color:var(--up-deep)!important;line-height:35px!important;text-align:center}
@media(max-width:1050px){.up-desktop-nav{display:none}.up-menu-toggle{display:block}.up-wrap{width:calc(100% - 48px)}.up-body-layout{grid-template-columns:1fr;gap:26px}.up-index{position:static;max-height:none;border:1px solid var(--up-line);background:#f8fafb;padding:16px}.up-index>a{display:inline-block;border:0;padding:6px 14px 6px 0}.up-index .up-index-cta{display:none}.up-request-panel{grid-template-columns:1fr}.up-request-intro{padding-bottom:0}.up-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:782px){.admin-bar .up-site-header{top:46px}}
@media(max-width:650px){html{scroll-padding-top:84px}.up-wrap{width:calc(100% - 32px)}.up-header-inner{min-height:76px}.up-brand img{width:48px;height:48px}.up-brand>span{font-size:18px}.up-hero-copy{padding:28px 0 34px}.up-hero h1,.up-home-hero h1{font-size:35px}.up-hero-lead{font-size:14px}.up-home-hero-inner{grid-template-columns:1fr;padding:36px 0}.up-home-mark{display:none}.up-service-grid{grid-template-columns:1fr 1fr;gap:9px}.up-service-grid>a{min-height:175px;padding:16px}.up-service-grid h2{font-size:22px;margin-top:17px}.up-service-grid p{font-size:11px}.up-content-grid{grid-template-columns:1fr}.up-content-body h2{font-size:27px}.up-content-body h3{font-size:20px}.up-request-band{padding:38px 0}.up-form-shell{padding:18px 16px}.up-request-intro h2{font-size:29px}.up-footer-grid{grid-template-columns:1fr 1fr;gap:28px 30px;justify-content:stretch}.up-footer-grid>div:last-child{grid-column:1/-1}.up-footer-bottom{padding-right:44px;justify-content:flex-start;text-align:left}.up-back-top{right:0}}

/* Home — Pecoriello visual architecture adapted to UP */
.up-home-main{background:#fff}
.up-home-hero{background:#EDF8FD;border-bottom:1px solid #C9E5F2}
.up-home-hero-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(300px,.95fr);min-height:365px}
.up-home-hero-copy{padding:44px 48px 34px 0;display:flex;flex-direction:column;justify-content:center}
.up-home-hero-copy h1{font:500 clamp(42px,4.4vw,63px)/.99 var(--up-display);letter-spacing:-1.4px;margin:0 0 18px;max-width:780px}
.up-home-hero-copy>p{font-size:15px;line-height:1.65;max-width:700px;margin:0;color:#29465e}
.up-home-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.up-home-benefits{display:flex;align-items:center;gap:0;margin-top:34px;font-size:14px;line-height:1.3;color:#3e5b70}
.up-home-benefits>span{display:flex;gap:16px;align-items:center;flex:0 0 auto;min-width:0;padding:0 28px;white-space:nowrap}
.up-home-benefits>span:first-child{padding-left:0}
.up-home-benefits>span+span{border-left:1px solid rgba(16,76,139,.22)}
.up-home-benefits .up-benefit-icon{display:inline-flex;align-items:center;justify-content:center;width:58px;height:58px;flex:0 0 58px;color:var(--up-navy);background-repeat:no-repeat;background-position:center;background-size:54px 54px}
.up-home-benefits .up-benefit-icon svg{display:none}
.up-home-benefits>span:nth-child(1) .up-benefit-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23005fae' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M24 5.2l3.2 2 3.7-.7 2 3.1 3.8.5.7 3.7 3.2 2-.7 3.7 2.1 3.1-2 3.2.7 3.7-3.2 2-.5 3.8-3.7.7-2 3.2-3.7-.7-3.2 2-3.2-2-3.7.7-2-3.2-3.7-.7-.5-3.8-3.2-2 .7-3.7-2-3.2 2.1-3.1-.7-3.7 3.2-2 .7-3.7 3.8-.5 2-3.1 3.7.7z'/%3E%3Cpath d='M16.7 23.8l4.7 4.7L31.7 18'/%3E%3Cpath d='M18 36.1l-2.4 7 7-3.3M30 36.1l2.4 7-7-3.3'/%3E%3C/svg%3E")}
.up-home-benefits>span:nth-child(2) .up-benefit-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23005fae' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 19l7.6-6.4 7.6 4.1 5-3.3c2-1.3 4.7-1 6.4.7l9.4 9'/%3E%3Cpath d='M42 23.1 29.5 34.7a4.7 4.7 0 0 1-6.5 0L12.3 24.5'/%3E%3Cpath d='M15.2 27.4l-2.8 2.7a3 3 0 0 1-4.3 0L4 26a3 3 0 0 1 0-4.3l2.3-2.1M32.8 27.4l2.8 2.7a3 3 0 0 0 4.3 0L44 26a3 3 0 0 0 0-4.3l-2.3-2.1'/%3E%3Cpath d='m21.2 16.6 5 4.5a4.6 4.6 0 0 0 6.2 0l2.9-2.5'/%3E%3C/svg%3E")}
.up-home-benefits>span:nth-child(3) .up-benefit-icon{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23005fae' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='24' r='18'/%3E%3Cpath d='M6 24h36M24 6c5 5.1 7.6 11.1 7.6 18S29 36.9 24 42M24 6c-5 5.1-7.6 11.1-7.6 18S19 36.9 24 42M9.8 15h28.4M9.8 33h28.4'/%3E%3C/svg%3E")}
@media(max-width:767px){.up-home-benefits{grid-template-columns:1fr;gap:16px}.up-home-benefits>span{padding:0}.up-home-benefits>span+span{border-left:0}}
.up-home-hero-photo{position:relative;background-size:cover;background-position:center;min-height:365px}
.up-home-hero-photo:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(237,243,247,.85),rgba(237,243,247,0) 35%)}
.up-home-logo-panel{position:absolute;right:24px;top:50%;transform:translateY(-50%);background:rgba(255,255,255,.88);backdrop-filter:blur(4px);padding:16px 18px;text-align:center;border:1px solid rgba(255,255,255,.82);box-shadow:0 10px 28px rgba(8,27,49,.12)}
.up-home-logo-panel img{display:block;width:90px;height:90px;object-fit:contain;margin:auto}
.up-home-logo-panel span{display:block;margin-top:7px;font:600 16px var(--up-display);letter-spacing:1px;color:var(--up-navy)}
.up-home-services{padding:8px 0 28px}
.up-home-service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.up-home-service-card{display:block;background:#F7FCFE;border:1px solid #D2EAF5;transition:transform .18s,box-shadow .18s}
.up-home-service-card:hover{transform:translateY(-2px);box-shadow:0 10px 25px rgba(9,35,55,.08)}
.up-home-service-photo{height:105px;background-size:cover;background-position:center}
.up-home-service-copy{padding:14px 17px 18px}
.up-home-service-copy h2{font-size:23px;line-height:1.1;margin:0 0 8px}
.up-home-service-copy p{font-size:11px;line-height:1.55;min-height:35px;color:#38566e;margin:0 0 13px}
.up-home-service-copy span{font-size:10px;font-weight:700}
.up-home-method{display:grid;grid-template-columns:minmax(0,.98fr) minmax(0,1.02fr);border-top:1px solid #e4e9ed;border-bottom:1px solid #e4e9ed}
.up-home-method-left{display:grid;grid-template-columns:54% 46%;min-height:330px}
.up-home-method-photo{background-size:cover;background-position:center}
.up-home-method-copy{background:var(--up-deep);color:#fff;padding:50px 34px;display:flex;flex-direction:column;justify-content:center}
.up-home-method-copy h2{font-size:32px;line-height:1.03;color:#fff!important;margin:0 0 18px}
.up-home-method-copy p{font-size:11px;line-height:1.7;margin:0 0 20px;color:#e0e8ef}
.up-button-white-outline{background:transparent;border-color:#9bb0bf;color:#fff!important;align-self:flex-start}
.up-home-process{padding:42px 38px;background:#F5FBFE}
.up-home-process>h2{font-size:29px;line-height:1.12;margin:0 0 28px}
.up-process-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:27px}
.up-process-steps>div{padding:0 16px;border-left:1px solid #dce4ea}
.up-process-steps>div:first-child{border-left:0;padding-left:0}
.up-process-steps span{display:inline-flex;width:38px;height:38px;align-items:center;justify-content:center;border-radius:50%;background:#DFF1F9;font:600 12px var(--up-body);color:#005494}
.up-process-steps h3{font-size:19px;margin:12px 0 7px}
.up-process-steps p{font-size:10px;line-height:1.55;color:#405d73;margin:0}
.up-home-request{position:relative;background:linear-gradient(90deg,#CDE7F3,#EEF8FC);padding:25px 0}
.up-home-request:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(176,215,233,.78),rgba(255,255,255,.22));pointer-events:none}
.up-home-request-panel{position:relative;display:grid;grid-template-columns:minmax(260px,.65fr) minmax(0,1.35fr);background:#fff;border:1px solid #e0e6eb;border-radius:6px;overflow:hidden}
.up-home-request-intro{padding:28px 30px}
.up-home-request-intro h2,.up-home-form>h2{font-size:31px;line-height:1.08;margin:0 0 16px}
.up-home-request-intro>p{font-size:12px;line-height:1.7;color:#425e74}
.up-home-request-intro ul{list-style:none;padding:8px 0 0;margin:0}
.up-home-request-intro li{position:relative;padding:6px 0 6px 30px;font-size:10px;color:#536e82}
.up-home-request-intro li:before{content:"✓";position:absolute;left:0;top:3px;width:21px;height:21px;border:1px solid #c5d3dd;border-radius:50%;display:grid;place-items:center;color:#6d8aa0}
.up-home-form{background:#fff}
.up-home-form>h2{background:#EAF6FB;margin:0;padding:20px 28px}
.up-home-form .up-form-shell{border:0;border-radius:0;box-shadow:none;padding:18px 28px 24px}
.up-home-guides{padding:26px 0 34px;background:#fff}
.up-home-guides-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:14px}
.up-home-guides-head h2{font-size:29px;margin:0 0 4px}
.up-home-guides-head p{font-size:11px;color:#536f84;margin:0}
.up-home-guides-head>a{font-size:10px;white-space:nowrap}
.up-home-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.up-home-guide-card{display:grid;grid-template-columns:32% 68%;border:1px solid #e1e7ec;background:#fff;min-height:115px}
.up-home-guide-photo{background-size:cover;background-position:center}
.up-home-guide-card>div:last-child{padding:14px}
.up-home-guide-card small{font-size:8px;color:#6d879a}
.up-home-guide-card h3{font-size:18px;line-height:1.15;margin:6px 0 12px}
.up-home-guide-card span{font-size:9px;font-weight:700}
.up-home-brand-strip{background:#EAF6FB;padding:31px 0}
.up-home-brand-strip>.up-wrap{display:grid;grid-template-columns:35% 65%;align-items:center}
.up-home-brand-strip h2{font-size:30px;line-height:1.08;margin:0;padding-right:34px}
.up-home-brand-strip p{border-left:1px solid #a8bac7;padding:0 36px;margin:0;font-size:12px;line-height:1.8;color:#425e74}
.up-footer-brand .up-footer-logo{display:flex!important;align-items:center;gap:10px;margin-bottom:18px}
.up-footer-logo img{width:54px;height:54px;object-fit:contain;filter:brightness(0) invert(1);opacity:.96}
.up-footer-logo span{font-family:var(--up-display);font-size:20px;line-height:1;color:#fff!important}
.up-footer-logo strong{font-weight:600}
.up-footer-logo small{display:block;font-family:var(--up-body);font-size:8px;letter-spacing:2px;margin-top:5px;color:#b8c9d4}
.up-footer-brand p{margin:0 0 8px}
.up-site-footer .up-footer-grid{grid-template-columns:1.15fr .9fr 1.15fr;max-width:1000px}
@media(max-width:1050px){
 .up-home-hero-grid{grid-template-columns:1.45fr .8fr}.up-home-hero-copy{padding-right:26px}.up-home-method{grid-template-columns:1fr}.up-home-method-left{min-height:290px}.up-home-process{padding:32px 28px}.up-process-steps p{font-size:11px}
}
@media(max-width:700px){
 .up-home-hero-grid{grid-template-columns:1fr}.up-home-hero-copy{padding:34px 0}.up-home-hero-photo{min-height:220px}.up-home-logo-panel{right:16px}.up-home-service-grid{grid-template-columns:1fr 1fr}
 .up-home-method-left{grid-template-columns:42% 58%}.up-home-method-copy{padding:28px 22px}.up-home-process{padding:30px 20px}.up-process-steps{grid-template-columns:1fr 1fr;gap:22px 0}.up-process-steps>div:nth-child(3){border-left:0;padding-left:0}
 .up-home-request-panel{grid-template-columns:1fr}.up-home-request-intro{padding-bottom:12px}.up-home-guide-grid{grid-template-columns:1fr}.up-home-brand-strip>.up-wrap{grid-template-columns:1fr}.up-home-brand-strip h2{padding:0 0 16px}.up-home-brand-strip p{border-left:0;border-top:1px solid #a8bac7;padding:16px 0 0}
}
@media(max-width:480px){
 .up-home-service-grid{grid-template-columns:1fr 1fr}.up-home-service-photo{height:78px}.up-home-service-copy{padding:12px}.up-home-service-copy h2{font-size:20px}.up-home-service-copy p{font-size:10px}
 .up-home-method-left{grid-template-columns:1fr}.up-home-method-photo{min-height:190px}.up-process-steps{grid-template-columns:1fr 1fr}
}

/* UP identity palette — sampled from logo */
:root{
 --up-navy:#005494;
 --up-blue:#0078B8;
 --up-accent:#0095CC;
 --up-deep:#00385F;
 --up-pale:#EDF8FD;
 --up-line:#C9E5F2;
 --up-ink:#174D6A;
 --up-muted:#587D91;
}
body.up-approved{color:var(--up-ink)}
.up-site-header{border-bottom-color:#D7E8F2}
.up-button,.up-index .up-index-cta,.up-form-shell .wpforms-page-next,.up-form-shell .wpforms-submit{background:var(--up-navy)!important;border-color:var(--up-navy)!important}
.up-button-outline{background:transparent!important;color:var(--up-navy)!important}
.up-home-hero{background:#EDF7FC}
.up-home-brand-strip,.up-request-band{background:#EDF7FC}
.up-site-footer{background:var(--up-deep)}
.up-brand-name small{font-family:var(--up-body);font-size:9px;letter-spacing:2.1px;color:var(--up-navy);margin:0}

/* Desktop mega menus: expose all descendants */
@media(min-width:1051px){
 .up-desktop-nav>.up-nav-menu>li>.sub-menu{
   left:auto!important;right:0!important;top:100%!important;
   width:min(980px,calc(100vw - 96px))!important;
   display:none!important;
   grid-template-columns:repeat(3,minmax(220px,1fr))!important;
   gap:18px 24px!important;
   padding:22px 24px!important;
   max-height:72vh!important;
   overflow-y:auto!important;
   overflow-x:hidden!important;
   align-items:start!important;
 }
 .up-desktop-nav>.up-nav-menu>li:hover>.sub-menu,
 .up-desktop-nav>.up-nav-menu>li:focus-within>.sub-menu{display:grid!important}
 .up-desktop-nav>.up-nav-menu>li>.sub-menu>li{break-inside:avoid;min-width:0}
 .up-desktop-nav>.up-nav-menu>li>.sub-menu>li>a{
   font-family:var(--up-display)!important;font-size:17px!important;font-weight:600!important;
   padding:0 0 7px!important;margin:0 0 4px!important;border-bottom:1px solid var(--up-line)!important;
   color:var(--up-navy)!important;background:none!important;
 }
 .up-desktop-nav>.up-nav-menu>li>.sub-menu>li>.sub-menu{
   display:block!important;position:static!important;left:auto!important;top:auto!important;
   width:auto!important;max-height:none!important;overflow:visible!important;
   padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;
 }
 .up-desktop-nav>.up-nav-menu>li>.sub-menu>li>.sub-menu li a{
   font-family:var(--up-body)!important;font-size:11px!important;line-height:1.4!important;
   padding:5px 0!important;border:0!important;color:#315F7C!important;background:none!important;
 }
 .up-desktop-nav>.up-nav-menu>li>.sub-menu>li>.sub-menu li a:hover{
   color:var(--up-blue)!important;text-decoration:underline;text-underline-offset:2px;
 }
}

/* Shared hero image */
.up-home-hero-photo{
 background-image:url('https://upassicurazioni.it/wp-content/uploads/2026/03/assicurazione.jpg')!important;
 background-size:cover!important;background-position:center!important;
}
.up-home-hero-photo:before{background:linear-gradient(90deg,rgba(237,247,252,.92),rgba(237,247,252,0) 34%)}
.up-hero{
 background:
 linear-gradient(90deg,rgba(237,247,252,.98) 0%,rgba(237,247,252,.96) 53%,rgba(237,247,252,.38) 72%,rgba(237,247,252,.10) 100%),
 url('https://upassicurazioni.it/wp-content/uploads/2026/03/assicurazione.jpg') right center/46% 100% no-repeat;
}

.up-home-guide-card .up-home-guide-photo{background-position:center center}

/* Dark method block */
body.up-approved .up-home-method-copy{background:var(--up-deep)!important}
body.up-approved .up-home-method-copy h2,
body.up-approved .up-home-method-copy p{color:#fff!important}
body.up-approved .up-home-method-copy p{opacity:.95}
body.up-approved .up-home-method-copy .up-button{color:#fff!important;border-color:#9EC7DE!important}

/* WPForms step connector centered between circles */
.up-form-shell .wpforms-page-indicator{
 display:flex!important;gap:0!important;align-items:flex-start!important;overflow:visible!important;
}
.up-form-shell .wpforms-page-indicator-page{
 flex:1 1 0!important;text-align:center!important;position:relative!important;min-width:0!important;
}
.up-form-shell .wpforms-page-indicator-page:after{
 content:""!important;display:block!important;position:absolute!important;
 left:50%!important;top:15px!important;width:100%!important;height:4px!important;
 background:#D7E6EF!important;z-index:0!important;
}
.up-form-shell .wpforms-page-indicator-page:last-child:after{display:none!important}
.up-form-shell .wpforms-page-indicator-page-number{
 position:relative!important;z-index:2!important;margin:0 auto!important;
 border:3px solid #fff!important;box-sizing:content-box!important;
}
.up-form-shell .wpforms-page-indicator-page.active .wpforms-page-indicator-page-number{
 background:var(--up-navy)!important;color:#fff!important;
}
.up-form-shell .wpforms-page-indicator-page-title{
 text-align:center!important;padding:0 6px!important;
}

/* Footer */
.up-site-footer h3{color:#fff!important}
.up-site-footer a,.up-site-footer p{color:#DCECF5!important}
.up-footer-bottom{border-top-color:#2D6E98;color:#BFD7E6;justify-content:center;text-align:center}
.up-footer-contact{align-self:start}

/* FINAL AUTHORITATIVE UP OVERRIDES */
:root{
 --up-navy:#005494!important;
 --up-blue:#0078B8!important;
 --up-accent:#0095CC!important;
 --up-deep:#00385F!important;
 --up-pale:#EDF8FD!important;
 --up-line:#C9E5F2!important;
 --up-ink:#174D6A!important;
 --up-muted:#587D91!important;
}
body.up-approved h1,body.up-approved h2,body.up-approved h3,body.up-approved h4{color:#00385F}
body.up-approved .up-home-hero{background:#EDF8FD!important;border-color:#C9E5F2!important}
body.up-approved .up-home-service-card{background:#F7FCFE!important;border-color:#D2EAF5!important}
body.up-approved .up-home-process{background:#F5FBFE!important}
body.up-approved .up-home-request{background:linear-gradient(90deg,#CDE7F3,#EEF8FC)!important}
body.up-approved .up-home-form>h2{background:#EAF6FB!important}
body.up-approved .up-home-brand-strip{background:#EAF6FB!important}
body.up-approved .up-site-footer{background:#00385F!important}
body.up-approved .up-site-footer h3{color:#fff!important}
body.up-approved .up-site-footer a,body.up-approved .up-site-footer p{color:#E7F3F9!important}
body.up-approved .up-footer-bottom{color:#C5DFEC!important;border-top-color:#2E759F!important}
body.up-approved .up-home-method-copy{background:#00385F!important}
body.up-approved .up-home-method-copy h2,
body.up-approved .up-home-method-copy p{color:#fff!important}
body.up-approved .up-button,
body.up-approved .up-index .up-index-cta,
body.up-approved .up-form-shell .wpforms-page-next,
body.up-approved .up-form-shell .wpforms-submit{background:#005494!important;border-color:#005494!important;color:#fff!important}
body.up-approved .up-button-outline{background:transparent!important;color:#005494!important;border-color:#005494!important}
body.up-approved .up-form-shell .wpforms-field-label{color:#00385F!important}
body.up-approved .up-form-shell input:not([type=checkbox]):not([type=radio]),
body.up-approved .up-form-shell select,
body.up-approved .up-form-shell textarea{border-color:#B8D9E9!important}

/* Progress: remove WPForms native connector and draw only circle-center segments */
body.up-approved .wpforms-page-indicator.circles{position:relative!important;display:flex!important;gap:0!important;align-items:flex-start!important}
body.up-approved .wpforms-page-indicator.circles:before,
body.up-approved .wpforms-page-indicator.circles:after{display:none!important;content:none!important}
body.up-approved .wpforms-page-indicator.circles .wpforms-page-indicator-page{position:relative!important;flex:1 1 0!important;text-align:center!important}
body.up-approved .wpforms-page-indicator.circles .wpforms-page-indicator-page:before{display:none!important;content:none!important}
body.up-approved .wpforms-page-indicator.circles .wpforms-page-indicator-page:after{
 content:""!important;display:block!important;position:absolute!important;
 left:50%!important;right:-50%!important;width:auto!important;height:3px!important;top:16px!important;
 background:#D3E6EF!important;z-index:0!important;
}
body.up-approved .wpforms-page-indicator.circles .wpforms-page-indicator-page:last-child:after{display:none!important}
body.up-approved .wpforms-page-indicator.circles .wpforms-page-indicator-page-number{
 position:relative!important;z-index:2!important;margin:0 auto!important;
 width:30px!important;height:30px!important;line-height:30px!important;
 border:3px solid #fff!important;box-sizing:content-box!important;
}
body.up-approved .wpforms-page-indicator.circles .wpforms-page-indicator-page.active .wpforms-page-indicator-page-number{
 background:#005494!important;color:#fff!important;
}
body.up-approved .wpforms-page-indicator.circles .wpforms-page-indicator-page-title{
 display:block!important;text-align:center!important;margin-top:7px!important;padding:0 6px!important;
}


/* Hero image reused site-wide, no overlaid logo */
body.up-approved .up-home-logo-panel{display:none!important}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* MOBILE NAVIGATION — approved editorial language, scoped to the mobile panel.
 * Ensures submenu controls never inherit dark button surfaces from other plugins.
 * Links and WordPress menu hierarchy are unchanged. */
@media (max-width:1050px){
  body.up-approved .up-site-header .up-mobile-panel{
    background:#fff!important;
    border-top:1px solid #d8e9f1!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
    max-height:min(74dvh,calc(100dvh - 105px));
    -webkit-overflow-scrolling:touch;
  }
  body.up-approved .up-mobile-panel .up-wrap{
    width:calc(100% - 40px);
    max-width:700px;
  }
  body.up-approved .up-mobile-panel .up-mobile-menu-list{
    display:block!important;
    margin:0!important;
    padding:5px 0 20px!important;
    list-style:none!important;
  }
  body.up-approved .up-mobile-panel .up-mobile-menu-list li{
    position:relative!important;
    list-style:none!important;
    margin:0!important;
  }
  body.up-approved .up-mobile-panel .up-mobile-menu-list>li{
    border-bottom:1px solid #dceaf1!important;
  }
  body.up-approved .up-mobile-panel .up-mobile-menu-list>li>a{
    display:block!important;
    font:500 clamp(24px,3.4vw,28px)/1.2 var(--up-display)!important;
    letter-spacing:0!important;
    color:#07385f!important;
    padding:18px 57px 18px 0!important;
    text-decoration:none!important;
    min-height:61px!important;
  }
  body.up-approved .up-mobile-panel .up-mobile-menu-list a:hover,
  body.up-approved .up-mobile-panel .up-mobile-menu-list a:focus-visible{
    color:#005e9c!important;
  }
  body.up-approved .up-mobile-panel .up-mobile-menu-list .sub-menu{
    display:none!important;
    position:static!important;
    top:auto!important;left:auto!important;
    width:100%!important;max-height:none!important;
    padding:0 0 12px 14px!important;margin:0!important;
    border:0!important;box-shadow:none!important;
    background:transparent!important;
    visibility:visible!important;opacity:1!important;
    transform:none!important;
    overflow:visible!important;
  }
  body.up-approved .up-mobile-panel .up-mobile-menu-list li.up-submenu-open>.sub-menu{
    display:block!important;
  }
  body.up-approved .up-mobile-panel .up-mobile-menu-list .sub-menu>li{
    border:0!important;
  }
  body.up-approved .up-mobile-panel .up-mobile-menu-list .sub-menu>li+li{
    border-top:1px solid #eef3f7!important;
  }
  body.up-approved .up-mobile-panel .up-mobile-menu-list .sub-menu a{
    display:block!important;
    font:400 14px/1.5 var(--up-body)!important;
    letter-spacing:0!important;
    color:#365b72!important;
    background:transparent!important;
    padding:12px 48px 12px 10px!important;
    min-height:43px!important;
    border:0!important;
    text-decoration:none!important;
    overflow-wrap:break-word!important;
  }
  body.up-approved .up-mobile-panel .up-mobile-menu-list .sub-menu .sub-menu{
    margin:0 0 9px 10px!important;
    padding:2px 0 4px 9px!important;
    width:calc(100% - 10px)!important;
    background:#f5fafe!important;
    border-left:2px solid #b9ddeb!important;
  }
  body.up-approved .up-mobile-panel .up-mobile-menu-list .sub-menu .sub-menu a{
    padding:10px 46px 10px 9px!important;
    font-size:13px!important;
  }
  body.up-approved .up-mobile-panel .up-mobile-menu-list button.up-submenu-toggle{
    -webkit-appearance:none!important;appearance:none!important;
    position:absolute!important;
    z-index:2!important;
    right:1px!important;top:8px!important;
    display:grid!important;place-items:center!important;
    width:45px!important;height:45px!important;
    min-width:45px!important;min-height:45px!important;
    margin:0!important;padding:0!important;
    background:#f1f8fc!important;background-image:none!important;
    border:1px solid #cfe5f1!important;border-radius:50%!important;
    box-shadow:none!important;
    color:#005494!important;
    font:500 24px/1 var(--up-body)!important;
    letter-spacing:0!important;text-shadow:none!important;
    opacity:1!important;
    cursor:pointer!important;
    transition:background-color .15s,border-color .15s;
  }
  body.up-approved .up-mobile-panel .up-mobile-menu-list .sub-menu button.up-submenu-toggle{
    top:5px!important;
    width:42px!important;height:42px!important;
    min-width:42px!important;min-height:42px!important;
    font-size:22px!important;
  }
  body.up-approved .up-mobile-panel .up-mobile-menu-list button.up-submenu-toggle:hover,
  body.up-approved .up-mobile-panel .up-mobile-menu-list button.up-submenu-toggle[aria-expanded="true"]{
    background:#e4f3fa!important;border-color:#9ac8e0!important;
  }
  body.up-approved .up-mobile-panel .up-mobile-menu-list button.up-submenu-toggle:focus-visible{
    outline:3px solid #0078b8!important;outline-offset:2px!important;
  }
}
@media(max-width:560px){
  body.up-approved .up-site-header .up-mobile-panel{max-height:min(76dvh,calc(100dvh - 96px))}
  body.up-approved .up-mobile-panel .up-wrap{width:calc(100% - 32px)}
  body.up-approved .up-mobile-panel .up-mobile-menu-list>li>a{
    font-size:26px!important;
    padding-top:17px!important;padding-bottom:17px!important;
  }
  body.up-approved .up-mobile-panel .up-mobile-menu-list .sub-menu a{
    font-size:13px!important;
    padding-top:11px!important;padding-bottom:11px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  body.up-approved .up-mobile-panel .up-mobile-menu-list button.up-submenu-toggle{transition:none!important}
}

/* GLOBAL "PER APPROFONDIRE" COMPONENT.
   One shared editorial micro-card pattern across every internal product page,
   including the pilot page and the Attestazioni directory. */
body.up-approved .up-main .up-content-body section.up-related-cards>h2{
  font:500 clamp(29px,3vw,38px)/1.16 var(--up-display)!important;
  letter-spacing:-.012em!important;
  color:#07385f!important;
  margin:0 0 14px!important;
}
body.up-approved .up-main .up-content-body section.up-related-cards>p{
  max-width:83ch;
  color:#47667a!important;
  font:400 14px/1.7 var(--up-body)!important;
  margin:0 0 18px!important;
}
body.up-approved .up-main .up-content-body section.up-related-cards>ul{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:13px!important;
  margin:22px 0 0!important;
  padding:0!important;
  max-width:none!important;
  list-style:none!important;
  columns:auto!important;
}
body.up-approved .up-main .up-content-body section.up-related-cards>ul>li{
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  position:relative!important;
  min-width:0!important;
  min-height:120px!important;
  padding:18px 20px 17px!important;
  margin:0!important;
  border:1px solid #d9e7ef!important;
  border-radius:5px!important;
  background:#fff!important;
  box-shadow:0 2px 8px rgba(8,56,95,.03)!important;
  color:#547086!important;
  font:400 12.5px/1.55 var(--up-body)!important;
  text-align:left!important;
  list-style:none!important;
  transition:border-color .18s,box-shadow .18s,transform .18s!important;
}
body.up-approved .up-main .up-content-body section.up-related-cards>ul>li::marker{
  content:none!important;
}
body.up-approved .up-main .up-content-body section.up-related-cards>ul>li:hover{
  border-color:#a5ccdf!important;
  box-shadow:0 6px 16px rgba(8,56,95,.07)!important;
  transform:translateY(-2px)!important;
}
body.up-approved .up-main .up-content-body section.up-related-cards>ul>li:focus-within{
  border-color:#007fba!important;
}
body.up-approved .up-main .up-content-body section.up-related-cards>ul>li>a{
  display:block!important;
  align-self:stretch!important;
  position:static!important;
  color:#063b68!important;
  font:600 14px/1.45 var(--up-body)!important;
  text-decoration:none!important;
  padding:0 20px 0 0!important;
  margin:0!important;
  background:transparent!important;
  border:0!important;
}
body.up-approved .up-main .up-content-body section.up-related-cards>ul>li>a::before{
  content:""!important;
  position:absolute!important;
  z-index:1!important;
  inset:0!important;
}
body.up-approved .up-main .up-content-body section.up-related-cards>ul>li>a::after{
  content:""!important;
  position:absolute!important;
  width:8px!important;height:8px!important;
  right:18px!important;top:21px!important;
  border-top:1.5px solid #007eb4!important;
  border-right:1.5px solid #007eb4!important;
  transform:rotate(45deg)!important;
  background:none!important;
  box-shadow:none!important;
}
body.up-approved .up-main .up-content-body section.up-related-cards>ul>li>p{
  display:block!important;
  max-width:none!important;
  margin:9px 0 0!important;
  padding:0!important;
  color:#547086!important;
  font:400 12.5px/1.55 var(--up-body)!important;
  text-align:left!important;
}
body.up-approved .up-main .up-content-body section.up-related-cards>ul>li>a:focus-visible{
  outline:3px solid #007fba!important;
  outline-offset:3px!important;
}
@media(max-width:900px){
  body.up-approved .up-main .up-content-body section.up-related-cards>ul{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:560px){
  body.up-approved .up-main .up-content-body section.up-related-cards>ul{
    grid-template-columns:minmax(0,1fr)!important;
    gap:10px!important;
  }
  body.up-approved .up-main .up-content-body section.up-related-cards>ul>li{
    min-height:0!important;
    padding:16px 18px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  body.up-approved .up-main .up-content-body section.up-related-cards>ul>li{
    transition:none!important;
    transform:none!important;
  }
}

/* UP Light: prevent CSS Grid's automatic min-content width from clipping
   the existing home headline, introduction, CTAs and photo on small screens.
   No content, brand colors, fonts or URLs are changed. */
@media(max-width:1050px){
  body.up-approved .up-home-hero-grid{
    grid-template-columns:minmax(0,1.45fr) minmax(0,.8fr);
  }
  body.up-approved .up-home-hero-grid > *{min-width:0;max-width:100%}
  body.up-approved .up-home-hero-copy h1,
  body.up-approved .up-home-hero-copy>p{
    max-width:100%;
    overflow-wrap:break-word;
  }
}
@media(max-width:700px){
  body.up-approved .up-home-hero-grid{grid-template-columns:minmax(0,1fr)}
  body.up-approved .up-home-hero-copy{padding-right:0}
  body.up-approved .up-home-hero-photo{width:100%}
}

/* CAR (#641) and RC avvocato (#951) font fallback metrics, measured against the real web fonts.
 * The branded Cormorant Garamond/Montserrat remain first; their final design
 * is identical. The matching local fallbacks reduce initial text reflow
 * while the Google Fonts CSS and WOFF2 assets are still loading. */
@font-face{
  font-family:"UP-CAR-Georgia-Metric";
  src:local("Georgia");
  size-adjust:90%;
}
@font-face{
  font-family:"UP-CAR-Arial-Metric";
  src:local("Arial");
  size-adjust:108%;
}
body.up-approved.page-id-641{
  --up-display:"Cormorant Garamond","UP-CAR-Georgia-Metric",Georgia,serif;
  --up-body:Montserrat,"UP-CAR-Arial-Metric",Arial,sans-serif;
}
/* RC avvocato: match the existing branded fonts on each mobile width.
 * Only the temporary local fallbacks are adjusted; rendered web fonts,
 * page content, images and link destinations do not change. */
@font-face{
  font-family:"UP-RC-Arial-Metric-Small";
  src:local("Arial");
  size-adjust:115%;
}
@media(max-width:359px){
  body.up-approved.page-id-951{
    --up-display:"Cormorant Garamond","UP-CAR-Georgia-Metric",Georgia,serif;
    --up-body:Montserrat,"UP-RC-Arial-Metric-Small",Arial,sans-serif;
  }
}
/* Additional verified product pages at 390px:
 * #1062 RC geometra; #672 Polizza EAR.
 * Keep 320px on the original fallbacks until independently validated. */
@media(min-width:360px){
  body.up-approved.page-id-951,
  body.up-approved.page-id-1062,
  body.up-approved.page-id-672{
    --up-display:"Cormorant Garamond","UP-CAR-Georgia-Metric",Georgia,serif;
    --up-body:Montserrat,"UP-CAR-Arial-Metric",Arial,sans-serif;
  }
}
/* Narrow viewport font fallback matches tested on the exact products:
 * #1062 RC geometra (320px), #672 polizza EAR (320px). */
@font-face{
  font-family:"UP-EAR-Arial-Metric-Small";
  src:local("Arial");
  size-adjust:112%;
}
@media(max-width:359px){
  body.up-approved.page-id-1062{
    --up-display:"Cormorant Garamond","UP-CAR-Georgia-Metric",Georgia,serif;
    --up-body:Montserrat,"UP-RC-Arial-Metric-Small",Arial,sans-serif;
  }
  body.up-approved.page-id-672{
    --up-display:"Cormorant Garamond","UP-CAR-Georgia-Metric",Georgia,serif;
    --up-body:Montserrat,"UP-EAR-Arial-Metric-Small",Arial,sans-serif;
  }
}





/* ===== up-logo-palette.css ===== */
/*
 * UP Assicurazioni — authoritative overrides
 * Clean rebuild after corrupted numbered CSS.
 * Brand palette sampled from supplied logo:
 * #015599 #016CAE #0181C1 #082F71
 */
:root{
  --up-navy:#015599!important;
  --up-blue:#016CAE!important;
  --up-accent:#0181C1!important;
  --up-deep:#082F71!important;
  --up-pale:rgba(1,129,193,.075)!important;
  --up-line:rgba(1,108,174,.20)!important;
  --up-ink:#184F73!important;
  --up-muted:#5B7E96!important;
}
/* Brand */
body.up-approved{color:var(--up-ink)!important}
body.up-approved h1,
body.up-approved h2,
body.up-approved h3,
body.up-approved h4{color:var(--up-deep)!important}
body.up-approved .up-site-header{border-bottom-color:rgba(1,108,174,.18)!important}
body.up-approved .up-brand-name small,
body.up-approved .up-desktop-nav>.up-nav-menu>li>a{color:var(--up-deep)!important}
/* Light surfaces */
body.up-approved .up-home-hero{
  background:linear-gradient(105deg,rgba(1,129,193,.10),rgba(1,108,174,.035))!important;
  border-color:rgba(1,108,174,.18)!important;
}
body.up-approved .up-home-service-card{
  background:rgba(1,129,193,.035)!important;
  border-color:rgba(1,108,174,.18)!important;
}
body.up-approved .up-home-process{background:rgba(1,129,193,.045)!important}
body.up-approved .up-process-steps span{
  background:rgba(1,129,193,.12)!important;
  color:var(--up-deep)!important;
}
body.up-approved .up-home-request{
  background:linear-gradient(90deg,rgba(1,108,174,.20),rgba(1,129,193,.07))!important;
}
body.up-approved .up-home-request:before{
  background:linear-gradient(90deg,rgba(1,85,153,.10),rgba(255,255,255,.12))!important;
}
body.up-approved .up-home-form>h2,
body.up-approved .up-home-brand-strip,
body.up-approved .up-request-band{background:rgba(1,129,193,.075)!important}
/* Buttons */
body.up-approved .up-button,
body.up-approved .up-index .up-index-cta,
body.up-approved .up-form-shell .wpforms-page-next,
body.up-approved .up-form-shell .wpforms-submit{
  background:var(--up-navy)!important;
  border-color:var(--up-navy)!important;
  color:#fff!important;
}
body.up-approved .up-button:hover,
body.up-approved .up-form-shell .wpforms-page-next:hover,
body.up-approved .up-form-shell .wpforms-submit:hover{
  background:var(--up-blue)!important;
  border-color:var(--up-blue)!important;
}
body.up-approved .up-button-outline{
  background:transparent!important;
  color:var(--up-navy)!important;
  border-color:var(--up-navy)!important;
}
/* METHOD BLOCK — contained like the cards above, no image */
body.up-approved .up-home-method{
  width:min(1220px,calc(100% - 72px))!important;
  margin:28px auto 0!important;
  display:grid!important;
  grid-template-columns:minmax(320px,.74fr) minmax(0,1.26fr)!important;
  border:1px solid rgba(1,108,174,.16)!important;
  background:#fff!important;
}
body.up-approved .up-home-method-left{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:320px!important;
  background:var(--up-deep)!important;
}
body.up-approved .up-home-method-copy{
  width:100%!important;
  max-width:440px!important;
  margin:0 auto!important;
  padding:52px 38px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  background:transparent!important;
}
body.up-approved .up-home-method-copy h2,
body.up-approved .up-home-method-copy p{color:#fff!important}
body.up-approved .up-home-method-copy p{
  max-width:390px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.up-approved .up-button-white-outline{
  align-self:center!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.62)!important;
}
body.up-approved .up-home-process{
  min-width:0!important;
  padding:42px 34px!important;
  background:rgba(1,129,193,.045)!important;
}
/* FORM — one connector only */
body.up-approved .wpforms-page-indicator.circles{
  position:relative!important;
  display:flex!important;
  gap:0!important;
  border:0!important;
  background:none!important;
  box-shadow:none!important;
  overflow:visible!important;
}
body.up-approved .wpforms-page-indicator.circles .wpforms-page-indicator-page{
  position:relative!important;
  flex:1 1 0!important;
  border:0!important;
  background:none!important;
  box-shadow:none!important;
  z-index:1!important;
}
body.up-approved .wpforms-page-indicator.circles .wpforms-page-indicator-page:before,
body.up-approved .wpforms-page-indicator.circles .wpforms-page-indicator-page:after{
  display:none!important;
  content:none!important;
}
body.up-approved .wpforms-page-indicator.circles:before{display:none!important;content:none!important}
body.up-approved .wpforms-page-indicator.circles:after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:12.5%!important;
  right:12.5%!important;
  top:16px!important;
  height:2px!important;
  background:rgba(1,108,174,.24)!important;
  z-index:0!important;
}
body.up-approved .wpforms-page-indicator.circles .wpforms-page-indicator-page-number{
  position:relative!important;
  z-index:2!important;
  margin:0 auto!important;
}
body.up-approved .wpforms-page-indicator.circles .wpforms-page-indicator-page.active .wpforms-page-indicator-page-number{
  background:var(--up-navy)!important;
  color:#fff!important;
}
body.up-approved .up-form-shell .wpforms-field-label{color:var(--up-deep)!important}
body.up-approved .up-form-shell input:not([type=checkbox]):not([type=radio]),
body.up-approved .up-form-shell select,
body.up-approved .up-form-shell textarea{border-color:rgba(1,108,174,.28)!important}
/* PECORIELLO-STYLE DESKTOP MENU */
@media(min-width:1051px){
  body.up-approved .up-desktop-nav>.up-nav-menu>li>.sub-menu{
    display:none!important;
    position:absolute!important;
    top:100%!important;
    left:0!important;
    right:auto!important;
    width:270px!important;
    max-height:66vh!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    padding:8px!important;
    background:#fff!important;
    border:1px solid rgba(1,108,174,.18)!important;
    box-shadow:0 16px 34px rgba(8,47,113,.14)!important;
  }
  body.up-approved .up-desktop-nav>.up-nav-menu>li:hover>.sub-menu,
  body.up-approved .up-desktop-nav>.up-nav-menu>li:focus-within>.sub-menu{
    display:block!important;
  }
  body.up-approved .up-desktop-nav>.up-nav-menu>li>.sub-menu>li{
    display:block!important;
    border-bottom:1px solid rgba(1,108,174,.10)!important;
  }
  body.up-approved .up-desktop-nav>.up-nav-menu>li>.sub-menu>li:last-child{border-bottom:0!important}
  body.up-approved .up-desktop-nav>.up-nav-menu>li>.sub-menu>li>a{
    display:block!important;
    position:relative!important;
    padding:11px 30px 11px 10px!important;
    margin:0!important;
    border:0!important;
    background:#fff!important;
    font-family:var(--up-body)!important;
    font-size:11px!important;
    font-weight:500!important;
    line-height:1.4!important;
    color:#274F6B!important;
  }
  body.up-approved .up-desktop-nav>.up-nav-menu>li>.sub-menu>li:hover>a,
  body.up-approved .up-desktop-nav>.up-nav-menu>li>.sub-menu>li:focus-within>a{
    background:rgba(1,129,193,.075)!important;
    color:var(--up-deep)!important;
  }
  body.up-approved .up-desktop-nav>.up-nav-menu>li>.sub-menu>li.menu-item-has-children>a:after{
    content:"›"!important;
    position:absolute!important;
    right:11px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    color:#47718E!important;
    font-size:15px!important;
  }
  body.up-approved .up-desktop-nav>.up-nav-menu>li>.sub-menu>li.menu-item-has-children:hover>a:after,
  body.up-approved .up-desktop-nav>.up-nav-menu>li>.sub-menu>li.menu-item-has-children:focus-within>a:after{
    content:"⌄"!important;
  }
  body.up-approved .up-desktop-nav>.up-nav-menu>li>.sub-menu>li>.sub-menu{
    display:none!important;
    position:static!important;
    width:auto!important;
    max-height:none!important;
    overflow:visible!important;
    padding:4px 0 8px 12px!important;
    margin:0!important;
    background:#fff!important;
    border:0!important;
    border-left:2px solid rgba(1,129,193,.20)!important;
    box-shadow:none!important;
  }
  body.up-approved .up-desktop-nav>.up-nav-menu>li>.sub-menu>li:hover>.sub-menu,
  body.up-approved .up-desktop-nav>.up-nav-menu>li>.sub-menu>li:focus-within>.sub-menu{
    display:block!important;
  }
  body.up-approved .up-desktop-nav>.up-nav-menu>li>.sub-menu>li>.sub-menu li a{
    display:block!important;
    padding:7px 9px!important;
    border:0!important;
    background:#fff!important;
    font-family:var(--up-body)!important;
    font-size:10.5px!important;
    line-height:1.35!important;
    color:#476C85!important;
  }
  body.up-approved .up-desktop-nav>.up-nav-menu>li>.sub-menu>li>.sub-menu li a:hover,
  body.up-approved .up-desktop-nav>.up-nav-menu>li>.sub-menu>li>.sub-menu li a:focus{
    color:var(--up-deep)!important;
    background:rgba(1,129,193,.055)!important;
  }
}
/* Footer */
body.up-approved .up-site-footer{background:var(--up-deep)!important}
body.up-approved .up-site-footer h3{color:#fff!important}
body.up-approved .up-site-footer a,
body.up-approved .up-site-footer p{color:rgba(255,255,255,.92)!important}
body.up-approved .up-footer-bottom{
  color:rgba(255,255,255,.72)!important;
  border-top-color:rgba(255,255,255,.22)!important;
}
@media(max-width:1050px){
  body.up-approved .up-home-method{
    width:min(1220px,calc(100% - 48px))!important;
    grid-template-columns:1fr!important;
  }
}
@media(max-width:650px){
  body.up-approved .up-home-method{
    width:calc(100% - 32px)!important;
    margin-top:20px!important;
  }
  body.up-approved .up-home-method-copy{padding:38px 24px!important}
}


/* FAQ — Pecoriello-style accordion */
body.up-approved .up-faq-section{
  display:block!important;
  padding-bottom:8px!important;
  margin-bottom:34px!important;
  border-bottom:0!important;
}
body.up-approved .up-faq-section>h2{
  margin-bottom:14px!important;
}
body.up-approved .up-faq-list{
  display:block!important;
  grid-template-columns:none!important;
  gap:0!important;
  margin:0!important;
  padding:0!important;
}
body.up-approved .up-faq-item{
  display:block!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-top:1px solid rgba(1,108,174,.18)!important;
  border-radius:0!important;
  background:transparent!important;
}
body.up-approved .up-faq-item:last-child{
  border-bottom:1px solid rgba(1,108,174,.18)!important;
}
body.up-approved .up-faq-item>summary{
  position:relative!important;
  display:block!important;
  cursor:pointer!important;
  list-style:none!important;
  padding:18px 44px 18px 0!important;
  margin:0!important;
  font-family:var(--up-display)!important;
  font-size:19px!important;
  font-weight:500!important;
  line-height:1.35!important;
  color:var(--up-deep)!important;
  background:transparent!important;
}
body.up-approved .up-faq-item>summary::-webkit-details-marker{
  display:none!important;
}
body.up-approved .up-faq-item>summary:after{
  content:"+"!important;
  position:absolute!important;
  right:4px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  font-family:var(--up-body)!important;
  font-size:22px!important;
  font-weight:400!important;
  line-height:1!important;
  color:#4C7792!important;
}
body.up-approved .up-faq-item[open]>summary:after{
  content:"−"!important;
}
body.up-approved .up-faq-item>p,
body.up-approved .up-faq-item>ul,
body.up-approved .up-faq-item>ol{
  margin:0!important;
  padding:0 44px 18px 0!important;
}
body.up-approved .up-faq-item>p{
  color:#47677E!important;
  font-size:14px!important;
  line-height:1.85!important;
}
body.up-approved .up-faq-item[open]>summary{
  color:var(--up-navy)!important;
}
@media(max-width:650px){
  body.up-approved .up-faq-item>summary{
    font-size:18px!important;
    padding-right:36px!important;
  }
  body.up-approved .up-faq-item>p,
  body.up-approved .up-faq-item>ul,
  body.up-approved .up-faq-item>ol{
    padding-right:18px!important;
  }
}


/* Contextual request panel — aligned with Pecoriello */
body.up-approved .up-context-request{
  padding:24px 0 58px!important;
  background:linear-gradient(90deg,rgba(1,108,174,.15),rgba(1,129,193,.055))!important;
}
body.up-approved .up-context-request-panel{
  display:grid!important;
  grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr)!important;
  gap:0!important;
  align-items:stretch!important;
  overflow:hidden!important;
  border-radius:8px!important;
  box-shadow:0 12px 34px rgba(8,47,113,.08)!important;
}
body.up-approved .up-context-request-intro{
  background:#fff!important;
  padding:38px 30px!important;
}
body.up-approved .up-context-request-intro h2{
  margin:0 0 16px!important;
  font-size:30px!important;
  line-height:1.12!important;
  color:var(--up-deep)!important;
}
body.up-approved .up-context-request-intro p{
  margin:0 0 22px!important;
  font-size:13px!important;
  line-height:1.75!important;
  color:#4D6E84!important;
}
body.up-approved .up-request-benefits{
  list-style:none!important;
  padding:0!important;
  margin:0!important;
  display:grid!important;
  gap:9px!important;
}
body.up-approved .up-request-benefits li{
  position:relative!important;
  padding-left:30px!important;
  font-size:12px!important;
  color:#55778D!important;
}
body.up-approved .up-request-benefits li:before{
  content:"✓"!important;
  position:absolute!important;
  left:0!important;
  top:-2px!important;
  width:21px!important;
  height:21px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid rgba(1,108,174,.22)!important;
  border-radius:50%!important;
  color:var(--up-blue)!important;
  font-size:11px!important;
}
body.up-approved .up-context-request-form{
  min-width:0!important;
  background:#fff!important;
}
body.up-approved .up-context-request-form>h2{
  margin:0!important;
  padding:20px 28px!important;
  background:rgba(1,129,193,.075)!important;
  font-size:30px!important;
  line-height:1.12!important;
  color:var(--up-deep)!important;
}
body.up-approved .up-context-request-form .up-form-shell{
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:18px 28px 28px!important;
  background:#fff!important;
}
body.up-approved .up-context-request-form .up-form-summary{
  margin:0 0 18px!important;
}
@media(max-width:900px){
  body.up-approved .up-context-request-panel{grid-template-columns:1fr!important}
  body.up-approved .up-context-request-intro{padding:30px 26px!important}
}
@media(max-width:650px){
  body.up-approved .up-context-request{padding:18px 0 36px!important}
  body.up-approved .up-context-request-intro{padding:26px 22px!important}
  body.up-approved .up-context-request-form>h2{padding:18px 22px!important;font-size:26px!important}
  body.up-approved .up-context-request-form .up-form-shell{padding:16px 22px 24px!important}
}




/* Accessibility: verified Lighthouse failures only. */
body.up-approved .up-form-shell .wpforms-page-indicator-page-title{
  color:#536F84!important;
}
body.up-approved .up-form-shell .wpforms-page-indicator-page.active .wpforms-page-indicator-page-title{
  color:var(--up-navy)!important;
}
body.up-approved .up-home-guide-card small{
  color:#536F84!important;
}
body.up-approved .up-home-guides-head>a{
  display:inline-flex!important;
  align-items:center!important;
  min-height:24px!important;
}
body.up-approved .up-site-footer a:not(.up-back-top){
  min-height:24px!important;
}

/* Mobile hero uses the existing responsive WordPress derivative. */
@media(max-width:700px){
  body.up-approved.up-home .up-home-hero-photo{
    background-image:url('https://upassicurazioni.it/wp-content/uploads/2026/03/assicurazione-768x369.jpg')!important;
  }
}




/* ===== assets/css/up28-corporate.css ===== */
/**
 * UP Assicurazioni 2026 — corporate/photo-led layout referencing the
 * general structure of PecorielloAssicurazioni.it, not its branding.
 * All assets used belong to the existing UP Assicurazioni media library.
 */
body.up-approved .up28-home{
 --up28-deep:#082f71;
 --up28-navy:#015599;
 --up28-blue:#016cae;
 --up28-text:#173a55;
 --up28-muted:#4d667c;
 --up28-light:#eef4f8;
 --up28-line:#d7e1e9;
 color:var(--up28-text);
 background:#fff;
 overflow:hidden;
 min-width:0;
}
.up28-home [id]{scroll-margin-top:95px}
.up28-home a:focus-visible{outline:3px solid #6ac1e5;outline-offset:3px}
.up28-wide-wrap{width:min(1290px,calc(100% - 72px));margin:0 auto}
.up28-hero{
 isolation:isolate;
 position:relative;
 overflow:hidden;
 min-height:445px;
 display:flex;
 align-items:center;
 background:#eef4f8;
 border-bottom:1px solid #dbe6ed;
}
.up28-hero-image{
 position:absolute;
 inset:0 0 0 auto;
 width:43%;
 z-index:-1;
 background-image:url("https://upassicurazioni.it/wp-content/uploads/2026/03/assicurazione.jpg");
 background-size:cover;
 background-position:center center;
}
.up28-hero-image:before{
 content:"";
 position:absolute;
 inset:0;
 background:linear-gradient(90deg,#eef4f8 0%,rgba(238,244,248,.87) 20%,rgba(238,244,248,.07) 60%);
}
.up28-hero-layout{width:min(1220px,calc(100% - 72px));margin:0 auto}
.up28-hero-text{
 max-width:890px;
 padding:53px 0 48px;
 position:relative;
 z-index:1;
}
.up28-hero-label{
 margin:0 0 13px;
 font:700 10px/1.5 var(--up-body);
 letter-spacing:.14em;
 text-transform:uppercase;
 color:#2c6894;
}
body.up-approved .up28-home .up28-hero h1{
 font:500 clamp(42px,4vw,59px)/1.06 var(--up-display)!important;
 color:#082f71!important;
 max-width:820px;
 margin:0 0 18px!important;
 letter-spacing:-.025em;
 text-wrap:balance;
}
.up28-hero-text>p:not(.up28-hero-label){
 font:400 14px/1.82 var(--up-body);
 color:#35576f;
 margin:0 0 16px;
 max-width:705px;
}
.up28-hero-text>p strong{color:#082f71}
.up28-hero-ctas{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:22px}
body.up-approved .up28-home .up28-btn{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 min-height:47px;
 padding:12px 23px;
 border:1px solid #015599;
 border-radius:3px;
 text-align:center;
 font:700 11px/1.4 var(--up-body);
 transition:background .2s,color .2s;
}
body.up-approved .up28-home .up28-btn-primary{color:#fff!important;background:#015599}
body.up-approved .up28-home .up28-btn-primary:hover{background:#082f71}
body.up-approved .up28-home .up28-btn-outline{color:#082f71!important;background:rgba(255,255,255,.66)}
body.up-approved .up28-home .up28-btn-outline:hover{background:#fff}
.up28-hero-benefits{
 display:flex;
 flex-wrap:wrap;
 align-items:center;
 gap:20px 28px;
 margin-top:40px;
 max-width:770px;
}
.up28-hero-benefits span{
 position:relative;
 max-width:195px;
 color:#2e4f67;
 font:500 11px/1.55 var(--up-body);
 padding-left:22px;
}
.up28-hero-benefits span:before{
 content:"";
 position:absolute;
 top:4px;
 left:0;
 width:11px;height:11px;
 border:1.5px solid #016cae;
 border-radius:50%;
}
.up28-services{
 background:#fff;
 padding:12px 0 29px;
}
.up28-service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
body.up-approved .up28-home .up28-service{
 display:flex;
 flex-direction:column;
 min-width:0;
 background:#f6f8fa;
 color:#173a55!important;
 transition:box-shadow .2s,transform .2s;
}
body.up-approved .up28-home .up28-service:hover{transform:translateY(-2px);box-shadow:0 13px 28px rgba(12,50,87,.08)}
.up28-service-media{height:124px;overflow:hidden;background:#e0e9ef}
.up28-service-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s}
.up28-service:hover img{transform:scale(1.025)}
.up28-service-body{padding:14px 18px 18px;display:flex;flex-direction:column;min-height:149px}
body.up-approved .up28-home .up28-service h2{
 font:500 clamp(22px,2.3vw,31px)/1.1 var(--up-display)!important;
 margin:0 0 7px!important;
 color:#082f71!important;
}
.up28-service p{font:400 11px/1.72 var(--up-body);margin:0 0 14px;color:#47667c;flex:1}
.up28-service-readmore{font:700 10px/1.4 var(--up-body);color:#015599}
.up28-about{
 display:grid;
 grid-template-columns:minmax(0,1fr) minmax(0,1.07fr);
 align-items:stretch;
 background:#fff;
 border-top:1px solid #e0e9ef;
}
.up28-about-image{position:relative;display:flex;align-items:stretch;min-height:375px;overflow:hidden;background:#102c44}
.up28-about-image>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(.73) brightness(.72)}
.up28-about-image:after{
 content:"";
 position:absolute;inset:0;
 background:linear-gradient(90deg,rgba(3,29,58,.40),rgba(3,29,58,.82));
}
.up28-about-label{
 z-index:1;
 position:relative;
 margin:auto 8% 39px auto;
 width:min(78%,500px);
 color:#fff;
}
.up28-about-label>p:first-child{font:700 10px/1.4 var(--up-body);letter-spacing:.14em;margin:0 0 15px;color:#b8dbf0}
body.up-approved .up28-home .up28-about-label h2{
 color:#fff!important;
 font:500 clamp(35px,3.3vw,47px)/1.05 var(--up-display)!important;
 margin:0 0 14px!important;
}
.up28-about-label>p:last-child{font:400 11px/1.7 var(--up-body);margin:0;color:#e0edf6;max-width:440px}
.up28-about-content{padding:36px clamp(27px,5vw,75px) 44px 40px;max-width:760px}
body.up-approved .up28-home .up28-about-content>h2{
 font:500 clamp(27px,2.6vw,38px)/1.08 var(--up-display)!important;
 color:#082f71!important;
 margin:0 0 24px!important;
 max-width:650px;
}
.up28-process{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px}
.up28-process>div{padding:17px 3px 15px 0;border-top:1px solid #dce6ed}
body.up-approved .up28-home .up28-process h3{
 font:500 24px/1.1 var(--up-display)!important;
 color:#082f71!important;
 margin:0 0 7px!important;
}
.up28-process p{font:400 11px/1.7 var(--up-body);color:#4c697e;margin:0}
.up28-request{padding:69px 0 78px;background:#eef4f8;border-top:1px solid #d4e2eb}
.up28-request-grid{display:grid;grid-template-columns:minmax(0,.76fr) minmax(0,1.24fr);gap:clamp(28px,5.5vw,85px);align-items:start}
.up28-request-copy{padding-top:20px}
.up28-eyebrow{font:700 10px/1.5 var(--up-body);letter-spacing:.1em;color:#016cae;text-transform:uppercase;margin:0 0 15px}
body.up-approved .up28-home .up28-request-copy h2{
 font:500 clamp(34px,3.6vw,51px)/1.06 var(--up-display)!important;
 color:#082f71!important;
 margin:0 0 19px!important;
}
.up28-request-copy>p:not(.up28-eyebrow){
 font:400 12px/1.85 var(--up-body);
 color:#47687e;
 max-width:460px;
 margin:0 0 21px;
}
.up28-request-copy .up28-request-note{font-size:10px!important;color:#667d90!important;border-top:1px solid #c9dce7;padding-top:18px}
.up28-request-form{padding:28px 29px;background:#fff;min-width:0;border:1px solid #d4e4ef}
body.up-approved .up28-home .up28-request-form h3{
 font:500 33px/1.1 var(--up-display)!important;
 color:#082f71!important;
 margin:0 0 17px!important;
}
body.up-approved .up28-home .up28-request-form .up-form-shell{
 background:transparent!important;
 padding:0!important;border:0!important;
 box-shadow:none!important;border-radius:0!important;
 min-width:0!important;
}
.up28-guides{padding:60px 0 80px;background:#fff}
.up28-guides-head{display:flex;align-items:end;justify-content:space-between;gap:22px;margin-bottom:24px}
body.up-approved .up28-home .up28-guides-head h2{
 font:500 clamp(32px,3.6vw,48px)/1.1 var(--up-display)!important;
 color:#082f71!important;
 margin:0!important;
}
.up28-guides-head>a{color:#015599!important;font:700 11px/1.4 var(--up-body);border-bottom:1px solid #81acc7;padding-bottom:5px}
.up28-guides-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body.up-approved .up28-home .up28-guide{display:flex;flex-direction:column;min-height:183px;background:#f6f8fa;padding:22px 22px;color:#082f71!important;border:1px solid #e1e8ed}
.up28-guide>span{font:700 9px/1.4 var(--up-body);letter-spacing:.08em;color:#6d899c;text-transform:uppercase}
body.up-approved .up28-home .up28-guide h3{font:500 27px/1.1 var(--up-display)!important;color:#082f71!important;margin:16px 0!important;flex:1}
.up28-guide>b{font:700 10px/1.4 var(--up-body);color:#015599}
@media(min-width:1250px){.up28-hero-image{width:43%}.up28-hero-text{max-width:880px}}
@media(max-width:1100px){.up28-hero-image{width:48%}.up28-hero-text{max-width:710px}.up28-hero-image:before{background:linear-gradient(90deg,#eef4f8,rgba(238,244,248,.85) 29%,rgba(238,244,248,.27) 100%)}.up28-service-media{height:115px}.up28-service-body{padding:14px 14px 17px}}
@media(max-width:900px){.up28-hero-image{width:100%;opacity:.38;background-position:center}.up28-hero-image:before{background:linear-gradient(90deg,#eef4f8,rgba(238,244,248,.73))}.up28-hero-text{max-width:750px}.up28-service-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.up28-service-media{height:155px}.up28-about{grid-template-columns:1fr}.up28-about-image{min-height:330px}.up28-about-content{max-width:none;padding:39px max(36px,calc((100vw - 760px)/2)) 44px}.up28-request-grid{grid-template-columns:1fr;gap:24px}.up28-request-copy{padding:0}.up28-request-copy>p:not(.up28-eyebrow){max-width:650px}}
@media(max-width:650px){.up28-wide-wrap{width:calc(100% - 24px)}.up28-hero{min-height:0}.up28-hero-image{opacity:.48;background-position:60% center}.up28-hero-image:before{background:linear-gradient(90deg,rgba(238,244,248,.95) 0%,rgba(238,244,248,.77) 72%,rgba(238,244,248,.46))}.up28-hero-layout{width:calc(100% - 32px)}.up28-hero-text{padding:32px 0 30px}.up28-hero-label{margin-bottom:13px}.up28-home .up28-hero h1{font-size:clamp(34px,9.1vw,45px)!important;line-height:1.08!important}.up28-hero-text>p:not(.up28-hero-label){font-size:12px;line-height:1.75}.up28-hero-ctas{display:grid;grid-template-columns:1fr;gap:10px;margin-top:20px}.up28-home .up28-btn{width:100%;min-height:45px}.up28-hero-benefits{margin-top:23px;gap:12px 19px}.up28-hero-benefits span{font-size:10px;max-width:190px;padding-left:17px}.up28-hero-benefits span:before{width:9px;height:9px}.up28-services{padding:11px 0 24px}.up28-service-grid{gap:10px}.up28-service-media{height:89px}.up28-service-body{padding:13px 11px 15px;min-height:172px}.up28-home .up28-service h2{font-size:26px!important}.up28-service p{font-size:10px;line-height:1.55}.up28-service-readmore{font-size:10px}.up28-about-image{min-height:300px}.up28-about-label{margin:auto 8% 25px auto;width:82%}.up28-about-content{padding:30px 20px 34px}.up28-home .up28-about-content>h2{font-size:32px!important;margin-bottom:22px!important}.up28-process{grid-template-columns:1fr;gap:0}.up28-process>div{padding:14px 0}.up28-home .up28-process h3{font-size:26px!important}.up28-request{padding:43px 0 53px}.up28-home .up28-request-copy h2{font-size:37px!important}.up28-request-form{padding:20px 16px}.up28-home .up28-request-form h3{font-size:30px!important}.up28-guides{padding:46px 0 56px}.up28-guides-grid{grid-template-columns:1fr;gap:10px}.up28-guide{min-height:148px!important}.up28-guides-head{align-items:start}.up28-guides-head>a{font-size:10px}}
@media(max-width:375px){.up28-home .up28-hero h1{font-size:33px!important}.up28-service-media{height:79px}.up28-home .up28-service h2{font-size:24px!important}.up28-service-body{min-height:182px}}
/* Keep the original UP quote CTA clear and mobile-friendly. */
body.up-approved:has(.up28-home) .up26-header-cta{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-shrink:0!important;
  min-height:41px!important;
  padding:10px 14px!important;
  margin-left:0!important;
  border:1px solid #015599!important;
  border-radius:3px!important;
  background:#015599!important;
  color:#fff!important;
  font:700 10px/1.35 var(--up-body)!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}
body.up-approved:has(.up28-home) .up26-header-cta:hover{background:#082f71!important}
body.up-approved:has(.up28-home) .up27-header-mobile{display:none!important}
body.up-approved:has(.up28-home) .up27-header-desktop{display:inline!important;font-size:inherit!important;color:inherit!important}
@media(max-width:1050px){
 body.up-approved:has(.up28-home) .up26-header-cta{margin-left:auto!important}
 body.up-approved:has(.up28-home) .up-menu-toggle{margin-left:0!important}
}
@media(max-width:650px){
 body.up-approved:has(.up28-home) .up-header-inner{gap:12px!important}
 body.up-approved:has(.up28-home) .up26-header-cta{padding:9px 10px!important;min-height:37px!important;font-size:10px!important}
 body.up-approved:has(.up28-home) .up27-header-mobile{display:inline!important;color:inherit!important;font-size:inherit!important}
 body.up-approved:has(.up28-home) .up27-header-desktop{display:none!important}
}
@media(max-width:360px){
 body.up-approved:has(.up28-home) .up-header-inner{gap:9px!important}
 body.up-approved:has(.up28-home) .up-brand img{width:42px!important;height:42px!important}
 body.up-approved:has(.up28-home) .up26-header-cta{padding:8px 7px!important;font-size:9px!important}
}
/* Art direction adjustments: hero photo, restrained service links and header. */
.up28-hero-image{background-position:72% center!important;}
.up28-service-body{min-height:125px;}
.up28-service-body p{margin-bottom:0;}
.up28-service:hover .up28-service-body h2{text-decoration:underline;text-decoration-color:#6fb1d1;text-underline-offset:5px;}
body.up-approved:has(.up28-home) .up26-header-cta{
  background:transparent!important;
  color:#015599!important;
  border:1px solid #a7bfce!important;
  min-height:38px!important;
  padding:8px 15px!important;
  font-size:11px!important;
  font-weight:600!important;
}
body.up-approved:has(.up28-home) .up26-header-cta:hover{
  background:#edf5fa!important;
  border-color:#015599!important;
}
@media(max-width:650px){
  .up28-hero-image{background-position:75% center!important;opacity:.38!important;}
  .up28-service-body{min-height:145px;}
  body.up-approved:has(.up28-home) .up26-header-cta{min-height:35px!important;padding:7px 10px!important;}
}
@media(prefers-reduced-motion:reduce){.up28-service,.up28-service-media img,.up28-btn{transition:none!important}}




/* ===== assets/css/up-form-precise.css ===== */
/* Form Unico UP V3.2.1: presentation in the isolated WPVibe draft ONLY */
.up-fu-chooser,.up-fu-detail{font:inherit;color:#244767;max-width:100%}
.up-fu-summary{background:#f0f4ff;border-left:3px solid #1356cc;padding:15px 18px;margin:0 0 18px;color:#2d5b83;font-size:14px;line-height:1.5}
.up-fu-help{font-size:14px;line-height:1.65;color:#456984;margin:14px 0 20px}
.up-fu-progress ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;padding:0;margin:15px 0 22px;gap:0}
.up-fu-step{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;font:400 11px/1.4 system-ui,sans-serif;color:#8b9aa9;padding:0 6px}
.up-fu-step:before{content:"";width:100%;height:2px;position:absolute;top:14px;left:50%;background:#c8dfea}
.up-fu-step:last-child:before{display:none}
.up-fu-step-number{z-index:1;position:relative;display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#e9edef;color:#40566a;font-size:14px}
.up-fu-step-label{position:relative;z-index:1}
.up-fu-step.is-current{font-weight:700;color:#00549a}
.up-fu-step.is-current .up-fu-step-number,.up-fu-step.is-completed .up-fu-step-number{background:#00549a;color:white}
.up-fu-step.is-completed:before{background:#a9cfeb}
.up-fu-selector{max-width:100%;margin:0 0 16px}
.up-fu-selector label{display:block;font-weight:700;font-size:12px;color:#0b3276;margin:0 0 8px}
.up-fu-selector label span{color:#b21d1d}
.up-fu-selector select{display:block;width:100%;min-width:0;min-height:42px;color:#37658c;background:#fff;border:1px solid #b8d7ed;border-radius:3px;padding:10px 12px;font-size:14px;line-height:1.4}
.up-fu-selector select:disabled{background:#f5f9fc;opacity:1;cursor:default}
.up-fu-selector[hidden]{display:none!important}
.up-fu-choose-next{min-width:88px}
.up-fu-chooser-error{margin:8px 0!important;color:#a61d29!important;font-size:13px}
.up-fu-preview-notice{border:1px solid #e9dfc5;background:#fff9ee;color:#7b5c29;font-size:12px;line-height:1.5;padding:9px 12px;margin-top:14px}
.up-fu-detail .wpforms-page-indicator{display:none!important}
.up-fu-detail #wpforms-4606-field_900-container{position:absolute!important;width:1px!important;height:1px!important;left:-9999px!important;overflow:hidden!important;white-space:nowrap!important;padding:0!important;margin:0!important;border:0!important}
.up-fu-detail .wpforms-field-container .wpforms-page{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 17px;align-items:start}
.up-fu-detail .wpforms-field-container .wpforms-page[style*="display: none"],
.up-fu-detail .wpforms-field-container .wpforms-page[hidden]{display:none!important}
.up-fu-detail .wpforms-page>.wpforms-field{width:100%!important;max-width:100%!important;min-width:0!important;float:none!important;clear:none!important;margin:0!important;padding:0!important}
.up-fu-detail .wpforms-page>.wpforms-field input:not([type="checkbox"]):not([type="radio"]),.up-fu-detail .wpforms-page>.wpforms-field textarea,.up-fu-detail .wpforms-page>.wpforms-field select{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}
.up-fu-detail .wpforms-page>#wpforms-4606-field_49-container,
.up-fu-detail .wpforms-page>#wpforms-4606-field_6-container,
.up-fu-detail .wpforms-page>#wpforms-4606-field_28-container,
.up-fu-detail .wpforms-page>#wpforms-4606-field_1003-container,
.up-fu-detail .wpforms-page>#wpforms-4606-field_901-container,
.up-fu-detail .wpforms-page>#wpforms-4606-field_902-container,
.up-fu-detail .wpforms-page>.wpforms-field-textarea,
.up-fu-detail .wpforms-page>.wpforms-pagebreak-left{grid-column:1/-1}
.up-fu-detail .wpforms-field-container .wpforms-page .wpforms-pagebreak-left,.up-fu-detail .wpforms-field-container .wpforms-page .wpforms-pagebreak-right,.up-fu-detail .wpforms-page .wpforms-pagebreak{grid-column:1/-1}
.up-fu-detail .wpforms-page .wpforms-field-label{font-size:12px;color:#0b3276;font-weight:700;margin:0 0 8px;line-height:1.4}
.up-fu-detail .wpforms-page .wpforms-field-required{color:#b82121}
.up-fu-detail .wpforms-page .wpforms-page-button{background:#00549a;border:1px solid #00549a;color:white;border-radius:3px;min-height:39px;padding:9px 15px;font-weight:700;font-size:12px;letter-spacing:normal;word-spacing:normal;white-space:normal}
.up-fu-detail .wpforms-page .wpforms-page-prev{background:white;color:#00549a;border-color:#c1d7e6;margin-right:8px}
.up-fu-detail .wpforms-submit-container{grid-column:1/-1}
.up-fu-detail .wpforms-submit-container button[disabled]{opacity:.55;cursor:not-allowed}
.up-fu-detail .wpforms-field-description{font-size:12px;line-height:1.5}
.up-fu-detail .wpforms-field-description a{text-decoration:underline}
.up-fu-detail .wpforms-uploader[aria-disabled="true"]{pointer-events:none;opacity:.65;cursor:not-allowed}
.up-fu-detail .up-fu-upload-preview-notice{font-size:12px;line-height:1.5;color:#815c22;background:#fff9ee;border:1px solid #f0dfc5;padding:8px 11px;margin:10px 0}
.up-fu-detail .wpforms-container-full .wpforms-field{padding-top:0!important;padding-bottom:0!important}
.up-fu-detail .wpforms-field select,.up-fu-detail .wpforms-field input,.up-fu-detail .wpforms-field textarea{border-radius:3px!important}
@media(max-width:650px){
 .up-fu-detail .wpforms-field-container .wpforms-page{grid-template-columns:minmax(0,1fr);gap:16px}
 .up-fu-detail .wpforms-page>.wpforms-field{grid-column:1/-1}
 .up-fu-step{padding:0 2px;font-size:10px}
 .up-fu-step-label{overflow-wrap:anywhere}
 .up-fu-step-number{width:27px;height:27px}
}
/* Phone and tablet fields: 16px prevents Safari focus zoom without changing the desktop layout. */
@media(max-width:1050px){
 .up-fu-selector select,
 .up-fu-detail .wpforms-page>.wpforms-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
 .up-fu-detail .wpforms-page>.wpforms-field select,
 .up-fu-detail .wpforms-page>.wpforms-field textarea{font-size:16px!important}
}
/* Phone tap targets and safe scroll offsets. */
@media(max-width:650px){
 .up-fu-selector select{min-height:46px}
 .up-fu-chooser .up-fu-choose-next,
 .up-fu-detail .wpforms-page .wpforms-page-button,
 .up-fu-detail .wpforms-submit-container .wpforms-submit{min-height:46px!important}
 .up-fu-detail .wpforms-page>.wpforms-field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
 .up-fu-detail .wpforms-page>.wpforms-field select,
 .up-fu-detail .wpforms-page>.wpforms-field textarea{scroll-margin-top:110px}
}
@media(prefers-reduced-motion:reduce){.up-fu-chooser,.up-fu-detail{scroll-behavior:auto}}




/* ===== assets/css/up26-navigation.css ===== */
/**
 * UP Assicurazioni — Full Navigation 2026.
 * Restore WordPress menu's 4 levels and make every descendant reachable.
 * Desktop: grouped, scrollable mega-menu; mobile: accessible nested accordions.
 * Content and permalinks are not changed.
 */
@media (min-width:1051px){
 body.up-approved .up-header-inner{position:relative}
 body.up-approved .up-desktop-nav{position:static;min-width:0}
 body.up-approved .up-desktop-nav>.up-nav-menu{position:static;display:flex;flex-wrap:nowrap;gap:clamp(10px,1.3vw,21px)}
 body.up-approved .up-desktop-nav>.up-nav-menu>li{position:static!important}
 body.up-approved .up-desktop-nav>.up-nav-menu>li>a{
   font-family:var(--up-body)!important;
   font-size:clamp(10.5px,.95vw,13px)!important;
   font-weight:600!important;
   letter-spacing:.003em;
   line-height:1.5!important;
   padding:30px 0!important;
   color:#082F71!important;
   white-space:nowrap;
 }
 body.up-approved .up-desktop-nav>.up-nav-menu>li:hover>a,
 body.up-approved .up-desktop-nav>.up-nav-menu>li:focus-within>a{
   color:#006ca9!important
 }
 body.up-approved .up-desktop-nav>.up-nav-menu>li>.sub-menu{
   display:none!important;
   position:absolute!important;
   z-index:100!important;
   top:calc(100% - 1px)!important;
   left:0!important;
   right:0!important;
   transform:none!important;
   width:100%!important;
   max-width:100%!important;
   max-height:min(76vh,740px)!important;
   overflow-y:auto!important;
   overflow-x:hidden!important;
   grid-template-columns:repeat(3,minmax(0,1fr))!important;
   align-items:start!important;
   gap:16px 26px!important;
   margin:0!important;
   padding:26px 28px!important;
   border:1px solid #d3e5ef!important;
   border-top:3px solid #0181c1!important;
   background:#fff!important;
   box-shadow:0 22px 56px rgba(6,35,73,.18)!important;
   scrollbar-color:#a4cbdc #f3f8fc;
   overscroll-behavior:contain;
 }
 body.up-approved .up-desktop-nav>.up-nav-menu>li:hover>.sub-menu,
 body.up-approved .up-desktop-nav>.up-nav-menu>li:focus-within>.sub-menu{
   display:grid!important
 }
 body.up-approved .up-desktop-nav>.up-nav-menu>li>.sub-menu>li{
   display:block!important;
   float:none!important;
   width:100%!important;
   min-width:0!important;
   height:auto!important;
   padding:0 0 13px!important;
   margin:0!important;
   background:transparent!important;
   border:0!important;
   border-bottom:1px solid #d9e7ef!important;
   break-inside:avoid;
 }
 body.up-approved .up-desktop-nav>.up-nav-menu>li>.sub-menu>li>a{
   display:block!important;
   position:static!important;
   font:700 12px/1.4 var(--up-body)!important;
   letter-spacing:.005em!important;
   padding:4px 0 11px!important;
   color:#005494!important;
   background:transparent!important;
   border:0!important;
   white-space:normal!important;
 }
 body.up-approved .up-desktop-nav>.up-nav-menu>li>.sub-menu>li:hover>a{
   color:#082F71!important;
   background:transparent!important;
 }
 body.up-approved .up-desktop-nav .sub-menu .sub-menu,
 body.up-approved .up-desktop-nav>.up-nav-menu>li>.sub-menu>li>.sub-menu{
   position:static!important;
   display:block!important;
   visibility:visible!important;
   opacity:1!important;
   transform:none!important;
   width:auto!important;
   max-width:none!important;
   max-height:none!important;
   overflow:visible!important;
   border:0!important;
   border-left:0!important;
   box-shadow:none!important;
   margin:0!important;
   padding:0!important;
   background:transparent!important;
 }
 body.up-approved .up-desktop-nav .sub-menu .sub-menu li{
   display:block!important;
   float:none!important;
   padding:0!important;
   margin:0!important;
   border:0!important;
   position:static!important;
 }
 body.up-approved .up-desktop-nav .sub-menu .sub-menu li>a{
   display:block!important;
   padding:7px 0!important;
   margin:0!important;
   color:#4b6981!important;
   background:transparent!important;
   border:0!important;
   border-radius:0!important;
   font:500 11.5px/1.55 var(--up-body)!important;
   white-space:normal!important;
   overflow-wrap:anywhere;
 }
 body.up-approved .up-desktop-nav .sub-menu .sub-menu li>a:hover,
 body.up-approved .up-desktop-nav .sub-menu .sub-menu li>a:focus{
   color:#005494!important;
   text-decoration:underline!important;
   text-underline-offset:3px;
   background:transparent!important;
 }
 body.up-approved .up-desktop-nav .sub-menu .sub-menu .sub-menu{
   border-left:2px solid #d5e7f1!important;
   margin:3px 0 7px 4px!important;
   padding-left:13px!important;
 }
 body.up-approved .up-desktop-nav .sub-menu .sub-menu .sub-menu li>a{
   font-size:11px!important
 }
 body.up-approved .up-desktop-nav li>a:focus-visible{
   outline:2px solid #0394c7!important;
   outline-offset:3px;
 }
}
@media (min-width:1051px) and (max-width:1180px){
 body.up-approved .up-header-inner{gap:12px!important}
 body.up-approved .up-desktop-nav>.up-nav-menu{gap:11px!important}
 body.up-approved .up-desktop-nav>.up-nav-menu>li>a{font-size:10.5px!important}
 body.up-approved .up26-header-cta{font-size:9px!important;padding:9px 10px!important}
}
@media (max-width:1050px){
 body.up-approved .up-mobile-panel{
   background:#fff!important;
   border-top:1px solid #d7e7ef!important;
   max-height:calc(100dvh - 82px)!important;
   overflow-y:auto!important;
   overscroll-behavior:contain;
 }
 body.up-approved .up-mobile-menu-list{padding:14px 0 28px!important}
 body.up-approved .up-mobile-menu-list li{
   position:relative!important;
   min-width:0!important;
   list-style:none!important;
 }
 body.up-approved .up-mobile-menu-list>li{
   border-bottom:1px solid #dce9f0!important;
 }
 body.up-approved .up-mobile-menu-list>li>a{
   display:block!important;
   padding:16px 48px 16px 0!important;
   font:700 15px/1.5 var(--up-body)!important;
   color:#082F71!important;
 }
 body.up-approved .up-mobile-menu-list .sub-menu{
   position:static!important;
   display:none!important;
   width:100%!important;
   max-height:none!important;
   overflow:visible!important;
   padding:2px 0 11px 16px!important;
   margin:0!important;
   border:0!important;
   border-left:2px solid #d5e8f1!important;
   box-shadow:none!important;
   background:#fff!important;
 }
 body.up-approved .up-mobile-menu-list .up-submenu-open>.sub-menu{
   display:block!important;
 }
 body.up-approved .up-mobile-menu-list .sub-menu li>a{
   display:block!important;
   white-space:normal!important;
   overflow-wrap:anywhere!important;
   padding:11px 47px 11px 8px!important;
   font:500 12.5px/1.6 var(--up-body)!important;
   color:#315d7c!important;
   background:transparent!important;
 }
 body.up-approved .up-mobile-menu-list .sub-menu .sub-menu li>a{
   font-size:12px!important;
 }
 body.up-approved .up-mobile-menu-list .up-submenu-toggle{
   display:grid!important;
   place-items:center!important;
   position:absolute!important;
   top:8px!important;
   right:0!important;
   width:42px!important;
   height:42px!important;
   padding:0!important;
   color:#015599!important;
   border:1px solid #d3e5ef!important;
   border-radius:4px!important;
   background:#f6fbfd!important;
   font:500 23px/1 var(--up-body)!important;
   cursor:pointer!important;
 }
 body.up-approved .up-mobile-menu-list .up-submenu-open>.up-submenu-toggle{
   background:#e4f4fb!important;
 }
 body.up-approved .up-mobile-menu-list a:focus-visible,
 body.up-approved .up-mobile-menu-list button:focus-visible{
   outline:3px solid #65c0e6!important;
   outline-offset:2px!important;
 }
}
@media (max-width:650px){
 body.up-approved .up-mobile-panel{max-height:calc(100dvh - 70px)!important}
 body.up-approved .up-mobile-menu-list .sub-menu{padding-left:12px!important}
}




/* ===== assets/css/up29-mega-nav.css ===== */
/**
 * UP Assicurazioni | 2026 menu desktop + richiesta prodotto specifico
 * Draft-only. WordPress menu preserved in DOM; mobile navigation untouched.
 */
.up29-mega {display:none}
@media(min-width:1051px){
  body.up-approved .up-site-header{position:relative;z-index:1000}
  body.up-approved .up-header-inner{position:relative!important}
  body.up-approved .up-desktop-nav,
  body.up-approved .up-desktop-nav>.up-nav-menu,
  body.up-approved .up-desktop-nav>.up-nav-menu>li{position:static!important}
  body.up-approved .up-desktop-nav>.up-nav-menu>li.up29-mega-parent>.sub-menu,
  body.up-approved .up-desktop-nav>.up-nav-menu>li.up29-mega-parent:hover>.sub-menu,
  body.up-approved .up-desktop-nav>.up-nav-menu>li.up29-mega-parent:focus-within>.sub-menu{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
  }
  body.up-approved .up-desktop-nav>.up-nav-menu>li.up29-mega-parent>a{
    border-bottom:2px solid transparent!important;
  }
  body.up-approved .up-desktop-nav>.up-nav-menu>li.up29-mega-parent:is(:hover,:focus-within)>a{
    color:#015599!important;
    border-bottom-color:#0181c1!important;
  }
  body.up-approved .up-desktop-nav>.up-nav-menu>li.up29-mega-parent:is(:hover,:focus-within)>.up29-mega{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
  }
  .up29-mega{
    box-sizing:border-box!important;
    position:absolute!important;
    z-index:3000!important;
    top:calc(100% - 2px)!important;
    left:50%!important;
    right:auto!important;
    transform:translateX(-50%)!important;
    width:min(1180px,calc(100vw - 46px))!important;
    max-height:min(74vh,690px);
    overflow-x:hidden!important;
    overflow-y:auto!important;
    padding:0 22px 25px!important;
    margin:0!important;
    background:#fff!important;
    border:1px solid #d9e6ef!important;
    border-top:3px solid #0181c1!important;
    border-radius:0 0 6px 6px!important;
    box-shadow:0 21px 51px rgba(8,47,87,.16)!important;
    scrollbar-color:#afd0e1 #f6fbff;
    overscroll-behavior:contain;
    color:#113d64!important;
  }
  .up29-mega-top{
    min-height:49px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    border-bottom:1px solid #e1ebf2;
    padding:9px 4px;
    margin-bottom:17px;
  }
  .up29-mega-top>span{
    font:700 10px/1.5 var(--up-body);
    letter-spacing:.09em;
    color:#44718e;
    text-transform:uppercase;
  }
  body.up-approved .up29-mega .up29-mega-all{
    color:#015599!important;
    text-decoration:none!important;
    font:700 10px/1.5 var(--up-body)!important;
    border-bottom:1px solid #b0cfdf!important;
    padding:4px 0!important;
    white-space:nowrap;
  }
  .up29-mega-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:0!important;
  }
  .up29-mega-col{
    min-width:0;
    padding:0 22px!important;
    border-left:1px solid #e2ebf1!important;
  }
  .up29-mega-col:first-child{border-left:0!important;padding-left:5px!important}
  .up29-mega-col:last-child{padding-right:5px!important}
  .up29-mega-col-label{
    color:#0179b8;
    height:29px;
    display:flex;
    align-items:flex-start;
    margin-bottom:8px;
  }
  .up29-mega-col-label svg{display:block;width:25px;height:25px;stroke:#0179b8}
  .up29-mega-group{padding:0 0 14px!important;margin:0 0 14px!important;border-bottom:1px solid #e2ebf1!important;min-width:0}
  .up29-mega-group:last-child{margin-bottom:0!important}
  body.up-approved .up29-mega .up29-mega-group h3{
    margin:0 0 11px!important;
    padding:0!important;
    color:#082f71!important;
    font:700 12px/1.45 var(--up-body)!important;
    letter-spacing:0!important;
  }
  body.up-approved .up29-mega .up29-mega-group h3 a{
    display:block!important;
    padding:0!important;
    color:#082f71!important;
    font:inherit!important;
    border:0!important;
    background:none!important;
    text-decoration:none!important;
    white-space:normal!important;
  }
  body.up-approved .up29-mega .up29-mega-group h3 a:hover{
    color:#016cae!important;
    text-decoration:underline!important;
    text-underline-offset:3px;
  }
  .up29-mega-links{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:0!important;
    padding:0!important;
    margin:0!important;
    list-style:none!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
  }
  .up29-mega-links>li{
    display:block!important;
    padding:0!important;
    margin:0!important;
    list-style:none!important;
    border:0!important;
    background:transparent!important;
    height:auto!important;
    min-height:0!important;
  }
  body.up-approved .up29-mega .up29-mega-links a{
    display:block!important;
    padding:6px 7px!important;
    margin:0 -7px!important;
    color:#476a82!important;
    font:500 11px/1.53 var(--up-body)!important;
    background:transparent!important;
    border:0!important;
    text-decoration:none!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    border-radius:3px!important;
    transition:background .14s,color .14s;
  }
  body.up-approved .up29-mega .up29-mega-links a:hover,
  body.up-approved .up29-mega .up29-mega-links a:focus-visible{
    color:#015599!important;
    background:#edf6fc!important;
  }
  .up29-mega-more{margin-top:8px}
  .up29-mega-more summary{
    list-style:none;
    position:relative;
    display:inline-flex;
    align-items:center;
    gap:8px;
    cursor:pointer;
    border:0;
    background:transparent;
    color:#015599;
    padding:6px 0;
    font:700 10px/1.4 var(--up-body);
  }
  .up29-mega-more summary::-webkit-details-marker{display:none}
  .up29-mega-more summary:after{content:"+";font-size:17px;line-height:10px}
  .up29-mega-more[open] summary:after{content:"−"}
  .up29-mega-more>.up29-mega-links{padding-top:4px!important}
  .up29-mega :is(a,summary):focus-visible{outline:2px solid #0181c1!important;outline-offset:3px}
  .up29-grid-guides{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .up29-grid-guides .up29-mega-col:nth-child(2){border-left:1px solid #e2ebf1!important}
  .up29-grid-guides .up29-mega-col:nth-child(n+3){display:none}
  body.up-approved .up-desktop-nav>.up-nav-menu>li.up29-mega-parent:has(.up29-grid-guides)>.up29-mega{
    width:min(690px,calc(100vw - 50px))!important;
  }
}
@media(min-width:1051px){
  .up29-other-categories{
    margin-top:14px;
    border-top:1px solid #e2ebf2;
  }
  .up29-other-categories>summary{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:16px 8px 7px;
    color:#015599;
    font:700 11px/1.5 var(--up-body);
    cursor:pointer;
    list-style:none;
  }
  .up29-other-categories>summary::-webkit-details-marker{display:none}
  .up29-other-categories>summary:after{content:"+";font:500 19px/1 var(--up-body)}
  .up29-other-categories[open]>summary:after{content:"−"}
  .up29-other-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px 35px;
    padding:24px 8px 9px;
    border-top:1px solid #e2ebf2;
    margin-top:9px;
  }
  .up29-other-grid>.up29-mega-group{margin:0!important}
  .up29-other-categories:focus-visible,
  .up29-other-categories>summary:focus-visible{
    outline:2px solid #0181c1!important;outline-offset:2px;
  }
}
@media(min-width:1051px) and (max-width:1190px){
  .up29-mega{width:calc(100vw - 32px)!important;padding:0 16px 18px!important}
  .up29-mega-col{padding:0 15px!important}
  body.up-approved .up29-mega .up29-mega-links a{font-size:10.5px!important}
}
@media(max-width:1050px){
  .up29-mega{display:none!important}
}

/* Dynamic product detail in the quote form: keep original WPForms input,
   validations, product code and automatic product selection unchanged. */
body.up-approved .up26-experience .up29-form-selected .up29-request-product{
  display:block;
  color:#082f71!important;
  text-wrap:balance;
  overflow-wrap:break-word;
}
body.up-approved .up26-experience .up29-form-selected .up26-sp-request-intro h2{
  font-size:clamp(37px,3.6vw,54px)!important;
  line-height:1.07!important;
}
body.up-approved .up26-experience .up29-form-selected .up26-sp-form-header{
  padding-bottom:6px!important;
}
body.up-approved .up26-experience .up29-selected-product{
  position:relative;
  background:#edf5fc;
  border-left:3px solid #0181c1;
  margin:22px 0 2px;
  padding:14px 18px;
  border-radius:0 3px 3px 0;
  max-width:100%;
}
body.up-approved .up26-experience .up29-selected-product>span{
  display:block;
  font:600 10px/1.4 var(--up-body);
  color:#53748b;
  margin-bottom:4px;
}
body.up-approved .up26-experience .up29-selected-product>strong{
  display:block;
  font:700 13px/1.48 var(--up-body);
  color:#082f71;
  overflow-wrap:break-word;
}
body.up-approved .up26-experience .up29-form-selected .up-fu-summary{
  display:none!important;
}
@media(max-width:900px){
  body.up-approved .up26-experience .up29-form-selected .up26-sp-request-intro h2{
    font-size:clamp(37px,5.3vw,49px)!important;
  }
}
@media(max-width:650px){
  body.up-approved .up26-experience .up29-form-selected .up26-sp-request-intro h2{
    font-size:clamp(34px,9.3vw,44px)!important;
    line-height:1.1!important;
  }
  body.up-approved .up26-experience .up29-selected-product{
    margin:16px 0 0;
    padding:12px 13px;
  }
  body.up-approved .up26-experience .up29-selected-product>strong{font-size:12px}
}

/* Fiducia: l'ultima sezione specialistica è editoriale, non un altro banner. */
body.up-approved .up26-experience .up29-trust-footer{
  background:#fff!important;
  color:#082f71!important;
  border-top:1px solid #dce7ee!important;
  padding:34px 0 37px!important;
}
body.up-approved .up26-experience .up29-trust-footer>.up-wrap{
  display:grid!important;
  grid-template-columns:minmax(0,1.15fr) minmax(0,1.6fr) auto!important;
  gap:24px!important;
  align-items:center!important;
}
body.up-approved .up26-experience .up29-trust-title>span{
  color:#016cae!important;
  font:700 9px/1.5 var(--up-body)!important;
  letter-spacing:.1em!important;
}
body.up-approved .up26-experience .up29-trust-title h2{
  color:#082f71!important;
  margin:8px 0 0!important;
  font:500 clamp(27px,2.45vw,37px)/1.1 var(--up-display)!important;
}
body.up-approved .up26-experience .up29-trust-items{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
}
body.up-approved .up26-experience .up29-trust-items span{
  display:flex;
  align-items:center;
  min-height:48px;
  padding:0 11px;
  border-left:1px solid #d7e5ed;
  color:#184e76;
  font:600 10px/1.55 var(--up-body);
}
body.up-approved .up26-experience .up29-trust-footer a{
  width:auto!important;
  max-width:170px!important;
  padding:7px 0!important;
  margin:0!important;
  display:inline-block!important;
  background:transparent!important;
  border:0!important;
  border-bottom:1px solid #b3d1e0!important;
  box-shadow:none!important;
  color:#015599!important;
  font:700 10px/1.5 var(--up-body)!important;
}
@media(max-width:950px){
  body.up-approved .up26-experience .up29-trust-footer>.up-wrap{
    grid-template-columns:1fr!important;gap:18px!important;
  }
}
@media(max-width:650px){
  body.up-approved .up26-experience .up29-trust-items{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:12px}
  body.up-approved .up26-experience .up29-trust-items span{min-height:32px}
}
/* Sezione richiesta: percorso di assistenza, senza numeri decorativi. */
body.up-approved .up26-experience .up29-request-guide{
  display:grid;
  gap:18px;
  margin:32px 0 27px;
  max-width:455px;
}
body.up-approved .up26-experience .up29-request-guide>div{
  display:flex;
  align-items:center;
  gap:15px;
  min-width:0;
}
body.up-approved .up26-experience .up29-guide-icon{
  display:grid;
  place-items:center;
  flex:0 0 45px;
  height:45px;
  background:#ddecfa;
  border-radius:50%;
  color:#016cae;
}
body.up-approved .up26-experience .up29-guide-icon svg{
  display:block;width:22px;height:22px;stroke:currentColor;
}
body.up-approved .up26-experience .up29-request-guide strong{
  display:block;
  color:#082f71;
  font:700 12px/1.4 var(--up-body);
}
body.up-approved .up26-experience .up29-request-guide p{
  margin:4px 0 0!important;
  color:#58768e!important;
  font:400 11px/1.55 var(--up-body)!important;
}
body.up-approved .up29-mega .up29-mega-links a.up29-current{
  background:#eaf4fd!important;
  color:#005599!important;
  font-weight:700!important;
  border-left:2px solid #0181c1!important;
  padding-left:8px!important;
}
@media(max-width:650px){
  body.up-approved .up26-experience .up29-request-guide{
    gap:15px;margin:24px 0;
  }
  body.up-approved .up26-experience .up29-guide-icon{
    flex-basis:40px;height:40px;
  }
}
@media(prefers-reduced-motion:reduce){
  .up29-mega-links a{transition:none!important}
}



