:root{--ink:#132033;--cream:#efd1a5;--rule:#c7a376;--paper:#fdfcfb}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.42 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:inherit;text-underline-offset:.2em}svg{display:block;width:24px;height:24px;flex:none}h1,h2,h3,p{margin:0}h1,h2{line-height:1.06;letter-spacing:-.028em}a:focus-visible,button:focus-visible{outline:3px solid #b17d3c;outline-offset:4px}
.utility{display:flex;justify-content:center;align-items:center;background:#15212d;color:#fff;padding:9px 12px;font-size:.86rem;text-align:center}.utility a{display:flex;gap:8px;align-items:center;justify-content:center;padding:0 clamp(10px,3vw,42px);text-decoration:none}.utility a+a{border-left:1px solid #73808d}.utility svg{width:19px;height:19px}
.masthead{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:clamp(12px,2vw,30px);max-width:1440px;margin:auto;padding:16px clamp(15px,3vw,46px)}.brand{padding-right:clamp(12px,2vw,28px);border-right:1px solid #8a8580}.brand-logo svg{width:clamp(110px,16vw,200px);height:auto}.sophie-nav{display:flex;align-items:center;justify-content:space-around;gap:6px}.sophie-nav a{font-weight:680;font-size:clamp(.77rem,1.25vw,.98rem);text-decoration:none;text-align:center;padding:10px 3px}.sophie-nav a:hover,.sophie-nav a[href$="#nosotros"]{box-shadow:inset 0 -3px var(--rule)}.sophie-nav.collapsed{display:none}.tools{display:flex;gap:clamp(1px,1vw,13px);align-items:center;grid-column:3}.tools a,.tools button{position:relative;display:grid;place-items:center;width:44px;height:44px;color:var(--ink);background:none;border:0;cursor:pointer;text-decoration:none}.bag span{position:absolute;top:0;right:0;background:#d2ac7c;color:#19202a;font-size:.7rem;min-width:18px;height:18px;border-radius:20px;text-align:center}
.hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:clamp(350px,33vw,490px);overflow:hidden;background:linear-gradient(110deg,#29211c 2%,#6f5b4b 58%,#a48f7a);color:white}.hero>img{position:absolute;z-index:-2;width:82%;height:110%;inset:auto -2% -8% auto;object-fit:contain;object-position:right bottom}.hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(28,20,15,.90),rgba(28,20,15,.42) 39%,transparent 75%)}.hero-copy{padding:36px clamp(22px,4.2vw,70px);width:min(100%,590px)}.hero small{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.hero h1,.hero h2{font-size:clamp(2.2rem,4.1vw,4rem)}.hero h2{font-family:Georgia,serif;font-weight:400;font-style:italic}.hero p{font-size:clamp(1rem,2vw,1.45rem);max-width:18ch;margin:15px 0 20px}.cta{display:inline-flex;min-height:44px;align-items:center;gap:9px;background:var(--cream);color:#161413;font-weight:700;border-radius:999px;padding:10px 20px;text-decoration:none}.cta:hover{background:#ffe1b6}.cta svg{width:19px;height:19px}.secondary{display:block;width:max-content;max-width:100%;font-size:.9rem;margin-top:10px}
.benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#f4f1ed;padding:16px clamp(10px,4vw,60px);color:#15181b}.benefits>div{display:flex;gap:12px;align-items:center;justify-content:center;padding:5px 12px;font-size:.85rem;line-height:1.3}.benefits>div+div{border-left:1px solid #d1c8be}.benefits strong{font-size:1rem}.benefits svg{width:36px;height:36px}
.banners,.grid{display:grid;gap:16px;margin:22px auto;max-width:1400px;padding:0 clamp(14px,2vw,30px)}.banners{grid-template-columns:1fr 1fr}.banner{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;min-height:242px;border-radius:14px;background:#6e5c51;color:white}.banner img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover}.banner-sofa img{object-fit:contain;object-position:right bottom;left:16%;width:84%}.banner-bed img{object-position:center 71%}.banner:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(23,17,14,.94),rgba(23,17,14,.47) 47%,transparent 83%)}.banner div{max-width:58%;padding:22px clamp(15px,3vw,38px)}.banner h2{font-size:clamp(1.65rem,3vw,2.65rem)}.banner p{margin:11px 0 14px}
#trabajos{text-align:center;padding:24px clamp(18px,4vw,50px) 28px}#trabajos h2{display:flex;align-items:center;justify-content:center;gap:clamp(10px,3vw,32px);font-size:clamp(1.8rem,4vw,3rem)}#trabajos h2:before,#trabajos h2:after{content:"";height:1px;background:var(--rule);flex:1;max-width:310px}#trabajos>p{margin:12px auto}.works-empty{color:#665c54}#galeria-trabajos:not(:empty)+.works-empty,#galeria-trabajos:empty{display:none}
main>h2,footer{padding-inline:clamp(18px,4vw,50px)}.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.grid article{border:1px solid #e6e0d8;border-radius:12px;background:white;overflow:hidden;padding:14px}.grid img{width:100%;height:175px;object-fit:contain}.grid p{margin:8px 0}footer{background:#f4f1ed;padding-block:28px}footer p,footer address{margin:8px 0}
@media(max-width:760px){.utility{font-size:.7rem;padding:6px 5px}.utility svg{width:15px;height:15px}.utility a{gap:4px;padding:0 5px;min-height:32px}.masthead{grid-template-columns:1fr auto;gap:9px;padding:10px 12px}.brand{border:0;padding:0}.brand-logo svg{width:138px}.tools{grid-column:2;grid-row:1}.sophie-nav{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.sophie-nav a{font-size:clamp(.67rem,2.55vw,.9rem);display:grid;place-items:center;padding:5px;min-height:44px;background:#f4f1ed;border-radius:12px;line-height:1.15}.sophie-nav a[href$="#nosotros"]{box-shadow:none;background:#efdcbe}.hero{min-height:300px}.hero>img{width:88%;height:80%;right:-13%;bottom:0}.hero-copy{padding:24px 16px}.hero h1{max-width:9ch}.hero h1,.hero h2{font-size:clamp(1.85rem,6.4vw,3rem)}.hero p{font-size:1rem;max-width:15ch}.hero:after{background:linear-gradient(90deg,rgba(28,20,15,.88),rgba(28,20,15,.33) 58%,transparent 91%)}.hero .cta{font-size:.86rem;padding:9px 12px}.benefits{padding:12px 3px}.benefits>div{flex-direction:column;text-align:center;gap:5px;padding:3px;font-size:.67rem}.benefits strong{font-size:.72rem}.benefits svg{width:26px;height:26px}.banners{grid-template-columns:1fr;margin-block:14px;gap:10px}.banner{min-height:178px}.banner div{max-width:70%;padding:14px}.banner p{font-size:.88rem;margin:7px 0}.banner .cta{font-size:.86rem}.grid{grid-template-columns:1fr 1fr}}
.hero [hidden]{display:none!important}.hero-slide{display:flex;align-items:center;min-height:inherit;width:100%}.hero-slide img{position:absolute;z-index:-2;width:80%;height:100%;inset:auto 0 0 auto;object-fit:contain;object-position:right bottom}.hero-slide.mattress img{object-fit:cover;object-position:50% 72%}.hero-slide .slide-title{max-width:13ch;font-size:clamp(2.2rem,4.1vw,4rem);font-weight:700;line-height:1.06;letter-spacing:-.028em;margin:0}.hero-slide .slide-subtitle{max-width:24ch}.hero:has(.hero-controls:not([hidden])) .hero-copy{padding-bottom:58px}.hero-controls{position:absolute;z-index:1;bottom:5px;left:50%;transform:translateX(-50%);display:flex;align-items:center;color:#fff;background:#211b17c9;border-radius:30px;padding:0 3px}.hero-controls button{display:grid;place-items:center;min-width:44px;min-height:44px;border:0;border-radius:30px;background:transparent;color:inherit;cursor:pointer;font-size:1.3rem}.hero-controls [data-page]::before{content:"";width:9px;height:9px;border-radius:50%;background:#c3b5a6}.hero-controls [aria-current=true]::before{background:#fff;outline:1px solid #fff;outline-offset:3px}.hero-controls [data-play]{font-size:1rem}
@media(max-width:760px){.hero-slide .slide-title{font-size:clamp(1.85rem,6.4vw,3rem)}.hero-slide:not(.mattress) img{width:89%;height:83%;right:-12%}.hero-slide.mattress img{width:100%;object-position:center 70%}}

/* Una sola caja de proporción fija gobierna todas las diapositivas. */
.hero{width:100%;height:auto;min-height:0;aspect-ratio:21 / 9;display:block}
.hero>.hero-copy,.hero-slide>.hero-copy{position:absolute;inset:0 auto 0 0;z-index:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;overflow:auto}
.hero>img,.hero-slide img{position:absolute;inset:0 0 0 auto;width:80%;height:100%;object-fit:contain;object-position:var(--hero-x,100%) var(--hero-y,50%)}
.hero-slide{position:absolute;inset:0;display:block;min-height:0}.hero-slide.mattress img{object-fit:cover;object-position:var(--hero-x,50%) var(--hero-y,72%)}
.hero-copy .cta{flex-shrink:0}.hero-copy h1,.hero-copy h2,.hero-slide .slide-title{font-size:clamp(1.8rem,4.1vw,4rem)}
@media(max-width:760px){
 .hero{aspect-ratio:16 / 9}.hero>img,.hero-slide:not(.mattress) img{inset:0 0 0 auto;width:76%;height:100%}.hero-slide.mattress img{width:100%}
 .hero>.hero-copy,.hero-slide>.hero-copy{width:min(80%,430px);padding:8px 13px;inset:0 auto 0 0}
 .hero:has(.hero-controls:not([hidden])) .hero-copy{padding-bottom:8px;bottom:45px}
 .hero-copy h1,.hero-copy h2,.hero-slide .slide-title{font-size:clamp(.98rem,5vw,2rem);max-width:none}
 .hero-copy p:not(.slide-title){font-size:clamp(.73rem,3vw,1rem);margin:5px 0;max-width:24ch}
 .hero-copy .cta{font-size:clamp(.72rem,3vw,.9rem);padding:4px 8px;min-height:36px}
 .hero-copy .secondary{font-size:.73rem;margin-top:3px}
 .hero-controls{bottom:0}
}

.delivery-coverage{min-width:0}.delivery-provinces{display:block;margin-top:.2rem;line-height:1.4;text-wrap:pretty}
@media(max-width:530px){
 .benefits{grid-template-columns:repeat(3,minmax(0,1fr))}
 .benefits>div:has(.delivery-coverage){grid-column:1/-1;flex-direction:row;border-left:0;border-top:1px solid #d1c8be;margin:8px 10px 0;padding:8px 0 2px;gap:8px}
 .delivery-coverage{text-align:left}.delivery-coverage strong{font-size:.84rem}.delivery-provinces{font-size:.74rem}
}

/* Keep every slide the same size, with 28% less height at the same width. */
.hero{aspect-ratio:29 / 9}
.hero-copy p:empty{display:none}
@media(max-width:760px){
 .hero{aspect-ratio:22 / 9}
 .hero:has(.hero-controls:not([hidden])) .hero-copy{bottom:34px;padding-block:3px}
 .hero-copy h1,.hero-copy h2,.hero-slide .slide-title{font-size:clamp(1rem,4.4vw,2rem)}
 .hero-copy .cta{min-height:30px}
 .hero-controls{gap:3px}
}

/* Compact the copy within the fixed frame; leave room for carousel controls. */
.hero>.hero-copy,.hero-slide>.hero-copy{overflow:hidden;box-sizing:border-box;padding-block:clamp(5px,1.15vw,18px);gap:clamp(2px,.45vw,7px)}
.hero-copy h1,.hero-copy h2,.hero-slide .slide-title{font-size:clamp(1.2rem,3.25vw,3.5rem);line-height:1.04;margin:0}
.hero-copy p:not(.slide-title){margin:0;font-size:clamp(.78rem,1.32vw,1.2rem);line-height:1.25}
@media(max-width:760px){
 .hero>.hero-copy,.hero-slide>.hero-copy{padding-block:4px;gap:2px}
 .hero>.hero-copy small,.hero>.hero-copy p{display:none}
 .hero-copy h1,.hero-copy h2,.hero-slide .slide-title{font-size:clamp(.95rem,4.25vw,1.9rem)}
 .hero-copy .secondary{margin-top:0}
}
