/* =========================================================
   FDP PROJECT — Studio Tecnico Francesco Di Prisco
   Design system derivato dal kit UI "Bricknet" (Figma)
   ========================================================= */
:root{
  --orange:#FB4D17;
  --orange-2:#FF692D;
  --orange-dark:#D43E0F;
  --peach:#FFE1D5;
  --peach-soft:#FFF4EF;
  --navy:#222E3C;
  --navy-2:#2B3949;
  --slate:#698996;
  --ink:#222222;
  --black:#070707;
  --grey:#616161;
  --grey-2:#9E9E9E;
  --stroke:#C8C8C8;
  --line:#E4E4E4;
  --bg:#F5F5F5;
  --white:#FFFFFF;
  --container:1280px;
  --gutter:80px;
  --header-h:96px;
  --ease:cubic-bezier(.2,.7,.2,1);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:16px;line-height:26px;color:var(--ink);background:var(--white);-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;display:block;height:auto}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}
h1,h2,h3,h4,h5,p{margin:0}
ul{margin:0;padding:0;list-style:none}
:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.skip{position:absolute;left:16px;top:-60px;z-index:100;background:var(--orange);color:#fff;padding:10px 16px}
.skip:focus{top:16px}

.container{width:100%;max-width:calc(var(--container) + var(--gutter)*2);margin:0 auto;padding:0 var(--gutter)}
.section{padding:120px 0}
.section--tight{padding:80px 0}
.section--navy{background:var(--navy);color:#fff}
.section--bg{background:var(--bg)}

/* ---------- Typography ---------- */
.display{font-size:80px;line-height:88px;font-weight:500;letter-spacing:-.04em}
.h1{font-size:64px;line-height:72px;font-weight:500;letter-spacing:-.04em}
.h2{font-size:56px;line-height:72px;font-weight:500;letter-spacing:-.04em;color:var(--navy)}
.section--navy .h2,.on-dark .h2{color:#fff}
.h3{font-size:40px;line-height:48px;font-weight:500;letter-spacing:-.02em}
.h4{font-size:32px;line-height:40px;font-weight:500;letter-spacing:-.02em}
.h5{font-size:24px;line-height:32px;font-weight:500}
.lead{font-size:24px;line-height:32px;color:var(--grey)}
.lead-sm{font-size:20px;line-height:32px;color:var(--grey)}
.muted{color:var(--grey)}
.section--navy .lead,.section--navy .muted{color:rgba(255,255,255,.78)}
.orange{color:var(--orange)}

/* ---------- Chips / tags ---------- */
.chip{width:fit-content;display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 16px;border-radius:100px;font-size:14px;line-height:24px;font-weight:500;color:var(--orange);background:rgba(255,225,213,.35);border:1px solid var(--peach)}
.chip--light{color:#fff;background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.7);backdrop-filter:blur(6px)}
.chip--light::before{content:"";width:6px;height:6px;border-radius:50%;background:#fff}
.chip--dot::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.tag{display:inline-flex;align-items:center;height:32px;padding:0 14px;border-radius:100px;border:1px solid var(--ink);font-size:14px;font-weight:500;color:var(--ink);white-space:nowrap}
.tag--light{border-color:rgba(255,255,255,.85);color:#fff}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;gap:16px;height:56px;padding:0 8px 0 24px;font-size:16px;font-weight:500;line-height:26px;transition:background .25s var(--ease),color .25s var(--ease),border-color .25s var(--ease);white-space:nowrap}
.btn .btn__ico{display:grid;place-items:center;width:40px;height:40px;background:#fff;color:var(--orange);transition:transform .3s var(--ease)}
.btn .btn__ico svg{width:20px;height:20px}
.btn:hover .btn__ico{transform:rotate(45deg)}
.btn--primary{background:var(--orange);color:#fff}
.btn--primary:hover{background:var(--orange-dark)}
.btn--outline{border:1px solid var(--orange);color:var(--ink);background:transparent}
.btn--outline .btn__ico{background:var(--orange);color:#fff}
.btn--outline:hover{background:var(--peach-soft)}
.btn--white{background:#fff;color:var(--ink)}
.btn--white .btn__ico{background:var(--orange);color:#fff}
.btn--ghost-light{border:1px solid rgba(255,255,255,.8);color:#fff}
.btn--ghost-light .btn__ico{background:#fff;color:var(--orange)}
.btn--ghost-light:hover{background:rgba(255,255,255,.1)}
.btn--sm{height:44px;padding:0 6px 0 16px;font-size:15px}
.btn--sm .btn__ico{width:32px;height:32px}
.link-arrow{display:inline-flex;align-items:center;gap:8px;color:var(--orange);font-weight:500}
.link-arrow svg{width:18px;height:18px;transition:transform .25s var(--ease)}
.link-arrow:hover svg{transform:translate(2px,-2px)}

/* ---------- Header ---------- */
.header{position:fixed;inset:0 0 auto 0;z-index:50;height:var(--header-h);transition:background .3s var(--ease),box-shadow .3s var(--ease),height .3s var(--ease)}
.header__inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;flex-shrink:0}
.brand img{height:44px;width:auto}
.brand .logo-white{display:none}
.header--overlay .brand .logo-color{display:none}
.header--overlay .brand .logo-white{display:block}
.nav{display:flex;align-items:center;gap:4px;padding:6px;border-radius:100px;background:rgba(34,46,60,.04);border:1px solid var(--line)}
.header--overlay .nav{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.22);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.nav a{padding:6px 18px;border-radius:100px;font-size:16px;line-height:26px;color:var(--grey);transition:color .2s,background .2s}
.nav a:hover{color:var(--ink)}
.nav a[aria-current="page"]{color:var(--ink);font-weight:600;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.header--overlay .nav a{color:rgba(255,255,255,.82)}
.header--overlay .nav a:hover{color:#fff}
.header--overlay .nav a[aria-current="page"]{color:#fff;background:rgba(255,255,255,.16);box-shadow:none}
.header__cta{display:flex;align-items:center;gap:12px}
.header .btn--outline{height:48px}
.header--overlay .btn--outline{color:#fff;border-color:rgba(255,255,255,.8)}
.header--overlay .btn--outline:hover{background:rgba(255,255,255,.08)}
.header.is-scrolled{background:rgba(255,255,255,.96);box-shadow:0 1px 0 var(--line);backdrop-filter:blur(10px);height:80px}
.header.is-scrolled .brand .logo-color{display:block}
.header.is-scrolled .brand .logo-white{display:none}
.header.is-scrolled .nav{background:rgba(34,46,60,.04);border-color:var(--line);backdrop-filter:none}
.header.is-scrolled .nav a{color:var(--grey)}
.header.is-scrolled .nav a[aria-current="page"]{color:var(--ink);background:#fff}
.header.is-scrolled .btn--outline{color:var(--ink);border-color:var(--orange)}
.burger{display:none;width:48px;height:48px;place-items:center;border:1px solid var(--stroke);color:var(--ink)}
.header--overlay .burger{border-color:rgba(255,255,255,.6);color:#fff}
.header.is-scrolled .burger{border-color:var(--stroke);color:var(--ink)}
.burger svg{width:24px;height:24px}
.mnav{position:fixed;inset:0;z-index:60;background:var(--navy);color:#fff;display:flex;flex-direction:column;padding:24px 16px 32px;transform:translateX(100%);transition:transform .4s var(--ease);visibility:hidden}
.mnav.is-open{transform:none;visibility:visible}
.mnav__top{display:flex;justify-content:space-between;align-items:center}
.mnav__top img{height:38px}
.mnav__close{width:48px;height:48px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.4)}
.mnav__close svg{width:24px;height:24px}
.mnav nav{margin-top:40px;display:flex;flex-direction:column}
.mnav nav a{font-size:32px;line-height:40px;letter-spacing:-.02em;font-weight:500;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.12);display:flex;justify-content:space-between;align-items:center}
.mnav nav a[aria-current="page"]{color:var(--orange-2)}
.mnav__foot{margin-top:auto;display:grid;gap:12px;color:rgba(255,255,255,.75)}
.mnav__foot .btn{justify-content:space-between}

/* ---------- Hero (home) ---------- */
.hero{position:relative;min-height:100vh;min-height:100svh;display:flex;align-items:center;color:#fff;overflow:hidden;background:var(--navy)}
.hero__bg{position:absolute;inset:0}
.hero__bg img{width:100%;height:100%;object-fit:cover;transform:scale(1.04);animation:heroZoom 14s var(--ease) forwards}
@keyframes heroZoom{to{transform:scale(1)}}
.hero__bg::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(18,24,32,.62) 0%,rgba(18,24,32,.38) 45%,rgba(18,24,32,.72) 100%)}
.hero__content{position:relative;text-align:center;max-width:1060px;margin:0 auto;padding:calc(var(--header-h) + 48px) 0 96px;display:flex;flex-direction:column;align-items:center;gap:32px}
.hero__content p{font-size:20px;line-height:32px;font-weight:500;max-width:720px;color:rgba(255,255,255,.9)}
.hero__meta{position:absolute;left:0;right:0;bottom:32px}
.hero__meta .container{display:flex;justify-content:space-between;gap:24px;font-size:14px;color:rgba(255,255,255,.75)}
.hero__meta span{display:inline-flex;align-items:center;gap:8px}
.hero__meta svg{width:16px;height:16px}

/* Page hero (inner pages) */
.phero{padding:calc(var(--header-h) + 72px) 0 72px;text-align:center}
.phero .chip{margin-bottom:24px}
.phero h1{max-width:1000px;margin:0 auto;color:var(--navy)}
.phero p{max-width:720px;margin:24px auto 0}
.phero--img{padding-bottom:0}
.phero__media{margin-top:64px;height:560px;overflow:hidden}
.phero__media img{width:100%;height:100%;object-fit:cover}
.crumbs{display:flex;justify-content:center;gap:8px;font-size:14px;color:var(--grey);margin-bottom:20px}
.crumbs a:hover{color:var(--orange)}

/* ---------- Logo strip ---------- */
.logos{padding:56px 0;border-bottom:1px solid var(--line)}
.logos__label{text-align:center;font-size:14px;color:var(--grey);margin-bottom:28px;text-transform:uppercase;letter-spacing:.08em}
.marquee{overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent)}
.marquee__track{display:flex;gap:64px;width:max-content;animation:marquee 40s linear infinite}
.marquee:hover .marquee__track{animation-play-state:paused}
@keyframes marquee{to{transform:translateX(-50%)}}
.logo-word{display:flex;align-items:center;gap:12px;color:#8a8f96;font-weight:600;font-size:18px;letter-spacing:-.01em;white-space:nowrap}
.logo-word svg{width:28px;height:28px;color:#b5b9be}

/* ---------- About intro ---------- */
.intro__top{display:flex;justify-content:space-between;align-items:flex-end;gap:48px;margin-top:32px}
.intro__title{font-size:64px;line-height:76px;font-weight:500;letter-spacing:-.04em;color:var(--navy);max-width:1000px}
.intro__title em{font-style:normal;color:var(--grey-2)}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:80px;border-top:1px solid var(--line)}
.stat{padding:32px 32px 0 0}
.stat+.stat{padding-left:32px;border-left:1px solid var(--line)}
.stat__n{font-size:64px;line-height:72px;font-weight:500;letter-spacing:-.04em;color:var(--navy)}
.stat__n small{font-size:.5em;letter-spacing:-.02em}
.stat__l{margin-top:12px;font-size:20px;line-height:28px;font-weight:500;color:var(--grey);letter-spacing:-.01em}

/* ---------- Section heads ---------- */
.shead{text-align:center;max-width:860px;margin:0 auto 72px;display:flex;flex-direction:column;align-items:center;gap:24px}
.shead--split{text-align:left;max-width:none;flex-direction:row;justify-content:space-between;align-items:flex-end;gap:48px}
.shead--split>div{display:flex;flex-direction:column;gap:24px;align-items:flex-start}
.shead--split .lead{max-width:560px}

/* ---------- Services ---------- */
.services{display:grid;grid-template-columns:repeat(3,1fr);gap:64px 40px}
.service{display:flex;flex-direction:column;gap:20px}
.service__n{font-size:24px;line-height:32px;color:var(--orange)}
.service h3{font-size:32px;line-height:40px;font-weight:500;letter-spacing:-.02em;color:var(--black)}
.service p{color:var(--grey)}
.service__img{margin-top:8px;aspect-ratio:4/3;overflow:hidden;background:var(--bg)}
.service__img img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
.service:hover .service__img img{transform:scale(1.05)}
.service ul{display:flex;flex-wrap:wrap;gap:8px}
.service li{font-size:13px;line-height:20px;padding:4px 10px;background:var(--bg);color:var(--grey)}

/* ---------- Why ---------- */
.why{display:grid;grid-template-columns:5fr 7fr;gap:80px}
.why__left{display:flex;flex-direction:column;gap:24px;align-items:flex-start}
.why__left .btn{margin-top:auto}
.why__grid{display:grid;grid-template-columns:1fr 1fr;gap:56px 40px}
.why__item{display:flex;flex-direction:column;gap:16px}
.icon-box{width:64px;height:64px;display:grid;place-items:center;background:var(--peach);color:var(--orange)}
.icon-box svg{width:32px;height:32px}
.why__item h3{font-size:32px;line-height:40px;font-weight:500;letter-spacing:-.02em;color:var(--navy)}
.why__item p{color:var(--grey)}

/* ---------- Featured slider ---------- */
.feat__head{display:flex;justify-content:space-between;align-items:flex-end;gap:48px;margin-bottom:64px}
.feat__head .lead{max-width:620px;color:rgba(255,255,255,.85)}
.slider{position:relative}
.slider__viewport{overflow:hidden}
.slider__track{display:flex;transition:transform .7s var(--ease)}
.slide{flex:0 0 100%;position:relative;height:640px;overflow:hidden;color:#fff}
.slide img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.slide::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,24,32,.78) 0%,rgba(18,24,32,.25) 55%,rgba(18,24,32,0) 100%)}
.slide__info{position:relative;z-index:1;height:100%;display:flex;flex-direction:column;justify-content:space-between;padding:40px;max-width:560px}
.slide__info h3{font-size:40px;line-height:48px;letter-spacing:-.02em;font-weight:500;margin-top:40px}
.slide__info dl{margin:16px 0 0;display:grid;gap:4px;color:rgba(255,255,255,.75)}
.slide__info dd{margin:0}
.slide__info p{color:rgba(255,255,255,.85);margin-top:20px}
.slider__ui{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:32px}
.progress{display:flex;gap:16px;flex:1;max-width:560px}
.progress button{flex:1;text-align:left;color:rgba(255,255,255,.5);font-size:16px;padding-top:12px;border-top:3px solid rgba(255,255,255,.2);transition:color .3s,border-color .3s}
.progress button[aria-current="true"]{color:#fff;border-color:#fff}
.slider__arrows{display:flex;gap:12px}
.arrow-btn{width:56px;height:56px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.5);color:#fff;transition:background .2s}
.arrow-btn:hover{background:rgba(255,255,255,.1)}
.arrow-btn svg{width:22px;height:22px}

/* ---------- Process ---------- */
.process{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:start}
.process__left{position:sticky;top:120px;display:flex;flex-direction:column;gap:24px;align-items:flex-start}
.process__img{margin-top:16px;aspect-ratio:16/11;width:100%;overflow:hidden}
.process__img img{width:100%;height:100%;object-fit:cover}
.steps{display:flex;flex-direction:column}
.step{border-bottom:1px solid var(--line);padding:32px 0;cursor:pointer}
.step:first-child{border-top:1px solid var(--line)}
.step.is-open{border:1px solid var(--orange);padding:32px;margin:-1px 0 0}
.step__head{display:flex;justify-content:space-between;align-items:center;gap:16px;width:100%;text-align:left}
.step__n{font-size:24px;line-height:32px;color:var(--grey)}
.step.is-open .step__n{color:var(--orange)}
.step__plus{width:32px;height:32px;display:grid;place-items:center;border:1px solid var(--stroke);transition:transform .3s var(--ease)}
.step.is-open .step__plus{transform:rotate(45deg);border-color:var(--orange);color:var(--orange)}
.step__plus svg{width:16px;height:16px}
.step h3{font-size:40px;line-height:48px;letter-spacing:-.02em;font-weight:500;color:var(--navy);margin-top:16px}
.step__body{display:grid;grid-template-rows:0fr;transition:grid-template-rows .45s var(--ease)}
.step.is-open .step__body{grid-template-rows:1fr}
.step__body>div{overflow:hidden}
.step__body p{font-size:20px;line-height:32px;color:var(--grey);padding-top:16px}

/* ---------- Peach cards (incarichi) ---------- */
.cards-2{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.pcard{background:var(--peach);padding:40px;display:flex;flex-direction:column;gap:20px}
.pcard__ico{width:60px;height:46px;display:grid;place-items:center;background:var(--orange-2);color:#fff}
.pcard__ico svg{width:26px;height:26px}
.pcard blockquote{margin:0;font-size:24px;line-height:32px;font-weight:500;color:var(--navy)}
.pcard p{color:var(--grey)}
.pcard footer{margin-top:auto;padding-top:12px;display:flex;justify-content:space-between;gap:16px;align-items:flex-end}
.pcard cite{font-style:normal;font-size:20px;line-height:28px;font-weight:600;color:var(--navy)}
.pcard small{display:block;font-size:14px;color:var(--grey);font-weight:400}

/* ---------- Listing cards (immobili / pricing style) ---------- */
.plans{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}
.plan{border:1px solid var(--stroke);padding:32px;display:flex;flex-direction:column;gap:20px;background:#fff}
.plan--dark{background:var(--navy);border-color:var(--navy);color:#fff}
.plan__img{margin:-32px -32px 8px;aspect-ratio:16/10;overflow:hidden;background:var(--bg)}
.plan__img img{width:100%;height:100%;object-fit:cover}
.plan h3{font-size:28px;line-height:36px;font-weight:500;letter-spacing:-.02em}
.plan__from{font-size:16px;color:var(--grey)}
.plan--dark .plan__from{color:rgba(255,255,255,.7)}
.plan__price{font-size:44px;line-height:52px;font-weight:500;letter-spacing:-.04em}
.plan__price small{font-size:18px;letter-spacing:0;color:var(--grey)}
.plan--dark .plan__price small{color:rgba(255,255,255,.7)}
.checks{display:grid;gap:12px}
.checks li{display:flex;gap:12px;color:var(--grey)}
.plan--dark .checks li{color:rgba(255,255,255,.82)}
.checks svg{flex:0 0 22px;width:22px;height:22px;color:var(--orange);margin-top:2px}
.plan .btn{margin-top:auto;justify-content:space-between}
.badge{display:inline-flex;align-self:flex-start;align-items:center;height:28px;padding:0 12px;font-size:13px;font-weight:600;letter-spacing:.02em;background:var(--peach);color:var(--orange)}
.plan--dark .badge{background:var(--orange);color:#fff}

/* ---------- Blog / insights ---------- */
.insights{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.post-main{display:flex;flex-direction:column;gap:20px}
.post-main__img{aspect-ratio:600/280;overflow:hidden}
.post-main__img img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
.post-main:hover img{transform:scale(1.04)}
.post-meta{display:flex;justify-content:space-between;align-items:center;gap:16px;color:var(--grey);font-size:18px}
.post-title{font-size:24px;line-height:32px;font-weight:500;color:var(--navy)}
.post-by{display:flex;align-items:center;gap:12px;font-size:18px;color:var(--grey)}
.post-by b{font-weight:500;color:var(--navy)}
.post-by i{width:8px;height:8px;border-radius:50%;background:var(--orange-2)}
.post-list{display:flex;flex-direction:column;gap:32px}
.post-sm{border:1px solid var(--stroke);padding:24px;display:flex;flex-direction:column;gap:20px;transition:border-color .2s}
.post-sm:hover{border-color:var(--orange)}

/* ---------- CTA band ---------- */
.cta{position:relative;background:var(--slate);color:#fff;overflow:hidden}
.cta__bg{position:absolute;inset:0;opacity:.22;mix-blend-mode:luminosity}
.cta__bg img{width:100%;height:100%;object-fit:cover}
.cta .container{position:relative;text-align:center;padding-top:120px;padding-bottom:120px;display:flex;flex-direction:column;align-items:center;gap:32px}
.cta p{max-width:760px;font-size:20px;line-height:32px;color:rgba(255,255,255,.92)}
.cta__btns{display:flex;flex-wrap:wrap;justify-content:center;gap:24px;margin-top:16px}
.cta-orange{display:grid;grid-template-columns:1fr 1fr}
.cta-orange__box{background:var(--orange-2);color:#fff;padding:80px;display:flex;flex-direction:column;gap:24px;align-items:flex-start}
.cta-orange__box h2{font-size:48px;line-height:56px;font-weight:500;letter-spacing:-.04em}
.cta-orange__box p{font-size:18px;line-height:28px;color:rgba(255,255,255,.92);max-width:520px}
.cta-orange__img{min-height:420px}
.cta-orange__img img{width:100%;height:100%;object-fit:cover}

/* ---------- Footer ---------- */
.footer{background:var(--navy);color:#fff;padding:80px 0 40px}
.footer__box{border:1px solid rgba(255,255,255,.7);padding:48px;display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:48px}
.footer__brand img{height:52px;width:auto}
.footer__brand h3{font-size:24px;line-height:32px;font-weight:500;margin-top:40px}
.footer__brand p{color:rgba(255,255,255,.78);margin-top:12px;max-width:380px}
.footer__contact{margin-top:28px;display:flex;background:#fff;padding:8px;max-width:420px}
.footer__contact a{flex:1;display:flex;align-items:center;gap:10px;color:var(--ink);padding:0 12px;font-size:15px}
.footer__contact a:last-child{flex:0 0 auto;background:var(--orange-2);color:#fff;padding:10px 16px;font-weight:500}
.footer__contact svg{width:18px;height:18px}
.footer h4{font-size:24px;line-height:32px;font-weight:500;margin-bottom:24px}
.footer ul{display:grid;gap:16px}
.footer li a,.footer li span{color:rgba(255,255,255,.78);transition:color .2s}
.footer li a:hover{color:#fff}
.footer__bottom{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;padding-top:32px;color:rgba(255,255,255,.65);font-size:15px}
.footer__bottom a:hover{color:#fff}

/* ---------- Projects ---------- */
.feature-proj{display:grid;grid-template-columns:1fr 1fr;gap:24px 80px;align-items:start}
.feature-proj__meta{display:flex;gap:32px;justify-content:flex-end;color:var(--grey)}
.feature-proj__meta span{display:flex;gap:8px;align-items:center}
.dot{width:8px;height:8px;border-radius:50%;background:var(--orange-2);flex:0 0 8px}
.feature-proj__img{grid-column:1/-1;height:560px;overflow:hidden;margin:16px 0 8px}
.feature-proj__img img{width:100%;height:100%;object-fit:cover}
.feature-proj__desc{font-size:28px;line-height:38px;letter-spacing:-.02em;color:var(--navy);display:flex;flex-direction:column;gap:20px;align-items:flex-start}
.filters{display:flex;flex-wrap:wrap;gap:12px;margin:40px 0 56px;align-items:center}
.filter{height:44px;padding:0 18px;border:1px solid var(--stroke);font-size:15px;font-weight:500;color:var(--ink);transition:all .2s}
.filter:hover{border-color:var(--ink)}
.filter[aria-pressed="true"]{background:var(--orange);border-color:var(--orange);color:#fff}
.pgrid{display:grid;grid-template-columns:1fr 1fr;gap:64px 40px}
.pgrid .pcard-proj:nth-child(even){margin-top:96px}
.pcard-proj{display:flex;flex-direction:column;gap:16px}
.pcard-proj__img{aspect-ratio:600/420;overflow:hidden;background:var(--bg)}
.pcard-proj__img img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
.pcard-proj:hover .pcard-proj__img img{transform:scale(1.05)}
.pcard-proj h3{font-size:32px;line-height:40px;font-weight:500;letter-spacing:-.02em;color:var(--navy)}
.pcard-proj__row{display:flex;justify-content:space-between;align-items:center;gap:16px}
.pcard-proj[hidden]{display:none}
.pgrid--3{grid-template-columns:repeat(3,1fr)}
.pgrid--3 .pcard-proj:nth-child(even){margin-top:0}
.pgrid--3 .pcard-proj h3{font-size:26px;line-height:34px}

/* Project detail */
.pd-head{display:grid;grid-template-columns:1fr 1fr;gap:48px 80px;padding-top:calc(var(--header-h) + 64px)}
.pd-head h1{font-size:64px;line-height:72px;font-weight:500;letter-spacing:-.04em;color:var(--navy)}
.pd-head p{font-size:18px;line-height:30px;color:var(--grey)}
.pd-gallery{margin-top:64px}
.pd-main{height:640px;overflow:hidden;background:var(--bg);position:relative}
.pd-main img{width:100%;height:100%;object-fit:cover}
.pd-thumbs{display:flex;gap:12px;margin-top:12px;overflow-x:auto;padding-bottom:4px}
.pd-thumbs button{flex:0 0 140px;height:96px;opacity:.55;transition:opacity .2s;border:2px solid transparent}
.pd-thumbs button[aria-current="true"]{opacity:1;border-color:var(--orange)}
.pd-thumbs img{width:100%;height:100%;object-fit:cover}
.pd-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:32px;padding:48px 0;border-bottom:1px solid var(--line)}
.pd-facts dt{font-weight:600;color:var(--navy);margin-bottom:8px}
.pd-facts dd{margin:0;color:var(--grey)}
.pd-body{display:grid;grid-template-columns:3fr 9fr;gap:80px;padding:64px 0 0}
.pd-body aside{display:flex;flex-direction:column;gap:24px}
.pd-body aside .box{border:1px solid var(--stroke);padding:24px}
.pd-body aside .box h4{font-size:16px;font-weight:600;color:var(--navy);margin-bottom:8px}
.prose{max-width:760px}
.prose h2{font-size:32px;line-height:40px;font-weight:500;letter-spacing:-.02em;color:var(--navy);margin:48px 0 16px}
.prose h2:first-child{margin-top:0}
.prose h3{font-size:22px;line-height:30px;font-weight:600;color:var(--navy);margin:32px 0 10px}
.prose p{color:var(--grey);font-size:18px;line-height:30px;margin:0 0 16px}
.prose ul{display:grid;gap:14px;margin:8px 0 24px}
.prose li{position:relative;padding-left:24px;color:var(--grey);font-size:17px;line-height:28px}
.prose li::before{content:"";position:absolute;left:0;top:10px;width:8px;height:8px;background:var(--orange-2)}
.prose li b{color:var(--navy);font-weight:600}
.prose a{color:var(--orange);text-decoration:underline;text-underline-offset:3px}
.masonry{columns:3;column-gap:16px}
.masonry button{display:block;width:100%;margin-bottom:16px;overflow:hidden;break-inside:avoid}
.masonry img{width:100%;transition:transform .6s var(--ease)}
.masonry button:hover img{transform:scale(1.04)}

/* Lightbox */
.lb{position:fixed;inset:0;z-index:80;background:rgba(10,14,20,.94);display:none;align-items:center;justify-content:center;padding:64px 24px}
.lb.is-open{display:flex}
.lb img{max-height:100%;max-width:min(1400px,100%);object-fit:contain}
.lb__close,.lb__prev,.lb__next{position:absolute;width:52px;height:52px;display:grid;place-items:center;color:#fff;border:1px solid rgba(255,255,255,.4)}
.lb__close{top:16px;right:16px}
.lb__prev{left:16px;top:50%;transform:translateY(-50%)}
.lb__next{right:16px;top:50%;transform:translateY(-50%)}
.lb svg{width:22px;height:22px}
.lb__count{position:absolute;bottom:20px;left:0;right:0;text-align:center;color:rgba(255,255,255,.7);font-size:14px}

/* ---------- About page ---------- */
.about-hero{display:grid;grid-template-columns:7fr 5fr;gap:64px;align-items:end;margin-top:56px}
.about-hero__img{height:620px;overflow:hidden}
.about-hero__img img{width:100%;height:100%;object-fit:cover;object-position:center 20%}
.about-hero__side{display:flex;flex-direction:column;gap:24px}
.about-hero__side .quote{font-size:28px;line-height:38px;letter-spacing:-.02em;color:var(--navy);font-weight:500}
.about-hero__side .quote::before{content:"“";display:block;font-size:72px;line-height:40px;color:var(--orange-2)}
.numbers{display:flex;justify-content:center;gap:0;margin-top:56px;flex-wrap:wrap}
.numbers__item{display:flex;align-items:center;gap:16px;padding:24px 40px}
.numbers__item.is-boxed{border:1px solid var(--stroke)}
.numbers__item b{font-size:56px;line-height:64px;font-weight:500;letter-spacing:-.04em;color:var(--navy)}
.numbers__item span{font-size:15px;line-height:22px;color:var(--grey);max-width:120px}
.story{display:grid;grid-template-columns:1fr 1fr;gap:80px}
.story__text{display:flex;flex-direction:column;gap:20px}
.story__text p{color:var(--grey);font-size:17px;line-height:28px}
.values{display:flex;flex-direction:column;margin-top:24px}
.value{display:flex;gap:20px;padding:24px;border:1px solid var(--stroke);margin-top:-1px}
.value:nth-child(3){border-color:transparent}
.value h3{font-size:24px;line-height:32px;font-weight:500;color:var(--navy);margin-bottom:6px}
.value p{font-size:15px;line-height:24px;color:var(--grey)}
.value .icon-box{flex:0 0 48px;width:48px;height:48px}
.value .icon-box svg{width:24px;height:24px}
.team{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.member{border:1px solid var(--line);display:flex;flex-direction:column}
.member__img{aspect-ratio:1/1;overflow:hidden;background:var(--bg);display:grid;place-items:center}
.member__img img{width:100%;height:100%;object-fit:cover}
.member__img--logo img{object-fit:contain;padding:40px;background:#fff}
.member__info{display:flex;justify-content:space-between;gap:12px;padding:16px 20px}
.member__info b{font-weight:600;color:var(--navy)}
.member__info span{display:flex;gap:8px;align-items:baseline;color:var(--grey);font-size:15px;text-align:right}
.member__info .dot{transform:translateY(-1px)}
.member p{padding:0 20px 20px;color:var(--grey);font-size:15px;line-height:24px}
.video-band{background:var(--navy);color:#fff;text-align:center;padding:120px 0 0;overflow:hidden}
.video-band .h2{color:#fff}
.video-band p{color:rgba(255,255,255,.82);margin-top:20px;font-size:18px}
.video-band__media{position:relative;margin-top:64px;height:560px}
.video-band__media img{width:100%;height:100%;object-fit:cover}
.video-band__media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,var(--navy) 0%,rgba(34,46,60,.15) 40%)}
.cert{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.cert__imgs{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.cert__imgs button{background:#fff;padding:12px;border:1px solid var(--line)}

/* ---------- Timeline (incarichi) ---------- */
.tl{position:relative;display:flex;flex-direction:column}
.tl__item{display:grid;grid-template-columns:260px 1fr;gap:48px;padding:40px 0;border-top:1px solid var(--line)}
.tl__date{font-size:15px;color:var(--grey);display:flex;flex-direction:column;gap:12px}
.tl__date b{font-size:20px;line-height:28px;color:var(--orange);font-weight:500}
.tl__body h3{font-size:28px;line-height:36px;font-weight:500;letter-spacing:-.02em;color:var(--navy)}
.tl__body .addr{color:var(--grey-2);font-size:15px;margin-top:4px}
.tl__body p{color:var(--grey);margin-top:16px;max-width:820px}
.tl__body .tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.pill{display:inline-flex;align-items:center;height:30px;padding:0 12px;background:var(--bg);font-size:13px;font-weight:500;color:var(--ink)}
.pill--o{background:var(--peach);color:var(--orange)}

/* ---------- Partners ---------- */
.partners{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.partner{border:1px solid var(--stroke);display:flex;flex-direction:column;background:#fff;transition:border-color .2s}
.partner:hover{border-color:var(--orange)}
.partner__logo{height:160px;display:grid;place-items:center;background:var(--bg);padding:24px}
.partner__logo img{max-height:110px;width:auto;object-fit:contain;mix-blend-mode:multiply}
.partner__logo .initials{font-size:40px;font-weight:600;letter-spacing:-.04em;color:var(--slate)}
.partner__body{padding:24px;display:flex;flex-direction:column;gap:10px;flex:1}
.partner__cat{font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--orange)}
.partner h3{font-size:22px;line-height:30px;font-weight:500;color:var(--navy)}
.partner p{color:var(--grey);font-size:15px;line-height:24px}
.partner__contacts{margin-top:auto;padding-top:12px;display:grid;gap:6px;font-size:15px}
.partner__contacts a{display:flex;gap:8px;align-items:center;color:var(--ink)}
.partner__contacts a:hover{color:var(--orange)}
.partner__contacts svg{width:16px;height:16px;color:var(--orange);flex:0 0 16px}

/* ---------- Contact ---------- */
.contact{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:start}
.contact__info{display:flex;flex-direction:column;gap:24px}
.contact__info .big{font-size:40px;line-height:48px;letter-spacing:-.02em;font-weight:500;color:var(--navy)}
.cinfo{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--stroke)}
.cinfo>div{padding:24px;display:flex;flex-direction:column;gap:6px}
.cinfo>div+div{border-left:1px solid var(--stroke)}
.cinfo>div.full{grid-column:1/-1;border-left:0;border-top:1px solid var(--stroke)}
.cinfo h4{font-size:16px;font-weight:600;color:var(--navy);display:flex;gap:8px;align-items:center}
.cinfo h4 svg{width:18px;height:18px;color:var(--orange)}
.cinfo a,.cinfo span{color:var(--grey);font-size:15px;line-height:24px}
.cinfo a:hover{color:var(--orange)}
.form{background:var(--peach-soft);padding:40px;display:grid;grid-template-columns:1fr 1fr;gap:20px}
.form h2{grid-column:1/-1;font-size:28px;line-height:36px;font-weight:500;color:var(--navy);text-align:center;margin-bottom:8px}
.field{display:flex;flex-direction:column;gap:8px}
.field--full{grid-column:1/-1}
.field label{font-size:15px;font-weight:600;color:var(--navy)}
.field input,.field select,.field textarea{font:inherit;font-size:16px;height:52px;padding:0 16px;border:1px solid var(--stroke);background:#fff;color:var(--ink);border-radius:0;width:100%}
.field textarea{height:140px;padding:14px 16px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--orange)}
.consent{grid-column:1/-1;display:flex;gap:10px;font-size:14px;line-height:22px;color:var(--grey)}
.consent input{width:18px;height:18px;margin-top:2px;accent-color:var(--orange)}
.consent a{color:var(--orange);text-decoration:underline}
.form .btn{grid-column:1/-1;justify-self:center}
.form__note{grid-column:1/-1;text-align:center;font-size:13px;color:var(--grey)}
.map{height:480px;border:1px solid var(--line);margin-top:48px}
.map iframe{width:100%;height:100%;border:0;filter:grayscale(.3)}
.faq{display:flex;flex-direction:column;max-width:1000px;margin:0 auto}
.faq__item{border:1px solid var(--stroke);margin-top:-1px}
.faq__q{display:grid;grid-template-columns:64px 1fr 32px;gap:16px;align-items:center;padding:28px 32px;text-align:left;width:100%}
.faq__q .n{font-size:20px;color:var(--orange)}
.faq__q .t{font-size:24px;line-height:32px;font-weight:500;color:var(--navy)}
.faq__q .p{width:32px;height:32px;display:grid;place-items:center;transition:transform .3s}
.faq__q .p svg{width:18px;height:18px}
.faq__item.is-open .faq__q .p{transform:rotate(45deg);color:var(--orange)}
.faq__a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .4s var(--ease)}
.faq__item.is-open .faq__a{grid-template-rows:1fr}
.faq__a>div{overflow:hidden}
.faq__a p{padding:0 32px 28px 112px;color:var(--grey);font-size:17px;line-height:28px}

/* Immobiliare filter row */
.imm-tabs{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin-bottom:48px}

/* ---------- Reveal ---------- */
.rv{opacity:0;transform:translateY(24px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
.rv.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .rv{opacity:1;transform:none;transition:none}
  .marquee__track,.hero__bg img{animation:none}
  html{scroll-behavior:auto}
}

/* ---------- Responsive ---------- */
@media (max-width:1200px){
  :root{--gutter:40px}
  .display{font-size:64px;line-height:72px}
  .intro__title{font-size:52px;line-height:62px}
  .nav a{padding:6px 12px}
  .footer__box{grid-template-columns:1fr 1fr;}
}
@media (max-width:1024px){
  .nav,.header__cta .btn{display:none}
  .burger{display:grid}
  .services,.plans,.partners,.team,.pgrid--3{grid-template-columns:1fr 1fr}
  .why,.process,.story,.contact,.cert,.about-hero,.pd-body,.feature-proj{grid-template-columns:1fr}
  .process__left{position:static}
  .stats{grid-template-columns:1fr 1fr}
  .stat:nth-child(3){padding-left:0;border-left:0}
  .stat:nth-child(n+3){margin-top:32px}
  .cta-orange{grid-template-columns:1fr}
  .feature-proj__meta{justify-content:flex-start}
  .pd-head{grid-template-columns:1fr}
}
@media (max-width:767px){
  :root{--gutter:16px;--header-h:76px}
  body{font-size:16px}
  .section{padding:80px 0}
  .section--tight{padding:56px 0}
  .display{font-size:44px;line-height:50px}
  .h1,.pd-head h1{font-size:44px;line-height:50px}
  .h2{font-size:36px;line-height:44px}
  .h3{font-size:30px;line-height:38px}
  .lead{font-size:18px;line-height:28px}
  .lead-sm{font-size:17px;line-height:28px}
  .brand img{height:36px}
  .hero__content{gap:24px;padding-bottom:120px}
  .hero__content p{font-size:17px;line-height:28px}
  .hero__meta .container{flex-direction:column;gap:6px;align-items:center}
  .phero{padding:calc(var(--header-h) + 40px) 0 48px}
  .phero__media{height:300px;margin-top:40px}
  .intro__top{flex-direction:column;align-items:flex-start;gap:32px}
  .intro__title{font-size:34px;line-height:42px}
  .stats{grid-template-columns:1fr;margin-top:48px}
  .stat,.stat+.stat{padding:24px 0;border-left:0;border-bottom:1px solid var(--line);margin-top:0!important}
  .stat__n{font-size:52px;line-height:60px}
  .stat__l{font-size:18px}
  .shead{margin-bottom:48px;gap:16px}
  .shead--split{flex-direction:column;align-items:flex-start;gap:20px}
  .services,.why__grid,.plans,.partners,.team,.cards-2,.insights,.pgrid,.pgrid--3{grid-template-columns:1fr}
  .services{gap:56px}
  .service h3,.why__item h3,.pcard-proj h3{font-size:26px;line-height:34px}
  .why{gap:48px}
  .why__left .btn{margin-top:8px}
  .feat__head{flex-direction:column;align-items:flex-start;gap:20px;margin-bottom:40px}
  .slide{height:520px}
  .slide::after{background:linear-gradient(180deg,rgba(18,24,32,.75) 0%,rgba(18,24,32,.2) 60%,rgba(18,24,32,.55) 100%)}
  .slide__info{padding:24px}
  .slide__info h3{font-size:30px;line-height:38px;margin-top:24px}
  .slider__arrows{display:none}
  .process{gap:40px}
  .step.is-open{padding:24px}
  .step h3{font-size:28px;line-height:36px}
  .step__body p{font-size:17px;line-height:28px}
  .pcard{padding:28px}
  .pcard blockquote{font-size:20px;line-height:30px}
  .plan__price{font-size:36px;line-height:44px}
  .post-meta,.post-by{font-size:16px}
  .cta .container{padding-top:80px;padding-bottom:80px}
  .cta__btns{flex-direction:column;width:100%}
  .cta__btns .btn{justify-content:space-between}
  .cta-orange__box{padding:48px 16px}
  .cta-orange__box h2{font-size:36px;line-height:44px}
  .cta-orange__img{min-height:260px}
  .footer{padding:56px 0 32px}
  .footer__box{grid-template-columns:1fr;padding:28px 20px;gap:36px}
  .footer__contact{flex-direction:column;gap:8px}
  .footer__contact a{padding:10px 12px}
  .footer__bottom{flex-direction:column;text-align:center;align-items:center}
  .feature-proj__img,.pd-main{height:320px}
  .feature-proj__desc{font-size:22px;line-height:32px}
  .feature-proj__meta{flex-wrap:wrap;gap:12px 24px}
  .pgrid .pcard-proj:nth-child(even){margin-top:0}
  .pd-facts{grid-template-columns:1fr 1fr;gap:24px}
  .pd-thumbs button{flex-basis:96px;height:72px}
  .masonry{columns:2;column-gap:10px}
  .masonry button{margin-bottom:10px}
  .about-hero__img{height:420px}
  .about-hero__side .quote{font-size:22px;line-height:32px}
  .numbers__item{padding:16px 20px;width:100%;justify-content:flex-start}
  .numbers__item b{font-size:44px;line-height:52px}
  .video-band{padding-top:80px}
  .video-band__media{height:300px;margin-top:40px}
  .tl__item{grid-template-columns:1fr;gap:12px;padding:28px 0}
  .tl__date{flex-direction:row;flex-wrap:wrap;gap:8px 16px;align-items:baseline}
  .tl__body h3{font-size:22px;line-height:30px}
  .contact{gap:48px}
  .contact__info .big{font-size:28px;line-height:36px}
  .cinfo{grid-template-columns:1fr}
  .cinfo>div+div{border-left:0;border-top:1px solid var(--stroke)}
  .form{grid-template-columns:1fr;padding:24px 16px}
  .map{height:340px}
  .faq__q{grid-template-columns:36px 1fr 28px;padding:20px 16px;gap:10px}
  .faq__q .t{font-size:18px;line-height:26px}
  .faq__a p{padding:0 16px 20px 62px;font-size:16px;line-height:26px}
  .btn{height:52px}
}

/* ---------- Horizontal project slider (Figma: featured cards) ---------- */
.hslider__track{display:flex;gap:24px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;padding-bottom:4px}
.hslider__track::-webkit-scrollbar{display:none}
.hcard{flex:0 0 min(520px,86%);height:600px;position:relative;overflow:hidden;scroll-snap-align:start;color:#fff;background:var(--navy-2)}
.hcard img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 1s var(--ease)}
.hcard:hover img{transform:scale(1.05)}
.hcard::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(18,24,32,.72) 0%,rgba(18,24,32,.1) 45%,rgba(18,24,32,.55) 100%)}
.hcard__info{position:relative;z-index:1;padding:40px;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.hcard__info h3{font-size:32px;line-height:40px;font-weight:500;letter-spacing:-.02em;margin:28px 0 8px}
.hcard__info span:not(.tag){color:rgba(255,255,255,.75)}
.hcard__go{position:absolute;z-index:1;left:40px;bottom:36px;display:flex;align-items:center;gap:8px;font-weight:500}
.hcard__go svg{width:20px;height:20px;transition:transform .25s var(--ease)}
.hcard:hover .hcard__go svg{transform:translate(3px,-3px)}
.hbar{flex:1;max-width:560px;height:3px;background:rgba(255,255,255,.2);position:relative}
.hbar__fill{position:absolute;left:0;top:0;bottom:0;width:20%;background:#fff;transition:left .3s var(--ease),width .3s}
.hcount{color:rgba(255,255,255,.75);font-size:16px;min-width:64px}
@media (max-width:767px){.hcard{height:480px}.hcard__info{padding:24px}.hcard__info h3{font-size:26px;line-height:34px}.hcard__go{left:24px;bottom:24px}}
.mnav nav a svg{width:22px;height:22px;flex:0 0 22px;opacity:.7}
.mnav nav{overflow-y:auto}
.mnav nav a{font-size:28px;line-height:36px;padding:12px 0}

/* ---------- Hero meta: contatti cliccabili ---------- */
.hero__meta span,.hero__meta a{white-space:nowrap}
.hero__contacts{display:inline-flex;gap:24px}
.hero__contacts a{display:inline-flex;align-items:center;gap:8px;color:rgba(255,255,255,.85);transition:color .2s}
.hero__contacts a:hover{color:#fff}
@media (max-width:767px){
  .hide-sm{display:none}
  .hero{min-height:auto;align-items:stretch;flex-direction:column}
  .hero>.container{flex:1;display:flex;align-items:center}
  .hero__content{padding:calc(var(--header-h) + 40px) 0 32px;gap:20px}
  .hero .display{font-size:38px;line-height:44px}
  .hero__content p{font-size:16px;line-height:26px}
  .hero__content .btn{width:100%;justify-content:space-between}
  .hero__meta{position:relative;bottom:auto;padding:0 0 24px}
  .hero__meta .container{flex-direction:column;align-items:stretch;gap:12px;padding-top:20px;border-top:1px solid rgba(255,255,255,.18);max-width:calc(100% - 32px);padding-left:0;padding-right:0}
  .hero__addr{justify-content:center;font-size:13px}
  .hero__mail{display:none!important}
  .hero__contacts{justify-content:center}
  .hero__contacts a{height:48px;padding:0 20px;border:1px solid rgba(255,255,255,.5);color:#fff;font-size:16px;font-weight:500;width:100%;justify-content:center;background:rgba(255,255,255,.06);backdrop-filter:blur(6px)}
  .hero__contacts a svg{width:18px;height:18px}
}
