@import url("fonts.css");
:root{--ink:#242321;--gold:#c9a278;--soft:#f3f0eb}
body{font-family:Manrope,Arial,sans-serif;background:#fbfaf7;line-height:1.75}
h1,h2,h3,.service-photo>span{font-family:"Cormorant Garamond",Georgia,serif;font-weight:500;letter-spacing:-.025em}
h1{font-size:clamp(50px,6vw,82px);line-height:1.02}
h2{font-size:clamp(38px,4vw,56px);line-height:1.06}
h3{font-size:34px;line-height:1.1}
small{font-size:12px;letter-spacing:.2em;font-weight:700}
header{background:#fbfaf7;padding-top:14px;padding-bottom:14px}
header>.button{font-size:13px}nav{gap:19px}nav a{font-size:14px}
.top{background:#252724;font-size:13px}
.button{border-radius:1px;padding:15px 24px;background:#d8b58d;border-color:#d8b58d;font-size:14px;letter-spacing:.015em;box-shadow:0 4px 16px #00000006}
.button:hover{background:#e5c7a5;border-color:#e5c7a5}
.hero{min-height:740px}.hero-copy{padding:65px 7%;max-width:930px}
.hero-copy h1{font-size:clamp(58px,7vw,98px);letter-spacing:-.028em;line-height:.98;font-weight:500}
.hero-copy .intro{max-width:530px;font-size:17px}
.hero-copy>p:first-of-type{font-family:"Cormorant Garamond",Georgia,serif;font-size:29px}
.hero:after{background:linear-gradient(90deg,#171a18e8 0%,#171a18ac 42%,#171a1820 100%)}
.hero .under{font-size:14px}.hero .reassure{font-size:13px}
.benefits{padding:25px 7%;background:#eee9e0;border-bottom:1px solid #d9d0c2}
.benefits>a{display:flex;align-items:center;gap:16px;text-decoration:none;font-size:14px;font-weight:600;padding:10px 0}
.service-icon{width:48px;height:48px;color:#8b673e;flex-shrink:0;display:block;margin-bottom:17px}
.benefits .service-icon{width:36px;height:36px;margin:0}
.section{padding-top:95px;padding-bottom:95px}
.lead{font-size:18px;max-width:670px;line-height:1.85}
.cards{gap:32px}.room{background:transparent;border-radius:0;border-bottom:1px solid #d9d0c2}
.room img{height:280px;border-radius:2px}
.room div{padding:24px 2px 28px}.room p{font-size:15px;min-height:52px;max-width:330px}
.room span{font-size:13px;font-weight:600;letter-spacing:.06em;text-underline-offset:7px}
.room:hover img{filter:brightness(1.05)}
.split{gap:7%}.split>img{height:580px;border-radius:100px 2px 2px 2px}
.page-index main>.split{background:#ece7de;max-width:none;padding-left:max(6%,calc((100vw - 1160px)/2));padding-right:max(6%,calc((100vw - 1160px)/2))}
.split li{margin:18px 0}
.invite{position:relative;isolation:isolate;min-height:365px;padding:70px 8%;background:#282d29 url("assets/camere.jpg") center 52%/cover}
.invite:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#161c19ed,#161c19b0);z-index:-1}
.invite h2{font-size:clamp(44px,4.8vw,66px)}.invite p{max-width:580px}
.invite .button{box-shadow:0 5px 30px #0003}
footer{background:#eeebe5;border-top:1px solid #ded6ca;color:#373831;font-size:14px;padding-top:65px}
footer strong{font-size:14px;letter-spacing:.025em}
.textcards{gap:20px}.textcards article{padding:35px;background:#f0ece5;border:1px solid #e3dcd0;border-radius:2px;position:relative}
.textcards h2{font-size:34px}.textcards p{font-size:16px}
.textcards article:nth-child(even){background:#e9e7df}
.service-photo{position:relative;height:330px;margin:45px 0;overflow:hidden;background:#222}
.service-photo img{width:100%;height:100%;object-fit:cover;filter:brightness(.63)}
.service-photo>span{position:absolute;bottom:26px;left:35px;color:white;font-size:52px;line-height:1.1}
.contact{max-width:none;padding:65px 7% 85px;background:linear-gradient(90deg,#222823e8,#222823c9),url("assets/soggiorni.jpg") center/cover;gap:8%;color:white;align-items:center}
.contact-story{max-width:540px}.contact-story h1{font-size:clamp(65px,6vw,88px)}
.contact-story small{color:#e6c49e}.contact-story .lead{color:#e1e2dc}
.contact-story h2{font-size:38px}.contact-story>.service-icon{color:#e6c49e;margin:35px 0 0;width:34px;height:34px}
.contact-story .phone{font-size:28px;letter-spacing:.02em;text-decoration:none}
.contact-story a{color:white}.contact-story p{font-size:16px}.contact-story .lead{font-size:18px}
.contact form{background:#fcfaf5;color:#252721;border-radius:3px;padding:38px;box-shadow:0 20px 80px #0003}
.contact form>.service-icon{width:40px;height:40px;margin-bottom:20px}
.contact form>small{color:#805329}
.contact form h2{font-size:44px;margin-top:13px}
.contact input,.contact textarea,.contact select{background:#fffdfa;border-color:#cdc4b7;border-radius:2px;font-size:16px;padding:13px}
.contact label{font-size:14px;font-weight:600}.form-note{font-size:13px;line-height:1.7;color:#66665e}
.sticky{background:#fffcf7f5;backdrop-filter:blur(15px);border-top:1px solid #d9d0c2;padding:10px 20px;gap:40px}
.sticky>a{display:flex;align-items:center;justify-content:center;gap:10px;text-decoration:none}
.sticky .service-icon{height:23px;width:23px;margin:0;color:currentColor}.sticky>a:not(.button){font-size:14px}
.page-ambienti main{background:linear-gradient(180deg,#eae5dd,#fbfaf7 550px)}
.page-servizi main{background:linear-gradient(180deg,#f1eee7,#fff)}
.page-catalogo main,.page-promozioni main{background:#ede8e0}
@media(max-width:1000px){header nav{gap:16px}.benefits{gap:16px;flex-wrap:wrap}.benefits>a{width:42%}.contact{gap:30px;padding:50px 5%}.contact form{padding:28px}.hero{min-height:660px}.room img{height:250px}}
@media(max-width:640px){header>.button{font-size:12px;padding:11px}.hero{min-height:665px}.hero-copy{padding:48px 6%;width:100%}.hero-copy h1{font-size:64px}.hero-copy>p:first-of-type{font-size:26px}.hero-copy .intro{font-size:16px}.hero:after{background:#161c19b5}.benefits{display:grid;padding:18px 6%;gap:15px}.benefits>a{width:auto;flex-direction:column;gap:10px;text-align:center;font-size:13px}.benefits .service-icon{width:32px;height:32px}.section{padding:55px 6%}.cards{gap:28px}.room img{height:270px}.room div{padding:20px 0 26px}.room p{min-height:0}.split>img{height:370px;border-top-left-radius:65px}.textcards article{padding:27px}.service-photo{height:270px}.service-photo>span{left:22px;bottom:22px;font-size:40px;max-width:90%}.contact{padding:45px 6%;gap:35px}.contact-story h1{font-size:68px}.contact form{padding:25px}.contact form h2{font-size:40px}.contact-story .lead{font-size:17px}.invite{padding:55px 6%;min-height:340px}.invite h2{font-size:46px}.sticky{gap:17px;padding:10px 8px}.sticky .button{font-size:13px;padding:11px 13px}.sticky .service-icon{width:20px;height:20px}.sticky>a{gap:6px}.sticky>a:not(.button){font-size:13px}footer{padding-bottom:110px}}
@media(max-width:370px){.sticky .service-icon{display:none}.hero-copy h1{font-size:56px}}
/* Give the original brand mark a prominent, uncropped space. */
header{flex-wrap:wrap;column-gap:28px;padding-top:20px;padding-bottom:20px}
header>a:first-child{display:flex;align-items:center;flex:0 0 auto}
header>a:first-child img{width:280px;height:110px;object-fit:contain;display:block}
footer img{width:240px;height:95px;object-fit:contain}
@media(min-width:1001px) and (max-width:1250px){header nav{order:3;width:100%;justify-content:center;padding-top:12px}}
@media(max-width:1000px){header>a:first-child img{width:260px;height:102px}}
@media(max-width:640px){header{justify-content:center;padding:18px 5%;gap:14px}header>a:first-child{width:100%;justify-content:center}header>a:first-child img{width:min(280px,85vw);height:110px}header>.button{font-size:13px}header nav{padding-top:6px}footer img{width:230px;height:90px}}
/* Full-width brand fascia, navigation below the original uncropped logo. */
.privacy-check{display:flex;align-items:flex-start;gap:12px;font-weight:400!important;margin:20px 0!important;line-height:1.6}
.contact .privacy-check input{width:19px;height:19px;flex:0 0 19px;margin:3px 0 0;accent-color:#805329}
.privacy-check span{font-size:13px}
.contact-alternative{border-top:1px solid #d9d0c2;margin-top:22px;padding-top:20px;text-align:center;font-size:14px}
.contact-alternative span{display:block;color:#666}
.contact-alternative a{display:inline-block;margin-top:8px;font-weight:700;text-underline-offset:5px}
body .top{background:#080a09;color:#ddd;border-bottom:1px solid #ffffff12}
body header{display:grid;grid-template-columns:1fr auto;gap:0 32px;padding:0 5% 22px;color:#fff;border:0;background:linear-gradient(180deg,#080a09f2 0%,#080a09bc 40%,#080a09f7 100%),url("assets/cucine.jpg") center 48%/cover;isolation:isolate}
body header>a:first-child{grid-column:1/-1;justify-content:center;width:100%;padding:32px 0 26px;border:0;margin:0}
body header>a:first-child img{display:block;width:100%;max-width:none;height:auto;aspect-ratio:8000/1873;object-fit:contain;mix-blend-mode:screen;animation:brand-arrive 900ms ease-out both}
body header nav{grid-column:1;order:initial;width:auto;justify-content:flex-start;padding:16px 0 0;gap:25px;border-top:1px solid #ffffff30;color:#fff}
body header nav a{color:#f1ece6}
body header nav a:hover,body header nav a[aria-current]{color:#ffd0ae;text-decoration-color:#ffd0ae}
body header>.button{grid-column:2;font-size:13px;align-self:end}
body header a:focus-visible{outline-color:#ffd0ae}
@keyframes brand-arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1000px){body header{grid-template-columns:1fr;row-gap:15px}body header nav{grid-column:1;justify-content:center;width:100%;gap:14px 22px}body header>.button{grid-column:1;justify-self:center}}
@media(max-width:640px){body header{padding:0 4% 20px;gap:14px}body header>a:first-child{padding:28px 0 12px}body header>a:first-child img{width:100%;height:auto}body header nav{gap:10px 18px;padding-top:16px}body header>.button{font-size:13px;padding:11px 18px}}
@media(prefers-reduced-motion:reduce){body header>a:first-child img{animation:none}}
/* One-time, viewport-triggered emphasis; content remains usable without JS. */
/* One gentle, staggered entrance for the three persistent contact actions. */
@keyframes contact-bounce{0%,100%{transform:translateY(0)}38%{transform:translateY(-7px)}64%{transform:translateY(0)}82%{transform:translateY(-3px)}}
@media(prefers-reduced-motion:no-preference){
  .sticky.contact-arrival>a{animation:contact-bounce 700ms ease-out 350ms 1}
  .sticky.contact-arrival>a:nth-child(2){animation-delay:530ms}
  .sticky.contact-arrival>a:nth-child(3){animation-delay:710ms}
  .sticky.contact-arrival:focus-within>a,.sticky.contact-arrival:hover>a{animation:none}
}
@media(prefers-reduced-motion:reduce){.sticky.contact-arrival>a{animation:none!important;transform:none!important}}
.button,.sticky>a{position:relative}
.button::after,.sticky>a::after{content:"";position:absolute;inset:-4px;border:2px solid #d4a574;border-radius:inherit;pointer-events:none;opacity:0}
@keyframes action-cue{0%,100%{opacity:0;transform:scale(1)}35%{opacity:.8;transform:scale(1.025)}80%{opacity:0;transform:scale(1.07)}}
@media(prefers-reduced-motion:no-preference){
  .action-cue::after{animation:action-cue 1500ms ease-out 1}
  .button,.sticky>a{transition:background-color 180ms ease,color 180ms ease,transform 180ms ease}
  .button:active,.sticky>a:active{transform:scale(.985)}
  .sticky .service-icon{transition:transform 220ms ease}
  .sticky>a:hover .service-icon,.sticky>a:focus-visible .service-icon{transform:translateY(-2px)}
  .button:hover,.button:focus-visible{background:#ebc8a1;color:#171717}
}
@media(prefers-reduced-motion:reduce){.action-cue::after{animation:none!important;opacity:0}}
@keyframes attention-enter{from{opacity:.65;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@keyframes consultation-highlight{0%,100%{box-shadow:0 4px 16px #00000006}45%{box-shadow:0 0 0 5px #e5bc842e,0 0 25px #e5bc8459}}
@media(prefers-reduced-motion:no-preference){
  .attention-enter{animation:attention-enter 650ms ease-out var(--arrival-delay,0ms) both}
  .attention-enter.consultation-highlight{animation:attention-enter 650ms ease-out var(--arrival-delay,0ms) both,consultation-highlight 1500ms ease-in-out 1000ms 1}
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .room{overflow:hidden}
  .room img{transition:transform 450ms ease,filter 450ms ease}
  .room:hover img{transform:scale(1.025)}
  .room div{position:relative;background:#fbfaf7}
}
@media(prefers-reduced-motion:reduce){
  .attention-enter,.consultation-highlight{animation:none!important;transform:none!important;opacity:1!important}
  .room:hover img{transform:none}
}

/* Room galleries: editorial catalog images and local Arredo Vicino imagery. */
.visual-gallery,.home-inspiration{background:#f3f0eb}
.gallery-heading{max-width:760px;margin:0 auto 38px;text-align:center}
.gallery-heading h2,.home-inspiration h2{margin:12px 0 18px}
.gallery-heading p{font-size:16px;color:#5f5d57}
.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:38px 0}
.gallery-grid figure{margin:0;overflow:hidden;background:#fff;border:1px solid #e4ded3}
.gallery-grid img{display:block;width:100%;height:285px;object-fit:cover;transition:transform 500ms ease}
.gallery-grid figcaption{padding:12px 15px;font-size:14px;line-height:1.45;letter-spacing:.025em;color:#625d54;text-transform:none}
.gallery-ai-note{display:block;margin-top:5px;font-size:12px;letter-spacing:.02em;color:#8b673e}
.visual-gallery>.button,.home-inspiration>.button{display:flex;width:max-content;margin:35px auto 0}
.home-inspiration{text-align:center}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.gallery-grid figure:hover img{transform:scale(1.035)}}
@media(max-width:900px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-grid img{height:260px}}
@media(max-width:560px){.gallery-grid{grid-template-columns:1fr;gap:16px}.gallery-grid img{height:300px}.gallery-heading{text-align:left}.visual-gallery>.button,.home-inspiration>.button{width:100%;justify-content:center}}
@media(prefers-reduced-motion:reduce){.gallery-grid img{transition:none}.gallery-grid figure:hover img{transform:none}}

/* Clickable homepage choices and filterable room collections. */
.home-inspiration .gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.home-inspiration .gallery-grid figure{position:relative;border:0}
.home-room{display:block;position:relative;color:#fff;text-decoration:none;overflow:hidden}
.home-room img{height:230px;transition:transform .5s ease}
.home-room span{position:absolute;inset:auto 0 0;padding:35px 16px 14px;background:linear-gradient(transparent,#000b);font-size:20px;font-weight:700}
.home-room b{display:block;font-size:13px;letter-spacing:.04em;margin-top:4px}
.home-room:hover img{transform:scale(1.04)}
.gallery-filters{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:28px auto 12px}
.gallery-filter{border:1px solid #9b846b;border-radius:999px;padding:11px 18px;background:transparent;color:#3b332d;cursor:pointer;font-weight:600}
.gallery-filter.is-active,.gallery-filter:hover{background:#29231f;color:#fff;border-color:#29231f}
.gallery-count{text-align:center;color:#69635c;font-size:14px;margin:8px 0 18px}
.gallery-grid figure[hidden]{display:none!important}
.gallery-photo{position:relative;display:block;overflow:hidden;color:#fff}
.gallery-photo>span{position:absolute;right:10px;bottom:10px;padding:6px 10px;border-radius:3px;background:#161410c9;color:#fff;font-size:12px;opacity:0;transition:opacity .2s}
.gallery-photo:hover>span,.gallery-photo:focus-visible>span{opacity:1}
.brand-examples{max-width:900px;margin:30px auto;padding:22px 26px;background:#fff;border-left:3px solid #b18a62}
.brand-examples p{line-height:1.8}
.brand-examples small{font-size:12px;color:#666;letter-spacing:0}
.photo-dialog{width:min(92vw,1100px);max-width:none;max-height:92vh;padding:20px;background:#f8f6f2;border:0;border-radius:8px;box-shadow:0 20px 70px #0006}
.photo-dialog::backdrop{background:#090807d9}
.photo-dialog img{display:block;width:100%;max-height:78vh;object-fit:contain}
.photo-dialog p{margin:10px 0 0;font-size:15px}
.photo-dialog-close{display:block;margin:0 0 12px auto;padding:8px 14px;border:1px solid #888;border-radius:4px;background:#fff;cursor:pointer;font-weight:600}
.photo-gallery-view{position:relative;display:grid;grid-template-columns:56px minmax(0,1fr) 56px;align-items:center;gap:12px}
.photo-gallery-view img{grid-column:2;grid-row:1}
.gallery-nav{width:48px;height:48px;border:1px solid #cfc5b6;border-radius:50%;background:#fff;color:#35291f;font-size:34px;line-height:1;cursor:pointer}
.gallery-nav:hover{background:#35291f;color:#fff}
.gallery-prev{grid-column:1;grid-row:1}.gallery-next{grid-column:3;grid-row:1}
.gallery-position{text-align:center;color:#85643f;font-size:13px;letter-spacing:.1em}
.photo-gallery-dialog .gallery-caption{text-align:center;font-family:Georgia,serif;font-size:20px;color:#35291f}
/* Promotions and integrated estimate. */
.promo-intro{padding-bottom:25px}
.promo-grid{padding-top:15px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.promo-card{padding:28px;background:#fff;border:1px solid #ded7cc;box-shadow:0 6px 22px #1c140b0a}
.promo-card>small{display:block;color:#85643f}
.promo-card>strong{display:block;margin:15px 0 2px;font-family:Georgia,serif;font-size:clamp(30px,4vw,45px);line-height:1.12;color:#35291f}
.promo-card h2{font-size:24px;margin:7px 0 12px}
.promo-card p{color:#5d5a54}
.promo-card .button{margin-top:10px}
.promo-feature{background:#f7f2eb}
.promo-voucher{grid-column:1/-1;display:grid;grid-template-columns:minmax(260px,.72fr) minmax(0,1.3fr);gap:clamp(28px,5vw,72px);align-items:center}
.voucher-art{position:relative;isolation:isolate;display:flex;min-height:370px;padding:38px 24px;overflow:hidden;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left;color:#f8f4ec;background:linear-gradient(145deg,#b6a183 0%,#81735f 43%,#36362f 100%);box-shadow:0 18px 38px #122b251f}
.voucher-art:before,.voucher-art:after{position:absolute;z-index:-1;content:"";inset:0;background:linear-gradient(115deg,transparent 12%,#ffffff12 12.2%,transparent 12.5% 40%,#ffffff12 40.2%,transparent 40.5% 74%,#ffffff10 74.2%,transparent 74.5%)}
.voucher-art:after{inset:16px;border:1px solid #e6d8b866;background:linear-gradient(135deg,#ffffff12,transparent 48%);mask-image:none}
.voucher-art>span{font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:#dfd3b6}
.voucher-art>strong{margin-top:22px;font-family:Georgia,serif;font-size:clamp(25px,3vw,38px);font-weight:400;font-style:italic}
.voucher-art>b{display:block;margin-top:17px;font-family:Georgia,serif;font-size:18px;font-weight:400;line-height:1.1;letter-spacing:0}
.voucher-art>b em{display:block;margin-top:2px;font-size:clamp(47px,6vw,74px);font-style:normal;letter-spacing:-.055em}
.voucher-art>i{margin-top:10px;font-family:Georgia,serif;font-size:20px;font-weight:400}
.voucher-art-lines{display:flex;gap:5px;margin-top:28px}
.voucher-art-lines span{display:block;width:24px;height:2px;background:#d8c9a5}
.promo-voucher h2{font-size:clamp(27px,3vw,36px)}
.voucher-breakdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}
.voucher-item{display:flex;min-height:76px;padding:13px 16px;flex-direction:column;justify-content:space-between;gap:12px;background:#fff;border:1px solid #ded7cc;box-shadow:0 5px 15px #1c140b0b}
.voucher-room{font-size:14px;font-weight:500;color:#5d5a54}
.voucher-item strong{align-self:flex-end;color:#735638;font-family:Georgia,serif;font-size:22px;line-height:1.1;white-space:nowrap}
.voucher-note{font-size:14px}
.promo-terms{max-width:1100px;margin:0 auto 55px;padding:0 6%;font-size:14px;color:#5d5a54}
.estimate-intro{padding-bottom:26px}
.estimate-layout{padding-top:12px;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.8fr);gap:42px;align-items:start}
.estimate-layout form{padding:30px;background:#f5f2ed;border:1px solid #ded7cc;border-radius:6px}
.estimate-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
.estimate-fields label:first-child,.estimate-fields input:first-of-type{grid-column:1/-1}
.estimate-fields label{margin-top:8px}
.estimate-packages{display:flex;flex-wrap:wrap;gap:10px 20px;margin:18px 0;padding:16px;border:1px solid #d5c9b8}
.estimate-packages legend{font-weight:700;padding:0 7px}
.estimate-packages label{display:flex;align-items:center;gap:6px;margin:0;font-weight:500}
.estimate-packages input{width:auto;margin:0;accent-color:#725033}
.estimate-rooms{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.estimate-room{display:flex;align-items:flex-start;gap:12px;margin:0;padding:14px;background:#fff;border:1px solid #ded7cc;cursor:pointer}
.estimate-room>input{width:20px;height:20px;flex:0 0 20px;margin:4px 0 0;accent-color:#765638}
.estimate-room>span{display:grid;gap:2px}
.estimate-room strong{font-size:16px}
.estimate-room small{font-size:13px;letter-spacing:0;color:#676159;font-weight:400}
.kitchen-options{display:grid;gap:8px;margin-top:8px;font-size:14px;font-weight:400}
.kitchen-options input[type=number]{display:inline-block;width:74px;margin:0 3px;padding:6px}
.kitchen-options input[type=checkbox]{display:inline-block;width:auto;margin:0 5px 0 0;vertical-align:middle}
.estimate-result{margin:20px 0;padding:20px;background:#241e19;color:#fff;border-radius:4px}
.estimate-result small{color:#dfbd98}
.estimate-result strong{display:block;margin:5px 0;font-family:Georgia,serif;font-size:36px}
.estimate-result p{color:#eee;margin:0;line-height:1.6}
.estimate-result[hidden],.estimate-status[hidden]{display:none!important}
.estimate-status{margin:14px 0;padding:13px 16px;border:1px solid #ded7cc;border-radius:4px;line-height:1.5;font-weight:600}
.estimate-status[data-state="pending"]{background:#f7f1e7;color:#694b2d}
.estimate-status[data-state="success"]{background:#e9f3eb;border-color:#bdd8c2;color:#255537}
.estimate-status[data-state="error"]{background:#fff0ed;border-color:#e5b8ad;color:#8a3023}
.form-trap{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}
#estimate-submit:disabled{opacity:.72;cursor:wait}
.estimate-layout .privacy-check{margin:18px 0!important}
.estimate-layout .privacy-check span{font-size:13px}
.estimate-layout form>.button{width:100%}
.estimate-aside{position:sticky;top:24px;padding:18px;background:#fff;border:1px solid #ded7cc}
.estimate-aside img{display:block;width:100%;height:240px;object-fit:cover}
.estimate-aside h2{font-size:28px}
.estimate-aside p{color:#5d5a54}
@media(max-width:900px){.home-inspiration .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-room img{height:250px}.estimate-layout{grid-template-columns:1fr}.estimate-aside{position:static}.estimate-aside img{height:300px}}
@media(max-width:700px){.promo-voucher{grid-template-columns:1fr}.voucher-art{min-height:310px}}
@media(max-width:560px){.home-inspiration .gallery-grid{grid-template-columns:1fr}.home-room img{height:290px}.gallery-filters{justify-content:flex-start}.gallery-filter{font-size:14px;padding:10px 13px}.gallery-photo>span{opacity:1}.brand-examples{padding:18px}.promo-grid,.estimate-rooms,.estimate-fields{grid-template-columns:1fr}.promo-voucher{grid-column:auto}.voucher-breakdown{grid-template-columns:1fr}.voucher-item{min-height:68px;flex-direction:row;align-items:center}.voucher-item strong{align-self:auto}.estimate-fields label,.estimate-fields input{grid-column:1!important}.estimate-layout form{padding:18px}.estimate-packages{display:grid}.estimate-packages label{padding:7px 0}.estimate-aside img{height:260px}.photo-dialog{padding:12px}.photo-gallery-view{grid-template-columns:38px minmax(0,1fr) 38px;gap:6px}.gallery-nav{width:36px;height:36px;font-size:26px}}
@media(prefers-reduced-motion:reduce){.home-room img,.gallery-photo>span{transition:none}}

/* Desktop: give page links enough size and a dedicated readable row. */
@media(min-width:1001px){
  body header{grid-template-columns:1fr auto;gap:0 28px;padding:0 5% 20px}
  body header>a:first-child{padding:26px 0 20px}
  body header>a:first-child img{width:min(100%,1480px);margin:0 auto}
  body header nav{grid-column:1/-1;grid-row:2;width:100%;justify-content:center;gap:clamp(18px,2.2vw,34px);padding:15px 0 0}
  body header nav a{font-size:clamp(16px,1.25vw,19px);font-weight:600;white-space:nowrap;letter-spacing:.015em}
  body header>.button{grid-column:1/-1;grid-row:3;justify-self:center;margin-top:18px;font-size:15px;padding:14px 24px}
}
@media(min-width:1001px) and (max-width:1250px){body header nav{grid-column:1/-1;grid-row:2;width:100%;justify-content:center;padding:15px 0 0}}
.page-index .hero-copy{max-width:1080px}
.page-index .hero-copy h1{max-width:940px;font-size:clamp(58px,6.5vw,88px);line-height:.98}
.page-index .hero-copy .intro{max-width:660px}
.page-index .invite>div{flex:1;min-width:0}
.page-index .invite h2{max-width:900px;font-size:clamp(48px,5.5vw,76px);line-height:1.02;margin:0 0 16px}
.page-index .invite p{max-width:720px;font-size:clamp(15px,1.35vw,18px);line-height:1.55;margin:0;color:#e1ddd6}
@media(max-width:640px){.page-index .hero{min-height:690px}.page-index .hero-copy{padding:42px 6%}.page-index .hero-copy h1{font-size:clamp(42px,11vw,56px);line-height:.99}.page-index .invite h2{font-size:clamp(38px,9vw,48px);line-height:1.04}.page-index .invite p{font-size:15px}}

/* PRIME-inspired, but unmistakably Arredo Vicino: a quiet editorial image dissolve. */
.page-index .hero[data-hero-carousel]{overflow:hidden}
.hero-images{position:absolute;inset:0;z-index:-2;overflow:hidden;background:#222521}
.hero-image{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.075);transition:opacity 1400ms cubic-bezier(.2,.65,.25,1),transform 7600ms linear;will-change:opacity,transform}
.hero-image.is-active{opacity:1;transform:scale(1.018)}
.hero-controls{display:flex;max-width:285px;align-items:center;gap:12px;margin-top:22px;color:#f6eee3}
.hero-control{display:grid;width:35px;height:35px;flex:0 0 35px;place-items:center;padding:0;border:1px solid #f5eee38c;border-radius:50%;background:#13151255;color:inherit;cursor:pointer;transition:background 180ms ease,border-color 180ms ease,transform 180ms ease}
.hero-control:hover,.hero-control:focus-visible{border-color:#e7be94;background:#c9a278;color:#201d18;transform:translateY(-1px)}
.hero-control svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.hero-control svg[hidden]{display:none}
.hero-control svg[data-hero-play] path{fill:currentColor;stroke:none}
.hero-position{flex:0 0 auto;font-size:11px;font-weight:700;letter-spacing:.12em;font-variant-numeric:tabular-nums}
.hero-position span{padding:0 3px;color:#e7be94}
.hero-progress{position:relative;height:1px;flex:1;overflow:hidden;background:#fff8}
.hero-progress span{position:absolute;inset:0;display:block;background:#e7be94;transform:scaleX(0);transform-origin:left}
.hero-progress.is-running span{animation:hero-progress 7600ms linear both}
@keyframes hero-progress{to{transform:scaleX(1)}}
@media(max-width:640px){.hero-image{transition:opacity 1000ms cubic-bezier(.2,.65,.25,1),transform 7600ms linear}.hero-controls{max-width:265px;margin-top:18px;gap:10px}.hero-control{width:33px;height:33px;flex-basis:33px}}
@media(prefers-reduced-motion:reduce){.hero-image{transform:none;transition:none}.hero-progress.is-running span{animation:none}.hero-control{transition:none}}

/* A discreet, dismissible promotion card that stays clear of the fixed contact bar. */
.promo-popover{position:fixed;z-index:30;right:24px;bottom:88px;display:grid;gap:10px;width:min(420px,calc(100vw - 32px));padding:22px 24px 18px;border:1px solid #b99770;border-radius:4px;background:linear-gradient(145deg,#292a27,#38342f 72%,#484034);box-shadow:0 18px 52px #17130f40;color:#fbf8f2;opacity:0;transform:translateY(14px);transition:opacity 260ms ease,transform 260ms cubic-bezier(.2,.65,.25,1)}
.promo-popover[hidden]{display:none!important}
.promo-popover.is-visible{opacity:1;transform:translateY(0)}
.promo-popover-top{display:flex;align-items:center;justify-content:space-between;gap:15px}
.promo-popover-top>small{color:#e4c69e;font-size:9px;letter-spacing:.16em}
.promo-popover-close{display:grid;width:32px;height:32px;flex:0 0 32px;place-items:center;padding:0;border:1px solid #ffffff55;border-radius:50%;background:#ffffff0b;color:#fff;cursor:pointer}
.promo-popover-close:hover,.promo-popover-close:focus-visible{border-color:#e7be94;background:#ffffff18}
.promo-popover-close svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.promo-popover-value{margin:2px 0 -10px;color:#e7be94;font-size:10px;font-weight:700;letter-spacing:.14em}
.promo-popover h2{margin:0;font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(31px,3.1vw,39px);font-weight:500;line-height:1.02;color:#fffaf2}
.promo-popover-copy{max-width:365px;margin:0;color:#e7e2d9;font-size:13px;line-height:1.55}
.promo-popover-actions{display:flex;align-items:center;gap:15px;margin-top:2px}
.promo-popover-actions .button{flex:0 0 auto;padding:11px 15px;font-size:12px}
.promo-popover-catalog{display:inline-flex;align-items:center;gap:7px;color:#f5eee3;font-size:12px;font-weight:600;text-decoration:underline;text-decoration-color:#d3ad80;text-underline-offset:4px}
.promo-popover-catalog span{color:#e7be94;font-size:18px;line-height:1}
@media(max-width:560px){.promo-popover{right:12px;bottom:76px;width:calc(100vw - 24px);gap:9px;padding:17px 18px 15px;border-radius:4px}.promo-popover h2{font-size:33px}.promo-popover-copy{font-size:12px}.promo-popover-actions{gap:12px}.promo-popover-actions .button{padding:10px 12px;font-size:11px}.promo-popover-catalog{font-size:11px}}
@media(max-width:360px){.promo-popover-actions{align-items:stretch;flex-direction:column;gap:10px}.promo-popover-actions .button{justify-content:center}.promo-popover-catalog{justify-content:center}}
@media(prefers-reduced-motion:reduce){.promo-popover{transition:none}}

/* Cucine: anteprime brevi, gallerie complete e indipendenti per tipologia. */
.gallery-count{display:none!important}
.kitchen-inspiration{padding-bottom:36px}
.kitchen-inspiration .gallery-heading{margin-bottom:24px}
.kitchen-collection-nav{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:26px auto 0}
.kitchen-collection-nav a{padding:10px 15px;border:1px solid #d8c8b0;border-radius:999px;background:#fff;color:#51412f;text-decoration:none;font-size:14px;font-weight:700;transition:background .2s,color .2s,border-color .2s}
.kitchen-collection-nav a:hover,.kitchen-collection-nav a:focus-visible{background:#805b35;border-color:#805b35;color:#fff}
.kitchen-collection{max-width:1320px;margin:0 auto 24px;padding:55px 6%;border-radius:8px;scroll-margin-top:24px}
.kitchen-collection:nth-child(even){background:#fff}
.kitchen-collection .gallery-heading{margin-bottom:25px}
.kitchen-collection .gallery-heading h2{margin-bottom:9px}
.kitchen-collection .gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:25px 0 18px}
.kitchen-collection .gallery-grid img{height:200px}
.kitchen-collection .gallery-grid figure:nth-child(n+5){display:none}
.kitchen-collection .gallery-grid figcaption{padding:10px 12px;font-size:13px}
.kitchen-gallery-button{display:flex;width:max-content;margin:18px auto 0}
@media(max-width:900px){.kitchen-collection .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kitchen-collection .gallery-grid img{height:230px}}
@media(max-width:560px){.kitchen-collection-nav{justify-content:flex-start}.kitchen-collection-nav a{font-size:13px;padding:9px 12px}.kitchen-collection{margin-bottom:14px;padding:42px 6%;border-radius:0}.kitchen-collection .gallery-heading{text-align:left}.kitchen-collection .gallery-grid{grid-template-columns:1fr;gap:12px}.kitchen-collection .gallery-grid img{height:260px}.kitchen-gallery-button{width:100%;justify-content:center}}
@media(prefers-reduced-motion:reduce){.kitchen-collection-nav a{transition:none}}

/* Preventivo Casa: piccole icone coordinate, leggibili anche su mobile. */
.estimate-room{display:grid;grid-template-columns:20px 42px minmax(0,1fr);align-items:center;gap:10px;margin:0;padding:12px;background:#fff;border:1px solid #ded7cc;border-radius:8px;cursor:pointer;transition:border-color .2s,box-shadow .2s}
.estimate-room:has(>input:checked){border-color:#b59166;box-shadow:0 0 0 2px #d4a57422}
.estimate-room>input{width:18px;height:18px;flex:0 0 18px;margin:0;accent-color:#765638}
.estimate-room-icon{display:grid;width:40px;height:40px;place-items:center;border-radius:11px;background:#f1ebe2;color:#806343}
.estimate-room-icon svg{display:block;width:25px;height:25px}
.estimate-room-copy{display:grid;gap:2px;min-width:0}
.estimate-room-copy strong{font-size:15px;line-height:1.3}
.estimate-room-copy small{font-size:12px;line-height:1.4;letter-spacing:0;color:#676159;font-weight:400}
.estimate-room .kitchen-options{grid-column:1/-1}
@media(max-width:560px){.estimate-room{grid-template-columns:18px 38px minmax(0,1fr);gap:9px;padding:11px}.estimate-room-icon{width:36px;height:36px}.estimate-room-icon svg{width:23px;height:23px}}

/* Promozione: bonus compatto, grafica calda e coerente con il sito. */
.page-promozioni .promo-voucher{display:grid;grid-column:1/-1;grid-template-columns:minmax(220px,.72fr) minmax(0,1.28fr);gap:clamp(20px,3vw,36px);align-items:center;padding:clamp(16px,2.2vw,24px);overflow:hidden;border:1px solid #e7dfd3;border-radius:22px;background:#fff;box-shadow:0 15px 38px #30271d10}
.page-promozioni .voucher-art{min-height:230px;padding:22px clamp(20px,3vw,30px);border-radius:15px;background:radial-gradient(circle at 88% 12%,#d4a57424,transparent 36%),linear-gradient(145deg,#252622,#37332e 70%,#494137);box-shadow:0 12px 25px #27221b24}
.page-promozioni .voucher-art:before{background:linear-gradient(125deg,transparent 0 62%,#ffffff08 62.2%,transparent 62.5%)}
.page-promozioni .voucher-art:after{inset:10px;border:1px solid #d7bd925e;border-radius:10px;background:linear-gradient(130deg,#ffffff08,transparent 55%)}
.page-promozioni .voucher-art>span{font-family:Manrope,Arial,sans-serif;font-size:10px;letter-spacing:.16em;color:#dfc79f}
.page-promozioni .voucher-art>strong{margin-top:13px;font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(27px,3vw,36px);font-weight:500;font-style:normal;line-height:1.02}
.page-promozioni .voucher-art>b{margin-top:13px;font-family:Manrope,Arial,sans-serif;font-size:14px;font-weight:600;line-height:1.1}
.page-promozioni .voucher-art>b em{display:inline-block;margin-left:5px;font-size:clamp(38px,4vw,52px);font-style:normal;font-weight:700;letter-spacing:-.055em;color:#e6c99c}
.page-promozioni .voucher-art>i{margin-top:7px;font-family:Manrope,Arial,sans-serif;font-size:12px;font-style:normal;color:#eee8dc}
.page-promozioni .voucher-art-lines{gap:4px;margin-top:14px}
.page-promozioni .voucher-art-lines span{width:18px;height:2px;background:#d4a574}
.page-promozioni .voucher-content{width:100%;padding:0;text-align:left}
.page-promozioni .voucher-content>small{font-size:10px;color:#806748}
.page-promozioni .voucher-content>h2{margin:5px 0;font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(27px,3vw,34px)}
.page-promozioni .voucher-content>p:not(.voucher-note){margin:0;color:#6a655d;font-size:14px}
.page-promozioni .voucher-breakdown{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0 12px}
.page-promozioni .voucher-item{display:flex;min-width:0;min-height:70px;padding:9px 10px;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:8px;border:1px dashed #d3c3aa;border-radius:11px;background:#faf8f4;box-shadow:none;text-align:left}
.page-promozioni .voucher-room{font-size:12px;font-weight:600;line-height:1.25;color:#36342f}
.page-promozioni .voucher-room:before{display:block;margin-bottom:4px;content:"BONUS AMBIENTE";font-size:8px;font-weight:700;letter-spacing:.12em;color:#8b806d}
.page-promozioni .voucher-item strong{display:flex;min-width:0;min-height:30px;align-items:center;justify-content:center;align-self:flex-start;padding:5px 9px;border:1px solid #dfcfb5;border-radius:8px;background:#f0e8da;color:#5d452b;font-family:Manrope,Arial,sans-serif;font-size:15px;font-weight:700;letter-spacing:-.02em}
.page-promozioni .voucher-note{margin:0 0 6px;font-size:12px;line-height:1.45}
.page-promozioni .voucher-content>.button{margin-top:8px;padding:11px 16px;font-size:14px}
.page-promozioni .payment-options{display:grid;gap:10px;margin:15px 0}
.page-promozioni .payment-option{padding:12px 14px;border-left:3px solid #b59166;background:#f7f2eb}
.page-promozioni .payment-option>strong{display:block;margin:0;font-family:Manrope,Arial,sans-serif;font-size:16px;line-height:1.35;color:#35291f}
.page-promozioni .payment-option p{margin:5px 0 0;font-size:14px;line-height:1.5;color:#5d5a54}
@media(max-width:820px){.page-promozioni .promo-voucher{grid-template-columns:1fr}.page-promozioni .voucher-art{min-height:185px}.page-promozioni .voucher-content{padding:2px 2px 4px}}
@media(max-width:560px){.page-promozioni .promo-voucher{padding:13px;border-radius:18px}.page-promozioni .voucher-art{min-height:176px;padding:20px;border-radius:13px}.page-promozioni .voucher-art:after{inset:8px}.page-promozioni .voucher-art>strong{font-size:29px}.page-promozioni .voucher-art>b em{font-size:43px}.page-promozioni .voucher-breakdown{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:12px 0}.page-promozioni .voucher-item{min-height:66px;padding:8px}.page-promozioni .voucher-item strong{min-height:28px;font-size:14px}.page-promozioni .voucher-note{font-size:11px}.page-promozioni .voucher-content>.button{width:100%;justify-content:center}}
@media(max-width:360px){.page-promozioni .voucher-breakdown{grid-template-columns:1fr}}

/* Raccolte indipendenti: una scelta chiara apre la propria galleria, senza duplicare anteprime. */
.gallery-collection-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));gap:16px;max-width:1120px;margin:30px auto 18px}
.kitchen-gallery-collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:920px}
.gallery-collection{min-width:0;margin:0;padding:0;overflow:hidden;border:1px solid #e4ddd3;border-radius:7px;background:#fff!important;box-shadow:0 8px 24px #30271d0b}
.gallery-collection-trigger{display:flex;width:100%;min-height:190px;flex-direction:column;align-items:flex-start;gap:14px;padding:25px;border:0;background:#fff;color:#302c27;text-align:left;cursor:pointer;transition:background .2s ease,transform .2s ease}
.gallery-collection-trigger:hover{background:#faf8f4;transform:translateY(-2px)}
.gallery-collection-trigger:focus-visible{outline:3px solid #805b35;outline-offset:-4px}
.gallery-collection-number{font-size:12px;font-weight:700;letter-spacing:.14em;color:#8a6845}
.gallery-collection-trigger strong{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(27px,2.8vw,36px);font-weight:500;line-height:1.05}
.gallery-collection-action{width:100%;margin-top:auto;padding-top:12px;border-top:1px solid #e9e3da;color:#715638;font-size:14px;font-weight:700}
@media(max-width:560px){.kitchen-gallery-collection-grid{grid-template-columns:1fr}.gallery-collection-grid{gap:12px;margin-top:22px}.gallery-collection-trigger{min-height:155px;padding:21px}.gallery-collection-trigger strong{font-size:30px}}
@media(prefers-reduced-motion:reduce){.gallery-collection-trigger{transition:none}}

/* Virtuo 3D feature on the Services page */
.virtual-project.section{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);align-items:center;gap:clamp(34px,6vw,88px);max-width:none;margin:0;padding-left:max(6%,calc((100vw - 1160px)/2));padding-right:max(6%,calc((100vw - 1160px)/2));background:#eee9e0}
.virtual-project-media{display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:13px}
.virtual-project-render{position:relative;margin:0;overflow:hidden;background:#252724;box-shadow:0 18px 42px #25272422}
.virtual-project-render-kitchen{z-index:1}
.virtual-project-render-plan{margin-top:54px}
.virtual-project-render img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;transition:transform 350ms ease}
.virtual-project-render:after{position:absolute;inset:45% 0 0;content:"";background:linear-gradient(0deg,#151714bf,transparent);pointer-events:none}
.virtual-project-render figcaption{position:absolute;z-index:1;right:12px;bottom:12px;left:14px;color:#fff;font-size:13px;font-weight:600;line-height:1.35}
.virtual-project-render:hover img{transform:scale(1.025)}
.virtual-project-copy{max-width:590px}
.virtual-project-copy>small{color:#805329}
.virtual-project-copy h2{margin:17px 0 20px;font-size:clamp(42px,4.6vw,64px);line-height:1.02}
.virtual-project-copy>p:not(.virtual-project-note){color:#50504b;font-size:16px;line-height:1.8}
.virtual-project-points{display:grid;gap:8px;margin:22px 0 26px;padding:0;list-style:none}
.virtual-project-points li{position:relative;padding-left:22px;color:#44453f;font-size:14px}
.virtual-project-points li::before{content:"";position:absolute;top:.7em;left:1px;width:7px;height:7px;border-radius:50%;background:#b18c62}
.virtual-project-copy .button{margin-top:2px}
.virtual-project-note{margin:14px 0 0;color:#69655e;font-size:13px}
.service-support.section{padding-top:58px}
.sticky .service-icon{stroke-width:1.7}
@media(max-width:900px){.virtual-project.section{grid-template-columns:1fr;gap:32px}.virtual-project-copy{max-width:760px}.virtual-project-copy h2{font-size:clamp(42px,7vw,62px)}}
@media(max-width:640px){.virtual-project.section{padding:58px 6%}.virtual-project-media{grid-template-columns:1fr;gap:12px}.virtual-project-render-plan{margin-top:0}.virtual-project-render img{aspect-ratio:16/10}.virtual-project-render figcaption{font-size:14px;left:16px;bottom:14px}.virtual-project-copy h2{font-size:48px}.virtual-project-copy>p:not(.virtual-project-note){font-size:15px}.service-support.section{padding-top:38px}}
@media(max-width:370px){.sticky{gap:7px;padding:10px 5px}.sticky .button{font-size:12px;padding:10px 8px}.sticky .service-icon{display:block;width:18px;height:18px}.sticky>a{gap:4px}.sticky>a:not(.button){font-size:12px}}
.gallery-collection-trigger.has-cover{background-color:#292a27;background-size:cover;background-position:center;color:#fff;border-color:transparent}
.gallery-collection-trigger.has-cover strong{position:relative;color:#fff;text-shadow:0 2px 8px #0008}
.gallery-collection-trigger.has-cover .gallery-collection-number{color:#f2ddc1;text-shadow:0 1px 5px #0007}
.gallery-collection-trigger.has-cover .gallery-collection-action{color:#fff;border-top-color:#ffffff8a}
.gallery-collection-trigger.has-cover:hover{background-color:#22231f;filter:brightness(1.06)}
.photo-gallery-view img[hidden],.photo-gallery-view button[hidden],.gallery-catalog-slide[hidden]{display:none!important}
.gallery-catalog-slide{grid-column:2;grid-row:1;display:flex;min-height:min(62vh,560px);flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:36px;background:linear-gradient(145deg,#eee8de,#fbfaf7);text-align:center}
.gallery-catalog-slide>small{color:#80603d;font-size:11px;letter-spacing:.16em}
.gallery-catalog-slide h2{max-width:520px;margin:0;font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(34px,4.4vw,54px);font-weight:500;line-height:1.02;color:#302c27}
.gallery-catalog-slide p{max-width:390px;margin:0;color:#5d5952;font-size:16px;line-height:1.65}
.gallery-catalog-slide .button{margin-top:6px}
.photo-dialog.is-gallery-final .photo-gallery-view img{max-height:62vh}
@media(max-width:560px){.gallery-catalog-slide{min-height:54vh;padding:22px 16px;gap:13px}.gallery-catalog-slide h2{font-size:39px}.gallery-catalog-slide .button{width:100%;justify-content:center}}

.solution-carousel{max-width:1280px;margin:0 auto;touch-action:pan-y}
.solution-carousel-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,4fr) minmax(0,1fr);align-items:center;gap:clamp(8px,1.8vw,22px);overflow:hidden;width:100%}
.solution-carousel-main{grid-column:2;grid-row:1;position:relative;min-width:0;width:100%}
.solution-carousel-main-image{display:block;width:100%;aspect-ratio:1.55;max-height:min(68vh,680px);border-radius:8px;background:#f8f6f2;object-fit:contain;box-shadow:0 18px 48px #30271d12}
.solution-carousel-main-image[hidden],.solution-carousel-preview[hidden],.solution-carousel-preview img[hidden],.solution-carousel-catalog[hidden]{display:none!important}
.solution-carousel-catalog{display:flex;min-height:min(68vh,680px);aspect-ratio:1.55;flex-direction:column;align-items:center;justify-content:center;gap:clamp(18px,3vw,30px);padding:clamp(24px,5vw,64px);border:1px solid #e4dbcf;border-radius:8px;background:linear-gradient(145deg,#eee8de,#fbfaf7);text-align:center;box-shadow:0 18px 48px #30271d12}
.solution-carousel-catalog>small{color:#80603d;font-size:11px;letter-spacing:.16em}
.solution-carousel-catalog h2{max-width:620px;margin:0;font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(34px,4.4vw,58px);font-weight:500;line-height:1.02;color:#302c27}
.solution-carousel-catalog .button{margin-top:4px}
.solution-carousel-preview{position:relative;display:block;overflow:hidden;width:100%;aspect-ratio:1.12;padding:0;border:1px solid #e1d9ce;border-radius:6px;background:#e9e5df;cursor:pointer;transition:transform .2s ease,border-color .2s ease}
.solution-carousel-preview img{display:block;width:100%;height:100%;object-fit:cover;opacity:.68;transition:opacity .2s ease,transform .2s ease}
.solution-carousel-preview:hover{transform:scale(1.025);border-color:#9a7b57}
.solution-carousel-preview:hover img{opacity:.95;transform:scale(1.035)}
.solution-carousel-preview.is-catalog-preview{background:linear-gradient(145deg,#eee8de,#fbfaf7)}
.solution-carousel-preview.is-catalog-preview:before{position:absolute;inset:18% 6% auto;content:'RICHIEDI IL CATALOGO';color:#62533f;font-size:clamp(8px,.8vw,12px);font-weight:600;letter-spacing:.1em;line-height:1.5;text-align:center}
.solution-carousel-chevron{position:absolute;top:50%;left:50%;display:grid;width:36px;height:36px;place-items:center;border:1px solid #ffffffb8;border-radius:50%;background:#fffF;color:#302c27;transform:translate(-50%,-50%);box-shadow:0 2px 10px #0002}
.solution-carousel-chevron svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.solution-carousel-status{display:block;width:max-content;max-width:100%;margin:12px auto 0;color:#756957;font-size:13px;line-height:1.35;letter-spacing:.08em;text-align:center}
@media(max-width:640px){.solution-carousel-stage{grid-template-columns:minmax(36px,.75fr) minmax(0,4fr) minmax(36px,.75fr);gap:7px}.solution-carousel-main-image{aspect-ratio:1.08;max-height:58vh;border-radius:5px}.solution-carousel-catalog{min-height:52vh;aspect-ratio:1.08;padding:20px 14px;gap:16px;border-radius:5px}.solution-carousel-catalog h2{font-size:clamp(32px,8vw,42px)}.solution-carousel-catalog .button{width:100%;justify-content:center}.solution-carousel-preview{aspect-ratio:.82;border-radius:4px}.solution-carousel-preview.is-catalog-preview:before{inset:16% 3% auto;font-size:8px;letter-spacing:.06em}.solution-carousel-chevron{width:26px;height:26px}.solution-carousel-chevron svg{width:17px;height:17px}.solution-carousel-preview img{opacity:.78}}
@media(prefers-reduced-motion:reduce){.solution-carousel-preview,.solution-carousel-preview img{transition:none}}

/* PRIME-inspired motion, expressed in Arredo Vicino's own warm visual language. */
@view-transition{navigation:auto}
@media(prefers-reduced-motion:no-preference){
  ::view-transition-old(root){animation:arredo-page-out 180ms ease-in both}
  ::view-transition-new(root){animation:arredo-page-in 540ms cubic-bezier(.16,1,.3,1) both}
  header{view-transition-name:arredo-header}
  .sticky{view-transition-name:arredo-actions}
}
@keyframes arredo-page-out{to{opacity:.72;filter:blur(2px);transform:translateY(-4px)}}
@keyframes arredo-page-in{from{opacity:.6;filter:blur(2px);transform:translateY(10px)}to{opacity:1;filter:blur(0);transform:translateY(0)}}
@keyframes arredo-page-load{from{opacity:.84}to{opacity:1}}
@keyframes hero-copy-arrive{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}

.cinematic-reveal{opacity:0;transform:translateY(20px);transition:opacity 720ms cubic-bezier(.2,.65,.25,1),transform 720ms cubic-bezier(.2,.65,.25,1);transition-delay:var(--cinematic-delay,0ms)}
.cinematic-reveal.is-visible{opacity:1;transform:translateY(0)}
.solution-carousel-main-image.image-soft-arrive,.photo-gallery-view img.image-soft-arrive{animation:arredo-image-dissolve 580ms cubic-bezier(.2,.65,.25,1) both}
@keyframes arredo-image-dissolve{from{opacity:.38;filter:blur(1.5px);transform:scale(1.012)}to{opacity:1;filter:blur(0);transform:scale(1)}}

.photo-dialog[open]{animation:arredo-dialog-in 360ms cubic-bezier(.2,.75,.25,1) both}
.photo-dialog[open]::backdrop{animation:arredo-backdrop-in 240ms ease-out both}
@keyframes arredo-dialog-in{from{opacity:0;transform:translateY(12px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes arredo-backdrop-in{from{background:#09080700}to{background:#090807d9}}

@media(prefers-reduced-motion:reduce){
  ::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}
  .cinematic-reveal{opacity:1;transform:none;transition:none}
  .solution-carousel-main-image.image-soft-arrive,.photo-gallery-view img.image-soft-arrive,.photo-dialog[open],.photo-dialog[open]::backdrop{animation:none!important}
}

/* Homepage: one immersive opening, with the original mark and navigation inside the scene. */
body.page-index>.top{
  position:absolute;z-index:15;inset:0 0 auto;background:#11130f78;border:0;
  padding:9px 16px;color:#f5f1e9;text-align:center;backdrop-filter:blur(8px)
}
body.page-index>.top a{color:#f0c99e}
body.page-index>header{
  position:absolute;z-index:14;top:38px;right:0;left:0;display:grid;
  grid-template-columns:minmax(0,1fr) auto;gap:0 24px;padding:10px 5% 0;
  min-width:0;max-width:100vw;color:#fff;border:0;
  background:linear-gradient(180deg,#080a09ed 0%,#080a09b8 72%,#080a0938 100%);
  isolation:auto;view-transition-name:none
}
body.page-index>header>a:first-child{
  grid-column:1/-1;grid-row:1;justify-content:center;width:100%;margin:0;
  min-width:0;max-width:100%;overflow:hidden;padding:8px 0 16px;border:0;background:none;mix-blend-mode:normal
}
body.page-index>header>a:first-child img{
  display:block;flex:0 1 auto;width:min(64vw,760px);max-width:calc(100vw - 64px);height:auto;max-height:190px;margin:0 auto;
  aspect-ratio:8000/1873;object-fit:contain;mix-blend-mode:normal
}
body.page-index>header nav{
  grid-column:1;grid-row:2;order:initial;width:auto;justify-content:flex-start;
  gap:clamp(12px,1.7vw,25px);padding:13px 0 0;border-top:1px solid #ffffff42;color:#fff
}
body.page-index>header nav a{font-size:clamp(14px,1.12vw,17px);font-weight:600;white-space:nowrap}
body.page-index>header nav a[aria-current],body.page-index>header nav a:hover{
  color:#f1c99e;text-decoration-color:#f1c99e
}
body.page-index>header>.button{
  grid-column:2;grid-row:2;align-self:center;justify-self:end;margin:12px 0 0;
  padding:12px 18px;border-color:#e5c49b;background:#e5c49b;color:#201c17;
  box-shadow:0 8px 30px #0003
}
body.page-index .hero[data-hero-carousel]{
  min-height:max(900px,100svh);align-items:flex-start;padding:360px 0 86px;
  background:#252722
}
body.page-index .hero:after{
  background:linear-gradient(180deg,#000 0%,#000 37%,#080a08ed 44%,#10120f62 58%,#10120f24 69%,#10120ff2 100%)
}
body.page-index .hero-copy{width:100%;max-width:1120px;padding:0 7% 12px}
body.page-index .hero-copy h1{max-width:920px;font-size:clamp(56px,6vw,82px);line-height:.98}
body.page-index .hero-copy .intro{max-width:700px;color:#f2eee7;font-size:17px;line-height:1.65}
body.page-index .hero-copy .button{box-shadow:0 10px 35px #0005}
body.page-index .hero-copy .reassure{max-width:640px;font-size:12px;line-height:1.5;color:#e5dfd4}
@media(prefers-reduced-motion:no-preference){body.page-index .hero-copy{animation:hero-copy-arrive 850ms cubic-bezier(.2,.65,.25,1) both}}
body.page-index .hero-controls{margin-top:17px}
body.page-index .hero-image{transform:scale(1.09);transition:opacity 1600ms cubic-bezier(.2,.65,.25,1),transform 10000ms linear}
body.page-index .hero-image.is-active{transform:scale(1.015)}

/* Larger image-led room choices; keep every existing destination and label. */
.page-index .home-inspiration{max-width:none;padding:102px max(5%,calc((100vw - 1440px)/2)) 110px;background:#f0ece5}
.page-index .home-inspiration>small,.page-index .home-inspiration>h2{display:block;max-width:880px;margin-right:auto;margin-left:auto}
.page-index .home-inspiration .gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-top:42px}
.page-index .home-room{min-height:250px;background:#2e302b}
.page-index .home-room img{height:clamp(250px,23vw,340px);filter:brightness(.87)}
.page-index .home-room span{padding:64px 18px 17px;font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(23px,2.1vw,31px);font-weight:500;line-height:1.05}
.page-index .home-room b{margin-top:8px;font-family:Manrope,Arial,sans-serif;font-size:11px;font-weight:600;letter-spacing:.13em;text-transform:uppercase}
.page-index .home-room:hover img{filter:brightness(1);transform:scale(1.055)}

@media(max-width:1000px){
  body.page-index>header{grid-template-columns:1fr;gap:12px;padding-right:5%;padding-left:5%}
  body.page-index>header nav{grid-column:1;grid-row:2;justify-content:center;width:100%;gap:12px 20px}
  body.page-index>header>.button{grid-column:1;grid-row:3;justify-self:center;margin:0}
  body.page-index .hero[data-hero-carousel]{min-height:1000px;padding-top:430px}
  body.page-index .hero-copy{padding-right:6%;padding-left:6%}
  .page-index .home-inspiration .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
  body.page-index>.top{padding:8px 10px;font-size:11px}
  body.page-index>.top a{display:inline;margin-left:5px}
  body.page-index>header{top:34px;gap:10px;padding-right:4%;padding-left:4%}
  body.page-index>header>a:first-child{padding:8px 0 6px}
  body.page-index>header>a:first-child img{width:min(88vw,600px);max-height:150px}
  body.page-index>header nav{gap:8px 15px;padding-top:11px}
  body.page-index>header nav a{font-size:13px}
  body.page-index>header>.button{padding:10px 15px;font-size:12px}
  body.page-index .hero[data-hero-carousel]{min-height:1000px;padding:340px 0 100px}
  body.page-index .hero:after{background:linear-gradient(180deg,#000 0%,#000 38%,#080a08ed 45%,#10120f85 58%,#10120f36 70%,#10120ff2 100%)}
  body.page-index .hero-copy{padding:0 6%}
  body.page-index .hero-copy h1{font-size:clamp(43px,10.6vw,59px);line-height:1}
  body.page-index .hero-copy .intro{font-size:15px;line-height:1.55}
  body.page-index .hero-copy .button{width:100%;padding:14px 12px}
  body.page-index .hero-copy .reassure{font-size:11px}
  body.page-index .hero-controls{max-width:255px;margin-top:15px}
  .page-index .home-inspiration{padding:62px 6% 70px}
  .page-index .home-inspiration .gallery-grid{grid-template-columns:1fr;gap:13px;margin-top:30px}
  .page-index .home-room img{height:290px}
  .page-index .home-room span{font-size:29px}
}
@media(max-width:380px){
  body.page-index>header nav{gap:7px 11px}
  body.page-index>header nav a{font-size:12px}
  body.page-index .hero[data-hero-carousel]{padding-top:360px}
}
@media(prefers-reduced-motion:reduce){
  body.page-index .hero-image{transform:none;transition:none}
  body.page-index .hero-copy{animation:none}
  .page-index .home-room:hover img{transform:none}
}

/* Restore the original image-integrated home masthead shown in the approved reference. */
body.page-index>.top{display:none}
body.page-index>header{
  position:relative;top:auto;right:auto;left:auto;z-index:14;display:grid;
  grid-template-columns:minmax(0,1fr);gap:0;padding:0 5% 20px;
  min-width:0;max-width:100%;color:#fff;border:0;
  background:linear-gradient(180deg,#080a09c9 0%,#080a096b 58%,#080a09c7 100%),url("assets/cucine.jpg") center 48%/cover;
  isolation:isolate
}
body.page-index>header>a:first-child{
  grid-column:1;grid-row:1;display:flex;justify-content:center;width:100%;min-width:0;max-width:100%;
  margin:0;padding:0;background:none;overflow:hidden;mix-blend-mode:normal
}
body.page-index>header>a:first-child img{
  display:block;flex:0 1 auto;width:min(100%,1480px);max-width:100%;height:auto;max-height:none;margin:0 auto;
  aspect-ratio:8000/1873;object-fit:contain;mix-blend-mode:screen
}
body.page-index>header nav{
  grid-column:1;grid-row:2;order:initial;justify-content:center;width:100%;gap:clamp(18px,2.2vw,34px);
  padding:13px 0 0;border-top:1px solid #ffffff45;color:#fff
}
body.page-index>header nav a{font-size:clamp(16px,1.25vw,19px);font-weight:600;white-space:nowrap;color:#f1ece6}
body.page-index>header nav a:hover,body.page-index>header nav a[aria-current]{color:#ffd0ae;text-decoration-color:#ffd0ae}
body.page-index>header>.button{
  grid-column:1;grid-row:3;justify-self:center;align-self:center;margin:18px 0 0;
  padding:14px 24px;border-color:#e5c49b;background:#e5c49b;color:#201c17
}
body.page-index .hero[data-hero-carousel]{min-height:max(740px,82vh);align-items:flex-start;padding:0;background:#252722}
body.page-index .hero:after{background:linear-gradient(90deg,#171a18d9 0%,#171a188a 48%,#171a1818 100%)}
body.page-index .hero-copy{padding:70px 4.4% 90px}
@media(max-width:1000px){
  body.page-index>header{grid-template-columns:minmax(0,1fr);row-gap:0;padding-right:5%;padding-left:5%}
  body.page-index>header>a:first-child img{width:min(100%,900px)}
  body.page-index>header nav{grid-column:1;grid-row:2;justify-content:center;width:100%;gap:12px 20px}
  body.page-index>header>.button{grid-column:1;grid-row:3;justify-self:center;margin:16px 0 0}
  body.page-index .hero[data-hero-carousel]{min-height:760px;padding:0}
  body.page-index .hero-copy{padding-right:6%;padding-left:6%}
}
@media(max-width:640px){
  body.page-index>header{padding:0 4% 18px;gap:0}
  body.page-index>header>a:first-child{padding:0}
  body.page-index>header>a:first-child img{width:100%;max-height:none}
  body.page-index>header nav{gap:9px 16px;padding-top:11px}
  body.page-index>header nav a{font-size:13px}
  body.page-index>header>.button{padding:11px 18px;font-size:13px;margin-top:13px}
  body.page-index .hero[data-hero-carousel]{min-height:760px;padding:0}
  body.page-index .hero:after{background:linear-gradient(180deg,#11130fb8 0%,#11130f70 42%,#11130f32 66%,#11130fcf 100%)}
  body.page-index .hero-copy{padding:42px 6% 100px}
}
@media(max-width:380px){body.page-index>header nav{gap:7px 11px}body.page-index>header nav a{font-size:12px}}

/* Mobile estimate form: keep the privacy checkbox compact so its copy stays in the form. */
.estimate-layout .privacy-check{
  display:flex;align-items:flex-start;gap:11px;width:100%;min-width:0
}
.estimate-layout .privacy-check>input{
  display:block;flex:0 0 19px;width:19px;height:19px;min-width:19px;
  margin:3px 0 0;padding:0;accent-color:#805329
}
.estimate-layout .privacy-check>span{
  display:block;flex:1 1 0;min-width:0;overflow-wrap:anywhere;line-height:1.55
}

/* A fine, softly fading ribbon bridges the logo scene and the changing hero image. */
body.page-index>header nav,
body:not(.page-index)>header nav{
  position:relative;z-index:1;grid-column:1/-1;min-width:0;display:flex;flex-wrap:wrap;
  align-items:center;justify-content:center;width:calc(100% + 10%);margin:0 0 0 -5%;
  padding:10px 5%;gap:5px clamp(16px,2.25vw,31px);
  border:0;border-top:1px solid #e7cfad55;border-bottom:1px solid #e7cfad4d;border-radius:0;
  background:linear-gradient(90deg,transparent 0%,#1717141c 5%,#14141186 22%,#141411b3 50%,#14141186 78%,#1717141c 95%,transparent 100%);
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 4%,#000 96%,transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0%,#000 4%,#000 96%,transparent 100%);
  backdrop-filter:blur(7px);box-shadow:none
}
body.page-index>header nav a,
body:not(.page-index)>header nav a{
  display:inline-flex;align-items:center;min-height:34px;padding:4px 1px;
  color:#f8f3eb;text-shadow:0 1px 2px #0009;white-space:nowrap;text-underline-offset:6px
}
body.page-index>header nav a:hover,body.page-index>header nav a[aria-current],
body:not(.page-index)>header nav a:hover,body:not(.page-index)>header nav a[aria-current]{
  color:#ffd0ae;text-decoration-color:#ffd0ae
}
body:not(.page-index)>header>.button{grid-column:1/-1;justify-self:center;align-self:center;margin:13px 0 0}
@media(max-width:640px){
  body.page-index>header nav,
  body:not(.page-index)>header nav{
    width:calc(100% + 8%);margin-left:-4%;padding:8px 4%;gap:3px clamp(12px,3.4vw,17px)
  }
  body.page-index>header nav a,
  body:not(.page-index)>header nav a{min-height:32px;padding:4px 0;font-size:clamp(12px,3.5vw,14px)}
}
@media(max-width:380px){
  body.page-index>header nav,body:not(.page-index)>header nav{gap:2px 11px}
  body.page-index>header nav a,body:not(.page-index)>header nav a{font-size:12px}
}

/* The room pages open on a large editorial image with a calm, readable copy panel. */
body:is(.page-cucine,.page-soggiorni,.page-camere,.page-camerette,.page-bagni,.page-divani,.page-complementi) main>.split.section:first-child{
  display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:0;align-items:center;
  width:100%;max-width:none;min-height:620px;margin:0;
  padding:clamp(42px,6vw,82px) max(5%,calc((100vw - 1320px)/2));
  overflow:hidden;background:#ece8e0
}
body:is(.page-cucine,.page-soggiorni,.page-camere,.page-camerette,.page-bagni,.page-divani,.page-complementi) main>.split.section:first-child>div{
  position:relative;z-index:1;margin-right:clamp(-70px,-5vw,-36px);padding:clamp(28px,4vw,58px);
  background:#fbfaf7;box-shadow:0 20px 55px #27221c12
}
body:is(.page-cucine,.page-soggiorni,.page-camere,.page-camerette,.page-bagni,.page-divani,.page-complementi) main>.split.section:first-child>img{
  width:100%;height:clamp(470px,51vw,650px);border-radius:0;object-fit:cover;box-shadow:0 20px 55px #27221c18
}

/* Keep the brand generous but fully visible at tablet and phone widths. */
body:not(.page-index)>header{min-width:0;max-width:100vw;background:#000}
body:not(.page-index)>header>a:first-child{min-width:0;max-width:100%;overflow:hidden}
body:not(.page-index)>header>a:first-child img{
  flex:0 1 auto;width:min(64vw,760px);max-width:calc(100vw - 48px);height:auto;margin:0 auto;
  mix-blend-mode:normal
}
@media(min-width:641px) and (max-width:1000px){
  body:not(.page-index)>header>a:first-child img{max-width:min(820px,calc(100vw - 48px))}
  body:not(.page-index)>header nav{gap:10px 16px}
  body:not(.page-index)>header nav a{font-size:15px}
}
@media(max-width:640px){
  body:not(.page-index)>header>a:first-child img{width:min(88vw,600px);max-width:100%;height:auto}
  body:is(.page-cucine,.page-soggiorni,.page-camere,.page-camerette,.page-bagni,.page-divani,.page-complementi) main>.split.section:first-child{
    grid-template-columns:1fr;gap:0;min-height:0;padding:0 0 44px;background:#ece8e0
  }
  body:is(.page-cucine,.page-soggiorni,.page-camere,.page-camerette,.page-bagni,.page-divani,.page-complementi) main>.split.section:first-child>img{
    grid-row:1;height:min(78vw,360px);min-height:260px;box-shadow:none
  }
  body:is(.page-cucine,.page-soggiorni,.page-camere,.page-camerette,.page-bagni,.page-divani,.page-complementi) main>.split.section:first-child>div{
    grid-row:2;margin:-32px 6% 0;padding:24px 23px;background:#fbfaf7;box-shadow:0 12px 35px #27221c12
  }
  body:is(.page-cucine,.page-soggiorni,.page-camere,.page-camerette,.page-bagni,.page-divani,.page-complementi) main>.split.section:first-child h1{font-size:clamp(42px,12vw,58px)}
}
