/* Hallmark · shape: Photographic · genre: editorial · theme: brand · redesign: full
 * paper: oklch(97% 0.008 75) · accent: oklch(31% 0.08 7) · display: Sola Serif · body: Sola Sans · hero: Poster · nav: editorial masthead · footer: index
 * signature: the brush drawing a section of hair across the cover · draw: 3d82d8 · axes: light/roman-serif/burgundy · posture: composed · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R4 V4 · weakest: restraint, shortened the cover to a single sentence and put the real transformation first */
/* Hallmark · dropped "Estilista a domicilio" · the full hero sentence identifies the service at home, removing the redundant eyebrow under gate 54 */
/* Hallmark · waive 39b · cada foto de la galería abre un diálogo con teclado y tacto · Ver detalle amplía la fotografía de Maritza desde cualquier punto de su imagen. */
/* Hallmark · waive 77 · el comparador y su ficha forman una lámina vertical, la agenda se sirve con JavaScript · Las fotos de Sola Studio conservan todo el largo del cabello, y el formulario de cita carga al abrir la web. */
@import url("./tokens.css");
@import url("./base.css");
@font-face { font-family: "Sola Serif"; src: url("assets/serif.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Sola Sans"; src: url("assets/sans.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }

html { scroll-behavior: smooth; }
body { min-width: 0; }
img { object-fit: cover; }
figure, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button { color: inherit; background: transparent; border: 0; cursor: pointer; padding: 0; }
button:disabled { cursor: default; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
h1,h2,h3 { font-weight: var(--display-weight); }
h2 { font-size: clamp(2.6rem,4.9vw,5.3rem); }
small, figcaption { font-size: var(--text-sm); }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 4px; }
.skip-link { position: fixed; transform: translateY(-150%); z-index: var(--z-modal); inset: 12px auto auto 16px; padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); background: var(--surface); }
.skip-link:focus { transform: none; }
.button,.chip { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: var(--space-sm) var(--space-lg); border-radius: var(--radius-pill); border: 1px solid currentColor; font-size: var(--text-sm); font-weight: 600; line-height: 1.25; text-align: center; }
.button.primary,.chip.active { background: var(--wine); color: var(--on-wine); border-color: var(--wine); }
.button.cream { background: var(--on-film); color: var(--wine); border-color: var(--on-film); }
.button,.chip,.text-link,.nav a,summary,.motion-toggle,.gallery-card { transition: transform .22s var(--spring); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-sm); font-weight: 600; text-decoration: underline; text-underline-offset: .27em; text-decoration-thickness: 1px; }
@media (hover:hover) {
  .button:hover,.nav a:hover,.text-link:hover,.chip:hover { transform: translateY(-2px); }
  .button.primary:hover { background: var(--wine-hover); }
}
button:active,a:active,summary:active { transform: scale(.975); }
.header { position:sticky; top:0; z-index:var(--z-sticky-nav); background:var(--cream); border-bottom:1px solid var(--line); }
.masthead { min-height:80px; display:flex; align-items:center; justify-content:space-between; gap:var(--space-lg); }
.brand { display:inline-flex; align-items:baseline; gap:var(--space-xs); color:var(--wine); white-space:nowrap; }
.brand-sola { font-family:var(--serif); font-size:2.9rem; font-weight:600; font-style:italic; letter-spacing:-.075em; line-height:.98; }
.brand-detail { display:inline-flex; align-items:baseline; gap:var(--space-xs); font-size:var(--text-sm); }
.brand-detail span { font-family:var(--serif); font-style:italic; }
.nav,.header-actions,.hero-actions { display:flex; align-items:center; gap:clamp(var(--space-md),2.4vw,36px); }
.nav a { font-size:var(--text-sm); padding:var(--space-xs) 0; }
.masthead .button { white-space:nowrap; }
.menu-toggle { display:none; }
.film-hero { background:var(--wine-deep); color:var(--on-film); position:relative; isolation:isolate; }
.film-frame,.film-frame::after,.film-frame video { position:absolute; inset:0; width:100%; height:100%; }
.film-frame { z-index:-1; overflow:clip; }
.film-frame::after { content:""; background:var(--film-scrim); }
.film-frame video { object-fit:cover; object-position:50% 44%; }
.cover { min-height:calc(96svh - 80px); display:flex; flex-direction:column; justify-content:flex-end; padding-block:clamp(128px,24vh,260px) var(--space-lg); }
.film-hero h1 { color:var(--on-film); font-size:clamp(4rem,8.8vw,8.75rem); line-height:.99; letter-spacing:-.042em; word-spacing:.055em; max-width:none; }
.hero-copy { width:100%; }
.cover-bottom { margin-top:var(--space-lg); padding-block:var(--space-md) var(--space-lg); border-top:1px solid var(--on-film-line); display:flex; gap:var(--gap-columns); justify-content:space-between; align-items:center; }
.hero-description { font-size:var(--text-lead); line-height:1.38; max-width:38ch; }
.hero-actions { flex-shrink:0; }
.film-footer { display:flex; align-items:center; justify-content:space-between; gap:var(--space-md); margin-top:clamp(0,3vh,32px); }
.film-phone { font-size:1.25rem; font-variant-numeric:tabular-nums; }
.motion-toggle { min-height:44px; display:inline-flex; align-items:center; justify-content:center; gap:var(--space-xs); color:var(--on-film); font-size:var(--text-sm); }
.pause-symbol { border-inline:2px solid currentColor; width:8px; height:13px; }
.motion-paused .pause-symbol { border:0; width:11px; height:13px; background:currentColor; clip-path:polygon(10% 0,100% 50%,10% 100%); }
.film-hero :focus-visible,.home-service :focus-visible { outline-color:var(--focus-inverse); }
@media(max-width:900px) {
  .masthead { min-height:68px; gap:var(--space-md); }
  .header-actions { gap:var(--space-md); }
  .menu-toggle { display:inline-flex; min-height:44px; align-items:center; font-size:var(--text-sm); border-radius:var(--radius-pill); }
  .nav { display:none; position:absolute; top:100%; inset-inline:0; padding:var(--space-md) var(--gutter) var(--space-lg); border-bottom:1px solid var(--line); background:var(--cream); }
  .nav.open { display:flex; flex-wrap:wrap; }
  .cover { min-height:calc(94svh - 68px); }
}
@media(max-width:650px) {
  .brand-detail { flex-direction:column; gap:0; align-self:center; line-height:1.04; }
  .brand-sola { font-size:2.6rem; }
  .masthead .button { padding:var(--space-xs) var(--space-md); min-height:44px; }
  .cover { min-height:calc(95svh - 68px); padding-block:112px var(--space-md); }
  .film-hero h1 { font-size:clamp(3.7rem,13vw,5.8rem); max-width:9ch; line-height:.97; }
  .cover-bottom { flex-direction:column; align-items:flex-start; gap:var(--space-md); padding-block:var(--space-md) var(--space-sm); margin-top:var(--space-sm); }
  .hero-description { max-width:29ch; }
  .film-footer { margin-top:var(--space-sm); }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .motion-toggle { display:none; }
}

.section-pad { padding-block:var(--section-gap-s); }
.section-heading, .gallery-head, .booking-intro { display:flex; align-items:end; justify-content:space-between; gap:var(--gap-columns); margin-bottom:var(--space-xl); }
.section-heading p, .booking-intro p { max-width:32ch; }
.transform { background:var(--cream); }
.result-spread { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:center; gap:var(--gap-columns); }
.compare-wrap { grid-column:1; grid-row:1; width:min(100%,33rem); justify-self:start; }
.transform-intro { grid-column:2; grid-row:1; justify-self:end; width:min(100%,32rem); }
.transform-intro h2 { max-width:8.8ch; }
.transform-intro p { margin-top:var(--space-lg); max-width:30ch; }
.comparison-tabs, .filters { display:flex; align-items:center; flex-wrap:wrap; gap:var(--space-xs); }
.comparison-tabs { margin-block:var(--space-lg) var(--space-sm); }
.chip { color:var(--ink); border-color:var(--line); background:transparent; }
.chip.active { color:var(--on-wine); }
.chip:not(.active):hover { border-color:var(--wine); }
.comparison { position:relative; isolation:isolate; overflow:clip; width:100%; aspect-ratio:4/5; border-radius:56px 18px 18px 18px; background:var(--paper); }
.comparison img,.comparison-before { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.comparison-before { clip-path:inset(0 calc(100% - var(--compare)) 0 0); }
.comparison input { position:absolute; inset:0; z-index:3; width:100%; height:100%; cursor:ew-resize; opacity:0; margin:0; }
.comparison:focus-within { outline:3px solid var(--focus-ring); outline-offset:4px; }
.compare-divider { position:absolute; inset-block:0; left:var(--compare); width:2px; background:var(--cream); transform:translateX(-50%); pointer-events:none; }
.compare-divider>span { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); display:flex; gap:var(--space-2xs); align-items:center; justify-content:center; width:44px; height:44px; background:var(--cream); border-radius:50%; }
.compare-divider i { width:1px; height:14px; background:var(--wine); }
.compare-labels { position:absolute; inset:auto 18px 18px; display:flex; justify-content:space-between; pointer-events:none; }
.compare-labels span { border-radius:12px; padding:var(--space-2xs) var(--space-md); font-size:var(--text-sm); background:var(--cream); color:var(--ink); }
.comparison-credit,.quiet-label,.catalog-disclaimer { font-size:var(--text-sm); color:var(--muted); }
.comparison-credit { padding-top:var(--space-sm); }
.services { background:var(--paper); }
.service-layout { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:var(--gap-columns); }
.service-photo { grid-column:2; grid-row:1; position:relative; width:min(100%,32rem); justify-self:end; }
.service-photo img { width:100%; height:auto; aspect-ratio:1/1; object-position:50% 46%; border-radius:20px 70px 20px 20px; }
.service-list { grid-column:1; grid-row:1; border-top:1px solid var(--ink); }
.service-item { border-bottom:1px solid var(--line); }
.service-item summary { cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:var(--space-md); padding:var(--space-lg) 0; list-style:none; font-family:var(--serif); font-size:clamp(1.6rem,2.7vw,2.7rem); line-height:1.08; }
.service-item summary::-webkit-details-marker { display:none; }
.disclosure { position:relative; flex:none; width:18px; height:18px; }
.disclosure::before,.disclosure::after { content:""; position:absolute; inset:50% 0 auto; height:1px; background:currentColor; }
.disclosure::after { transform:rotate(90deg); }
[open]>summary .disclosure::after { transform:rotate(0); }
.service-content { max-width:40ch; padding-bottom:var(--space-lg); }
.service-content a { margin-top:var(--space-xs); color:var(--wine); }
.gallery-section { background:var(--wine); color:var(--on-wine); padding-bottom:var(--space-3xl); }
.gallery-head .quiet-label { color:var(--on-wine-soft); }
.gallery-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:start; gap:var(--gap-columns); }
.gallery-card { display:block; width:100%; min-width:0; text-align:left; }
.gallery-card>img,.editorial-image-window { width:100%; aspect-ratio:8/9; border-radius:var(--radius-card); overflow:clip; display:block; }
.editorial-image-window img { width:100%; height:100%; object-fit:cover; transform:translateY(var(--editorial-image-y,0)) scale(1.08); }
.gallery-card>span:last-child { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:var(--space-2xs) var(--space-sm); margin-top:var(--space-md); font-family:var(--serif); font-size:var(--text-title); line-height:1.2; }
.gallery-card small { font-family:var(--sans); font-size:var(--text-sm); text-decoration:underline; text-underline-offset:.25em; color:var(--on-wine-soft); }
.essence { background:var(--cream); }
.studio-note { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); align-items:center; gap:var(--gap-columns); }
.essence-copy { max-width:49ch; }
.essence-copy h2 { max-width:16ch; }
.essence-copy p { margin-top:var(--space-md); max-width:40ch; }
.essence-copy .large-copy { font-size:var(--text-lead); }
.maritza-signature { margin-top:var(--space-lg); color:var(--wine); font:italic 1.9rem/1.2 var(--serif); }
.essence-art { justify-self:end; width:min(100%,23rem); }
.essence-art img { width:100%; aspect-ratio:4/4.6; object-position:52% 44%; border-radius:46% 46% 20px 20px; }
.catalog { background:#faf7f2; }
.catalog-toolbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:var(--space-md); padding-block:var(--space-md); margin-bottom:var(--space-lg); border-block:1px solid var(--line); }
.product-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--space-3xl) clamp(24px,3.7vw,58px); }
.product-card { display:flex; flex-direction:column; min-width:0; }
.product-stage {
  --stage-lit:#f6e9d7;
  --stage-shade:#c9b7a6;
  --stage-floor:#eee1d0;
  position:relative; display:grid; width:100%; aspect-ratio:3/2; isolation:isolate; overflow:clip;
  border-radius:var(--radius-card);
  background:linear-gradient(175deg,transparent 70%,var(--stage-floor) 91%), radial-gradient(ellipse at 80% 17%,var(--stage-lit) 14%,var(--stage-shade) 100%);
}
.product-stage[data-category="limpieza"] { --stage-lit:#e4efeb; --stage-shade:#abc6be; --stage-floor:#d6e5de; }
.product-stage[data-category="acabado"] { --stage-lit:#fff0cf; --stage-shade:#d5ae81; --stage-floor:#efdab8; }
.product-stage::before {
  content:""; position:absolute; inset:-26%; pointer-events:none; z-index:-1;
  background:linear-gradient(111deg, transparent 17%, #fffcf780 19% 26%, transparent 28% 31%, #fffff65e 33% 46%, transparent 48%);
  filter:blur(5px); transform:translateX(-4%);
}
.product-stage img {
  position:absolute; inset:auto 14% 9%; width:72%; height:80%; object-fit:contain; object-position:center bottom;
  filter:drop-shadow(5px 9px 5px rgb(66 36 25 / .17));
  transform-origin:50% 100%; transition:transform .48s var(--ease-out);
}
.product-stage .photo-pending { position:absolute; inset:0; background:transparent; aspect-ratio:auto; }
.editorial-product-frame { transform:perspective(1200px) rotateX(var(--editorial-rotate-x,0deg)) rotateY(var(--editorial-rotate-y,0deg)); }
@keyframes catalog-sunlight { to { transform:translateX(4%); } }
@media (prefers-reduced-motion:no-preference) {
  .product-stage:where(.product-in-view)::before,:where(.detail-dialog[open]) .product-stage::before { animation:catalog-sunlight 7s ease-in-out infinite alternate; }
  .motion-paused .product-stage::before { animation-play-state:paused; }
  .product-image.editorial-pointer-active img,.product-image:focus-visible img { transform:translateY(-1.8%) scale(1.035); }
  .product-image.editorial-pressed img { transform:scale(.98); }
  .motion-paused .product-image img { transform:none; }
}
.product-info { margin-top:var(--space-lg); }
.product-heading { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:var(--space-2xs) var(--space-md); }
.product-heading h3 { flex:1 1 11em; font-size:clamp(1.55rem,2.5vw,2.45rem); }
.product-category,.demo-label { color:var(--muted); font-size:var(--text-sm); }
.product-price { color:var(--wine); font:600 var(--text-md)/1.3 var(--sans); font-variant-numeric:tabular-nums; }
.product-summary { margin:var(--space-sm) 0 0; color:var(--color-ink-2); max-width:58ch; }
.product-summary,.product-info~.catalog-disclaimer { margin-bottom:var(--space-md); }
.product-bottom { display:flex; justify-content:space-between; flex-wrap:wrap; align-items:center; gap:var(--space-xs); padding-top:var(--space-md); margin-top:auto; border-top:1px solid var(--line); }
.product-bottom .button { padding:var(--space-xs) var(--space-lg); }
.catalog-foot { margin-top:var(--space-xl); display:flex; flex-wrap:wrap; align-items:center; gap:var(--space-md); }
.catalog-empty { grid-column:1/-1; }
.photo-pending { display:grid; place-items:center; aspect-ratio:1; background:var(--paper); color:var(--muted); }
.home-service { position:relative; isolation:isolate; overflow:clip; background:var(--wine-deep); color:var(--on-film); }
.home-backdrop { position:absolute; inset:-10% 0; z-index:-2; transform:translateY(var(--scene-y,0)); }
.home-backdrop img { width:100%; height:100%; object-position:55% 40%; }
.home-service::after { content:""; position:absolute; inset:0; z-index:-1; background:var(--scene-scrim); pointer-events:none; }
.home-copy { max-width:35rem; }
.home-copy h2 { max-width:12ch; }
.home-copy p { margin-block:var(--space-lg); max-width:37ch; }
.booking-section { background:var(--cream); }
.closing { background:var(--paper); padding-block:var(--space-3xl); border-bottom:1px solid var(--line); }
.contact-line { display:flex; align-items:center; flex-wrap:wrap; gap:var(--space-lg); }
.contact-line h2 { flex:1 1 45%; font-size:clamp(2.4rem,4vw,4.5rem); }
.closing-phone { font-variant-numeric:tabular-nums; font-size:var(--text-lead); }
.footer { background:var(--paper); }
.footer-inner,.footer-meta { display:flex; align-items:center; flex-wrap:wrap; justify-content:space-between; gap:var(--space-lg); }
.footer-inner { min-height:115px; padding-block:var(--space-lg); }
.footer-meta { font-size:var(--text-sm); }
.footer-meta a { text-decoration:underline; text-underline-offset:.2em; }
.whatsapp-float { position:fixed; z-index:var(--z-sticky); inset:auto max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) auto; display:flex; align-items:center; gap:var(--space-xs); padding:var(--space-xs) var(--space-md); border-radius:var(--radius-pill); background:var(--whatsapp); color:var(--on-film); font-size:var(--text-sm); }
.whatsapp-float svg { width:24px; height:24px; }
.bag-trigger,.appointment-trigger {
  position:fixed; right:max(12px,env(safe-area-inset-right));
  z-index:var(--z-sticky);
}
.bag-trigger {
  bottom:max(16px,env(safe-area-inset-bottom));
  display:inline-flex; align-items:flex-end;
  border-radius:var(--radius-pill); isolation:isolate; line-height:1;
}
.appointment-trigger { bottom:calc(max(16px,env(safe-area-inset-bottom)) + 52px); }
.bag-sticker {
  width:78px; aspect-ratio:1; flex:none; display:block;
  background:url("assets/bolsa-sticker.svg") left center / 400% 100% no-repeat;
  filter:drop-shadow(1px 3px 3px rgb(48 25 34 / .24)); transform-origin:54% 83%;
}
.bag-trigger[data-fill="1"] .bag-sticker { background-position-x:33.333333%; }
.bag-trigger[data-fill="2"] .bag-sticker { background-position-x:66.666667%; }
.bag-trigger[data-fill="3"] .bag-sticker { background-position-x:100%; }
.bag-trigger-label {
  order:-1; z-index:-1; align-self:flex-end; margin:0 -22px 9px 0; padding:9px 23px 9px 13px;
  border:1px solid #d6c6b9; border-radius:var(--radius-pill);
  background:var(--surface); color:var(--wine); box-shadow:0 2px 8px #3419231c;
  font:600 var(--text-sm)/1.1 var(--sans);
}
.bag-badge {
  position:absolute; top:1px; right:2px; min-width:25px; height:25px; display:grid; place-items:center;
  padding:0 4px; border:2px solid var(--surface); border-radius:var(--radius-pill); background:var(--wine);
  color:var(--on-wine); font:650 var(--text-sm)/1 var(--sans); font-variant-numeric:tabular-nums;
}
.bag-trigger[data-fill="0"] .bag-badge { display:none; }
@keyframes bag-catch {
  0%,100% { transform:translateY(0) rotate(0) scale(1); }
  23% { transform:translateY(-8px) rotate(-6deg) scale(.96,1.06); }
  52% { transform:translateY(1px) rotate(3deg) scale(1.07,.93); }
  76% { transform:translateY(-2px) rotate(-1deg) scale(.99,1.02); }
}
@keyframes bag-count-in {
  0% { transform:scale(.7); }
  50% { transform:scale(1.16); }
  100% { transform:scale(1); }
}
@media (prefers-reduced-motion:no-preference) {
  body:not(.motion-paused) .bag-added .bag-sticker { animation:bag-catch .59s var(--spring); }
  body:not(.motion-paused) .bag-added .bag-badge { animation:bag-count-in .38s var(--spring); }
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  body:not(.motion-paused) .bag-trigger:hover .bag-sticker { transform:translateY(-2px) rotate(-3deg); transition:transform .22s var(--spring); }
}
body.dialog-open { overflow-y:hidden; }
dialog { color:var(--ink); border:0; border-radius:var(--radius-card); background:var(--cream); width:min(calc(100% - 32px),40rem); padding:var(--space-lg); max-height:89svh; overflow:auto; }
dialog::backdrop { background:var(--modal-backdrop); }
dialog h2 { font-size:clamp(2.1rem,4vw,3.5rem); }
.dialog-close { display:flex; align-items:center; gap:var(--space-sm); min-height:44px; margin:0 0 var(--space-sm) auto; padding:var(--space-2xs) var(--space-sm); border-radius:var(--radius-pill); }
.dialog-close span { font-size:1.5rem; }
.detail-dialog { width:min(calc(100% - 32px),52rem); }
.product-dialog-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:center; gap:var(--space-lg); }
.product-dialog-grid .product-stage { aspect-ratio:4/5; }
.product-dialog-grid .product-stage img { inset:auto 9% 9%; width:82%; height:82%; }
.product-dialog-grid h2,.product-dialog-grid .product-price { margin-block:var(--space-sm); }
.product-dialog-grid .button { margin-top:var(--space-md); }
.gallery-dialog img { width:100%; max-height:57svh; object-fit:contain; }
.gallery-dialog-footer { margin-top:var(--space-md); }
.gallery-dialog-footer .button { margin-top:var(--space-sm); }
.contact-dialog p,.order-dialog p { margin-block:var(--space-sm); }
.contact-dialog label,.order-dialog label { display:grid; gap:var(--space-2xs); font-weight:600; }
.contact-dialog textarea,.order-dialog input:not([type=checkbox]) { display:block; width:100%; padding:var(--space-xs) var(--space-md); border-radius:12px; background:var(--surface); color:var(--ink); border:1px solid var(--muted); }
.contact-dialog textarea { margin-block:var(--space-xs) var(--space-md); }
.contact-fine { color:var(--muted); font-size:var(--text-sm); }
.order-dialog form { display:grid; gap:var(--space-sm); }
.order-dialog label.order-consent { display:flex; align-items:flex-start; gap:var(--space-xs); font-weight:400; }
.order-consent input { flex:none; width:20px; height:20px; margin-top:var(--space-2xs); accent-color:var(--wine); }
.order-dialog [role=alert] { color:var(--color-error); }
.order-dialog [role=alert]:empty { display:none; }
.order-dialog .button { justify-self:start; }
.bag-dialog {
  width:min(36rem,calc(100% - 32px)); padding:clamp(24px,3.3vw,42px);
  margin:auto max(24px,4vw) auto auto; max-height:90svh; overscroll-behavior:contain;
  box-shadow:0 20px 70px rgb(37 20 22 / .23);
}
.bag-dialog .dialog-close { position:absolute; top:18px; right:17px; margin:0; }
.bag-dialog #order-title { padding-right:80px; margin:0 0 var(--space-lg); color:var(--wine); }
.bag-lines { margin:0; padding:0; list-style:none; border-top:1px solid var(--line); }
.bag-line {
  display:grid; grid-template-columns:64px minmax(0,1fr) auto; align-items:center;
  gap:var(--space-md); padding:var(--space-md) 0; border-bottom:1px solid var(--line);
}
.bag-line-photo {
  width:64px; height:80px; padding:5px; overflow:hidden;
  border-radius:12px; background:var(--paper);
}
.bag-line-photo img { width:100%; height:100%; object-fit:contain; }
.bag-line-photo .photo-pending { display:none; }
.bag-line-info { min-width:0; }
.bag-line-info h3 { font:500 clamp(1.18rem,2vw,1.45rem)/1.14 var(--serif); letter-spacing:-.02em; }
.bag-unit-price { color:var(--muted); font-size:var(--text-sm); }
.bag-line-info .bag-unit-price { margin-inline-end:var(--space-xs); }
.bag-remove { display:inline-flex; align-items:center; min-height:42px; color:var(--wine); text-decoration:underline; text-underline-offset:.22em; font-size:var(--text-sm); }
.bag-line-controls { display:grid; justify-items:end; gap:var(--space-xs); }
.bag-stepper { display:inline-flex; align-items:center; border:1px solid var(--line); border-radius:var(--radius-pill); font-variant-numeric:tabular-nums; }
.bag-stepper button { display:grid; place-items:center; width:44px; height:44px; border-radius:50%; color:var(--wine); font-size:1.3rem; line-height:1; }
.bag-stepper button:disabled { color:var(--muted); background:transparent; opacity:.55; }
.bag-line-subtotal { font-weight:650; font-variant-numeric:tabular-nums; color:var(--wine); }
.bag-total { display:flex; justify-content:space-between; align-items:baseline; gap:var(--space-md); padding-block:var(--space-lg); }
.bag-total strong { font:550 clamp(1.85rem,3vw,2.5rem)/1 var(--serif); color:var(--wine); font-variant-numeric:tabular-nums; }
.bag-customer-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--space-md); }
.bag-customer-fields label,.bag-customer-fields input { min-width:0; }
.bag-dialog .order-consent { font-size:var(--text-sm); color:var(--muted); }
.bag-dialog .bag-submit { justify-self:stretch; margin-top:var(--space-xs); }
.bag-empty,.bag-receipt { display:grid; justify-items:start; gap:var(--space-md); padding-bottom:var(--space-xs); }
.bag-empty p,.bag-receipt p { margin:0; }
.bag-empty .bag-sticker { width:96px; }
@media(max-width:700px) {
  .bag-trigger,.appointment-trigger { right:max(8px,env(safe-area-inset-right)); }
  .bag-trigger .bag-sticker { width:64px; }
  .bag-trigger-label { position:absolute; width:1px; height:1px; padding:0; margin:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
  .bag-badge { right:1px; top:0; }
  .bag-dialog { inset:auto 0 0; width:100%; max-width:none; max-height:92svh; margin:auto auto 0; padding:24px 20px max(24px,env(safe-area-inset-bottom)); border-radius:24px 24px 0 0; }
}
@media(max-width:480px) {
  .bag-customer-fields { grid-template-columns:minmax(0,1fr); gap:var(--space-sm); }
  .bag-line { grid-template-columns:56px minmax(0,1fr); align-items:start; gap:var(--space-xs) var(--space-sm); }
  .bag-line-photo { width:56px; height:72px; grid-row:span 2; }
  .bag-line-controls { grid-column:2; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; }
  .bag-line-info h3 { text-wrap:initial; }
}
button:disabled { background:var(--paper); color:var(--muted); border-color:var(--line); cursor:not-allowed; }

@media(max-width:900px) {
  .gallery-grid { gap:var(--space-md); }
  .section-heading,.gallery-head,.booking-intro { align-items:start; }
  .result-spread { gap:var(--gap-columns); }
}
@media(max-width:700px) {
  .section-heading,.gallery-head,.booking-intro { display:block; }
  .section-heading p,.gallery-head .quiet-label,.booking-intro p { display:block; margin-top:var(--space-sm); }
  .result-spread,.service-layout,.studio-note { grid-template-columns:minmax(0,1fr); gap:var(--space-lg); }
  .compare-wrap,.transform-intro,.service-list,.service-photo { grid-column:1; grid-row:auto; }
  .transform-intro h2,.home-copy h2 { max-width:none; }
  .compare-wrap,.transform-intro { justify-self:center; }
  .comparison-tabs { gap:var(--space-2xs); }
  .chip { padding:var(--space-xs) var(--space-sm); }
  .service-list { grid-row:1; }
  .service-photo { width:100%; }
  .service-photo img { aspect-ratio:6/5; }
  .gallery-grid { grid-template-columns:minmax(0,1fr); row-gap:var(--space-xl); }
  .gallery-card>span:last-child { flex-direction:column; }
  .essence-art { width:65%; }
  .product-grid { grid-template-columns:minmax(0,1fr); gap:var(--space-xl); }
  .product-card { width:100%; }
  .footer-meta,.footer-inner { align-items:flex-start; flex-direction:column; }
  .footer-inner { gap:var(--space-lg); padding-bottom:80px; }
  .footer-meta { gap:var(--space-sm); }
  .contact-line { align-items:flex-start; flex-direction:column; }
  .whatsapp-float { width:48px; height:48px; padding:var(--space-sm); }
  .whatsapp-float span { display:none; }
  .product-dialog-grid { grid-template-columns:minmax(0,1fr); }
  .product-dialog-grid .product-stage { aspect-ratio:auto; height:clamp(180px,30svh,320px); }
}
@media(max-width:480px) {
  .product-image { aspect-ratio:1; }
}
@media(prefers-reduced-motion:reduce) {
  .editorial-image-window img,.editorial-product-frame,.home-backdrop { transform:none; }
}
.motion-paused .editorial-image-window img,.motion-paused .editorial-product-frame,.motion-paused .home-backdrop { transform:none; }

@media (max-width:360px) {
  .masthead,.header-actions { gap:var(--space-xs); }
  .masthead .button { padding-inline:var(--space-sm); }
  .masthead .brand { gap:var(--space-2xs); }
}

.appointment-trigger {
  display:inline-flex; align-items:flex-end; isolation:isolate; line-height:1;
  border-radius:var(--radius-pill);
}
.appointment-sticker {
  display:block; flex:none; width:78px; aspect-ratio:1;
  background:url("assets/calendario-citas.svg") center / contain no-repeat;
  filter:drop-shadow(1px 3px 3px rgb(48 25 34 / .24));
  transform-origin:28% 85%;
}
.appointment-trigger-label {
  order:-1; align-self:flex-end; margin:0 -18px 9px 0; padding:9px 24px 9px 13px;
  border:1px solid #d6c6b9; border-radius:var(--radius-pill);
  background:var(--surface); color:var(--wine); box-shadow:0 2px 8px #3419231c;
  font:600 var(--text-sm)/1.1 var(--sans);
}
@keyframes appointment-settle {
  0% { transform:translateY(5px) rotate(-7deg); }
  52% { transform:translateY(-2px) rotate(3deg); }
  78% { transform:translateY(0) rotate(-1.5deg); }
  100% { transform:none; }
}
@media (prefers-reduced-motion:no-preference) {
  body:not(.motion-paused) .appointment-trigger:not([hidden]) .appointment-sticker {
    animation:appointment-settle .5s ease-out;
    transition:transform .2s var(--spring);
  }
  body:not(.motion-paused) .appointment-trigger:active .appointment-sticker { transform:translateY(1px) scale(.94); }
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  body:not(.motion-paused) .appointment-trigger:hover:not(:active) .appointment-sticker { transform:translateY(-2px) rotate(-3deg); }
}
@media(max-width:700px) {
  .appointment-sticker { width:64px; }
  .appointment-trigger-label { position:absolute; width:1px; height:1px; padding:0; margin:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
}
