/* Corchos: una única placa blanca de cornisa y pared, con el cuadro delante. */
.hero[data-idea=corchos]{--wall-bleed:max(50px,calc((var(--cork-page-width,100vw) - 1200px)/2));padding-top:90px;min-height:820px}
.hero[data-idea=corchos]::before{content:'';position:absolute;top:0;left:calc(-1*var(--wall-bleed));right:calc(-1*var(--wall-bleed));height:440px;z-index:-1;pointer-events:none;background:url('assets/real/cornisa-simple-pared-blanca-v3.jpg') center top/100% auto no-repeat;opacity:.62;mask-image:linear-gradient(#000 0%,#000b 16%,transparent 100%)}
.hero[data-idea=corchos]::after{content:none}
.hero[data-idea=corchos] .concept-art{top:210px;left:0;right:auto;width:44%;max-width:530px}
.hero[data-idea=corchos] .concept-stage{aspect-ratio:1.28}
.hero[data-idea=corchos] .hero-disc{top:0;left:0;width:100%;aspect-ratio:3/1;border-radius:0;background:transparent;box-shadow:0 3px 8px #3a30200d;overflow:hidden;mask-image:none}
.hero[data-idea=corchos] .cork-mosaic,.hero[data-idea=corchos] .is-assembled .cork-mosaic{inset:0;width:100%;height:100%;object-fit:contain;opacity:1;filter:none;transform:none;mask-image:none}
.hero[data-idea=corchos] .hero-orbit{width:26%;right:0;bottom:0}
.hero[data-idea=corchos] .concept-captions{grid-template-columns:1fr 26%;margin-top:16px;gap:14px}
.hero[data-idea=corchos] .hero-copy{margin-left:55%;width:45%}
body[data-cork-active=true] #carta>.cork-wash{display:block}
.cork-top{position:fixed;left:0;top:0;z-index:18;width:104px;height:86px;padding:0;border:0;background:none;color:#55432d;cursor:pointer;will-change:transform,opacity;touch-action:manipulation}
.cork-top[hidden]{display:none!important}
/* El giro de cilindro a cara frontal conserva un volumen y flotación leves. */
.cork-top-visual{position:absolute;inset:0;perspective:400px;animation:cork-cloud 5.8s ease-in-out infinite;will-change:transform}
@keyframes cork-cloud{0%,100%{transform:translate3d(0,0,0)}25%{transform:translate3d(2.4px,-4.5px,0)}50%{transform:translate3d(.8px,-1px,0)}75%{transform:translate3d(-2px,3px,0)}}
.cork-top.is-motion-paused .cork-top-visual{animation-play-state:paused}
/* Excepción explícita de esta propuesta: el control Activar/Pausar manda aquí. */
.cork-top:not(.is-motion-paused) .cork-top-visual{animation:cork-cloud 5.8s ease-in-out infinite!important}
.cork-top:not(.is-motion-paused) .cork-top-rotor{transition:opacity .55s,transform .7s cubic-bezier(.2,.7,.2,1)!important}
.cork-top:not(.is-motion-paused) .cork-top-face{transition:opacity .5s,transform .7s cubic-bezier(.2,.7,.2,1)!important}
.cork-top-rotor{position:absolute;top:16px;left:0;width:100%;height:54px;filter:drop-shadow(0 3px 3px #35241420);transform:rotate(var(--cork-angle,0deg)) rotateY(0deg);opacity:1;transition:opacity .55s,transform .7s cubic-bezier(.2,.7,.2,1)}
.cork-top .scroll-cork-body{width:100%;height:100%;object-fit:contain}
.cork-top-face{position:absolute;top:15px;left:24px;width:56px;height:56px;display:grid;place-items:center;border-radius:50%;background:#c59b63 url('assets/real/corcho-macro-v1.jpg') center/116% 116%;color:#573521;box-shadow:inset 0 0 0 1px #68452945,0 4px 8px #35241420;opacity:0;transform:rotateY(-85deg) scale(.8);transition:opacity .5s,transform .7s cubic-bezier(.2,.7,.2,1)}
.cork-top-face svg{width:25px;height:25px;stroke-width:2.2;filter:drop-shadow(0 1px 1px #e6ca9260)}
.cork-top.is-settled .cork-top-rotor{opacity:0;transform:rotate(0deg) rotateY(85deg) scaleX(.45)}
.cork-top.is-settled .cork-top-face{opacity:1;transform:rotateY(0deg) scale(1)}
.cork-top.is-motion-paused .cork-top-rotor,.cork-top.is-motion-paused .cork-top-face{transition:none}
.cork-top:focus-visible{outline:2px solid #875d27;outline-offset:3px;border-radius:50%}
.cork-top:hover .cork-top-face{box-shadow:inset 0 0 0 1.5px #573521,0 5px 10px #35241428}
@media(min-width:701px) and (max-width:1200px){.hero[data-idea=corchos]{--wall-bleed:40px}}
@media(max-width:1100px) and (min-width:701px){.hero[data-idea=corchos]{min-height:790px;padding-top:70px}.hero[data-idea=corchos] .concept-art{top:205px}.hero[data-idea=corchos] .concept-stage{aspect-ratio:1.13}}
@media(max-width:700px){
 .hero[data-idea=corchos]{--wall-bleed:20px;min-height:0;padding-top:54px}
 .hero[data-idea=corchos]::before{height:320px;background-size:auto 330px;opacity:.48;mask-image:linear-gradient(#000 0%,#0008 20%,transparent 100%)}
 .hero[data-idea=corchos] .hero-copy{width:100%;margin-left:0}
 .hero[data-idea=corchos] .concept-art{position:relative;top:auto;width:100%;max-width:480px;margin:42px auto 0}
 .hero[data-idea=corchos] .concept-stage{aspect-ratio:1.3}
 .hero[data-idea=corchos] .hero-disc{left:0;top:0;width:100%;aspect-ratio:3/1}
 .hero[data-idea=corchos] .hero-orbit{width:27%;bottom:0;right:0}
 .hero[data-idea=corchos] .concept-captions{grid-template-columns:1fr 27%}
 .cork-top{width:78px;height:74px}.cork-top-rotor{height:44px;top:15px}.cork-top-face{width:48px;height:48px;left:15px;top:13px}
}
@media(max-width:360px){.hero[data-idea=corchos]{--wall-bleed:16px}}
@media(prefers-reduced-motion:reduce){.cork-top.is-motion-paused .cork-top-face,.cork-top.is-motion-paused .cork-top-rotor{transition:none}}
@media print{.cork-top{display:none!important}}

/* Se retiran sólo los apoyos secundarios de la portada Corchos. */
.hero[data-idea=corchos] .hero-orbit,.hero[data-idea=corchos] .concept-captions{display:none}
.hero[data-idea=corchos] .concept-stage{aspect-ratio:3/1}

/* Más presencia para el cuadro; recorte visual exacto al exterior del marco. */
.hero[data-idea=corchos] .concept-art{width:49%;max-width:588px;top:225px}
.hero[data-idea=corchos] .hero-disc,.hero[data-idea=corchos] .concept-stage{aspect-ratio:2142/639}
.hero[data-idea=corchos] .hero-disc{box-shadow:0 5px 16px #47392518,0 1px 3px #47392510}
.hero[data-idea=corchos] .cork-mosaic,.hero[data-idea=corchos] .is-assembled .cork-mosaic{inset:auto;left:-.7%;top:-6.26%;width:101.354%;height:auto;object-fit:initial}
.hero[data-idea=corchos] h1{font-size:clamp(48px,4.35vw,66px)}
body[data-cork-active=true] #visitanos{padding-bottom:150px}
@media(max-width:1100px) and (min-width:701px){.hero[data-idea=corchos] .concept-art{width:47%;top:220px}.hero[data-idea=corchos] h1{font-size:50px}}
@media(max-width:700px){.hero[data-idea=corchos] .concept-art{width:100%;top:auto;max-width:480px}.hero[data-idea=corchos] h1{font-size:46px}body[data-cork-active=true] #visitanos{padding-bottom:130px}}
/* Desde 1000 px el contacto tiene foto acotada y no necesita salto al pie. */
@media(min-width:1000px){body[data-cork-active=true] #visitanos{padding-bottom:68px}}
@media(min-width:1000px) and (max-width:1200px){body[data-cork-active=true] #visitanos{grid-template-columns:1fr 1.2fr;gap:6%}}

.motion-tools .motion-icon{width:32px;min-height:32px;padding:0;display:inline-grid;place-items:center;border:1px solid var(--line);border-radius:50%;text-decoration:none}.motion-icon svg{width:14px;height:14px}

/* Plato y firma: fotografías sin controles ni pies editoriales de la composición. */
.hero[data-idea=plato] .motion-tools,.hero[data-idea=plato] .concept-captions{display:none}
body:has(.hero[data-idea=plato]) .interior-gallery [data-gallery-caption]{display:none}
