/*
Theme Name: Centrocasa Atelier
Author: Centrocasa
Description: Tema vetrina personalizzato, catalogo modificabile, animazioni responsive.
Version: 3.9.0
Requires at least: 6.0
Text Domain: centrocasa
*/
:root{--ink:#f7f4ef;--dark:#171512}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#171512;color:var(--ink);font-family:Inter,"Helvetica Neue",Arial,sans-serif;font-weight:300}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}.site-header{position:fixed;z-index:100;top:0;left:0;right:0;display:flex;align-items:center;gap:25px;padding:20px 3.5%;background:linear-gradient(180deg,rgba(0,0,0,.58),transparent);transition:background .4s, padding .4s}.site-header.scrolled{background:rgba(20,18,16,.88);backdrop-filter:blur(16px);padding-top:12px;padding-bottom:12px}.brand{font-size:clamp(24px,2.7vw,40px);font-weight:500;letter-spacing:-.07em;white-space:nowrap}.main-nav{display:flex;align-items:center;justify-content:center;gap:clamp(8px,1vw,20px);flex:1}.main-nav a,.contacts a{font-size:clamp(10px,.78vw,13px);white-space:nowrap}.main-nav a:hover,.contacts a:hover{opacity:.65}.contacts{display:flex;gap:15px;align-items:center}.contacts a{display:inline-flex;align-items:center;gap:5px}.contacts svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:1.7}.menu-toggle{display:none;border:0;background:transparent;color:white;font-size:28px}.hero{height:100svh;min-height:680px;background:linear-gradient(90deg,rgba(0,0,0,.44),rgba(0,0,0,.06)),url("assets/hero.jpg") center/cover;display:flex;align-items:center;padding:10vw 6% 15vw;position:relative}.hero h1{font-size:clamp(56px,8vw,145px);font-weight:200;letter-spacing:-.075em;line-height:.99;max-width:1000px;margin:0 0 34px}.hero p{font-size:15px}.hero .cursor{border-right:2px solid white;animation:blink .8s step-end infinite}@keyframes blink{50%{border-color:transparent}}.scroll-hint{position:absolute;bottom:30px;left:6%;font-size:12px;letter-spacing:.14em}.services{display:grid;grid-template-columns:repeat(4,1fr);gap:0;padding:35px 4%;background:rgba(22,20,18,.88)}.service{padding:15px 25px;text-align:center;border-right:1px solid #ffffff44}.service:last-child{border:0}.service .symbol{font-size:29px;margin-bottom:14px}.service p{font-size:17px;margin:0}.service strong{font-weight:400;font-size:48px}.section-heading{font-size:clamp(46px,7vw,110px);font-weight:200;line-height:1.04;letter-spacing:-.065em;margin:0 0 30px}.collections{padding:100px 4% 130px;background:#1d1a17}.collections .intro{margin-bottom:40px}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.category{height:clamp(260px,31vw,470px);position:relative;overflow:hidden;display:flex;align-items:flex-end;padding:26px;background:#333}.category:before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.65),transparent 70%);z-index:1}.category img{position:absolute;width:100%;height:100%;object-fit:cover;inset:0;transition:transform .9s cubic-bezier(.2,.7,.2,1)}.category:hover img{transform:scale(1.07)}.category span{z-index:2;position:relative;font-size:clamp(23px,2.2vw,37px);font-weight:300;line-height:1.1}.story{padding:140px 7%;min-height:680px;background:linear-gradient(90deg,rgba(0,0,0,.8),rgba(0,0,0,.2)),url("assets/storia.jpg") center/cover;display:flex;align-items:center}.story-content{max-width:650px}.story p,.consult p{font-size:clamp(17px,1.6vw,23px);line-height:1.6}.eyebrow{letter-spacing:.2em;text-transform:uppercase;font-size:12px}.brands{padding:130px 6%;background:#f2eee8;color:#201d1a}.brand-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-top:45px}.brand-chip{border:1px solid #bbb1a8;padding:35px 12px;text-align:center;font-size:24px;font-weight:500}.consult{padding:150px 7%;background:linear-gradient(100deg,rgba(0,0,0,.85),rgba(0,0,0,.38)),url("assets/hero.jpg") center/cover}.consult-content{max-width:850px}.btn{display:inline-block;border:1px solid currentColor;padding:15px 24px;border-radius:30px;font-size:14px;background:transparent;color:inherit;cursor:pointer}.btn:hover{background:#ffffff22}.contact-form{max-width:640px;display:grid;gap:14px;margin-top:30px}.contact-form input,.contact-form textarea{width:100%;padding:15px;border:1px solid #ffffff88;background:#0007;color:white;border-radius:0}.contact-form input::placeholder,.contact-form textarea::placeholder{color:#ddd}.contact-form label{font-size:13px}.contact-form .accept{display:flex;gap:10px;align-items:flex-start}.contact-form .accept input{width:auto;margin-top:3px}.footer{padding:55px 6%;background:#131210;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:13px}.reveal{opacity:0;transform:translateY(75px) scale(.985);transition:opacity 1s ease,transform 1s cubic-bezier(.17,.85,.25,1.1)}.reveal.visible{opacity:1;transform:none}.floating-wa{position:fixed;bottom:22px;right:22px;z-index:99;border:1px solid #ffffff88;border-radius:50%;width:52px;height:52px;display:grid;place-items:center;background:#2228;backdrop-filter:blur(10px);font-size:23px}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:10px;top:10px;z-index:1000;background:white;color:black;padding:10px}@media(max-width:1350px){.main-nav{gap:9px}.contacts .email-text{display:none}}@media(max-width:1050px){.menu-toggle{display:block;margin-left:auto}.main-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#1b1918f5;padding:25px;flex-direction:column;align-items:flex-start;gap:20px;max-height:75vh;overflow:auto}.main-nav.open{display:flex}.contacts{gap:12px}.contacts .phone-text,.contacts .email-text{display:none}.category-grid{grid-template-columns:repeat(2,1fr)}.hero{min-height:600px}.services{grid-template-columns:repeat(2,1fr)}.service:nth-child(2){border-right:0}}@media(max-width:600px){.site-header{padding:17px 5%}.brand{font-size:30px}.contacts{gap:12px}.contacts a{font-size:12px}.contacts .reach-text{display:none}.hero{height:100svh;min-height:620px;background-position:60% center;padding:100px 6% 100px}.hero h1{font-size:clamp(51px,12vw,77px)}.services{padding:25px 2%}.service{padding:16px 7px}.service p{font-size:13px}.service strong{font-size:35px}.collections{padding:75px 4%}.category-grid{gap:9px}.category{height:260px;padding:15px}.category span{font-size:23px}.story,.consult{padding:90px 6%;min-height:550px}.brands{padding:80px 6%}.brand-grid{grid-template-columns:repeat(2,1fr)}.brand-chip{font-size:17px;padding:25px 8px}.footer{flex-direction:column}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reveal{opacity:1;transform:none;transition:none}.cursor{animation:none!important}.category img{transition:none}}

/* Stesso carattere sottile della prima anteprima, in tutte le sezioni. */
body,.main-nav a,.contacts a,.category span,.brand-chip,.service p{font-family:Inter,"Helvetica Neue",Arial,sans-serif;font-weight:300}
.section-heading,.hero h1{font-weight:200}
.category:nth-child(odd).reveal{transform:translateX(-70px);opacity:0}
.category:nth-child(even).reveal{transform:translateX(70px);opacity:0}
.category.reveal.visible{transform:translateX(0);opacity:1}
@media(prefers-reduced-motion:reduce){.category:nth-child(n).reveal{transform:none;opacity:1}}

/* Requested change: photographic, dark translucent brands, alternating entrance. */
.brands{background:linear-gradient(110deg,rgba(16,14,12,.9),rgba(16,14,12,.7)),url("assets/hero.jpg") center/cover;color:var(--ink)}
.brand-chip{background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(6px);display:flex;justify-content:center;align-items:center;min-height:120px;transition:opacity 1s ease,transform 1s cubic-bezier(.17,.85,.25,1.1),background .3s ease}
.brand-chip:hover{background:rgba(255,255,255,.12)}
.brand-logo{width:100%;max-width:185px;max-height:85px;height:auto;object-fit:contain}
.brand-chip:nth-child(odd).reveal{transform:translateX(-70px);opacity:0}
.brand-chip:nth-child(even).reveal{transform:translateX(70px);opacity:0}
.brand-chip.reveal.visible{transform:none;opacity:1}
@media(prefers-reduced-motion:reduce){.brand-chip:nth-child(n).reveal{transform:none;opacity:1}}

/* Only requested refinements: counter, unified header font, editable catalogue pages. */
.site-header,.main-nav,.contacts,.brand{font-family:Inter,"Helvetica Neue",Arial,sans-serif}
.main-nav .menu{display:contents}.main-nav li{list-style:none}.main-nav ul{display:contents;margin:0;padding:0}
.story-counter{display:flex;align-items:baseline;gap:24px;margin:22px 0 35px}.story-counter strong{font-size:clamp(110px,16vw,240px);font-weight:200;line-height:.9;letter-spacing:-.09em}.story-counter span{font-size:clamp(14px,1.4vw,22px);max-width:160px}
.cc-contact-icon{font-size:16px;line-height:1}.cc-catalog-page{min-height:100vh;padding-top:160px}.cc-collection-cover{width:100%;max-height:570px;object-fit:cover}.cc-page-content{max-width:980px;font-size:19px;line-height:1.65;margin:50px 0}.cc-page-content .wp-block-file a{border-bottom:1px solid currentColor}.cc-page-content .wp-block-file__button{border:1px solid currentColor;border-radius:25px;padding:8px 15px}
@media(max-width:650px){.story-counter{gap:16px;flex-wrap:wrap}.story-counter strong{font-size:115px}.cc-catalog-page{padding-top:125px}}

/* Centrocasa v1.9: contact menu only; original typography and page design unchanged */
.site-header{gap:clamp(8px,1.1vw,22px)}
.cc-header-actions{display:flex;align-items:center;gap:clamp(12px,1.8vw,28px);border-left:1px solid rgba(255,255,255,.65);padding-left:clamp(12px,1.5vw,26px);white-space:nowrap;flex-shrink:0}
.cc-contact-dropdown{position:relative}
.cc-contact-trigger,.cc-reach{display:inline-flex;align-items:center;gap:8px;background:none;border:0;padding:6px 0;color:#fff;cursor:pointer;white-space:nowrap;line-height:1.2}
.cc-contact-trigger:hover,.cc-reach:hover,.cc-contact-item:hover{opacity:.75}
.cc-header-actions svg{height:18px;width:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.cc-contact-trigger .cc-chevron{width:12px;height:12px;transition:transform .2s ease}
.cc-contact-trigger[aria-expanded="true"] .cc-chevron{transform:rotate(180deg)}
.cc-contact-list{position:absolute;right:-16px;top:calc(100% + 16px);z-index:110;min-width:285px;background:rgba(20,19,18,.94);backdrop-filter:blur(16px);padding:15px 20px;border:0;box-shadow:0 16px 40px #0004;border-radius:5px}
.cc-contact-list[hidden]{display:none!important}
.cc-contact-item{display:flex;align-items:center;gap:16px;color:white;padding:12px 0;white-space:nowrap;transition:opacity .2s}
.cc-contact-item .cc-icon{display:flex;align-items:center}
.cc-contact-item svg{height:21px;width:21px}
.cc-reach svg{height:21px;width:21px}
@media(max-width:1500px){.site-header{padding-left:2%;padding-right:2%}.main-nav{gap:clamp(6px,.7vw,12px)}.cc-header-actions{gap:13px;padding-left:13px}}
@media(max-width:1120px){.site-header{gap:12px}.cc-header-actions{margin-left:0}.cc-contact-list{right:-55px}}
@media(max-width:600px){.cc-header-actions{gap:9px;padding-left:10px}.cc-contact-trigger,.cc-reach{gap:4px}.cc-contact-trigger svg:first-child{display:none}.cc-contact-list{right:-90px;min-width:min(290px,92vw)}.cc-reach svg{height:18px;width:18px}.cc-header-actions .cc-reach span{display:none}}

/* v2.2 — icons, entry animations and mobile layout. Original desktop styling preserved. */
.service .symbol{height:52px;display:flex;align-items:center;justify-content:center;margin-bottom:12px;color:#fff}
.service .symbol svg{width:42px;height:42px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.service .symbol-number{font-size:43px;font-weight:300;line-height:1;letter-spacing:-.06em}
.service-slide{opacity:0;transform:translateX(-95px);transition:opacity .85s ease,transform .95s cubic-bezier(.16,1,.3,1)}
.service-slide.visible{opacity:1;transform:translateX(0)}
.service-slide:nth-child(2){transition-delay:.12s}.service-slide:nth-child(3){transition-delay:.24s}.service-slide:nth-child(4){transition-delay:.36s}
@media(max-width:1050px){
 .site-header{flex-wrap:nowrap;justify-content:space-between;gap:10px}
 .brand{flex-shrink:0}.menu-toggle{order:3;flex-shrink:0;min-width:44px;min-height:44px;cursor:pointer}
 .main-nav{order:4;position:absolute;top:100%;left:0;right:0;z-index:120;max-height:calc(100dvh - 75px);overflow-y:auto;overscroll-behavior:contain;padding:20px 6% 28px;background:rgba(23,21,19,.98);box-shadow:0 20px 35px #0007}
 .main-nav.open{display:flex}.main-nav a{font-size:16px!important;white-space:normal;display:block;padding:9px 0;line-height:1.35}
 .main-nav ul,.main-nav .menu{display:flex;flex-direction:column;align-items:stretch;gap:0;width:100%}
 .cc-header-actions{order:2;margin-left:auto;flex-shrink:0}.cc-contact-list{right:0;max-width:calc(100vw - 20px)}
}
@media(max-width:600px){
 html,body{max-width:100%;overflow-x:clip}
 .site-header{padding:10px 4%!important;gap:6px;min-height:68px;background:rgba(20,18,16,.88)}
 .site-header.scrolled{padding:10px 4%!important}
 .site-header .brand{font-size:clamp(24px,7vw,32px)!important}
 .cc-header-actions{border-left:0;padding-left:0;gap:7px}
 .cc-contact-trigger{font-size:12px;min-height:44px;padding:7px 2px}
 .cc-contact-trigger .cc-chevron{width:11px;height:11px}
 .cc-reach{min-width:32px;min-height:44px;justify-content:center}
 .cc-contact-list{position:fixed;top:68px;right:8px;left:8px;min-width:0;width:auto;max-width:none;padding:12px 18px}
 .cc-contact-item{white-space:normal;overflow-wrap:anywhere;font-size:14px}
 .hero{height:auto;min-height:100svh;padding:150px 7% 95px;background-position:58% center}
 .hero h1{font-size:clamp(43px,12vw,70px);letter-spacing:-.065em;overflow-wrap:break-word}
 .btn{max-width:100%;white-space:normal;text-align:center;line-height:1.4}
 .services{grid-template-columns:repeat(2,minmax(0,1fr));padding:26px 3%;gap:0}
 .service{min-width:0;padding:20px 9px;border-right:1px solid #ffffff33;border-bottom:1px solid #ffffff33}
 .service:nth-child(even){border-right:0}.service:nth-child(n+3){border-bottom:0}
 .service p{font-size:clamp(12px,3.4vw,15px);line-height:1.4;overflow-wrap:break-word}
 .service .symbol{height:47px}.service .symbol svg{width:38px;height:38px}.service .symbol-number{font-size:39px}
 .collections{padding:70px 5% 85px}.collections .intro{margin-bottom:28px}
 .section-heading{font-size:clamp(41px,11vw,65px);overflow-wrap:break-word}
 .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .category{height:clamp(215px,62vw,315px);padding:12px}
 .category span{font-size:clamp(19px,5.2vw,25px);overflow-wrap:break-word}
 .story,.consult{padding:85px 6%;min-height:0}.story-counter strong{font-size:clamp(88px,25vw,130px)}
 .brands{padding:80px 5%}.brand-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .brand-chip{min-width:0;padding:20px 8px;font-size:15px;overflow-wrap:anywhere}
 .contact-form{max-width:100%;min-width:0}.contact-form input,.contact-form textarea{font-size:16px;min-width:0}
 .footer{padding:45px 6%;overflow-wrap:anywhere}
}
@media(max-width:370px){.site-header .brand{font-size:23px!important}.cc-contact-trigger{font-size:11px}.category-grid{grid-template-columns:1fr}.category{height:290px}.cc-header-actions{gap:3px}}
@media(prefers-reduced-motion:reduce){.service-slide{opacity:1;transform:none;transition:none}}

/* v2.4 – mobile refinement only: preserve desktop layout and typography. */
@media (max-width: 600px) {
  .site-header, .site-header.scrolled { padding: 11px 3% !important; gap: 5px; }
  .site-header .brand { font-size: clamp(23px, 6.3vw, 29px) !important; letter-spacing: -.07em; flex-shrink: 0; }
  .cc-header-actions { display:flex; align-items:center; gap: clamp(5px,1.5vw,10px); margin-left:auto; padding:0; border:0; min-width:0; }
  .cc-contact-trigger { display:inline-flex; align-items:center; gap:3px; font-size:clamp(10px,2.75vw,12px); white-space:nowrap; padding:5px 0; }
  .cc-contact-trigger svg:first-child { display:none; }
  .cc-contact-trigger .cc-chevron { display:block; width:10px; height:10px; }
  .cc-reach { display:inline-flex; align-items:center; justify-content:center; gap:3px; min-width:0; white-space:nowrap; font-size:clamp(10px,2.75vw,12px); }
  .cc-header-actions .cc-reach span { display:inline !important; }
  .cc-reach svg { width:14px; height:14px; flex-shrink:0; }
  .menu-toggle { min-width:27px; min-height:38px; padding:0; margin-left:0; font-size:23px; line-height:1; }
  .hero h1, .section-heading { font-weight:500 !important; }
  .hero h1 { font-size:clamp(42px,11vw,65px); line-height:1.04; }
  .section-heading { font-size:clamp(38px,10.5vw,62px); line-height:1.06; }
  .story-counter strong { font-weight:500 !important; }
  .story-counter span { font-size:clamp(17px,4.6vw,22px); font-weight:500; line-height:1.25; max-width:190px; }
  #scrivici > div > p, .consult-content > p { font-weight:400; }
}
@media(max-width:390px) {
  .site-header .brand { font-size:clamp(21px,5.8vw,24px) !important; }
  .cc-header-actions { gap:4px; }
  .cc-contact-trigger, .cc-reach { font-size:10px; }
  .cc-reach svg { width:12px; height:12px; }
  .menu-toggle { font-size:21px; min-width:23px; }
}

/* v2.5: final typography and compact mobile header adjustments. */
/* Keep the hero sentence on one line across viewport sizes. */
.hero h1 { font-size:clamp(35px,5.55vw,96px); white-space:nowrap; max-width:none; }
.hero h1 .cursor { white-space:nowrap; }
@media (max-width:1050px) {
  .hero h1 {font-size:clamp(27px,5.65vw,59px);}
}
@media (max-width:600px) {
  .site-header, .site-header.scrolled {padding:11px 2.5% !important;gap:5px;}
  .site-header .brand {font-size:clamp(21px,5.7vw,27px) !important;letter-spacing:-.07em;}
  .cc-header-actions {gap:clamp(6px,1.8vw,11px);}
  .cc-contact-trigger,.cc-reach {font-size:clamp(11px,2.95vw,13px) !important;line-height:1.2;gap:4px;}
  .cc-contact-trigger .cc-chevron {width:11px;height:11px;}
  .cc-reach svg {width:15px;height:15px;}
  .menu-toggle {font-size:23px;min-width:25px;}
  .hero h1 {font-size:clamp(19px,5.5vw,33px) !important;letter-spacing:-.045em;line-height:1.14;white-space:nowrap;overflow-wrap:normal;}
  .hero h1 .cursor {white-space:nowrap;}
  .section-heading {font-weight:500 !important;}
  .story-counter strong {font-weight:200 !important;}
  .story-counter span {font-size:clamp(19px,5.2vw,24px) !important;font-weight:300 !important;line-height:1.3;max-width:210px;}
  .cc-mobile-break {display:block;}
}
@media (max-width:390px) {
  .site-header .brand {font-size:clamp(19px,5.55vw,22px) !important;}
  .cc-header-actions {gap:4px;}
  .cc-contact-trigger,.cc-reach {font-size:10.5px !important;}
  .cc-reach svg {width:13px;height:13px;}
  .menu-toggle {min-width:23px;font-size:21px;}
}
@media(min-width:601px){.cc-mobile-break{display:none}}

/* v2.6: mobile typography and header – overrides older mobile rules above. */
@media (min-width: 601px) {
  .hero h1 { white-space:nowrap; }
}
@media (max-width: 600px) {
  .site-header, .site-header.scrolled {padding:12px 3% !important;gap:clamp(5px,1.5vw,9px);min-height:65px;}
  .site-header .brand {font-size:clamp(22px,6.05vw,27px) !important;line-height:1.1;letter-spacing:-.07em;}
  .cc-header-actions {display:flex;align-items:center;gap:clamp(7px,1.8vw,12px);padding:0;border:0;margin-left:auto;flex:0 1 auto;min-width:0;}
  .cc-contact-trigger, .cc-reach {font-size:clamp(11px,2.9vw,13px) !important;line-height:1.1;gap:4px;min-height:36px;align-items:center;}
  .cc-contact-trigger .cc-chevron {width:10px;height:10px;}
  .cc-reach svg {width:14px;height:14px;}
  .menu-toggle {order:3;min-width:28px;min-height:36px;margin-left:0;padding:0;font-size:23px;line-height:1;}
  .hero h1 {font-size:clamp(48px,12.3vw,72px) !important;font-weight:500 !important;line-height:1.04;letter-spacing:-.065em;white-space:normal !important;max-width:100%;overflow-wrap:normal;}
  .hero h1 [data-typewriter] {white-space:pre-line !important;}
  .section-heading, .collections .section-heading, .story .section-heading, .brands .section-heading, .consult .section-heading, #scrivici .section-heading {font-weight:500 !important;}
  .story-counter strong {font-weight:200 !important;}
  .story-counter span {font-weight:300 !important;font-size:clamp(20px,5.3vw,24px) !important;line-height:1.3;}
  #scrivici > div > p {font-weight:500 !important;}
  .cc-mobile-break {display:block;}
}
@media (max-width: 390px) {
  .site-header .brand {font-size:clamp(20px,5.85vw,23px) !important;}
  .cc-header-actions {gap:5px;}
  .cc-contact-trigger,.cc-reach {font-size:clamp(10px,2.7vw,11px) !important;}
  .cc-reach svg {width:13px;height:13px;}
  .menu-toggle {min-width:25px;font-size:22px;}
}


/* CENTROCASA 3.1 — final responsive typography. Scoped by viewport. */
/* Desktop and tablet: one typographic family, light supporting text. */
@media (min-width:601px) {
  .category span {
    font-family:Inter,"Helvetica Neue",Arial,sans-serif !important;
    font-weight:200 !important;
    letter-spacing:-.025em;
  }
  .services .service p,
  .collections .intro > p,
  .story-content > p,
  .brands .reveal > p,
  .consult-content > p,
  #scrivici > .reveal > p,
  .brand-chip,
  .contact-form,
  .contact-form label,
  .contact-form input,
  .contact-form textarea,
  .contact-form input::placeholder,
  .contact-form textarea::placeholder,
  .btn {
    font-family:Inter,"Helvetica Neue",Arial,sans-serif !important;
    font-weight:300 !important;
    letter-spacing:-.012em;
  }
  .services .service p {font-size:clamp(17px,1.5vw,22px) !important;line-height:1.3;}
  .collections .intro > p,
  .brands .reveal > p {font-size:clamp(19px,1.65vw,24px);line-height:1.5;}
  .story-content > p,
  .consult-content > p {font-size:clamp(19px,1.65vw,24px);line-height:1.6;}
  #scrivici > .reveal > p {font-size:clamp(19px,1.65vw,24px);line-height:1.5;}
  .story-counter {gap:20px;}
  .story-counter span {
    font-family:Inter,"Helvetica Neue",Arial,sans-serif;
    font-size:clamp(19px,1.7vw,26px) !important;
    font-weight:300 !important;
    white-space:nowrap;
    max-width:none !important;
    flex-shrink:0;
    letter-spacing:-.02em;
  }
  .story .btn,.consult .btn,#scrivici .btn {font-weight:300 !important;}
  .consult .section-heading {letter-spacing:-.045em;}
  .contact-form label {font-size:clamp(15px,1.15vw,18px);}
  .contact-form input,.contact-form textarea {font-size:clamp(15px,1.1vw,18px);}
  .contact-form .accept span {font-weight:300;}
  .main-nav a,.contacts a,.cc-contact-trigger,.cc-reach {
    font-family:Inter,"Helvetica Neue",Arial,sans-serif !important;
    font-size:clamp(12px,.95vw,16px) !important;
    font-weight:300 !important;
    letter-spacing:-.015em;
  }
  .main-nav {gap:clamp(8px,.9vw,17px);}
}
@media (min-width:601px) and (max-width:1050px) {
  .story-counter {flex-wrap:wrap;}
  .story-counter span {white-space:nowrap;}
  .main-nav a {font-size:20px !important;font-weight:300 !important;}
}
/* Smartphone: approved main headings are untouched. */
@media (max-width:600px) {
  .consult-content > p,
  #scrivici > .reveal > p,
  .collections .intro > p {
    font-family:Inter,"Helvetica Neue",Arial,sans-serif !important;
    font-weight:300 !important;
    font-size:clamp(17px,4.3vw,22px);
    line-height:1.55;
    letter-spacing:-.015em;
  }
  .site-header .brand {
    font-size:clamp(22px,5.95vw,28px) !important;
  }
  .cc-header-actions {gap:clamp(8px,2.1vw,14px) !important;}
  .cc-contact-trigger,.cc-reach {
    font-size:clamp(11px,2.9vw,13px) !important;
    font-weight:300 !important;
  }
  /* Slide entire menu in from right, then stagger the links. */
  .main-nav {
    display:flex !important;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    max-height:min(75vh,720px);
    overflow-y:auto;
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    padding:16px 6% 24px;
    background:rgba(20,18,17,.97);
    backdrop-filter:blur(16px);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translateX(100%);
    transition:transform .46s cubic-bezier(.22,.75,.24,1),opacity .34s ease,visibility 0s linear .46s;
  }
  .main-nav.open {
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateX(0);
    transition:transform .46s cubic-bezier(.22,.75,.24,1),opacity .34s ease,visibility 0s;
  }
  .main-nav a {
    font-family:Inter,"Helvetica Neue",Arial,sans-serif !important;
    font-size:clamp(19px,5vw,24px) !important;
    font-weight:300 !important;
    letter-spacing:-.025em;
    line-height:1.3;
    padding:12px 0;
    width:100%;
    opacity:0;
    transform:translateX(36px);
    transition:transform .43s ease,opacity .43s ease;
  }
  .main-nav.open a {opacity:1;transform:translateX(0);}
  .main-nav.open a:nth-child(1){transition-delay:.07s}
  .main-nav.open a:nth-child(2){transition-delay:.10s}
  .main-nav.open a:nth-child(3){transition-delay:.13s}
  .main-nav.open a:nth-child(4){transition-delay:.16s}
  .main-nav.open a:nth-child(5){transition-delay:.19s}
  .main-nav.open a:nth-child(6){transition-delay:.22s}
  .main-nav.open a:nth-child(7){transition-delay:.25s}
  .main-nav.open a:nth-child(8){transition-delay:.28s}
  .main-nav.open a:nth-child(n+9){transition-delay:.31s}
}
@media (prefers-reduced-motion:reduce) {
  .main-nav,.main-nav a {transition:none !important;}
}

/* v3.2 — targeted correction to the exact HTML classes. */
@media(min-width:601px){
  .category-grid .category span{font-family:"Helvetica Neue",Arial,sans-serif!important;font-weight:200!important;letter-spacing:-.04em!important}
  .services .service p,.collections .intro p,.story .story-content p,.brands .reveal p,.consult .consult-content p,#scrivici .reveal p,
  .brand-grid .brand-chip,.contact-form label,.contact-form .accept span,.contact-form input,.contact-form textarea,
  .contact-form input::placeholder,.contact-form textarea::placeholder,
  .site-header .main-nav a,.site-header .cc-contact-trigger,.site-header .cc-reach,
  .story .story-counter span,.story .story-content .btn,.consult .consult-content .btn,#scrivici .btn {
    font-family:"Helvetica Neue",Arial,sans-serif!important;
    font-weight:300!important;
    letter-spacing:-.025em!important;
  }
  .services .service p{font-size:clamp(18px,1.55vw,23px)!important}
  .collections .intro p,.brands .reveal p,.story .story-content p,.consult .consult-content p,#scrivici .reveal p{font-size:clamp(19px,1.65vw,24px)!important;line-height:1.55!important}
  .story .story-counter span{font-size:clamp(20px,1.75vw,26px)!important;max-width:none!important;white-space:nowrap!important}
  .brand-grid .brand-chip{font-size:clamp(19px,1.7vw,25px)!important}
  .contact-form label,.contact-form .accept span{font-size:clamp(15px,1.1vw,18px)!important}
  .contact-form input,.contact-form textarea{font-size:clamp(16px,1.15vw,19px)!important}
  .site-header .main-nav a{font-size:clamp(12px,.95vw,16px)!important}
}
@media(max-width:600px){
  .site-header nav.main-nav a,.site-header nav.main-nav li a{
    font-family:"Helvetica Neue",Arial,sans-serif!important;
    font-weight:200!important;
    font-size:clamp(19px,5vw,24px)!important;
    letter-spacing:-.03em!important;
  }
}

/* 3.3: text adjustments, all original design preserved. */
.services .service .cc-years-label {font-family:Inter,"Helvetica Neue",Arial,sans-serif!important;font-weight:300!important;line-height:1.3!important;}
/* Subtitles use the heading font family, but a light weight. */
@media (min-width:601px) {
  html body .services .service p,
  html body .collections .intro p,
  html body .story .story-content > p,
  html body .brands .reveal > p,
  html body .consult .consult-content > p,
  html body #scrivici .reveal > p,
  html body .contact-form label,
  html body .contact-form .accept span,
  html body .contact-form input,
  html body .contact-form textarea,
  html body .contact-form input::placeholder,
  html body .contact-form textarea::placeholder {
    font-family:Inter,"Helvetica Neue",Arial,sans-serif!important;
    font-weight:300!important;
    letter-spacing:normal!important;
  }
  html body .services .service .cc-years-label {font-size:clamp(18px,1.55vw,23px)!important;}
}
/* Break the services label after "anni" without affecting other labels. */
.services .cc-years-label br {display:block;content:"";}


/* v3.4: consistent lightweight secondary typography, without altering approved headings. */
@media(min-width:601px){
  html body .services .service p,
  html body .collections .intro > p,
  html body .story .story-content > p,
  html body .brands .reveal > p,
  html body .consult .consult-content > p,
  html body #scrivici .reveal > p,
  html body .contact-form label,
  html body .contact-form .accept span,
  html body .contact-form input,
  html body .contact-form textarea,
  html body .contact-form input::placeholder,
  html body .contact-form textarea::placeholder,
  html body .brand-chip,
  html body .service .cc-years-label{
    font-family:Inter,"Helvetica Neue",Arial,sans-serif!important;
    font-weight:300!important;
    font-synthesis:none!important;
    letter-spacing:-.025em!important;
  }
  .services .cc-years-label {font-size:clamp(18px,1.55vw,23px)!important;}
}
/* Keep the 50 service label on exactly two distinct lines, on all viewports. */
.services .service .cc-years-label{white-space:normal!important;line-height:1.35!important;}
.services .service .cc-years-label br{display:block!important;}
/* Newly published collections are appended to the mobile menu only. */
@media(min-width:1051px){.main-nav .cc-mobile-collection-link{display:none!important;}}
@media(max-width:1050px){
 .main-nav .cc-mobile-collection-link{display:list-item;}
 .site-header .main-nav a,.site-header .main-nav li a{
   font-family:Inter,"Helvetica Neue",Arial,sans-serif!important;
   font-weight:300!important;
   font-synthesis:none!important;
   letter-spacing:-.025em!important;
 }
}

/* v3.5: two separate lines, no repeated text or escaped newline. */
.services .service .cc-years-label span{display:block!important;white-space:normal!important;}
.services .service .cc-years-label span+span{margin-top:2px;}

/* v3.6: brand logos only, transparent white and non-interactive. */
.brands .cc-partner-grid{align-items:stretch;gap:clamp(12px,1.8vw,24px);}
.brands .cc-partner-logo{min-width:0;min-height:125px;display:flex;align-items:center;justify-content:center;padding:22px 16px;border:1px solid rgba(255,255,255,.19);background:rgba(255,255,255,.025);border-radius:2px;pointer-events:none;opacity:0;transform:translateY(34px) scale(.95);transition:opacity .8s ease,transform .85s cubic-bezier(.2,.75,.2,1),background .5s ease;}
.brands .cc-partner-logo.cc-logo-visible{opacity:1;transform:translateY(0) scale(1);}
.brands .cc-partner-logo img{display:block;width:100%;height:76px;max-width:190px;object-fit:contain;filter:drop-shadow(0 0 10px rgba(255,255,255,.08));}
.brands .cc-partner-logo:nth-child(4n+2){transition-delay:110ms;}
.brands .cc-partner-logo:nth-child(4n+3){transition-delay:190ms;}
.brands .cc-partner-logo:nth-child(4n+4){transition-delay:270ms;}
@media(max-width:700px){.brands .cc-partner-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.brands .cc-partner-logo{min-height:106px;padding:16px 10px}.brands .cc-partner-logo img{height:65px;max-width:145px}}
@media(prefers-reduced-motion:reduce){.brands .cc-partner-logo{opacity:1;transform:none;transition:none}}

/* v3.7: horizontal, right-scrollable brand strip in the exact supplied order. */
.brands .cc-partner-grid{display:flex!important;flex-wrap:nowrap!important;grid-template-columns:none!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-behavior:smooth;gap:clamp(14px,2vw,26px)!important;padding:12px 4px 22px!important;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.5) transparent;}
.brands .cc-partner-logo{flex:0 0 clamp(175px,19vw,250px)!important;scroll-snap-align:start;min-width:175px!important;}
@media(max-width:700px){.brands .cc-partner-logo{flex-basis:clamp(160px,62vw,215px)!important;min-width:160px!important;}}

/* v3.8: borderless, full-size partner marks; no cropping of brand subtitles. */
.brands .cc-partner-logo{border:0!important;background:transparent!important;border-radius:0!important;padding:10px 10px!important;min-height:135px!important;overflow:visible!important;}
.brands .cc-partner-logo img{width:100%!important;max-width:230px!important;height:110px!important;max-height:none!important;object-fit:contain!important;object-position:center center!important;}
.brands .cc-partner-logo[aria-label="DiDivani"] img{max-width:235px!important;height:112px!important;}
@media(max-width:700px){.brands .cc-partner-logo{min-height:118px!important;padding:8px!important}.brands .cc-partner-logo img{height:95px!important;max-width:200px!important}.brands .cc-partner-logo[aria-label="DiDivani"] img{height:100px!important;}}

/* Solo pagine interne delle collezioni */
.cc-catalog-page .cc-collection-cover{display:block;width:100%;max-height:520px;object-fit:cover;margin:25px 0 36px;border-radius:3px}.cc-catalog-page .cc-collection-subheading{font-size:clamp(25px,3vw,44px);font-weight:400;letter-spacing:-.035em;margin:0 0 20px}.cc-catalog-page .cc-page-content p{font-size:clamp(17px,1.5vw,22px);line-height:1.7;max-width:900px}

/* Titoli delle descrizioni interne: identici a “I nostri marchi” */
html body .cc-catalog-page .cc-collection-subheading{font-family:Inter,"Helvetica Neue",Arial,sans-serif!important;font-size:clamp(46px,7vw,110px)!important;font-weight:500!important;line-height:1.04!important;letter-spacing:-.065em!important;margin:0 0 30px!important;}
@media(max-width:600px){html body .cc-catalog-page .cc-collection-subheading{font-size:clamp(38px,10.5vw,62px)!important;line-height:1.06!important;}}

/* Regolazione esclusiva titoli e testi delle pagine collezioni */
html body .cc-catalog-page .cc-collection-subheading{font-family:Inter,"Helvetica Neue",Arial,sans-serif!important;font-size:clamp(28px,3.1vw,46px)!important;font-weight:500!important;line-height:1.15!important;letter-spacing:-.055em!important;white-space:nowrap!important;margin:0 0 26px!important;}
html body .cc-catalog-page .cc-page-content p{font-family:Inter,"Helvetica Neue",Arial,sans-serif!important;font-size:clamp(16px,1.35vw,20px)!important;font-weight:400!important;line-height:1.65!important;letter-spacing:-.025em!important;max-width:900px!important;}
@media(max-width:850px){html body .cc-catalog-page .cc-collection-subheading{font-size:clamp(27px,5.3vw,40px)!important;white-space:normal!important;}}

/* Pagina storia: immagine della sezione 50 anni come sfondo a tutta pagina */
.cc-history-page{position:relative;min-height:100svh;padding:clamp(125px,13vw,190px) 7% 110px;background-image:linear-gradient(90deg,rgba(22,19,16,.88),rgba(22,19,16,.68)),var(--cc-history-bg);background-size:cover;background-position:center;background-attachment:fixed;color:#f7f4ef}
.cc-history-content{position:relative;max-width:860px;margin:auto}
.cc-history-content h1{font-size:clamp(38px,5vw,76px);font-weight:500;letter-spacing:-.055em;line-height:1.07;margin:0 0 18px}
.cc-history-subtitle{font-size:clamp(19px,2vw,27px)!important;font-style:italic;margin-bottom:46px!important}
.cc-history-content p{font-size:clamp(17px,1.4vw,21px);font-weight:350;line-height:1.8;margin:0 0 27px}
.cc-history-content strong{font-weight:600}.cc-history-end{font-style:italic;font-weight:500!important}
@media(max-width:800px){.cc-history-page{background-attachment:scroll;padding:120px 6% 80px;background-position:center}}

/* Pagina La nostra storia: testo ordinato, uniforme, allineato a sinistra e compatto. */
html body .cc-history-page{width:100%;max-width:100%;overflow-x:clip;box-sizing:border-box;padding-left:clamp(22px,6vw,96px);padding-right:clamp(22px,6vw,96px);text-align:left}
html body .cc-history-page .cc-history-content{display:block;width:100%;max-width:1050px;margin:0!important;padding:0!important;transform:none!important;text-align:left!important;font-family:Inter,"Helvetica Neue",Arial,sans-serif!important;letter-spacing:-.02em}
html body .cc-history-page .cc-history-content h1{font-family:inherit!important;font-size:clamp(32px,4vw,60px)!important;font-weight:500!important;line-height:1.12!important;letter-spacing:-.055em!important;margin:0 0 10px!important;overflow-wrap:normal}
html body .cc-history-page .cc-history-content p{font-family:inherit!important;font-size:clamp(16px,1.25vw,19px)!important;font-weight:400!important;font-style:normal!important;line-height:1.48!important;letter-spacing:-.015em!important;margin:0 0 9px!important;text-align:left!important;max-width:none!important}
html body .cc-history-page .cc-history-content .cc-history-subtitle{font-size:clamp(17px,1.5vw,22px)!important;font-weight:400!important;margin:0 0 13px!important}
html body .cc-history-page .cc-history-content strong{font-family:inherit!important;font-weight:600!important}
html body .cc-history-page .cc-history-content .cc-history-end{font-weight:500!important;margin-top:8px!important}
@media(max-width:650px){html body .cc-history-page{padding-left:6%;padding-right:6%}html body .cc-history-page .cc-history-content h1{font-size:clamp(31px,8vw,44px)!important}}

/* Solo pagina La nostra storia: tipografia unificata e paragrafi compatti. */
html body .cc-history-page .cc-history-content{font-family:Inter,"Helvetica Neue",Arial,sans-serif!important;text-align:left!important;max-width:1100px!important;margin-left:0!important;margin-right:auto!important}
html body .cc-history-page .cc-history-content h1.section-heading{font-family:Inter,"Helvetica Neue",Arial,sans-serif!important;font-size:clamp(34px,4.1vw,66px)!important;font-weight:500!important;line-height:1.12!important;letter-spacing:-.055em!important;text-align:left!important;margin:0 0 12px!important}
html body .cc-history-page .cc-history-content p{font-family:Inter,"Helvetica Neue",Arial,sans-serif!important;font-size:clamp(16px,1.35vw,20px)!important;font-weight:400!important;line-height:1.52!important;letter-spacing:-.02em!important;text-align:left!important;margin:0 0 12px!important;max-width:none!important}
html body .cc-history-page .cc-history-content .cc-history-subtitle{font-size:clamp(17px,1.55vw,23px)!important;margin-bottom:24px!important}
html body .cc-history-page .cc-history-content .cc-history-sentence{display:block}
html body .cc-history-page .cc-history-content .cc-history-end{font-weight:500!important;margin-top:8px!important}
@media(max-width:650px){html body .cc-history-page .cc-history-content h1.section-heading{font-size:clamp(30px,7.5vw,42px)!important}html body .cc-history-page .cc-history-content p{font-size:16px!important}}

/* Centro Casa: video cinematografico homepage; immagine originale come fallback. */
.hero{isolation:isolate;overflow:hidden}
.hero .cc-hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;pointer-events:none}
.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.44),rgba(0,0,0,.06));z-index:-1;pointer-events:none}
.hero .cc-hero-foreground{position:relative;z-index:1}
@media(prefers-reduced-motion:reduce){.hero .cc-hero-video{display:none}}

/* Correzioni mirate: SOLO video hero e tipografia sezione 50/storia. */
.hero .cc-hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center center;display:block;z-index:-2}
.hero .cc-hero-foreground{position:relative;z-index:1}
/* Nessun override delle dimensioni, del font o dell'impaginazione della hero originale. */
@media(max-width:600px){
 .hero .cc-hero-video{object-position:58% center}
}
/* La storia segue lo stesso linguaggio tipografico delle sezioni del sito. */
html body .cc-history-page .cc-history-content h1.section-heading{font-family:Inter,"Helvetica Neue",Arial,sans-serif!important;font-weight:500!important;font-style:normal!important;letter-spacing:-.065em!important;line-height:1.06!important}
html body .cc-history-page .cc-history-content .cc-history-subtitle{font-family:Inter,"Helvetica Neue",Arial,sans-serif!important;font-weight:400!important;font-style:normal!important;letter-spacing:-.02em!important}
html body .cc-history-page .cc-history-content p:not(.cc-history-subtitle){font-family:Inter,"Helvetica Neue",Arial,sans-serif!important;font-weight:300!important;font-style:normal!important;line-height:1.55!important}
html body .story .story-content .eyebrow,html body .story .story-content .section-heading{font-family:Inter,"Helvetica Neue",Arial,sans-serif!important;font-style:normal!important}
