/* ═══════════════════════════════════════════════════════════════
   VWT · M-APPLE · rediseño del sitio móvil (va después de m.css)
   Sistema de heroes por tipo de página:
     .mh-paisaje   tours, excursiones y el INICIO: foto vertical a pantalla
                   completa + hoja que sube (en el inicio, con los botones
                   sobre la foto y una secuencia de cine)
     .mh-retrato   bodegas: nombre grande + foto que se abre al bajar
     .mh-editorial blog: titular a la izquierda + foto que se abre
     .mh-tipo      institucionales: titular tipográfico
   Además: galerías con snap (.mg), "Por qué elegirnos" en carrusel,
   filtros del blog, ritmo vertical y la navegación del teléfono.
   Animaciones solo con transform y opacity.
   ═══════════════════════════════════════════════════════════════ */

/* las fotos de escritorio envueltas para no descargarse en el teléfono: el envoltorio no ocupa lugar */
picture.pm{ display: contents }

/* ── entrada de cada página: la misma cortina de la transición entre páginas ──
   (blanca —negra en modo oscuro— con el logo). Cubre desde el primer cuadro y sube apenas la
   página está lista, con la misma curva y duración con que baja al tocar un enlace. Así salir
   de una página y entrar a la otra es un solo movimiento. Reemplaza al preloader del inicio. */
html.vwt-cortina::after{ content: ""; position: fixed; inset: 0; z-index: 100001; pointer-events: none;
  background: #FFFFFF url("../img/logo2.webp") center / calc(190px * var(--k, 1)) auto no-repeat;
  transform: none; transition: transform .42s cubic-bezier(.32,.72,0,1); will-change: transform }
html[data-theme="dark"].vwt-cortina::after{ background-color: #000000 }
html.vwt-cortina.vwt-sube::after{ transform: translateY(-101%) }
@media (pointer: coarse){ html.vwt-cortina::after{ transition-duration: .32s } }
/* el preloader viejo ya no aparece */
#loader{ display: none !important }

/* ── secuencia de cine del inicio (teléfono y escritorio) ──
   Las fotos se suceden con un fundido largo; cada una entra con un
   acercamiento lento (Ken Burns) en una dirección distinta. */
.vs-pila{ position: absolute; inset: 0; overflow: hidden }
.vs-pila .vs{ position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s cubic-bezier(.4,0,.2,1); will-change: opacity, transform }
.vs-pila .vs.vs-on{ opacity: 1; z-index: 2 }
.vs-pila .vs.vs-prev{ opacity: 1; z-index: 1; transition: none }
.vs-pila .vs picture{ display: block; width: 100%; height: 100% }
.vs-pila .vs img{ position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover }
.vs-pila .vs.vs-mov{ animation: 9.5s linear both }
.vs-pila .vs.kb0.vs-mov{ animation-name: vsA } .vs-pila .vs.kb1.vs-mov{ animation-name: vsB }
.vs-pila .vs.kb2.vs-mov{ animation-name: vsC } .vs-pila .vs.kb3.vs-mov{ animation-name: vsD }
@keyframes vsA{ from{ transform: scale(1) } to{ transform: scale(1.08) translate3d(-1.2%, -.8%, 0) } }
@keyframes vsB{ from{ transform: scale(1.09) translate3d(1.2%, 0, 0) } to{ transform: scale(1.01) } }
@keyframes vsC{ from{ transform: scale(1.02) translate3d(0, 1.2%, 0) } to{ transform: scale(1.09) translate3d(.8%, -.8%, 0) } }
@keyframes vsD{ from{ transform: scale(1.09) translate3d(-.8%, .6%, 0) } to{ transform: scale(1.01) translate3d(.6%, 0, 0) } }
/* escritorio: la grilla de color del hero queda por encima de la secuencia */
.vh-hero-frame .vh-hero-grade{ z-index: 3 }
/* ESCRITORIO con más impacto: las fotos se ven (antes quedaban al 58 % de brillo bajo un velo muy cerrado),
   el oscurecido se concentra solo detrás del texto, y el movimiento es más marcado y más seguido. */
#vhFrame .vs-pila img{ filter: brightness(.82) contrast(1.06) saturate(1.08) }
#vhFrame .vh-hero-grade{ background:
  radial-gradient(40% 36% at 50% 50%, rgba(0,0,0,.66) 0%, rgba(0,0,0,.46) 50%, rgba(0,0,0,.14) 82%, rgba(0,0,0,0) 100%),
  radial-gradient(140% 110% at 50% 45%, rgba(0,0,0,0) 45%, rgba(0,0,0,.42) 100%),
  linear-gradient(180deg, rgba(0,0,0,.34) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0) 62%, rgba(0,0,0,.62) 100%) }
