:root{--ink:#153436;--deep:#103f43;--teal:#176269;--gold:#c6a66a;--ivory:#f6f3ec;--paper:#fffdf9;--mist:#e8efec;--muted:#617476;--line:rgba(21,52,54,.14);--serif:"Playfair Display",Georgia,serif;--sans:"DM Sans",Arial,sans-serif;--shadow:0 24px 70px rgba(16,63,67,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);line-height:1.65}img{display:block;max-width:100%}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}.skip-link{position:fixed;top:-60px;left:1rem;z-index:1000;background:#fff;padding:.7rem 1rem}.skip-link:focus{top:1rem}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.site-header{position:fixed;z-index:100;top:0;left:0;right:0;height:86px;padding:0 clamp(1.25rem,5vw,5rem);display:flex;align-items:center;justify-content:space-between;background:rgba(255,253,249,.9);backdrop-filter:blur(18px);border-bottom:1px solid transparent;transition:.25s}.site-header.scrolled{height:72px;border-color:var(--line)}.brand{display:flex;align-items:center;gap:.7rem}.brand img{width:54px;height:54px;object-fit:contain}.brand span{display:flex;flex-direction:column;line-height:1.15}.brand b{font-family:var(--serif);font-size:1.08rem;font-weight:600}.brand small{margin-top:.28rem;color:var(--muted);font-size:.68rem;letter-spacing:.08em;text-transform:uppercase}.site-header nav{display:flex;align-items:center;gap:clamp(1rem,2vw,2rem);font-size:.88rem;font-weight:500}.site-header nav a:not(.nav-cta):hover{color:var(--teal)}.nav-cta{padding:.72rem 1.1rem;border:1px solid var(--deep);border-radius:99px}.menu-toggle{display:none;background:none;border:0;padding:.5rem}.menu-toggle span:not(.sr-only){display:block;width:25px;height:1px;background:var(--ink);margin:5px}
.hero{min-height:100vh;padding:130px clamp(1.25rem,7vw,7rem) 60px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:clamp(2rem,6vw,7rem);background:radial-gradient(circle at 15% 20%,#eef4f0 0,transparent 35%),var(--ivory)}.eyebrow{text-transform:uppercase;color:var(--teal);font-size:.72rem;font-weight:600;letter-spacing:.22em;margin:0 0 1.2rem}.hero h1,.section-heading h2,.contact h2,.video-copy h2{font-family:var(--serif);font-size:clamp(3rem,6.2vw,6.3rem);font-weight:500;line-height:.99;letter-spacing:-.035em;margin:0}.hero-lead{max-width:610px;color:var(--muted);font-size:1.1rem;margin:2rem 0}.hero-actions{display:flex;gap:.8rem;flex-wrap:wrap}.button{display:inline-flex;justify-content:center;align-items:center;padding:.88rem 1.35rem;border-radius:99px;border:1px solid var(--deep);cursor:pointer}.primary{background:var(--deep);color:white}.primary:hover{background:var(--teal)}.secondary:hover{background:white}.hero-points{list-style:none;padding:0;margin:2.5rem 0 0;display:flex;gap:1.5rem;flex-wrap:wrap;font-size:.77rem;color:var(--muted)}.hero-points li:before{content:"";display:inline-block;width:6px;height:6px;background:var(--gold);border-radius:50%;margin-right:.6rem}.hero-visual{position:relative;max-width:620px;justify-self:end}.hero-visual>img{width:100%;height:min(68vh,720px);object-fit:cover;object-position:center top;border-radius:48% 48% 8px 8px;box-shadow:var(--shadow)}.hero-note{position:absolute;left:-3rem;bottom:2rem;display:flex;gap:1rem;width:min(320px,80%);background:rgba(255,253,249,.96);padding:1.2rem;box-shadow:var(--shadow)}.hero-note span{font-family:var(--serif);font-size:1.8rem;color:var(--gold)}.hero-note p{font-size:.8rem;margin:0}
.section{padding:clamp(5rem,9vw,9rem) clamp(1.25rem,7vw,7rem)}.section-heading{display:grid;grid-template-columns:1fr 1fr;gap:3rem;margin-bottom:4rem}.section-heading .eyebrow{grid-column:1/-1;margin-bottom:-1.5rem}.section-heading h2,.contact h2,.video-copy h2{font-size:clamp(2.5rem,4.6vw,4.8rem)}.section-heading>p:last-child{color:var(--muted);align-self:end;max-width:480px}.intro{display:grid;grid-template-columns:1fr 1fr;gap:clamp(3rem,8vw,9rem)}.intro .section-heading{display:block}.intro-copy{padding-top:3.4rem;color:var(--muted)}.intro-copy .large{font-family:var(--serif);font-size:1.55rem;line-height:1.5;color:var(--ink)}details{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:1.1rem 0;margin-top:2rem}summary{cursor:pointer;color:var(--ink);font-weight:600}details li{margin:.5rem 0}.services{background:var(--deep);color:white}.services .eyebrow{color:#d5be91}.services .section-heading>p:last-child{color:#b7c8c7}.service-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid rgba(255,255,255,.2)}.service-card{padding:2rem 1.5rem 1rem;border-right:1px solid rgba(255,255,255,.2);min-height:320px;display:flex;flex-direction:column}.service-card>span{color:#d5be91;font-size:.75rem}.service-card h3{font-family:var(--serif);font-size:1.7rem;font-weight:500;margin:2.5rem 0 .5rem}.service-card p{color:#b7c8c7;font-size:.9rem}.service-card a{margin-top:auto;font-size:.85rem}.service-card i{font-style:normal;color:#d5be91;margin-left:.3rem}.philosophy{padding:6rem 2rem;background:var(--mist);text-align:center}.philosophy-inner{max-width:850px;margin:auto}.philosophy img{width:100px;margin:0 auto 2rem}.philosophy p{font-family:var(--serif);font-size:clamp(2rem,4vw,4rem);line-height:1.25;margin:0}.cases-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem}.case-card{border:1px solid var(--line);padding:1rem}.case-images{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}.case-card figure{position:relative;margin:0}.case-card img{width:100%;aspect-ratio:1/1;object-fit:cover}.case-card figcaption{position:absolute;left:.5rem;bottom:.5rem;background:rgba(16,63,67,.85);color:#fff;padding:.25rem .5rem;font-size:.68rem;text-transform:uppercase;letter-spacing:.12em}.case-card h3{font-family:var(--serif);font-size:1.4rem;margin:1rem 0 .2rem}.case-card p,.portfolio-empty{color:var(--muted)}.portfolio-empty{padding:3rem;border:1px solid var(--line);text-align:center}.portfolio-empty .button{margin-top:1rem}.gallery{background:var(--ivory)}.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:260px;gap:.7rem}.gallery-item{padding:0;border:0;background:none;cursor:zoom-in;overflow:hidden}.gallery-item:nth-child(6n+1),.gallery-item:nth-child(6n+4){grid-row:span 2}.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.gallery-item:hover img{transform:scale(1.035)}.video-section{display:grid;grid-template-columns:.75fr 1.25fr;gap:5rem;align-items:center}.video-copy p:last-child{color:var(--muted)}.video-frame video{width:100%;max-height:680px;background:#0b2729;box-shadow:var(--shadow)}.reviews{background:#eef3f0}.review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.review-grid blockquote{background:var(--paper);margin:0;padding:2rem}.review-grid blockquote p{font-family:var(--serif);font-size:1.35rem}.review-grid footer{color:var(--muted);font-size:.8rem}.contact{background:var(--paper)}.contact-card{background:var(--deep);color:#fff;padding:clamp(2rem,5vw,5rem);display:grid;grid-template-columns:1fr 1fr;gap:clamp(3rem,8vw,8rem)}.contact-card>div>p{color:#c2d0cf}.contact-card ul{padding:0;list-style:none;margin-top:2rem}.contact-card li{display:grid;grid-template-columns:100px 1fr;border-top:1px solid rgba(255,255,255,.18);padding:.8rem 0;font-size:.88rem}.contact-card li a{grid-column:2}.contact form{display:grid;gap:1rem}.contact label{display:grid;gap:.35rem;color:#d9e2e1;font-size:.76rem}.contact input,.contact textarea{width:100%;padding:.75rem 0;border:0;border-bottom:1px solid rgba(255,255,255,.35);background:transparent;color:#fff;outline:0}.contact input:focus,.contact textarea:focus{border-color:#d5be91}.contact .consent{grid-template-columns:auto 1fr;align-items:start}.contact .consent input{width:auto;margin-top:.25rem}.contact .button{border-color:#d5be91;background:#d5be91;color:var(--deep);font-weight:600}.form-status{min-height:1.2em;margin:0;font-size:.85rem}.site-footer{padding:3rem clamp(1.25rem,7vw,7rem);display:grid;grid-template-columns:2fr 1fr 1fr;gap:2rem;align-items:center;border-top:1px solid var(--line)}.site-footer>div:nth-of-type(2){display:flex;gap:1rem}.site-footer>small{grid-column:1/-1;color:var(--muted)}.lightbox{width:min(94vw,1000px);padding:0;border:0;background:transparent}.lightbox::backdrop{background:rgba(5,25,27,.9)}.lightbox img{max-height:88vh;margin:auto}.lightbox button{position:fixed;right:2rem;top:1rem;border:0;background:none;color:#fff;font-size:3rem;cursor:pointer}.reveal{opacity:0;transform:translateY(18px);transition:opacity .7s,transform .7s}.reveal.visible{opacity:1;transform:none}
@media(max-width:980px){.site-header nav{position:absolute;left:0;right:0;top:100%;display:none;flex-direction:column;align-items:stretch;padding:1.5rem;background:var(--paper);border-bottom:1px solid var(--line)}.site-header nav.open{display:flex}.menu-toggle{display:block}.hero{grid-template-columns:1fr;padding-top:130px}.hero-visual{justify-self:center}.hero-note{left:1rem}.intro,.video-section,.contact-card{grid-template-columns:1fr}.service-grid{grid-template-columns:repeat(2,1fr)}.section-heading{grid-template-columns:1fr}.section-heading .eyebrow{margin-bottom:-2rem}.gallery-grid{grid-template-columns:repeat(3,1fr)}.review-grid{grid-template-columns:1fr}.site-footer{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.site-header{height:72px}.brand img{width:44px;height:44px}.brand small{font-size:.56rem}.hero{padding-inline:1.25rem}.hero h1{font-size:3.25rem}.hero-visual>img{height:60vh}.hero-note{position:relative;left:auto;bottom:auto;width:100%;margin-top:-1px}.section{padding-inline:1.25rem}.service-grid,.cases-grid{grid-template-columns:1fr}.service-card{min-height:260px;border-bottom:1px solid rgba(255,255,255,.2)}.gallery-grid{grid-template-columns:repeat(2,1fr);grid-auto-rows:190px}.gallery-item:nth-child(n){grid-row:span 1}.contact-card{padding:2rem 1.25rem}.site-footer{grid-template-columns:1fr}.site-footer>small{grid-column:auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reveal{opacity:1;transform:none;transition:none}}

/* Correzioni tipografiche per titoli e testimonianze */
.intro .section-heading .eyebrow{margin-bottom:1.2rem}
.reviews-heading .eyebrow{margin-bottom:0}
.reviews-heading h2{font-variant-ligatures:none;letter-spacing:-.02em}
.reviews-link{text-align:center;margin:2rem 0 0}

/* Logo DDT1 restaurato */
.site-header .brand img{width:220px;height:70px;object-fit:contain;object-position:left center}
.site-header .brand{gap:1rem}
.site-header .brand-copy{padding-left:1rem;border-left:1px solid var(--line)}
.site-header .brand-copy b{font-size:1.04rem;white-space:nowrap}
.site-header .brand-copy small{font-size:.64rem;white-space:nowrap}
.philosophy .philosophy-inner img{width:min(390px,82vw);height:auto;margin-bottom:2.5rem}
.site-footer .brand img{width:260px;height:auto;max-height:145px;object-fit:contain;object-position:left center}
@media(max-width:1180px){.site-header .brand img{width:150px}.site-header .brand-copy b{font-size:.9rem}.site-header .brand-copy small{font-size:.56rem}}
@media(max-width:760px){.site-header .brand{gap:.55rem}.site-header .brand img{width:105px;height:54px}.site-header .brand-copy{padding-left:.55rem}.site-header .brand-copy b{font-size:.76rem}.site-header .brand-copy small{font-size:.48rem;letter-spacing:.04em}}
@media(max-width:480px){.site-header .brand img{width:84px}.site-header .brand-copy b{font-size:.67rem}.site-header .brand-copy small{max-width:150px;white-space:normal;line-height:1.25}.site-footer .brand img{width:220px}}

/* Identità visiva DT — palette derivata dal moodboard fornito */
:root{--ink:#1d1d1d;--deep:#1d1d1d;--teal:#355675;--gold:#ad433b;--ivory:#f1efeb;--paper:#faf9f6;--mist:#ddd9d3;--muted:#6b6864;--line:rgba(29,29,29,.14);--serif:"Cormorant Garamond",Georgia,serif;--sans:"Manrope",Arial,sans-serif;--shadow:0 24px 70px rgba(29,29,29,.12)}
body{background:var(--paper);color:var(--ink)}
.site-header{height:94px;background:rgba(250,249,246,.92);border-bottom-color:rgba(29,29,29,.08)}
.site-header.scrolled{height:76px;background:rgba(250,249,246,.96)}
.site-header .brand{gap:0}
.site-header .brand img{width:185px;height:82px;object-fit:contain;object-position:left center}
.site-header nav{letter-spacing:.025em}
.site-header nav a:not(.nav-cta):hover{color:var(--gold)}
.nav-cta{border-radius:2px;border-color:var(--ink);padding:.78rem 1.15rem}
.nav-cta:hover{background:var(--ink);color:#fff}
.hero{background:linear-gradient(90deg,#f2f0ec 0 50%,#e5e2dc 50% 100%)}
.hero h1,.section-heading h2,.contact h2,.video-copy h2{letter-spacing:-.025em}
.eyebrow{color:var(--gold);font-weight:600}
.button{border-radius:2px;letter-spacing:.02em}
.primary{background:var(--ink);border-color:var(--ink)}
.primary:hover{background:var(--gold);border-color:var(--gold)}
.secondary{background:transparent}
.secondary:hover{background:#fff;border-color:var(--gold);color:var(--gold)}
.hero-points li:before{border-radius:0;background:var(--gold)}
.hero-visual>img{border-radius:0;filter:saturate(.8) contrast(1.02)}
.hero-note{border-left:4px solid var(--gold);box-shadow:var(--shadow)}
.hero-note span{color:var(--gold)}
.services{background:var(--ink)}
.services .eyebrow,.service-card>span{color:#bd5148}
.services .section-heading>p:last-child,.service-card p{color:#c8c5c0}
.service-card{transition:background .25s ease,color .25s ease}
.service-card:hover{background:#292929}
.philosophy{background:#dedbd5}
.philosophy .philosophy-inner img{width:min(175px,42vw);height:auto;margin-bottom:2.5rem}
.case-card{background:#fff;border-color:rgba(29,29,29,.13)}
.case-card figcaption{background:rgba(29,29,29,.88)}
.gallery{background:#f0eeea}
.gallery-item img{filter:saturate(.82) contrast(1.02)}
.video-frame video{background:#355675}
.reviews{background:#ddd9d3}
.review-grid blockquote{border-top:3px solid transparent;transition:border-color .25s ease,transform .25s ease}
.review-grid blockquote:hover{border-top-color:var(--gold);transform:translateY(-3px)}
.contact-card{background:#355675}
.contact .eyebrow{color:#c9574e}
.contact input:focus,.contact textarea:focus{border-color:#c9574e}
.contact .button{background:#ad433b;border-color:#ad433b;color:#fff}
.site-footer{background:#f0eeea}
.site-footer .brand img{width:230px;height:auto;max-height:120px}
@media(max-width:1180px){.site-header .brand img{width:155px}}
@media(max-width:980px){.hero{background:linear-gradient(180deg,#f2f0ec 0 52%,#e5e2dc 52% 100%)}.site-header nav{background:#faf9f6}}
@media(max-width:620px){.site-header{height:76px}.site-header .brand img{width:132px;height:64px}.hero{padding-top:115px}.site-footer .brand img{width:200px}}

/* Rifiniture logo e fascia contatti */
.site-header .brand{gap:1rem}
.site-header .brand-copy{display:flex;padding-left:1rem;border-left:1px solid rgba(29,29,29,.2)}
.site-header .brand-copy small{margin:0;color:#55514d;font-size:.62rem;font-weight:500;letter-spacing:.13em;line-height:1.35;white-space:nowrap}
.contact{padding-left:0;padding-right:0}
.contact-card{width:100%;padding-left:clamp(1.25rem,7vw,7rem);padding-right:clamp(1.25rem,7vw,7rem)}
@media(max-width:1180px){.site-header .brand{gap:.7rem}.site-header .brand-copy{padding-left:.7rem}.site-header .brand-copy small{font-size:.54rem;letter-spacing:.09em}}
@media(max-width:760px){.site-header .brand-copy small{max-width:165px;white-space:normal}}
@media(max-width:520px){.site-header .brand{gap:.45rem}.site-header .brand img{width:104px}.site-header .brand-copy{padding-left:.45rem}.site-header .brand-copy small{max-width:115px;font-size:.44rem;letter-spacing:.055em}}

.video-frame{display:flex;justify-content:center}
.video-frame iframe{display:block;width:min(100%,430px);aspect-ratio:9/16;max-height:76vh;border:0;background:#355675;box-shadow:var(--shadow)}

/* Logo definitivo fornito: il frame elimina i margini bianchi del file senza deformarlo. */
.official-logo-frame{position:relative;display:block;overflow:hidden;isolation:isolate}
.official-logo-frame img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:contain;transform:none;mix-blend-mode:multiply}
.site-header .brand{gap:0}
.site-header .brand .official-logo-header{width:164px;aspect-ratio:2/1;height:auto}
.site-header .brand .official-logo-header img{width:100%;height:100%;object-fit:contain;transform:none}
.philosophy .official-logo-feature{width:min(390px,82vw);aspect-ratio:2/1;height:auto;margin:0 auto 2.75rem}
.philosophy .philosophy-inner .official-logo-feature img{width:100%;height:100%;margin:0;max-width:none;object-fit:contain}
.site-footer .brand .official-logo-footer{width:410px;max-width:86vw;aspect-ratio:2/1;height:auto}
.site-footer .brand .official-logo-footer img{width:100%;height:100%;max-height:none;object-fit:contain}
@media(max-width:1180px){.site-header .brand .official-logo-header{width:146px}}
@media(max-width:760px){.site-header .brand .official-logo-header{width:126px}.site-footer .brand .official-logo-footer{width:340px}}
@media(max-width:390px){.site-header .brand .official-logo-header{width:112px}}
/* Casi clinici: immagini intere e accesso a tutti i risultati. */
.case-image{display:block;width:100%;padding:0;border:0;background:var(--ivory);cursor:zoom-in}
.case-card .case-image img{width:100%;aspect-ratio:1/1;object-fit:contain}
.case-card figcaption{pointer-events:none}
.cases-toggle{display:flex;margin:2rem auto 0;cursor:pointer}
[hidden]{display:none!important}
.case-image:focus-visible,.cases-toggle:focus-visible,.menu-toggle:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
.lightbox img{display:block;width:auto;height:auto;max-width:100%;max-height:85vh;max-height:85dvh;object-fit:contain}

/* La barra desktop mantiene la sua altezza anche durante lo scroll. */
@media(min-width:981px){.site-header.scrolled{height:94px}}

/* Il menu resta renderizzato per animare sia apertura sia chiusura. */
@media(max-width:980px){
  .site-header nav{display:flex;opacity:0;visibility:hidden;transform:translateY(-10px);pointer-events:none;max-height:calc(100dvh - 100%);overflow-y:auto;transition:opacity .25s ease,transform .25s ease,visibility 0s linear .25s}
  .site-header nav.open{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto;transition-delay:0s}
  .menu-toggle span:not(.sr-only){transition:transform .25s ease,opacity .2s ease}
  .menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
  .menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
  .menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
}
@media(prefers-reduced-motion:reduce){
  .site-header nav,.menu-toggle span:not(.sr-only),.reveal{transition:none}
  html{scroll-behavior:auto}
}
