/*
Theme Name: DORA Showroom
Description: Sito DORA Concept Store con serramenti, arredamento, preventivo guidato e assistente informativo.
Version: 1.8.5
Text Domain: dora-showroom
*/
:root{--paper:#f7f3ed;--dark:#292522;--ink:#25211e;--muted:#5e5550;--line:#ddd3c9;--accent:#aa320f;--logo-orange:#f64d0b;--white:#fffdfa;--sans:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}
body{margin:0;color:var(--ink);background:var(--paper);font:16px/1.65 var(--sans);-webkit-font-smoothing:antialiased}
[hidden]{display:none!important}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
img{display:block;max-width:100%;height:auto}
p,h1,h2,h3,figure{margin:0}
h1,h2,h3{font-family:var(--sans);font-weight:700}
h1{font-size:clamp(2.9rem,5.35vw,5.8rem);line-height:.98;letter-spacing:-.085em;margin:1.15rem 0 1.4rem}
h1 em{font-style:normal;color:var(--accent)}
h2{font-size:clamp(2.25rem,4.4vw,4.4rem);line-height:1.01;letter-spacing:-.07em;margin:.6rem 0 0}
h3{font-size:1.65rem;line-height:1.16;letter-spacing:-.035em}
.wrap{width:min(100% - 6rem,1260px);margin-inline:auto}
.section{padding-block:6.25rem;scroll-margin-top:1.1rem}
:focus-visible{outline:3px solid #a4502d;outline-offset:4px}
.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.skip:focus{position:fixed;top:1rem;left:1rem;padding:.5rem 1rem;background:var(--white);z-index:3}
.site-header{border-bottom:1px solid var(--line)}
.header-inner{min-height:88px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1rem}
.brand{display:inline-flex;align-items:center;gap:.65rem;width:fit-content;font-size:1.38rem;font-weight:750;letter-spacing:.11em;line-height:1}
.brand img{width:49px;height:auto}
.footer .brand img{width:39px}
.header-inner nav{display:flex;gap:clamp(1.2rem,3vw,3rem);align-items:center;font-size:.91rem}
.header-inner nav a:hover,.text-link:hover,.card-link:hover,.email-link:hover{text-decoration:underline;text-underline-offset:4px}
.header-inner>.button{justify-self:end}
.button{display:inline-flex;min-height:49px;align-items:center;justify-content:center;gap:1rem;padding:.62rem 1.05rem;border:1px solid var(--dark);font-size:.86rem;font-weight:680;line-height:1.3;transition:background-color .2s,color .2s;text-align:center}
.button span{font-size:1.08rem;line-height:1}
.button.small{min-height:44px;padding:.45rem .85rem}
.button.solid{background:var(--accent);color:var(--white);border-color:var(--accent)}
.button.solid:hover{background:#792c15}
.button.outline{background:transparent;color:var(--dark)}
.button.outline:hover{background:#f2e4d9}
.text-link,.card-link{display:inline-flex;align-items:center;gap:.5rem;font-size:.87rem;font-weight:650}
.hero{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);align-items:center;gap:clamp(2rem,5vw,5.5rem);padding-top:2.35rem;padding-bottom:3rem;scroll-margin-top:1rem}
.hero-copy{padding-block:1rem 1.75rem}
.eyebrow,.kicker,.caption,.hero-figure figcaption,.product-index{font-size:.68rem;font-weight:730;letter-spacing:.16em;line-height:1.5}
.eyebrow{display:flex;align-items:center;gap:.65rem;color:var(--muted)}
.bar{display:inline-block;width:1.55rem;height:1px;background:var(--accent);flex:none}
.hero-desc{max-width:26rem;font-size:1.06rem;color:var(--muted)}
.actions{display:flex;align-items:center;flex-wrap:wrap;gap:.9rem 1.25rem;margin-top:1.7rem}
.hero-figure{min-width:0;border-top:5px solid var(--logo-orange)}
.hero-figure img{width:100%;aspect-ratio:1.26;object-fit:cover;background:#b5a18b}
.hero-figure figcaption{display:flex;justify-content:space-between;gap:.5rem;margin-top:.68rem;color:var(--muted)}
.products{border-top:1px solid var(--line);padding-top:4.2rem}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:2rem;margin-bottom:2rem}
.section-head>p{max-width:24rem;color:var(--muted)}
.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.45rem}
.product{border:1px solid var(--line);display:flex;flex-direction:column;background:var(--white)}
.product-photo{width:100%;aspect-ratio:1.65;object-fit:cover;background:#c9b8a7}
.product-body{padding:clamp(1rem,2.5vw,1.65rem);display:flex;flex-direction:column;flex:1;align-items:start}
.product-body .product-index{margin:0 0 .5rem;color:var(--accent);font-size:.68rem}
.product-body p{margin:.6rem 0 1.15rem;color:var(--muted);font-size:.91rem}
.card-link{margin-top:auto;border-top:1px solid var(--line);padding-top:.8rem;justify-content:space-between;width:100%}
.caption{letter-spacing:.02em;margin-top:.8rem;color:var(--muted);font-weight:500}
.services{background:var(--dark);color:var(--white)}
.services-grid,.quote,.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(2rem,7vw,7rem)}
.services .eyebrow,.services p{color:#ebded4}
.services .bar{background:#fb8555}
.services-grid>div:first-child>p:last-child,.quote-intro>p:not(.eyebrow),.contact-grid>div:first-child>p:last-child{margin-top:1.2rem;max-width:25rem}
.service-list article{display:grid;grid-template-columns:2rem 1fr auto;gap:1rem;align-items:start;padding:1.2rem 0;border-top:1px solid #675750}
.service-list article:last-child{border-bottom:1px solid #675750}
.service-list h3{font-size:1.48rem}
.service-list p{margin-top:.35rem;font-size:.92rem}
.service-n{color:#ffa987;font-size:.74rem;letter-spacing:.08em;font-weight:700}
.round{width:2.1rem;height:2.1rem;border:1px solid #b29c8f;border-radius:50%;display:grid;place-items:center}
.round:hover{background:#792c15}
.quote-intro>p:not(.eyebrow),.contact-grid>div:first-child>p:last-child{color:var(--muted)}
.steps{margin:1.6rem 0 0;padding:0;list-style:none;max-width:19rem}
.steps li{display:flex;align-items:center;gap:.75rem;color:var(--muted);font-size:.88rem;padding:.55rem 0;border-top:1px solid var(--line)}
.steps li span{font-size:.68rem;font-weight:750;letter-spacing:.1em}
.steps li[aria-current]{font-weight:750;color:var(--dark)}
.steps li[aria-current] span{color:var(--accent)}
.quote-card{align-self:start;background:var(--white);border:1px solid var(--line);padding:clamp(1rem,4vw,2.8rem);box-shadow:0 12px 32px #23342b0b}
.kicker{color:var(--accent);margin-bottom:.5rem}
.panel h3{font-size:clamp(1.55rem,3vw,2.1rem);margin-bottom:1rem}
.panel h3:focus{outline:none}
fieldset{border:0;padding:0;margin:0;min-width:0}
.options{display:grid;grid-template-columns:1fr 1fr;gap:.55rem}
.options label{display:flex;gap:.6rem;align-items:center;padding:.75rem;border:1px solid var(--line);min-height:3.15rem;cursor:pointer;font-size:.91rem}
.options label:has(input:checked){border-color:var(--dark);background:#fff1e8}
input[type=radio],input[type=checkbox]{accent-color:var(--dark);width:1.03rem;height:1.03rem;margin:0;flex:none}
.hint,.feedback,.field-error{font-size:.87rem;color:var(--muted);margin:.55rem 0 .8rem}
.field-error{color:#983b26;margin-bottom:0}
.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;margin:.75rem 0}
.panel label:not(.check),.panel legend{font-size:.88rem;font-weight:650}
.panel small{color:var(--muted);font-size:.74rem;font-weight:400}
input:not([type=radio],[type=checkbox]),select,textarea{display:block;width:100%;margin-top:.3rem;border:1px solid #c9b8ad;border-radius:0;background:#fffefa;padding:.62rem;min-height:44px}
textarea{resize:vertical}
.check{display:flex;align-items:center;gap:.55rem;font-size:.88rem;min-height:34px}
.quantity{display:block;max-width:9rem;margin-top:.7rem}
.needs{margin:.6rem 0 .75rem}
.form-actions{display:flex;justify-content:flex-end;gap:.55rem;flex-wrap:wrap;margin-top:1.25rem}
#back{margin-right:auto}
.summary{margin:0 0 1.1rem;display:grid;grid-template-columns:minmax(5.2rem,.5fr) 1.5fr;gap:0 .65rem;font-size:.88rem}
.summary>*{border-bottom:1px solid var(--line);padding:.48rem 0}
.summary dt{font-weight:700}
.summary dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.feedback{margin:.65rem 0 0}
.contacts{background:#f0e1d4}
.contact-details{display:grid;grid-template-columns:1fr .8fr;gap:1.4rem;align-items:start;padding-top:1rem}
.contact-details h3{font-size:1.26rem;margin-bottom:.55rem}
address{font-style:normal;font-size:.95rem}
.contact-details .text-link{margin-top:.65rem}
.email-link{overflow-wrap:anywhere}
.footer{min-height:89px;display:flex;justify-content:space-between;align-items:center;gap:1rem}
.footer p{font-size:.75rem;color:var(--muted)}
@media(max-width:1000px){.wrap{width:calc(100% - 4rem)}.hero{gap:2rem}.hero-copy{padding-bottom:1rem}.section{padding-block:4.4rem}}
@media(max-width:760px){.wrap{width:calc(100% - 2.2rem)}.header-inner{grid-template-columns:1fr auto;gap:0 .65rem;padding:1rem 0 .6rem}.header-inner nav{grid-row:2;grid-column:1/-1;margin-top:.6rem;gap:clamp(.7rem,4vw,1.45rem);font-size:.82rem;flex-wrap:wrap}.header-inner nav a{padding:.25rem 0}.hero,.services-grid,.quote,.contact-grid{grid-template-columns:1fr;gap:1.4rem}.hero{padding-top:1.35rem;padding-bottom:2.25rem}.hero-copy{padding:0}.hero-figure img{aspect-ratio:1.25}.section{padding-block:3.15rem}.section-head{display:block;margin-bottom:1.3rem}.section-head>p{margin-top:.7rem}.cards{gap:.75rem}.product-body{padding:.8rem}.product-body h3{font-size:1.34rem}.product-body p{font-size:.84rem}.steps{display:grid;grid-template-columns:repeat(4,1fr);max-width:none}.steps li{display:block;font-size:.73rem}.steps li span{display:block}.footer{flex-wrap:wrap;padding-block:1rem}.footer p{order:3;flex-basis:100%}}
@media(max-width:530px){.cards{grid-template-columns:1fr}.product-body{padding:1rem}.product-body h3{font-size:1.6rem}.contact-details{grid-template-columns:1fr}.options{grid-template-columns:1fr}.service-list article{grid-template-columns:1.45rem 1fr auto;gap:.65rem}.form-actions .button{gap:.38rem;padding-inline:.56rem;font-size:.78rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}

.arrow{flex:none}

#room-field{display:block;margin:.7rem 0}
.testimonial-section{background:#efe5da}
.testimonial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.testimonial{border-top:3px solid var(--logo-orange);padding:1.35rem;background:var(--white);display:flex;flex-direction:column;justify-content:space-between;gap:1rem}
.testimonial blockquote{margin:0;font-size:.98rem;line-height:1.6}
.testimonial figcaption{font-size:.81rem;font-weight:720}
.testimonial figcaption span{font-weight:400;color:var(--muted)}
.section-head .sample-notice{font-size:.84rem;border-left:2px solid var(--accent);padding-left:.8rem}
@media(max-width:700px){.testimonial-grid{grid-template-columns:1fr}}

.projects{background:#eee6dc}
.project-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);align-items:center;gap:clamp(1.6rem,5vw,5rem)}
.project-image{margin:0;border-top:5px solid var(--logo-orange)}
.project-image img{width:100%;height:auto;display:block}
.project-image figcaption{display:flex;justify-content:space-between;gap:.6rem;padding-top:.6rem;color:var(--muted);font-size:.72rem;font-weight:700;letter-spacing:.06em}
.project-copy>p:not(.eyebrow){margin:1rem 0 1.2rem;color:var(--muted);max-width:27rem}
.project-link{color:var(--accent)}
@media(max-width:760px){
  .project-grid{grid-template-columns:minmax(0,1fr)}
  .project-copy{grid-row:1}
}

.project-copy h3{font-size:clamp(2rem,4.6vw,3.75rem);letter-spacing:-.06em;line-height:1.02;margin:.55rem 0 0}
.project-gallery{margin-top:clamp(2rem,5vw,4rem)}
.project-stair{margin-top:clamp(2rem,5vw,4rem);padding-top:clamp(1.7rem,4vw,3.2rem);border-top:1px solid var(--line);grid-template-columns:minmax(0,1.8fr) minmax(0,1fr)}
.stair-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(.7rem,2vw,1.15rem)}
@media(max-width:760px){.project-stair{grid-template-columns:minmax(0,1fr)}}
.project-copy .villa-subtitle{margin:.65rem 0 0;color:var(--accent);font-weight:700}
.villa-interiors{grid-column:1/-1}
.villa-interiors h4{font-size:clamp(1.35rem,3vw,2rem);margin:0 0 .85rem}
.villa-photos{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(.8rem,2vw,1.4rem)}
.villa-photos figure{grid-column:span 2;margin:0}
.villa-photos figure:nth-last-child(-n+2){grid-column:span 3}
.villa-photos img{width:100%;height:auto;display:block}
.villa-photos figcaption{padding-top:.45rem;color:var(--muted);font-size:.76rem;font-weight:650}
@media(max-width:650px){
  .villa-photos{grid-template-columns:repeat(2,minmax(0,1fr))}
  .villa-photos figure,.villa-photos figure:nth-last-child(-n+2){grid-column:span 1}
  .villa-photos figure:last-child{grid-column:1/-1}
}
.project-facade{margin-top:clamp(2rem,5vw,4rem);padding-top:clamp(1.7rem,4vw,3.2rem);border-top:1px solid var(--line)}
.project-facade h3{font-size:clamp(2rem,4.6vw,3.75rem);letter-spacing:-.06em;line-height:1.02;margin:.55rem 0 0}
.facade-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.8rem,2vw,1.4rem)}
.facade-photos figure{margin:0}
.facade-photos img{width:100%;height:auto;display:block}
.facade-photos figcaption{padding-top:.45rem;color:var(--muted);font-size:.76rem;font-weight:650}
.facade-link{margin-top:1.15rem}
@media(max-width:650px){.facade-photos{grid-template-columns:minmax(0,1fr)}}

.dora-chat {
  position: fixed;
  z-index: 20;
  right: max(.9rem, env(safe-area-inset-right));
  bottom: max(.9rem, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: .65rem;
}

body:has(#dora-chat:not([hidden])) .footer { margin-bottom: 4rem; }

.dora-chat-launch {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 46px;
  padding: .55rem .9rem;
  border: 1px solid var(--accent);
  border-radius: 100px;
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 5px 18px #29252230;
  font-size: .88rem;
  font-weight: 700;
}

.dora-chat-launch:hover { background: #792c15; }

.dora-chat-panel {
  display: flex;
  flex-direction: column;
  width: min(23rem, calc(100vw - max(.9rem, env(safe-area-inset-right)) - max(.9rem, env(safe-area-inset-left))));
  height: min(32rem, calc(100vh - 5.2rem));
  height: min(32rem, calc(100dvh - max(.9rem, env(safe-area-inset-bottom)) - 4.3rem));
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: var(--white);
  box-shadow: 0 12px 38px #29252230;
  overflow: hidden;
}

.dora-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  gap: .75rem;
  padding: .65rem .85rem .65rem 1rem;
  background: var(--dark);
  color: var(--white);
}

.dora-chat-header p { font-size: .64rem; font-weight: 700; letter-spacing: .12em; }
.dora-chat-header h2 { margin: .16rem 0 0; font-size: 1.26rem; letter-spacing: -.025em; }
.dora-chat-header :focus-visible { outline-color: #ffa987; outline-offset: 2px; }

.dora-chat-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #9c8981;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 1.55rem;
  line-height: 1;
}

.dora-chat-thread {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: .85rem;
  font-size: .91rem;
  line-height: 1.45;
}

.dora-chat-message {
  max-width: 93%;
  padding: .6rem .72rem;
  margin-bottom: .55rem;
  border-radius: .58rem;
  background: #f2e8de;
  overflow-wrap: anywhere;
}

.dora-chat-message.user { width: fit-content; margin-left: auto; background: var(--dark); color: var(--white); }

.dora-chat-suggestions, .dora-chat-actions { display: flex; flex-wrap: wrap; gap: .38rem; }
.dora-chat-suggestions { margin-bottom: .75rem; }
.dora-chat-actions { margin-top: .5rem; }

.dora-chat-suggestions button, .dora-chat-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .36rem .55rem;
  border: 1px solid #bca499;
  border-radius: .35rem;
  background: var(--white);
  color: var(--accent);
  font-size: .79rem;
  font-weight: 680;
}

.dora-chat-suggestions button:hover, .dora-chat-actions a:hover { background: #fff1e8; text-decoration: underline; }

.dora-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: .45rem;
  padding: .62rem .7rem;
  border-top: 1px solid var(--line);
}

.dora-chat-form input:not([type=radio], [type=checkbox]) { min-width: 0; margin: 0; font-size: 1rem; }
.dora-chat-form .button { min-height: 44px; padding-inline: .75rem; }

.arredo-online h1{font-size:clamp(2.5rem,5.5vw,5.25rem)}
.arredo-packages{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;margin-block:1.5rem}
.arredo-card{display:flex;flex-direction:column;align-items:flex-start;gap:.8rem;padding:clamp(1.25rem,3vw,2.5rem);background:var(--white);border:1px solid var(--line);scroll-margin-top:7rem}
.arredo-card h2,.arredo-card h3,.arredo-card p,.arredo-card ul{margin:0}
.arredo-card ul{padding-left:1.2rem}
.arredo-card .button{margin-top:auto}
.arredo-price{font-size:2rem;font-weight:700}
.arredo-price small{font-size:.8rem;color:var(--muted)}
.arredo-note,.arredo-checklist{max-width:50rem;color:var(--muted)}
.arredo-checklist li{margin-block:.6rem}
.arredo-teaser .button{flex-shrink:0}
@media(max-width:760px){.header-inner nav{flex-wrap:wrap}.arredo-packages{grid-template-columns:1fr}.arredo-teaser .section-head{align-items:flex-start}}

.arredo-comparison{position:relative}
.arredo-labels{position:absolute;inset:auto 0 .75rem;display:grid;grid-template-columns:1fr 1fr;justify-items:center}
.arredo-labels span{background:var(--dark);color:var(--white);padding:.2rem .65rem;border-radius:2px;font-size:.8rem;font-weight:700}