/* una sombra difusa (no un borde) para que el texto se lea sobre cualquier foto, también la más clara */
.vh-hero:has(.vs-pila) .vh-h1{ text-shadow: 0 2px 28px rgba(0,0,0,.34), 0 1px 3px rgba(0,0,0,.18) }
.vh-hero:has(.vs-pila) .vh-hero-claim, .vh-hero:has(.vs-pila) .vh-kick{ text-shadow: 0 1px 14px rgba(0,0,0,.55), 0 1px 2px rgba(0,0,0,.3) }
#vhFrame .vs-pila .vs{ transition-duration: 1.4s }
#vhFrame .vs-pila .vs.vs-mov{ animation-duration: 7.4s; animation-timing-function: cubic-bezier(.3,.1,.3,1) }
#vhFrame .vs-pila .vs.kb0.vs-mov{ animation-name: vsEA } #vhFrame .vs-pila .vs.kb1.vs-mov{ animation-name: vsEB }
#vhFrame .vs-pila .vs.kb2.vs-mov{ animation-name: vsEC } #vhFrame .vs-pila .vs.kb3.vs-mov{ animation-name: vsED }
@keyframes vsEA{ from{ transform: scale(1.02) } to{ transform: scale(1.15) translate3d(-2.2%, -1.2%, 0) } }
@keyframes vsEB{ from{ transform: scale(1.16) translate3d(2.4%, 0, 0) } to{ transform: scale(1.03) translate3d(-.6%, 0, 0) } }
@keyframes vsEC{ from{ transform: scale(1.04) translate3d(0, 2%, 0) } to{ transform: scale(1.16) translate3d(1.6%, -1.4%, 0) } }
@keyframes vsED{ from{ transform: scale(1.15) translate3d(-1.8%, 1%, 0) } to{ transform: scale(1.03) translate3d(1.4%, 0, 0) } }

