/*
Theme Name: DIGITO V - The Human Advantage
Theme URI: https://www.e-service-online.com
Author: Davide Puzzo
Author URI: https://www.e-service-online.com
Text Domain: digito-v-the-human-advantage
Description: Restyling DIGITO V Edizione - anteprima riservata
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
WPVibe: yes
*/
:root{--sky:#dbf3fd;--cream:#fff8e3;--yellow:#fcc503;--cyan:#2eafe5;--blue:#2b8ec3;--navy:#166a96;--ink:#112b43}*{box-sizing:border-box}html{scroll-behavior:smooth}body.digito-site{margin:0;min-height:100vh;color:var(--ink);background:var(--cream);font-family:'Trebuchet MS',Arial,sans-serif;line-height:1.48}a{color:inherit}img{max-width:100%}.shell{width:min(1180px,calc(100% - 48px));margin:auto}.site-header{background:#fff;position:relative;z-index:10;box-shadow:0 2px 12px #1232}.nav-row{min-height:82px;display:flex;align-items:center;gap:26px}.brand img{width:143px;height:auto;display:block}.primary-nav{display:flex;align-items:center;gap:17px;margin:auto}.primary-nav a{text-decoration:none;font-size:13px;font-weight:700;white-space:nowrap}.primary-nav a:hover{color:var(--navy)}.btn{display:inline-flex;justify-content:center;align-items:center;padding:13px 22px;border-radius:999px;font-weight:800;font-size:14px;text-decoration:none;transition:transform .2s,box-shadow .2s;border:2px solid transparent;white-space:nowrap}.btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px #0002}.btn-yellow{background:var(--yellow);color:#12233b}.btn-outline-white{border-color:white;color:#fff}.btn-outline{border-color:var(--cyan);color:var(--navy);background:#fff}.nav-toggle{display:none;background:transparent;border:0;color:var(--ink);font-size:19px;cursor:pointer}.section{padding:58px 0}.hero{min-height:490px;position:relative;isolation:isolate;background:var(--navy);color:#fff;overflow:hidden}.hero:before{content:"";position:absolute;z-index:-1;left:-6%;top:-13%;height:132%;width:65%;background:linear-gradient(100deg,#166a96 55%,#166a96e8);border-radius:0 50% 47% 0 / 0 56% 47% 0;box-shadow:32px 8px 0 #166a9618}.hero-image{position:absolute;inset:0;z-index:-2;background-image:url('https://www.digi-to.it/wp-content/uploads/2026/11/porto-digito-v-2027-scaled.jpg');background-position:62% 54%;background-size:cover}.hero:after{content:"";position:absolute;left:-4%;bottom:-55px;width:110%;height:90px;border-radius:50% 50% 0 0;background:var(--cream);transform:rotate(-1deg);z-index:-1}.hero-inner{padding:70px 0 110px}.hero-copy{max-width:590px}.eyebrow{font-size:13px;font-weight:900;letter-spacing:.07em;color:var(--navy);text-transform:uppercase}.eyebrow.yellow{color:var(--yellow)}.hero h1{font-family:'Trebuchet MS',Arial,sans-serif;letter-spacing:-.045em;font-weight:900;line-height:.94;font-size:clamp(49px,5.9vw,78px);margin:18px 0 12px;text-transform:uppercase}.hero h1 em{color:var(--yellow);display:block;font-style:italic;font-weight:900}.scribble{width:190px;height:10px;border-bottom:4px solid var(--yellow);border-radius:50%;display:block;transform:rotate(-3deg)}.hero-copy>p{font-size:clamp(19px,2.15vw,25px);max-width:460px;line-height:1.3}.hero-meta{display:flex;gap:22px;flex-wrap:wrap;font-size:13px;font-weight:900;margin:25px 0}.action-row{display:flex;flex-wrap:wrap;gap:12px}.cream{background:var(--cream)}.intro-lead{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}.intro-lead h2,.section h2,.location h2{font-family:Georgia,serif;line-height:1.08;letter-spacing:-.025em;font-size:clamp(28px,3vw,43px);margin:10px 0}.intro-lead p{font-size:18px}.stroke{width:60px;border-bottom:4px solid var(--yellow);display:block;margin-top:20px}.pillars{display:grid;grid-template-columns:repeat(4,1fr);margin-top:38px}.pillars article{padding:5px 28px;border-right:1px solid #aabcca}.pillars article:first-child{padding-left:0}.pillars article:last-child{border-right:0}.pillars h3{font-size:20px;margin:6px 0}.pillars p{margin:0;font-size:14px}.symbol{font-size:37px;color:var(--yellow);line-height:1}.people{background:var(--sky)}.people-layout{display:grid;grid-template-columns:.85fr 1.35fr;align-items:center;gap:50px}.people-layout p{font-size:17px;max-width:340px}.people-photo img{width:100%;height:315px;object-fit:cover;border-radius:110px 110px 80px 80px}.yellow{color:var(--yellow)}.location{display:grid;grid-template-columns:1.2fr 1fr;background:var(--sky)}.location-image img{height:330px;width:100%;object-fit:cover;display:block}.location-copy{padding:55px 8%;max-width:550px}.location-copy p{font-size:16px}.numbers{background:var(--cream);padding:26px 0}.number-row{display:flex;justify-content:space-between;align-items:center;gap:20px}.number-row>div{display:flex;gap:8px;align-items:center;border-left:1px solid #bfd1d7;padding-left:20px}.number-row b{font-size:36px;color:var(--navy)}.number-row span{max-width:100px;font-size:13px}.stories{background:#fff}.story-layout{display:grid;grid-template-columns:.8fr 1.7fr;gap:40px}.story-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.story-card{display:block;text-decoration:none}.story-card img,.image-placeholder{width:100%;height:130px;object-fit:cover;border-radius:18px}.image-placeholder{background:var(--sky)}.story-card h3{font-size:15px;margin:4px 0}.story-card small{color:var(--navy)}.digilab{background:var(--navy);color:white;padding:38px 0}.lab-row{display:flex;align-items:center;justify-content:space-between;gap:30px}.lab-row h2{font-family:Georgia,serif;max-width:700px;font-size:30px;margin:5px 0}.site-footer{background:#105879;color:white;padding:38px 0 20px}.footer-inner{display:grid;grid-template-columns:1fr 1.5fr 1fr;gap:35px}.footer-brand img{width:100px}.footer-brand p{font-size:13px;max-width:220px}.site-footer nav{display:flex;flex-wrap:wrap;align-content:flex-start;gap:12px 18px}.site-footer a{text-decoration:none;font-size:13px}.copyright{font-size:12px;opacity:.7;margin-top:35px}@media(max-width:980px){.primary-nav{gap:9px}.primary-nav a{font-size:11px}.nav-row{gap:12px}.brand img{width:120px}.number-row{flex-wrap:wrap}}@media(max-width:740px){.shell{width:min(100% - 32px,1180px)}.site-header .nav-row{min-height:70px}.brand img{width:114px}.nav-toggle{display:block;margin-left:auto}.header-cta{display:none}.primary-nav{display:none;position:absolute;left:0;right:0;top:70px;background:white;flex-direction:column;align-items:stretch;padding:16px 25px;box-shadow:0 16px 20px #0002}.primary-nav.open{display:flex}.primary-nav a{font-size:16px;padding:8px 0}.hero{min-height:560px}.hero-image{inset:30% 0 0;background-image:linear-gradient(180deg,#166a96e0,#166a9610 35%),url('https://www.digi-to.it/wp-content/uploads/2026/11/porto-digito-v-2027-scaled.jpg');background-position:50% 50%}.hero:before{top:-10%;height:65%;width:115%;left:-7%;border-radius:0 0 48% 0 / 0 0 17% 0}.hero-inner{padding:44px 0 255px}.hero h1{font-size:clamp(43px,11vw,58px)}.hero-copy>p{font-size:18px;max-width:350px}.hero-meta{font-size:11px;gap:10px}.section{padding:42px 0}.intro-lead,.people-layout,.story-layout{grid-template-columns:1fr;gap:22px}.pillars{grid-template-columns:1fr 1fr;gap:20px}.pillars article{padding:8px 10px;border:0}.people-photo img{height:235px}.location{grid-template-columns:1fr}.location-image img{height:210px}.location-copy{padding:35px 25px}.number-row{justify-content:flex-start}.number-row>div{width:calc(50% - 14px)}.number-row>strong{width:100%}.story-cards{grid-template-columns:1fr}.story-card img,.image-placeholder{height:190px}.lab-row{flex-direction:column;align-items:flex-start}.footer-inner{grid-template-columns:1fr}.action-row .btn{font-size:12px;padding:11px 15px}}
