: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;
  }
}