@media (max-width: 1023px), (pointer: coarse) and (max-width: 2000px){
  :root{
    --e2: cubic-bezier(.25,.1,.25,1);
    --mh-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
    --mh-alto: calc(100svh - var(--mh-top));
    --wa: #25D366;
    --logo: #B03848;   /* el acento del logo (la copa) */
    --gris-ios: rgba(120,120,128,.12);
  }

  /* "clip" recorta igual que "hidden" pero no convierte a html/body en contenedores de scroll:
     así funciona position: sticky (la fila de filtros del blog) */
  html, body{ overflow-x: clip }

  /* ── tipografía: tracking apretado pero sin que las letras se toquen ── */
  .mh, .mh *{ box-sizing: border-box }
  .mh{ position: relative; width: 100%; isolation: isolate; text-align: left }
  .mh-kick{ display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: .8rem; font-weight: 600; letter-spacing: .01em; line-height: 1.3; color: var(--acc) }
  .mh-kick::before{ content: ""; width: 20px; height: 2px; border-radius: 2px; background: currentColor; flex: 0 0 auto }
  .mh-h1{ margin: 0; font-size: clamp(2.35rem, 10.8vw, 4rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; color: var(--ink); text-wrap: balance; overflow-wrap: break-word }
  /* cada palabra en su máscara: sube desde abajo (el texto queda entero y buscable) */
  .mh-w{ display: inline-block; overflow: hidden; vertical-align: top; padding: .04em .06em .18em 0; margin: -.04em -.06em -.18em 0 }
  .mh-w > span{ display: inline-block }
  .mh-h1 em{ font-style: normal; color: var(--acc) }
  .mh-lead{ margin: 14px 0 0; max-width: 36ch; font-size: 1.04rem; line-height: 1.5; font-weight: 300; color: var(--soft); text-wrap: pretty }
  .mh-lead b, .mh-lead strong{ font-weight: 600; color: var(--ink) }
  .mh-ctas{ display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 22px }
  /* botones: la medida de un botón de iOS (48 px), sin brillos de color */
  .mh-btn{ position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border-radius: 999px;
    background: var(--acc); color: #fff !important; -webkit-text-fill-color: #fff; font: 600 .95rem/1 'Poppins', sans-serif; letter-spacing: -.005em; text-decoration: none;
    transition: transform .25s var(--e), opacity .25s var(--e) }
  .mh-btn svg{ width: 19px; height: 19px; flex: 0 0 auto; fill: currentColor }
  .mh-btn:active{ transform: scale(.96); opacity: .9 }
  .mh-lnk{ display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 0 2px; font: 600 .95rem/1 'Poppins', sans-serif; color: var(--acc) !important; -webkit-text-fill-color: currentColor; text-decoration: none }
  .mh-lnk i{ font-style: normal; font-size: 1.3em; line-height: 1; transform: translateY(-1px); transition: transform .3s var(--e) }
  .mh-lnk:active i{ transform: translate(3px, -1px) }
  .mh-btn:focus-visible, .mh-lnk:focus-visible, .mg-c:focus-visible{ outline: 3px solid var(--acc); outline-offset: 3px }

  /* la foto: una capa que se desplaza más lento que la página (parallax) */
  .mh-media{ position: relative; overflow: hidden; background: #241a1c; contain: paint }
  .mh-par{ position: absolute; inset: -4% 0 0; display: block; will-change: transform }
  .mh-par > picture{ display: block; width: 100%; height: 100% }
  .mh-img{ display: block; width: 100%; height: 100%; max-width: none !important; object-fit: cover; transform-origin: 50% 55% }
  .mh-velo{ position: absolute; inset: 0; z-index: 3; pointer-events: none;
    background: linear-gradient(180deg, rgba(8,5,6,.22) 0%, rgba(8,5,6,0) 18%, rgba(8,5,6,0) 46%, rgba(8,5,6,.5) 70%, rgba(8,5,6,.86) 100%) }

  /* ── PAISAJE (tours, excursiones, experiencias y el inicio) ──
     La foto llena la pantalla y la hoja de abajo asoma por encima de la
     barra de pestañas: invita a bajar y la foto no queda vacía. */
  .mh-paisaje{ color: #fff; background: var(--papel) }
  /* la hoja asoma solo su borde redondeado y la agarradera por encima de la barra de pestañas */
  .mh-paisaje .mh-media{ height: calc(var(--mh-alto) - var(--m-tab) + 14px); min-height: 460px }
  .mh-paisaje .mh-sobre{ position: absolute; z-index: 4; left: 0; right: 0; bottom: 56px; padding: 0 var(--pad) }
  .mh-paisaje .mh-kick{ color: rgba(255,255,255,.92) }
  .mh-paisaje .mh-h1{ color: #fff }
  .mh-hoja{ position: relative; z-index: 5; margin-top: -28px; border-radius: 28px 28px 0 0; background: var(--papel); color: var(--ink); padding: 36px var(--pad) 4px }
  /* (sin agarradera: esta hoja no se arrastra; la agarradera queda solo en los menús, que sí se cierran arrastrando) */
  .mh-hoja .mh-lead{ margin: 0; max-width: 34ch; font-size: 1.16rem; line-height: 1.48; font-weight: 400; letter-spacing: -.01em; color: var(--ink) }
  .mh-hoja .mh-lead b{ font-weight: 600 }
  .mh-hoja .mh-sub{ margin: 12px 0 0; max-width: 36ch; font-size: .98rem; line-height: 1.6; font-weight: 300; color: var(--soft); text-wrap: pretty }
  .mh-hoja .mh-ctas{ margin-top: 20px }
  /* el INICIO: título más grande, "Mendoza" en el color del logo y los botones sobre la foto */
  .mh-inicio .mh-h1{ font-size: clamp(2.55rem, 12vw, 4.3rem) }
  .mh-inicio .mh-h1 em{ background: linear-gradient(100deg, #EE8494 0%, #D24C60 45%, var(--logo) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent }
  /* en el inicio el mail va al lado del botón de WhatsApp, en la misma línea, en todos los idiomas */
  /* (en pantallas muy angostas, donde no entra, el mail baja debajo del botón en vez de apretarlo) */
  .mh-inicio .mh-ctas{ margin-top: 20px; flex-wrap: wrap; gap: 2px 20px }
  .mh-inicio .mh-btn, .mh-inicio .mh-lnk{ flex: 0 0 auto; white-space: nowrap }
  @media (max-width: 429px){ .mh-inicio .mh-ctas{ column-gap: 16px } .mh-inicio .mh-btn{ padding: 0 18px; font-size: .9rem; gap: 8px } .mh-inicio .mh-btn svg{ width: 18px; height: 18px } }
  @media (max-width: 379px){ .mh-inicio .mh-ctas{ column-gap: 12px } .mh-inicio .mh-btn{ padding: 0 16px } }
  .mh-inicio .mh-btn{ background: #fff; color: #0B0708 !important; -webkit-text-fill-color: #0B0708 }
  .mh-inicio .mh-btn svg{ fill: var(--wa) }
  .mh-inicio .mh-lnk{ color: #fff !important }
  .mh-inicio .mh-sobre{ bottom: 52px }
  .mh-inicio .mh-velo{ background: linear-gradient(180deg, rgba(8,5,6,.2) 0%, rgba(8,5,6,0) 16%, rgba(8,5,6,0) 36%, rgba(8,5,6,.45) 56%, rgba(8,5,6,.82) 78%, rgba(8,5,6,.92) 100%) }

  /* ── RETRATO (bodegas) y EDITORIAL (blog) ── */
  .mh-retrato, .mh-editorial{ padding: 30px 0 4px; background: var(--papel) }
  .mh-retrato .mh-tx{ display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 var(--pad) }
  .mh-retrato .mh-kick{ padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--acc) 10%, transparent); font-size: .76rem }
  .mh-retrato .mh-kick::before{ display: none }
  .mh-retrato .mh-h1{ font-size: clamp(2.45rem, 11.6vw, 4.1rem) }
  .mh-retrato .mh-lead{ margin-inline: auto }
  .mh-retrato .mh-ctas{ justify-content: center }
  .mh-editorial .mh-tx{ padding: 0 var(--pad) }
  .mh-editorial .mh-h1{ font-size: clamp(2.05rem, 9.2vw, 3.4rem); line-height: 1.06 }
  .mh-editorial .mh-lead{ font-size: 1.08rem; max-width: 34ch }
  .mh-editorial .mh-ctas{ margin-top: 18px; gap: 6px 18px }
  .mh-editorial .mh-btn{ min-height: 44px; padding: 0 18px; font-size: .9rem }
  .mh-editorial .mh-btn svg{ width: 17px; height: 17px }
  .mh-editorial .mh-lnk{ font-size: .9rem }
  .mh-fig{ margin: 28px 0 0; padding: 0 10px }
  .mh-fig-in{ position: relative; overflow: hidden; border-radius: 26px; aspect-ratio: var(--ar, 4 / 3); max-height: 72svh; background: var(--humo); transform-origin: 50% 0; will-change: transform }
  .mh-fig-in picture{ display: block; width: 100%; height: 100% }
  .mh-fig-in .mh-img{ transform-origin: 50% 40% }
  /* la descripción larga de la bodega: debajo de la foto, como párrafo de apertura */
  #mApp .mh-intro{ padding: 30px 0 6px }
  .mh-intro .m-in > p{ margin: 0; font-size: 1.14rem; line-height: 1.6; font-weight: 300; letter-spacing: -.005em; color: var(--soft) }
  .mh-intro .m-in > p::first-line{ color: var(--ink); font-weight: 400 }

  /* ── TIPO (institucionales) ── */
  .mh-tipo{ position: relative; overflow: hidden; min-height: calc(70svh - var(--mh-top)); display: flex; align-items: center; justify-content: center; text-align: center; padding: 52px var(--pad) 44px; background: var(--papel) }
  .mh-tipo::before{ content: ""; position: absolute; z-index: -1; left: 50%; top: -20%; width: 150vw; height: 110%; margin-left: -75vw; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(172,55,73,.14), rgba(172,55,73,.04) 55%, rgba(172,55,73,0)) }
  .mh-tipo .mh-tx{ display: flex; flex-direction: column; align-items: center; width: 100% }
  .mh-tipo .mh-kick::after{ content: ""; width: 20px; height: 2px; border-radius: 2px; background: currentColor }
  .mh-tipo .mh-h1{ font-size: clamp(2.45rem, 11.4vw, 4.1rem) }
  .mh-tipo .mh-lead{ margin-inline: auto }
  .mh-tipo .mh-ctas{ justify-content: center }
  .mh-tipo.mh-bordo{ background: var(--vino); color: #fff }
  .mh-tipo.mh-negro{ background: #0B0708; color: #fff }
  .mh-tipo.mh-bordo::before, .mh-tipo.mh-negro::before{ background: radial-gradient(closest-side, rgba(255,255,255,.12), rgba(255,255,255,.03) 55%, rgba(255,255,255,0)) }
  .mh-tipo.mh-bordo .mh-h1, .mh-tipo.mh-negro .mh-h1, .mh-tipo.mh-bordo .mh-h1 em, .mh-tipo.mh-negro .mh-h1 em{ color: #fff }
  .mh-tipo.mh-bordo .mh-kick, .mh-tipo.mh-negro .mh-kick{ color: rgba(255,255,255,.8) }
  .mh-tipo.mh-bordo .mh-lead, .mh-tipo.mh-negro .mh-lead{ color: rgba(255,255,255,.84) }
  .mh-tipo.mh-bordo .mh-btn{ background: #fff; color: var(--vino) !important; -webkit-text-fill-color: var(--vino) }
  .mh-tipo.mh-bordo .mh-lnk, .mh-tipo.mh-negro .mh-lnk{ color: #fff !important }
  html[data-theme="dark"] .mh-tipo.mh-negro, body.dark .mh-tipo.mh-negro{ background: #141112 }

  /* el botón flotante de WhatsApp se aparta mientras el hero está en pantalla */
  .m-wa{ transition: opacity .35s var(--e), transform .45s var(--e) !important }
  html.mh-cta-vis .m-wa{ opacity: 0; transform: scale(.6) translateY(12px); pointer-events: none }

  /* ── entrada del hero (solo con JS; sin JS todo queda visible) ── */
  html.mh-js .mh .mh-w > span{ transform: translateY(110%) }
  html.mh-js .mh .mh-kick, html.mh-js .mh .mh-ctas{ opacity: 0; transform: translateY(16px) }
  /* la bajada y la foto (lo más grande del hero) se pintan de entrada y solo se acomodan */
  html.mh-js .mh .mh-lead{ transform: translateY(12px) }
  html.mh-js .mh-hoja{ transform: translateY(40px) }
  html.mh-js .mh-fig{ transform: translateY(24px) }
  html.mh-js .mh-paisaje .mh-img{ transform: scale(1.1) }
  html.mh-go .mh .mh-w > span{ transform: none; transition: transform 1s var(--e); transition-delay: calc(var(--i, 0) * 60ms + 100ms) }
  html.mh-go .mh .mh-kick{ opacity: 1; transform: none; transition: opacity .8s var(--e2), transform .9s var(--e) }
  html.mh-go .mh .mh-lead{ transform: none; transition: transform 1s var(--e) .35s }
  html.mh-go .mh .mh-ctas{ opacity: 1; transform: none; transition: opacity .9s var(--e2) .45s, transform 1s var(--e) .45s }
  html.mh-go .mh-hoja{ transform: none; transition: transform 1.1s var(--e) .3s }
  html.mh-go .mh-fig{ transform: none; transition: transform 1.2s var(--e) .25s }
  html.mh-go .mh-paisaje .mh-img{ transform: none; transition: transform 2.2s var(--e) }

  /* ── al bajar: solo la foto se mueve (más lenta que la página). Nada más se anima con el scroll. ── */
  @supports (animation-timeline: scroll()){
    .mh-paisaje .mh-par{ animation: mhPar linear both; animation-timeline: scroll(root); animation-range: 0 100svh }
    .mh-fig-in{ animation: mhAbre linear both; animation-timeline: scroll(root); animation-range: 0 55svh }
  }
  @keyframes mhPar{ to{ transform: translate3d(0, 22%, 0) } }
  @keyframes mhAbre{ from{ transform: scale(.94) } to{ transform: none } }

  /* ── galerías horizontales con snap ── */
  .mg{ display: flex; gap: 12px; margin: 4px calc(-1 * var(--pad)) 0; padding: 4px var(--pad) 8px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
    overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none }
  .mg::-webkit-scrollbar{ display: none }
  .mg::after{ content: ""; flex: 0 0 calc(var(--pad) - 12px) }
  .mg-c{ position: relative; flex: 0 0 min(72vw, 290px); aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; scroll-snap-align: start; background: #241a1c; color: #fff !important; text-decoration: none; isolation: isolate;
    transition: transform .3s var(--e) }
  .mg-c img{ position: absolute; inset: 0; width: 100%; height: 100%; max-width: none !important; object-fit: cover }
  .mg-c img.mg-diferida{ opacity: 0; transition: opacity .6s var(--e2) }
  .mg-c img.mg-diferida.ok{ opacity: 1 }
  .mg-c::after{ content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,5,6,0) 42%, rgba(8,5,6,.36) 64%, rgba(8,5,6,.86) 100%) }
  .mg-tx{ position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 4px }
  .mg-tx i{ order: -1; font-style: normal; font-size: .76rem; font-weight: 600; letter-spacing: .01em; color: rgba(255,255,255,.82) }
  .mg-tx b{ font-size: 1.28rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.1; color: #fff; overflow-wrap: break-word }
  .mg .mg-c em{ position: absolute; z-index: 2; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 1.25rem; line-height: 1; color: #fff;
    background: rgba(255,255,255,.22); -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%) }
  .mg-c:active{ transform: scale(.97) }

  /* ── "Por qué elegirnos": carrusel de tarjetas, como "Why Apple" ── */
  #mApp .md{ background: var(--humo) }
  #mApp .md-grid{ display: flex; gap: 12px; margin: 0 calc(-1 * var(--pad)); padding: 6px var(--pad) 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; overscroll-behavior-x: contain }
  #mApp .md-grid::-webkit-scrollbar{ display: none }
  #mApp .md-grid::after{ content: ""; flex: 0 0 calc(var(--pad) - 12px) }
  #mApp .md-c{ flex: 0 0 min(68vw, 270px); min-height: 250px; scroll-snap-align: start; padding: 24px 22px 24px; border-radius: 26px; gap: 8px; justify-content: flex-start; background: var(--papel); box-shadow: none }
  #mApp .md-c h3{ font-size: 1.32rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.12; margin-top: auto }
  #mApp .md-c p{ font-size: .92rem; line-height: 1.5; color: var(--soft) }
  #mApp .md-hero p{ color: rgba(255,255,255,.74) } #mApp .md-ancho p{ color: rgba(255,255,255,.8) }
  #mApp .md-hero h3, #mApp .md-ancho h3{ color: #fff }
  #mApp .md-ico{ width: 52px; height: 52px; border-radius: 16px; margin-bottom: 18px }
  #mApp .md-ico svg{ width: 26px; height: 26px }
  #mApp .md-hero{ flex-basis: min(80vw, 320px); justify-content: flex-end; background: #0B0708 }
  #mApp .md-hero h3{ margin-top: 6px; font-size: 1.4rem }
  #mApp .md-num{ font-size: clamp(3.8rem, 20vw, 5rem); letter-spacing: -.04em }
  #mApp .md-ancho{ flex-direction: column; align-items: flex-start; flex-basis: min(68vw, 270px); background: var(--vino) }
  #mApp .md-ancho .md-ico{ margin: 0 0 18px }
  #mApp .md-cta{ margin-top: 22px }
  html.m-js #mApp .md .md-c{ opacity: 1; transform: none }
  html[data-theme="dark"] #mApp .md-c:not(.md-hero):not(.md-ancho), body.dark #mApp .md-c:not(.md-hero):not(.md-ancho){ background: #1c1a1b }

  /* ── ritmo vertical: el mismo aire entre todos los bloques ──
     Dos bloques seguidos del mismo color se leen como uno: el segundo no
     suma su relleno de arriba (antes quedaba el doble de blanco). */
  #mApp .m-b{ padding: 52px 0 }
  /* ("Por qué elegirnos" lleva la clase m-blanco pero se pinta gris: no cuenta como blanco) */
  #mApp .m-blanco:not(.md) + .m-blanco:not(.md), #mApp .m-humo + .m-humo, #mApp .m-negro + .m-negro, #mApp .m-bordo + .m-bordo, #mApp .mh-intro + .m-blanco:not(.md){ padding-top: 0 }
  #mApp .mh-retrato + .m-blanco, #mApp .mh-editorial + .m-blanco, #mApp .mh-paisaje + .m-blanco{ padding-top: 36px }
  #mApp .m-cierre{ padding: 52px 0 56px }
  #mApp .m-h2{ font-size: clamp(1.9rem, 8.8vw, 2.6rem); letter-spacing: -.035em; line-height: 1.06; margin-bottom: 14px; text-wrap: balance }
  #mApp .m-cierre .m-h2{ letter-spacing: -.035em; line-height: 1.04 }
  #mApp .m-p{ font-size: 1rem }
  #mApp .m-lf img{ border-radius: 14px }
  #mApp .m-lf a{ transition: opacity .2s }
  #mApp .m-lf a:active{ opacity: .6 }
  #mApp .m-btn{ border-radius: 999px; min-height: 48px; font-size: .95rem; box-shadow: none }
  #mApp .m-fig{ border-radius: 22px }
  html.m-js .m-rv{ transform: translateY(24px); transition: opacity .8s var(--e2), transform .9s var(--e) }

  /* etiquetas (zona, tipo de visita): cápsulas grises como las de iOS, no bordes negros */
  #mApp .m-chips{ gap: 6px }
  #mApp .m-chips span{ padding: 7px 12px; border: 0; border-radius: 999px; background: var(--gris-ios); font-size: .8rem; font-weight: 500; letter-spacing: -.005em }
  #mApp .m-negro .m-chips span, #mApp .m-bordo .m-chips span{ background: rgba(255,255,255,.14) }

  /* ── temas del blog: un solo botón desplegable, como los menús de iOS ──
     "Tema: Todos ▾" + el total de artículos, en una franja de vidrio que queda fija arriba al bajar.
     El menú sale del botón (escala desde su esquina), con cada tema, su cantidad y una tilde. */
  #mApp .mt{ position: sticky; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin: 0 calc(-1 * var(--pad)) 12px; padding: 10px var(--pad);
    background: color-mix(in srgb, var(--papel) 84%, transparent); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px) }
  #mApp .mt-btn{ display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 12px 0 16px; border: 0; border-radius: 999px; background: var(--gris-ios); color: var(--ink); cursor: pointer;
    font: 400 .9rem/1 'Poppins', sans-serif; letter-spacing: -.005em; transition: transform .2s var(--e), background .2s }
  #mApp .mt-btn:active{ transform: scale(.96) }
  #mApp .mt-btn:focus-visible{ outline: 3px solid var(--acc); outline-offset: 2px }
  #mApp .mt-k{ color: #8E8E93 }
  #mApp .mt-btn b{ font-weight: 600; color: var(--ink) }
  #mApp .mt-btn svg{ width: 18px; height: 18px; fill: none; stroke: var(--acc); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--e) }
  #mApp .mt-btn[aria-expanded="true"] svg{ transform: rotate(180deg) }
  #mApp .mt-n{ font-size: .82rem; color: #8E8E93; white-space: nowrap; font-variant-numeric: tabular-nums }
  /* el menú: opaco (un desenfoque dentro de la franja de vidrio no funciona y dejaría ver el texto de atrás) */
  #mApp .mt-menu{ position: absolute; left: var(--pad); top: calc(100% - 4px); min-width: 260px; max-width: calc(100vw - 2 * var(--pad)); padding: 0; border-radius: 14px; overflow: hidden;
    background: #FCFBFB;
    box-shadow: 0 22px 60px -14px rgba(0,0,0,.35), 0 0 0 .5px rgba(0,0,0,.1); transform-origin: 28px 0; opacity: 0; transform: scale(.82) translateY(-6px); pointer-events: none;
    transition: opacity .2s var(--e2), transform .32s var(--e) }
  #mApp .mt-menu[hidden]{ display: block; visibility: hidden }
  #mApp .mt.abierto .mt-menu{ opacity: 1; transform: none; pointer-events: auto; visibility: visible }
  html[data-theme="dark"] #mApp .mt-menu, body.dark #mApp .mt-menu{ background: #2C292A; box-shadow: 0 22px 60px -14px rgba(0,0,0,.8), 0 0 0 .5px rgba(255,255,255,.1) }
  #mApp .mt-menu button{ position: relative; display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 0 16px 0 12px; border: 0; border-radius: 0; background: none; color: var(--ink); text-align: left; cursor: pointer;
    font: 400 .98rem/1.2 'Poppins', sans-serif; letter-spacing: -.01em; transition: background .15s }
  /* separador fino que arranca después de la tilde, como en iOS */
  #mApp .mt-menu button + button::before{ content: ""; position: absolute; top: 0; left: 44px; right: 0; height: .5px; background: var(--linea) }
  #mApp .mt-menu button:active, #mApp .mt-menu button:focus-visible{ background: var(--gris-ios); outline: 0 }
  #mApp .mt-menu button i{ font-style: normal; font-size: .84rem; color: #8E8E93; font-variant-numeric: tabular-nums }
  #mApp .mt-ok{ width: 18px; height: 18px; fill: none; stroke: var(--acc); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0 }
  #mApp .mt-menu button[aria-checked="true"] .mt-ok{ opacity: 1 }
  #mApp .mt-menu button[aria-checked="true"] span{ font-weight: 600 }
  /* los artículos que cambian entran con un fundido corto */
  #mApp #mArts > a{ transition: opacity .3s var(--e2) }
  #mApp #mArts.cambiando > a{ opacity: 0 }

  /* ═══ NAVEGACIÓN DEL TELÉFONO, como iOS ═══ */
  /* barra superior: vidrio, logo nítido y un botón chico como el "Comprar" de Apple */
  .m-nav{ background: rgba(255,255,255,.72) !important; -webkit-backdrop-filter: saturate(180%) blur(20px) !important; backdrop-filter: saturate(180%) blur(20px) !important; box-shadow: 0 .5px 0 rgba(0,0,0,.08) !important }
  html[data-theme="dark"] .m-nav, body.dark .m-nav{ background: rgba(22,20,21,.72) !important; box-shadow: 0 .5px 0 rgba(255,255,255,.1) !important }
  .m-nav-logo img{ height: 24px !important }
  .m-nav-cta{ height: 30px !important; padding: 0 14px !important; font-size: .8rem !important; font-weight: 600 !important; letter-spacing: 0 !important; border-radius: 999px !important; transition: transform .2s var(--e), opacity .2s }
  .m-nav-cta:active{ transform: scale(.95); opacity: .85 }
  /* barra de pestañas: cápsula de vidrio flotante (Liquid Glass) */
  .m-tab{ left: 14px !important; right: 14px !important; height: 62px !important; bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important; padding: 0 5px !important; border-radius: 999px !important;
    background: rgba(255,255,255,.76) !important; -webkit-backdrop-filter: saturate(190%) blur(24px) !important; backdrop-filter: saturate(190%) blur(24px) !important;
    border: .5px solid rgba(0,0,0,.06) !important; box-shadow: 0 10px 30px -12px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.75) !important }
  html[data-theme="dark"] .m-tab, body.dark .m-tab{ background: rgba(30,28,29,.62) !important; border-color: rgba(255,255,255,.08) !important; box-shadow: 0 10px 30px -12px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.08) !important }
  .m-tab a{ margin: 5px 1px !important; border-radius: 999px !important; gap: 2px !important; font-size: .6rem !important; font-weight: 500 !important; letter-spacing: .01em; color: #6E6E73 !important; transition: background .25s var(--e), color .25s var(--e), transform .2s var(--e) }
  html[data-theme="dark"] .m-tab a, body.dark .m-tab a{ color: #A1A1A6 !important }
  .m-tab a svg{ width: 23px !important; height: 23px !important; stroke-width: 1.6 !important }
  .m-tab a.on{ background: rgba(172,55,73,.12) !important; color: var(--acc) !important; font-weight: 600 !important }
  html[data-theme="dark"] .m-tab a.on, body.dark .m-tab a.on{ background: rgba(255,255,255,.1) !important; color: #fff !important }
  .m-tab a:active{ transform: scale(.92) }
  /* WhatsApp flotante: más chico y con la misma línea de vidrio */
  .m-wa{ width: 50px !important; height: 50px !important; right: 16px !important; bottom: calc(62px + 12px + 14px + env(safe-area-inset-bottom, 0px)) !important; box-shadow: 0 8px 22px -8px rgba(172,55,73,.55) !important }
  /* hojas (Tours, Más): suben desde abajo como una hoja de iOS, con agarradera */
  .m-sheet{ background: rgba(0,0,0,.32) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; transition: opacity .3s var(--e2) !important }
  .m-sheet-in{ top: auto !important; left: 8px !important; right: 8px !important; bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important; max-height: calc(100svh - 64px - env(safe-area-inset-top, 0px)) !important;
    transform: translateY(calc(100% + 24px)) !important; opacity: 1 !important; border-radius: 34px !important; padding: 26px 18px 18px !important; transition: transform .5s var(--e) !important;
    background: var(--papel) !important; box-shadow: 0 -10px 40px -12px rgba(0,0,0,.35) }
  .m-sheet.open .m-sheet-in{ transform: none !important }
  .m-sheet:not(.open) .m-sheet-in{ transition-duration: .3s !important }
  .m-sheet-in::before{ content: ""; position: absolute; top: 8px; left: 50%; width: 36px; height: 5px; margin-left: -18px; border-radius: 3px; background: rgba(120,120,128,.3) }
  /* la hoja recibe el foco al abrirse (para lectores de pantalla) sin dibujar ningún anillo; la X solo lo muestra con teclado */
  .m-sheet-in:focus{ outline: none }
  .m-sheet-x:focus{ outline: none } .m-sheet-x:focus-visible{ outline: 2px solid var(--acc); outline-offset: 2px }
  /* mientras se arrastra con el dedo, la hoja sigue al dedo sin transición */
  .m-sheet-in.arrastrando{ transition: none !important }

  /* ── tocar y mantener: nada de seleccionar texto en tarjetas, botones ni barras (como en una app) ── */
  .mg-c, #mApp .md-c, #mApp .m-lf a, .mh-btn, .mh-lnk, #mApp .m-btn, .m-tab, .m-nav, .m-wa, .m-sheet a, .m-sheet button, #mApp .mt-btn, #mApp .mt-menu, #mApp .m-q summary, #mApp .m-filtros{
    -webkit-user-select: none; user-select: none; -webkit-touch-callout: none }
  .mg-c img, #mApp .m-lf img, .m-sheet img{ -webkit-user-drag: none; pointer-events: none }
  .m-sheet-hd{ margin: 0 4px 12px !important }
  .m-sheet-hd .m-h2{ font-size: 1.7rem !important; letter-spacing: -.03em !important }
  .m-sheet-x{ width: 30px !important; height: 30px !important; border: 0 !important; border-radius: 50% !important; background: var(--gris-ios) !important; color: #6E6E73 !important; font-size: .8rem !important; display: grid; place-items: center }
  .m-sheet .m-kick{ margin: 16px 6px 8px !important; font-size: .74rem !important; color: #8E8E93 !important; text-transform: uppercase; letter-spacing: .04em !important }
  .m-sheet .m-kick::before{ display: none !important }
  /* listas agrupadas, como Ajustes de iOS */
  .m-sheet .m-lf, .m-sheet .m-menu-grp{ border-radius: 16px; background: var(--humo); padding: 0 14px; border: 0 !important; overflow: hidden }
  html[data-theme="dark"] .m-sheet .m-lf, html[data-theme="dark"] .m-sheet .m-menu-grp, body.dark .m-sheet .m-lf, body.dark .m-sheet .m-menu-grp{ background: #1c1a1b }
  .m-sheet .m-lf a{ grid-template-columns: 44px 1fr 14px !important; gap: 12px !important; padding: 9px 0 !important; border-top: .5px solid var(--linea) !important }
  .m-sheet .m-lf a:first-child{ border-top: 0 !important; padding-top: 9px !important }
  .m-sheet .m-lf img{ width: 44px !important; height: 44px !important; border-radius: 11px !important }
  .m-sheet .m-lf b{ font-size: 1rem !important; letter-spacing: -.015em !important }
  .m-sheet .m-lf i{ font-size: .78rem !important; color: #8E8E93 !important; font-weight: 400 !important }
  .m-sheet .m-lf em{ color: #C7C7CC !important; font-size: 1.3rem !important }
  .m-sheet .m-menu-grp a{ padding: 14px 0 !important; border-bottom: 0 !important; border-top: .5px solid var(--linea); font-size: 1.02rem !important; font-weight: 500 !important; letter-spacing: -.01em !important }
  .m-sheet .m-menu-grp a:first-child{ border-top: 0 }
  .m-sheet .m-menu-grp .m-chev{ color: #C7C7CC !important }
  /* idioma y apariencia: control segmentado de iOS */
  .m-sheet .m-pills{ display: flex !important; gap: 2px !important; margin: 0 !important; padding: 2px; border-radius: 10px; background: var(--gris-ios) }
  .m-sheet .m-pills a, .m-sheet .m-pills button{ flex: 1 1 0; display: grid; place-items: center; min-height: 34px; padding: 0 6px !important; border: 0 !important; border-radius: 8px !important; background: transparent !important; color: var(--ink) !important; font-size: .84rem !important; font-weight: 500 !important }
  .m-sheet .m-pills .on, .m-sheet .m-pills a.on, .m-sheet .m-pills button.on{ background: var(--papel) !important; color: var(--ink) !important; font-weight: 600 !important; box-shadow: 0 3px 8px rgba(0,0,0,.12), 0 0 0 .5px rgba(0,0,0,.04) }
  html[data-theme="dark"] .m-sheet .m-pills .on, body.dark .m-sheet .m-pills .on{ background: #636366 !important }
  .m-sheet .m-btn{ margin-top: 18px !important; min-height: 50px; border-radius: 999px !important }
}

/* tabletas: el hero no se estira de más y la foto usa el recorte original */
@media (min-width: 700px) and (max-width: 1023px), (pointer: coarse) and (min-width: 700px) and (max-width: 2000px){
  .mh-paisaje .mh-media{ height: min(calc(var(--mh-alto) - var(--m-tab) + 14px), 82vw) }
  .mh-paisaje .mh-sobre{ max-width: 760px }
  .mh-hoja{ padding-left: max(var(--pad), calc(50vw - 380px)); padding-right: max(var(--pad), calc(50vw - 380px)) }
  .mh-fig{ max-width: 860px; margin-left: auto; margin-right: auto }
  .mh-editorial .mh-tx{ max-width: 860px; margin: 0 auto }
  .mg-c{ flex-basis: 290px }
  .m-sheet-in{ left: 50% !important; right: auto !important; width: 520px; margin-left: -260px }
}

@media (prefers-reduced-motion: reduce){
  html.mh-js .mh .mh-w > span, html.mh-js .mh .mh-kick, html.mh-js .mh .mh-lead, html.mh-js .mh .mh-ctas,
  html.mh-js .mh-hoja, html.mh-js .mh-fig, html.mh-js .mh-img{ opacity: 1 !important; transform: none !important; transition: none !important }
  .mh-par, .mh-fig-in, .vs-pila .vs{ animation: none !important }
  .mg-c, .mg-c img{ transition: none !important }
  .m-sheet-in{ transition: none !important }
}
