/*
Theme Name: Mas Folch · Editorial 2027
Theme URI: https://masfolch.net
Author: Molina IT · Sergi Molina
Description: Tema editorial mediterráneo de alta hospitalidad 2027 para Finca Mas Folch (Espacios, Gastronomía con Film 9:16, Bodas en 4 Actos y Equipo).
Version: 2.1.0
Text Domain: masfolch
*/

/* ==========================================================================
   1. DESIGN TOKENS (WCAG AA/AAA Verified · Warm Mediterranean Modernism)
   ========================================================================== */
:root {
  /* Paleta exacta del Branding Oficial (01-principal-color / 10-hoja-terracota / Menús 2026) */
  --mf-linen:          #F8F3E9;
  --mf-sand-bg:        #E9E2D5;
  --mf-ivory:          #FFFAF2;
  --mf-stone-border:   rgba(23, 52, 44, 0.14);
  --mf-stone-strong:   rgba(23, 52, 44, 0.28);

  --mf-forest-abyss:   #0C2620;
  --mf-forest-deep:    #12372E;
  --mf-forest:         #12372E;
  --mf-forest-elev:    #174137;
  --mf-forest-border:  rgba(230, 182, 155, 0.24);

  --mf-terracotta:      #A84028; /* Exacto hoja terracota oficial (5.8:1 con #FFFAF2) */
  --mf-terracotta-dark: #8E341F;
  --mf-terracotta-text: #A03A23;
  --mf-sand-gold:       #E6B69B; /* Exacto acento arena oficial de los menús */
  --mf-sand-gold-soft:  rgba(230, 182, 155, 0.15);

  --mf-ink:            #17342C; /* Exacto tinta verde oscura oficial */
  --mf-ink-secondary:  #415750;
  --mf-ink-muted:      #536861;
  --mf-ink-on-dark:    #F8F3E9;
  --mf-ink-dark-muted: #D2DCD7;

  --font-display: 'Fraunces', Georgia, serif;
  --font-sans:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --text-eyebrow: 0.75rem;
  --text-body:    clamp(0.975rem, 1.05vw, 1.0625rem);
  --text-lead:    clamp(1.1rem, 1.45vw, 1.28rem);
  --text-h3:      clamp(1.42rem, 2.15vw, 1.9rem);
  --text-h2:      clamp(2.05rem, 4.1vw, 3.35rem);
  --text-hero:    clamp(2.65rem, 6vw, 5.15rem);

  --space-section: clamp(4.5rem, 8.2vw, 7.25rem);
  --container-max: 1320px;
  --gutter:        clamp(1.125rem, 3vw, 2.5rem);
  --radius-sm:     10px;
  --radius-md:     16px;
  --radius-lg:     22px;
  --radius-pill:   9999px;

  --shadow-soft:   0 14px 36px -12px rgba(17, 40, 30, 0.10);
  --shadow-float:  0 18px 48px -16px rgba(14, 33, 24, 0.22);

  --ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast:       220ms;
  --dur-med:        480ms;
  --dur-slow:       880ms;

  --z-base: 1;
  --z-sticky: 20;
  --z-header: 100;
  --z-drawer: 200;
  --z-lightbox: 300;
  --z-curtain: 400;
}

/* ==========================================================================
   2. RESET & BASE TYPOGRAPHY
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body.masfolch-editorial-2027,
body {
  background-color: var(--mf-linen);
  color: var(--mf-ink);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

img, video {
  max-width: 100%;
  display: block;
}

[hidden] {
  display: none !important;
}

a, button {
  color: inherit;
  font: inherit;
  touch-action: manipulation;
}

:focus-visible {
  outline: 2px solid var(--mf-terracotta);
  outline-offset: 3px;
}

.mf-section--forest :focus-visible,
.mf-hero :focus-visible,
.mf-footer :focus-visible {
  outline-color: var(--mf-sand-gold);
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.mf-skip-link {
  position: absolute;
  left: -9999px;
}
.mf-skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 400;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--mf-terracotta);
  color: var(--mf-ivory);
  font-weight: 700;
  text-decoration: none;
}

.mf-container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mf-anchor-alias {
  position: absolute;
  top: -80px;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

/* ==========================================================================
   3. BUTTONS — Organic Botanical Leaf-Arch Silhouette (Subtle & Original)
   ========================================================================== */
.mf-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 24px;
  /* Silueta orgánica botánica asimétrica inspirada en la hoja de plátano y el modernismo */
  border-radius: 18px 4px 18px 4px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    border-radius 320ms var(--ease-editorial),
    transform var(--dur-fast) var(--ease-editorial),
    background-color var(--dur-fast) ease,
    border-color var(--dur-fast) ease,
    color var(--dur-fast) ease;
}

.mf-btn:hover {
  border-radius: 4px 18px 4px 18px;
  transform: translateY(-1px);
}

.mf-btn--primary {
  background: var(--mf-terracotta);
  border-color: var(--mf-terracotta);
  color: var(--mf-ivory);
}
.mf-btn--primary:hover {
  background: var(--mf-terracotta-dark);
  border-color: var(--mf-terracotta-dark);
}

.mf-btn--forest {
  background: var(--mf-forest);
  border-color: var(--mf-forest);
  color: var(--mf-linen);
}
.mf-btn--forest:hover {
  background: var(--mf-forest-abyss);
  border-color: var(--mf-forest-abyss);
}

.mf-btn--outline {
  background: transparent;
  border-color: var(--mf-stone-strong);
  color: var(--mf-forest);
}
.mf-btn--outline:hover {
  background: var(--mf-forest);
  border-color: var(--mf-forest);
  color: var(--mf-linen);
}

.mf-btn--ghost-light {
  background: rgba(248, 243, 233, 0.08);
  border-color: rgba(230, 182, 155, 0.45);
  color: var(--mf-linen);
}
.mf-btn--ghost-light:hover {
  background: var(--mf-sand-gold);
  border-color: var(--mf-sand-gold);
  color: var(--mf-forest-abyss);
}

.mf-btn--lg {
  min-height: 52px;
  padding-inline: 28px;
}

.mf-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-sans);
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mf-terracotta-text);
  margin-bottom: 14px;
}
.mf-eyebrow img {
  width: 15px;
  height: 15px;
  object-fit: contain;
  flex-shrink: 0;
}
.mf-eyebrow--light {
  color: var(--mf-sand-gold);
}

.mf-h2 {
  font-size: var(--text-h2);
  color: var(--mf-forest);
}
.mf-h2--light {
  color: var(--mf-ink-on-dark);
}

.mf-h3 {
  font-size: var(--text-h3);
  color: var(--mf-forest);
}
.mf-h3--light {
  color: var(--mf-ink-on-dark);
}

.mf-body {
  color: var(--mf-ink-secondary);
  max-width: 60ch;
}

.mf-section {
  position: relative;
  padding-top: clamp(5.75rem, 8.5vw, 7.5rem);
  padding-bottom: clamp(4.5rem, 7.5vw, 6.75rem);
  scroll-margin-top: 76px;
}
.mf-section--linen {
  background-color: var(--mf-linen);
}
.mf-section--sand {
  background-color: var(--mf-sand-bg);
}
.mf-section--forest {
  background-color: var(--mf-forest-deep);
  color: var(--mf-ink-on-dark);
  overflow-x: clip;
}

.mf-section-watermark {
  position: absolute;
  right: -60px;
  top: 40px;
  width: 380px;
  height: auto;
  opacity: 0.055;
  pointer-events: none;
  user-select: none;
  transform: translate3d(0, calc(var(--mf-leaf-shift, 0) * -26px), 0) rotate(calc(var(--mf-leaf-shift, 0) * 8deg));
}

.mf-editorial-head {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: 24px;
  border-bottom: none;
}
.mf-editorial-head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--mf-stone-border);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 860ms cubic-bezier(0.16, 1, 0.3, 1) 140ms;
}
.mf-editorial-head--dark::after {
  background: var(--mf-forest-border);
}
.mf-editorial-head.is-visible::after {
  transform: scaleX(1);
}
.mf-editorial-head-main {
  grid-column: span 7;
}
.mf-editorial-head-desc {
  grid-column: span 5;
  color: var(--mf-ink-secondary);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 48ch;
  justify-self: end;
}
.mf-editorial-head-desc--light {
  color: var(--mf-ink-dark-muted);
}

/* ==========================================================================
   4. FULL-WIDTH ARCHITECTURAL HEADER BAR (Zero Floating Pill Island)
   ========================================================================== */
.mf-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: var(--z-header);
  background: linear-gradient(180deg, rgba(11, 26, 19, 0.78) 0%, rgba(11, 26, 19, 0.32) 100%);
  border-bottom: 1px solid rgba(217, 176, 140, 0.22);
  padding: max(0px, env(safe-area-inset-top)) var(--gutter) 0;
  transition: background-color var(--dur-med) var(--ease-editorial), border-color var(--dur-med) ease, box-shadow var(--dur-med) ease;
}
.mf-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--mf-terracotta);
  transform-origin: left center;
  transform: scaleX(var(--mf-scroll-p, 0));
  opacity: 0;
  transition: opacity 280ms ease;
  pointer-events: none;
}
.mf-header.is-scrolled::after {
  opacity: 1;
}

.mf-header-shell {
  max-width: var(--container-max);
  margin-inline: auto;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--mf-linen);
}

.mf-header.is-scrolled {
  background: rgba(250, 246, 240, 0.96);
  border-bottom: 1px solid var(--mf-stone-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 26px -12px rgba(17, 40, 30, 0.12);
}

.mf-header.is-scrolled .mf-header-shell {
  height: 70px;
  color: var(--mf-ink);
}

.mf-brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  flex-shrink: 0;
}

.mf-brand-logo {
  height: 54px;
  width: auto;
  object-fit: contain;
}
.mf-brand-logo--dark {
  display: none;
}
.mf-header.is-scrolled .mf-brand-logo--light {
  display: none;
}
.mf-header.is-scrolled .mf-brand-logo--dark {
  display: block;
  height: 46px;
}

.mf-nav {
  display: flex;
  align-items: stretch;
  gap: 2px;
  height: 100%;
}

.mf-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 13px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur-fast) ease;
}
.mf-nav-link em,
.mf-drawer-link em,
.mf-dish-tile figcaption em {
  font-style: normal;
}
.mf-nav-link span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.78rem;
  color: var(--mf-sand-gold);
}
.mf-header.is-scrolled .mf-nav-link span {
  color: var(--mf-terracotta-text);
}
.mf-nav-link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 2px;
  background: var(--mf-sand-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease-editorial);
}
.mf-header.is-scrolled .mf-nav-link::after {
  background: var(--mf-terracotta);
}
.mf-nav-link:hover::after {
  transform: scaleX(1);
}

.mf-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Selector Trilingüe Editorial (ES · CAT · EN) con silueta orgánica de hoja */
.mf-lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  gap: 2px;
  border-radius: 13px 4px 13px 4px;
  border: 1px solid rgba(250, 246, 240, 0.28);
  background: rgba(12, 38, 32, 0.42);
}
.mf-header.is-scrolled .mf-lang-switch {
  border-color: var(--mf-stone-border);
  background: rgba(18, 55, 46, 0.06);
}
.mf-lang-btn {
  min-width: 34px;
  height: 32px;
  padding: 0 8px;
  border: none;
  border-radius: 10px 3px 10px 3px;
  background: transparent;
  color: rgba(250, 246, 240, 0.78);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.mf-lang-btn:hover {
  color: var(--mf-ivory);
}
.mf-lang-btn.is-active {
  background: var(--mf-ivory);
  color: var(--mf-forest);
}
.mf-header.is-scrolled .mf-lang-btn {
  color: var(--mf-ink-secondary);
}
.mf-header.is-scrolled .mf-lang-btn:hover {
  color: var(--mf-forest);
}
.mf-header.is-scrolled .mf-lang-btn.is-active {
  background: var(--mf-forest);
  color: var(--mf-ivory);
}

/* Botón rápido de idioma en cabecera móvil */
.mf-lang-cycle {
  display: none;
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  border-radius: 14px 4px 14px 4px;
  border: 1px solid rgba(250, 246, 240, 0.45);
  background: rgba(12, 38, 32, 0.48);
  color: var(--mf-ivory);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mf-header.is-scrolled .mf-lang-cycle {
  border-color: var(--mf-stone-strong);
  background: var(--mf-ivory);
  color: var(--mf-forest);
}

.mf-drawer-lang {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.mf-drawer-lang .mf-lang-btn {
  height: 44px;
  border: 1px solid rgba(230, 182, 155, 0.28);
  border-radius: 13px 4px 13px 4px;
  color: var(--mf-ink-dark-muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.mf-drawer-lang .mf-lang-btn.is-active {
  background: var(--mf-sand-gold);
  border-color: var(--mf-sand-gold);
  color: var(--mf-forest-abyss);
}

.mf-header-phone {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px 4px 14px 4px;
  background: var(--mf-terracotta);
  color: var(--mf-ivory);
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 20px -6px rgba(168, 64, 40, 0.45);
  transition: background-color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-editorial);
}
.mf-header-phone:active {
  transform: scale(0.96);
}

.mf-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px 4px 14px 4px;
  border: 1px solid rgba(250, 246, 240, 0.45);
  background: rgba(12, 38, 32, 0.48);
  color: var(--mf-ivory);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mf-header.is-scrolled .mf-menu-toggle {
  border-color: var(--mf-stone-strong);
  background: var(--mf-ivory);
  color: var(--mf-forest);
}

/* Mobile Drawer */
.mf-drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  background: rgba(14, 33, 24, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--mf-linen);
  padding: max(20px, env(safe-area-inset-top)) 24px max(28px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  transition: opacity 320ms var(--ease-editorial);
}
.mf-drawer[hidden] {
  display: none;
}
.mf-drawer.is-open {
  opacity: 1;
}
.mf-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mf-drawer-logo {
  height: 46px;
  width: auto;
}
.mf-drawer-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(250, 246, 240, 0.25);
  background: rgba(250, 246, 240, 0.06);
  color: var(--mf-linen);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.mf-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mf-drawer-link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(217, 176, 140, 0.16);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 7vw, 2.6rem);
  text-decoration: none;
  color: var(--mf-linen);
}
.mf-drawer-link span {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--mf-sand-gold);
}
.mf-drawer-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
}
.mf-drawer-meta {
  font-size: 0.88rem;
  color: var(--mf-sand-gold);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* ==========================================================================
   5. HERO EDITORIAL SLIDER 2027 (#inicio)
   ========================================================================== */
.mf-hero {
  position: relative;
  min-height: 100svh;
  max-height: 1080px;
  display: flex;
  align-items: flex-end;
  background: var(--mf-forest-abyss);
  color: var(--mf-linen);
  overflow: hidden;
}

.mf-hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.mf-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-slow) var(--ease-editorial), visibility 0s linear var(--dur-slow);
}
.mf-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--dur-slow) var(--ease-editorial), visibility 0s linear 0s;
}
.mf-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.07);
  transition: transform 7200ms linear;
}
.mf-hero-slide.is-active img {
  transform: scale(1);
}

.mf-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(11, 26, 19, 0.56) 0%, rgba(11, 26, 19, 0.14) 34%, rgba(11, 26, 19, 0.30) 60%, rgba(11, 26, 19, 0.86) 100%),
    radial-gradient(ellipse 75% 55% at 15% 88%, rgba(11, 26, 19, 0.58) 0%, transparent 72%);
  pointer-events: none;
}

.mf-hero-stage {
  position: relative;
  z-index: 3;
  padding-top: 140px;
  padding-bottom: clamp(24px, 4vh, 44px);
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 5vh, 52px);
}

.mf-hero-copy {
  max-width: 720px;
}

.mf-hero-title {
  font-size: var(--text-hero);
  font-weight: 500;
  line-height: 1.03;
  color: var(--mf-linen);
  margin-bottom: 18px;
}
.mf-hero-title em {
  display: block;
  font-style: italic;
  color: var(--mf-sand-gold);
}

.mf-hero-lead {
  font-size: var(--text-lead);
  color: rgba(250, 246, 240, 0.9);
  max-width: 54ch;
  margin-bottom: 28px;
  min-height: 3.1em;
}

.mf-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Dock de 4 Capítulos */
.mf-hero-dock {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.mf-hero-chapters {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.mf-chapter-btn {
  background: transparent;
  border: none;
  padding: 10px 0 4px;
  min-height: 52px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: rgba(250, 246, 240, 0.62);
  transition: color var(--dur-fast) ease;
}
.mf-chapter-btn:hover,
.mf-chapter-btn.is-active {
  color: var(--mf-linen);
}

.mf-chapter-rail {
  position: relative;
  width: 100%;
  height: 2px;
  background: rgba(250, 246, 240, 0.24);
  overflow: hidden;
  border-radius: 2px;
}
.mf-chapter-progress {
  position: absolute;
  inset: 0;
  background: var(--mf-sand-gold);
  transform-origin: left center;
  transform: scaleX(0);
}
.mf-chapter-btn.is-active .mf-chapter-progress {
  animation: mfHeroProgress 7000ms linear forwards;
}
.mf-hero.is-paused .mf-chapter-btn.is-active .mf-chapter-progress {
  animation-play-state: paused;
}

@keyframes mfHeroProgress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.mf-chapter-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.mf-chapter-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mf-sand-gold);
}
.mf-chapter-label {
  font-size: 0.86rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mf-hero-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.mf-hero-meta-mobile {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.mf-hero-chapter-live {
  display: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mf-linen);
}
.mf-hero-ctrl-btns {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mf-hero-counter {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--mf-sand-gold);
  margin-right: 4px;
}
.mf-hero-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(250, 246, 240, 0.3);
  background: rgba(14, 33, 24, 0.56);
  color: var(--mf-linen);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.mf-hero-icon-btn:hover {
  border-color: var(--mf-sand-gold);
  background: rgba(14, 33, 24, 0.82);
}
.mf-hero-mobile-prev,
.mf-hero-mobile-next {
  display: none;
}

/* ==========================================================================
   6. CAPÍTULO 02 · ESPACIOS (#espacios)
   ========================================================================== */
.mf-tablist--spaces {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--mf-stone-border);
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}

.mf-tab-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px 14px 4px;
  border: none;
  background: transparent;
  color: var(--mf-ink-muted);
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--dur-fast) ease;
}
.mf-tab-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 12px;
  bottom: -1px;
  height: 2px;
  background: var(--mf-terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease-editorial);
}
.mf-tab-btn.is-active,
.mf-tab-btn:hover {
  color: var(--mf-forest);
}
.mf-tab-btn.is-active::after {
  transform: scaleX(1);
}
.mf-tab-num {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mf-terracotta-text);
}

.mf-space-panel {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
}
.mf-space-panel[hidden] {
  display: none;
}

.mf-space-narrative {
  grid-column: span 4;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mf-big-index {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.8rem, 4.5vw, 4rem);
  line-height: 0.9;
  color: rgba(158, 62, 34, 0.28);
}

.mf-spec-list {
  margin-top: 8px;
  border-top: 1px solid var(--mf-stone-border);
}
.mf-spec-list > div {
  display: grid;
  grid-template-columns: clamp(122px, 10.5vw, 136px) minmax(0, 1fr);
  column-gap: 20px;
  row-gap: 4px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--mf-stone-border);
  font-size: 0.9rem;
}
.mf-spec-list dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.085em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--mf-ink-muted);
  white-space: nowrap;
  padding-top: 0;
}
.mf-spec-list dd {
  min-width: 0;
  color: var(--mf-ink);
  font-weight: 500;
  line-height: 1.48;
}

.mf-text-cta {
  margin-top: 8px;
  align-self: flex-start;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--mf-terracotta-text);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
}
.mf-text-cta:hover {
  color: var(--mf-forest);
}

.mf-space-gallery {
  grid-column: span 8;
  display: grid;
  gap: 14px;
  align-items: stretch;
}
.mf-space-gallery--lago {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: 310px 230px;
}
.mf-space-gallery--lago .mf-photo-frame {
  aspect-ratio: auto;
  height: 100%;
  min-height: 0;
}
.mf-space-gallery--lago .mf-photo-frame--hero {
  grid-column: 1 / span 4;
  grid-row: 1;
}
.mf-space-gallery--lago .mf-photo-frame--accent {
  grid-column: 5 / span 2;
  grid-row: 1;
}
.mf-space-gallery--lago .mf-photo-frame:nth-child(3) {
  grid-column: 1 / span 3;
  grid-row: 2;
}
.mf-space-gallery--lago .mf-photo-frame:nth-child(4) {
  grid-column: 4 / span 3;
  grid-row: 2;
}

.mf-space-gallery--masia {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: 270px 270px;
}
.mf-space-gallery--masia .mf-photo-frame {
  aspect-ratio: auto;
  height: 100%;
  min-height: 0;
}
.mf-space-gallery--masia .mf-photo-frame--tall {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
}
.mf-space-gallery--masia .mf-photo-frame--wide {
  grid-column: 3 / span 4;
  grid-row: 1;
}
.mf-space-gallery--masia .mf-photo-frame:nth-child(3) {
  grid-column: 3 / span 2;
  grid-row: 2;
}
.mf-space-gallery--masia .mf-photo-frame:nth-child(4) {
  grid-column: 5 / span 2;
  grid-row: 2;
}

.mf-photo-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--mf-sand-bg);
}
.mf-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 600ms var(--ease-editorial);
}
.mf-photo-frame img.mf-img-pos-top {
  object-position: center 20%;
}
.mf-photo-frame img.mf-img-pos-65 {
  object-position: center 65%;
}
@media (hover: hover) and (pointer: fine) {
  .mf-photo-frame:hover img {
    transform: scale(1.04);
  }
}

/* ==========================================================================
   7. CAPÍTULO 03 · GASTRONOMÍA — FILM 9:16 + BENTO + ATELIER MENÚS (#gastronomia)
   ========================================================================== */
.mf-gastro-stage {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.mf-reel-column {
  display: flex;
  flex-direction: column;
}

.mf-reel-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #09150F;
  border: 1px solid var(--mf-forest-border);
  box-shadow: var(--shadow-float);
}

.mf-reel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mf-reel-overlay-top {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
}
.mf-reel-pill {
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(14, 33, 24, 0.78);
  border: 1px solid rgba(217, 176, 140, 0.36);
  color: var(--mf-sand-gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mf-reel-overlay-bottom {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  padding: 40px 16px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 26, 19, 0.88) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.mf-reel-caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mf-reel-caption strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--mf-linen);
}
.mf-reel-caption span {
  font-size: 0.8rem;
  color: var(--mf-ink-dark-muted);
  line-height: 1.35;
}

.mf-reel-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.mf-reel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(217, 176, 140, 0.36);
  background: rgba(14, 33, 24, 0.78);
  color: var(--mf-linen);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.mf-reel-btn:hover {
  border-color: var(--mf-sand-gold);
  background: var(--mf-forest);
}

/* Bento Culinario Derecha (Alineado exacto al Film 9:16) */
.mf-gastro-bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.mf-dish-tile {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--mf-forest-elev);
  border: 1px solid var(--mf-forest-border);
  aspect-ratio: 4 / 4;
}
.mf-dish-tile--wide {
  grid-column: span 4;
  aspect-ratio: 16 / 10;
}
.mf-dish-tile--tall {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}
.mf-dish-tile:nth-child(3),
.mf-dish-tile:nth-child(4) {
  grid-column: span 2;
  aspect-ratio: 1 / 1;
}
.mf-dish-tile--span {
  grid-column: span 6;
  aspect-ratio: 16 / 9;
}

.mf-dish-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 600ms var(--ease-editorial);
}
.mf-dish-tile--span img {
  object-position: center 62%;
}

/* Desktop: filas fijas compactas; las fotos rellenan su celda (sin aspect-ratio que desborde) */
@media (min-width: 1025px) {
  .mf-gastro-bento {
    grid-template-rows: 210px 175px 210px;
  }
  .mf-gastro-bento .mf-dish-tile {
    aspect-ratio: auto;
    height: 100%;
    min-height: 0;
  }
}
@media (hover: hover) and (pointer: fine) {
  .mf-dish-tile:hover img {
    transform: scale(1.04);
  }
}

.mf-dish-tile figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 28px 14px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 26, 19, 0.88) 100%);
  color: var(--mf-linen);
  font-size: 0.84rem;
  font-weight: 500;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.mf-dish-tile figcaption span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mf-sand-gold);
}

/* Atelier Editorial One-Page: Menús Oficiales 2026 & Carta (Fiel a los HTMLs de Mas Folch) */
.mf-menus-atelier {
  margin-top: clamp(3rem, 5.5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mf-atelier-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--mf-forest-border);
}

.mf-atelier-collections {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mf-col-tab {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px 4px 14px 4px;
  border: 1px solid var(--mf-forest-border);
  background: rgba(12, 38, 32, 0.55);
  color: var(--mf-ink-dark-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.mf-col-tab:hover {
  border-color: var(--mf-sand-gold);
  color: var(--mf-linen);
}
.mf-col-tab.is-active {
  background: var(--mf-ivory);
  border-color: var(--mf-ivory);
  color: var(--mf-forest);
}
.mf-col-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mf-sand-gold);
}
.mf-col-tab.is-active .mf-col-kicker {
  color: var(--mf-terracotta-text);
}

.mf-col-panel[hidden] {
  display: none;
}

.mf-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.mf-subtab {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px 4px 12px 4px;
  border: 1px solid rgba(230, 182, 155, 0.34);
  background: transparent;
  color: var(--mf-linen);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.mf-subtab strong {
  color: var(--mf-sand-gold);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.mf-subtab:hover {
  border-color: var(--mf-sand-gold);
}
.mf-subtab.is-active {
  background: var(--mf-sand-gold);
  border-color: var(--mf-sand-gold);
  color: var(--mf-forest-abyss);
}
.mf-subtab.is-active strong {
  color: #6E1C25;
}

/* Folio Editorial · Hermanado al 100% con el sistema de encuadernación, tipografía y burdeos de La Carta 2026 */
.mf-folio {
  display: grid;
  grid-template-columns: 42% 58%;
  background: var(--mf-ivory);
  color: var(--mf-ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 22px 58px rgba(7, 22, 18, 0.34);
}
.mf-folio[hidden] {
  display: none;
}

.mf-folio-media {
  background:
    radial-gradient(ellipse 85% 65% at 18% 12%, rgba(26, 72, 59, 0.34) 0%, transparent 72%),
    var(--mf-forest-abyss);
  color: var(--mf-ivory);
  border-right: 1px solid rgba(230, 182, 155, 0.16);
  padding: 22px 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.mf-folio-photo {
  flex: 0 0 276px;
  height: 276px;
  min-height: 276px;
  border-radius: 14px;
  border: 1px solid rgba(230, 182, 155, 0.22);
  box-shadow: 0 14px 32px rgba(4, 14, 11, 0.34);
  overflow: hidden;
  background: #071914;
}
.mf-folio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mf-folio-quote {
  flex: 1 1 auto;
  padding: 2px 2px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}
.mf-folio-quote > span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mf-sand-gold);
}
.mf-folio-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.15vw, 2.12rem);
  line-height: 1.07;
  letter-spacing: -0.02em;
  color: var(--mf-ivory);
}
.mf-folio-quote .mf-btn {
  align-self: flex-start;
  margin-top: 8px;
}

.mf-folio-sheet {
  padding: clamp(24px, 2.8vw, 34px) clamp(26px, 3.2vw, 42px) clamp(20px, 2.4vw, 28px) clamp(28px, 3.4vw, 44px);
  display: flex;
  flex-direction: column;
}
.mf-folio-sheet--centered {
  justify-content: center;
  gap: 16px;
}

.mf-sheet-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mf-ink-muted);
}

.mf-sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 6px 0 14px;
  margin-bottom: 4px;
  border-bottom: 1.5px solid rgba(139, 38, 48, 0.26);
}
.mf-sheet-head h4 {
  font-family: var(--font-display);
  font-size: clamp(1.72rem, 2.5vw, 2.35rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: #8B2630;
}
.mf-sheet-price {
  text-align: right;
  font-family: var(--font-display);
  font-size: clamp(1.72rem, 2.45vw, 2.35rem);
  line-height: 1;
  color: #8B2630;
  white-space: nowrap;
}
.mf-sheet-price small {
  display: block;
  margin-top: 5px;
  font-family: var(--font-sans);
  font-style: italic;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--mf-ink-muted);
}

.mf-sheet-groups {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px;
}
.mf-sheet-group {
  padding: 4px 0 6px;
  border-bottom: none;
}
.mf-sheet-group h5 {
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.15vw, 1.04rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8B2630;
  padding-bottom: 5px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(139, 38, 48, 0.2);
}
.mf-sheet-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mf-sheet-group li {
  font-size: clamp(0.87rem, 0.98vw, 0.94rem);
  font-weight: 600;
  line-height: 1.38;
  color: var(--mf-ink);
  padding: 6px 6px;
  margin-inline: -6px;
  border-radius: 6px;
  border-bottom: 1px dashed rgba(23, 52, 44, 0.12);
  transition: background-color 200ms ease;
}
.mf-sheet-group li:last-child {
  border-bottom: none;
}
.mf-sheet-group li:hover {
  background: rgba(139, 38, 48, 0.045);
}
.mf-sheet-group li.is-option {
  font-style: italic;
  font-weight: 500;
  color: var(--mf-ink-muted);
}

.mf-sheet-included {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(23, 52, 44, 0.14);
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.mf-sheet-included b {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8B2630;
  min-width: 64px;
}
.mf-sheet-included p {
  font-size: 0.84rem;
  font-style: italic;
  font-weight: 500;
  color: var(--mf-ink-muted);
  line-height: 1.45;
}

.mf-carta-copy {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--mf-ink-secondary);
  max-width: 52ch;
}
.mf-carta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

/* Cabecera Editorial de Colección + Cuaderno Interactivo para Navidad y Menús de Empresa */
.mf-collection-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 28px;
  padding: 2px 2px 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--mf-forest-border);
}
.mf-collection-intro-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mf-collection-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mf-sand-gold);
}
.mf-carta-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mf-carta-brand-row--inline {
  justify-content: flex-start;
  gap: 14px;
}
.mf-menu-brand-mark {
  height: 28px;
  width: auto;
  object-fit: contain;
  opacity: 0.88;
  flex-shrink: 0;
  pointer-events: none;
}
.mf-menu-brand-mark--intro {
  height: 30px;
  padding-right: 12px;
  border-right: 1px solid rgba(230, 182, 155, 0.28);
}
.mf-collection-title {
  font-family: var(--font-display);
  font-size: clamp(1.48rem, 2.2vw, 1.92rem);
  line-height: 1.08;
  color: var(--mf-ivory);
  letter-spacing: -0.015em;
}
.mf-collection-copy {
  font-size: 0.88rem;
  line-height: 1.48;
  color: var(--mf-ink-dark-muted);
  max-width: 48ch;
}
.mf-folio-subtabs .mf-subtab {
  position: relative;
  overflow: hidden;
}
.mf-folio-subtabs .mf-subtab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(139, 38, 48, 0.55) 0%, #8B2630 100%);
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0;
  pointer-events: none;
}
.mf-folio-subtabs .mf-subtab.is-active::after {
  opacity: 1;
  animation: mfActProgress 9000ms linear forwards;
  will-change: transform;
}
.mf-folio-book.is-paused .mf-folio-subtabs .mf-subtab.is-active::after {
  animation-play-state: paused;
}
.mf-folio-book-stage {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--mf-forest-abyss);
  box-shadow:
    0 26px 64px rgba(7, 22, 18, 0.44),
    5px 0 0 -1px #EAE2D3,
    10px 0 0 -3px #D8CEBC,
    -5px 0 0 -1px #13382F,
    -10px 0 0 -3px #0A201A;
}
.mf-folio-book-stage::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 42%;
  width: 44px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(6, 18, 14, 0.28) 42%,
    rgba(230, 182, 155, 0.22) 50%,
    rgba(12, 38, 32, 0.14) 56%,
    rgba(12, 38, 32, 0.03) 76%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 12;
}
.mf-folio-book-stage .mf-folio {
  min-height: 580px;
  border-radius: 0;
  box-shadow: none;
}
.mf-folio-photo.mf-carta-photo--reel {
  position: relative;
  min-height: 276px;
}
.mf-folio-photo.mf-carta-photo--reel::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 82px;
  background: linear-gradient(180deg, transparent 0%, rgba(12, 38, 32, 0.88) 100%);
  pointer-events: none;
  z-index: 2;
}
.mf-folio-photo.mf-carta-photo--reel figcaption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 3;
  max-width: calc(100% - 96px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 4px 10px;
  border-radius: 10px 3px 10px 3px;
  background: rgba(11, 28, 22, 0.86);
  border: 1px solid rgba(230, 182, 155, 0.36);
  color: var(--mf-sand-gold);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
}
@media (max-width: 768px) {
  .mf-collection-intro {
    padding-bottom: 10px;
    margin-bottom: 10px;
    gap: 6px;
  }
  .mf-collection-title {
    font-size: 1.32rem;
  }
  .mf-collection-copy {
    font-size: 0.82rem;
  }
  .mf-menu-brand-mark {
    height: 19px;
    opacity: 0.76;
  }
  .mf-menu-brand-mark--intro {
    height: 20px;
    padding-right: 9px;
  }
  .mf-folio-book-stage {
    box-shadow: 0 18px 42px rgba(7, 22, 18, 0.34);
  }
  .mf-folio-book-stage .mf-folio {
    min-height: 0;
  }
  .mf-folio-book-stage .mf-folio-media {
    order: 0;
    margin: 0;
    padding: 0;
    border-right: none;
    border-radius: 0;
    min-height: 228px;
    box-shadow: none;
  }
  .mf-folio-photo.mf-carta-photo--reel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    flex: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    z-index: 1;
  }
  .mf-folio-photo.mf-carta-photo--reel::after {
    inset: 0;
    height: auto;
    background: linear-gradient(180deg, rgba(11, 26, 19, 0.10) 0%, rgba(11, 26, 19, 0.46) 52%, rgba(11, 26, 19, 0.88) 100%);
  }
  .mf-folio-photo.mf-carta-photo--reel figcaption {
    display: none;
  }
  .mf-folio-photo.mf-carta-photo--reel .mf-carta-photo-dots {
    top: 12px;
    right: 12px;
    bottom: auto;
    z-index: 4;
  }
}

/* ==========================================================================
   CUADERNO DE LA CARTA 2026 · 5 PLIEGOS COMPACTOS + PLIEGUE 3D + FLECHAS CALIGRÁFICAS
   ========================================================================== */
.mf-carta-subtabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.mf-carta-subtabs .mf-subtab {
  position: relative;
  overflow: hidden;
  justify-content: space-between;
  padding: 0 14px;
  min-height: 46px;
  font-size: 0.82rem;
}
.mf-carta-subtabs .mf-subtab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(139, 38, 48, 0.55) 0%, #8B2630 100%);
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0;
  pointer-events: none;
}
.mf-carta-subtabs .mf-subtab.is-active::after {
  opacity: 1;
  animation: mfActProgress var(--carta-auto-dur, 11500ms) linear forwards;
  will-change: transform;
}
.mf-carta-book.is-paused .mf-carta-subtabs .mf-subtab.is-active::after {
  animation-play-state: paused;
}

/* Escenario del Cuaderno de Carta (50% / 50% · Encuadernación Verde Bosque Izquierda + Hoja Marfil Derecha) */
.mf-carta-book-stage {
  position: relative;
  display: grid;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--mf-forest-abyss);
  box-shadow:
    0 26px 64px rgba(7, 22, 18, 0.44),
    5px 0 0 -1px #EAE2D3,
    10px 0 0 -3px #D8CEBC,
    -5px 0 0 -1px #13382F,
    -10px 0 0 -3px #0A201A;
}

/* Lomo central encuadernado al 50% */
.mf-carta-book-stage::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 44px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(6, 18, 14, 0.28) 42%,
    rgba(230, 182, 155, 0.22) 50%,
    rgba(12, 38, 32, 0.14) 56%,
    rgba(12, 38, 32, 0.03) 76%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 12;
}

.mf-carta-spread {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 50% 50%;
  min-height: 628px;
  background: transparent;
  color: var(--mf-ink);
  position: relative;
  z-index: 1;
}
.mf-carta-spread[hidden] {
  display: none;
}
.mf-carta-spread.is-active {
  z-index: 2;
}

.mf-carta-page-left,
.mf-carta-page-right {
  position: relative;
}
.mf-carta-page-left {
  background: var(--mf-forest-abyss);
  transform-origin: right center;
}
.mf-carta-page-right {
  background: var(--mf-ivory);
  transform-origin: left center;
}

/* Sombra de lomo durante el cambio de pliego (0 fogonazos claros sobre el verde bosque) */
.mf-paper-curl {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 50%;
  pointer-events: none;
  z-index: 15;
  opacity: 0;
  transform-origin: left center;
  background: linear-gradient(
    90deg,
    rgba(7, 22, 18, 0.24) 0%,
    rgba(230, 182, 155, 0.14) 18%,
    rgba(255, 250, 242, 0) 65%
  );
  will-change: transform, opacity;
}
.mf-carta-book-stage.is-curling-next .mf-paper-curl,
.mf-carta-book-stage.is-curling-prev .mf-paper-curl {
  animation: mfSpineWave 560ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Transición articulada desde el lomo central (120fps GPU · 0 costuras · 0 destellos) */
.mf-carta-spread.is-leaving-next {
  z-index: 4;
  pointer-events: none;
}
.mf-carta-spread.is-entering-next {
  z-index: 3;
}
.mf-carta-spread.is-leaving-next > .mf-carta-page-right {
  will-change: transform, opacity;
  animation: mfRightSheetOutNext 460ms cubic-bezier(0.32, 0.04, 0.18, 1) forwards;
}
.mf-carta-spread.is-leaving-next > .mf-carta-page-left {
  will-change: transform, opacity;
  animation: mfLeftAtelierOutNext 440ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.mf-carta-spread.is-entering-next > .mf-carta-page-right {
  will-change: transform, opacity;
  animation: mfRightSheetInNext 540ms cubic-bezier(0.22, 1, 0.36, 1) 80ms both;
}
.mf-carta-spread.is-entering-next > .mf-carta-page-left {
  will-change: transform, opacity;
  animation: mfLeftAtelierInNext 520ms cubic-bezier(0.22, 1, 0.36, 1) 80ms both;
}

.mf-carta-spread.is-leaving-prev {
  z-index: 4;
  pointer-events: none;
}
.mf-carta-spread.is-entering-prev {
  z-index: 3;
}
.mf-carta-spread.is-leaving-prev > .mf-carta-page-right {
  will-change: transform, opacity;
  animation: mfRightSheetOutPrev 440ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.mf-carta-spread.is-leaving-prev > .mf-carta-page-left {
  will-change: transform, opacity;
  animation: mfLeftAtelierOutPrev 440ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.mf-carta-spread.is-entering-prev > .mf-carta-page-right {
  will-change: transform, opacity;
  animation: mfRightSheetInPrev 520ms cubic-bezier(0.22, 1, 0.36, 1) 80ms both;
}
.mf-carta-spread.is-entering-prev > .mf-carta-page-left {
  will-change: transform, opacity;
  animation: mfLeftAtelierInPrev 520ms cubic-bezier(0.22, 1, 0.36, 1) 80ms both;
}

@keyframes mfRightSheetOutNext {
  0%   { opacity: 1; transform: scaleX(1) translate3d(0, 0, 0); }
  100% { opacity: 0; transform: scaleX(0.92) translate3d(-18px, 0, 0); }
}
@keyframes mfRightSheetInNext {
  0%   { opacity: 0; transform: scaleX(0.95) translate3d(14px, 0, 0); }
  100% { opacity: 1; transform: scaleX(1) translate3d(0, 0, 0); }
}
@keyframes mfLeftAtelierOutNext {
  0%   { opacity: 1; transform: translate3d(0, 0, 0); }
  100% { opacity: 0; transform: translate3d(-12px, 0, 0); }
}
@keyframes mfLeftAtelierInNext {
  0%   { opacity: 0; transform: translate3d(14px, 0, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes mfRightSheetOutPrev {
  0%   { opacity: 1; transform: translate3d(0, 0, 0); }
  100% { opacity: 0; transform: translate3d(14px, 0, 0); }
}
@keyframes mfRightSheetInPrev {
  0%   { opacity: 0; transform: scaleX(0.94) translate3d(-16px, 0, 0); }
  100% { opacity: 1; transform: scaleX(1) translate3d(0, 0, 0); }
}
@keyframes mfLeftAtelierOutPrev {
  0%   { opacity: 1; transform: scaleX(1) translate3d(0, 0, 0); }
  100% { opacity: 0; transform: scaleX(0.93) translate3d(16px, 0, 0); }
}
@keyframes mfLeftAtelierInPrev {
  0%   { opacity: 0; transform: translate3d(-14px, 0, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes mfSpineWave {
  0%   { opacity: 0; transform: scaleX(0.4); }
  35%  { opacity: 1; transform: scaleX(1.1); }
  100% { opacity: 0; transform: scaleX(0.2); }
}

/* Pestañas laterales discretas en el canto vertical del libro */
.mf-page-edge {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 76px;
  border: none;
  background: transparent;
  padding: 0;
  z-index: 18;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.mf-page-edge--prev {
  left: 0;
  justify-content: flex-start;
}
.mf-page-edge--next {
  right: 0;
  justify-content: flex-end;
}
.mf-edge-tab {
  width: 28px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 38, 32, 0.82);
  border: 1px solid rgba(230, 182, 155, 0.42);
  color: var(--mf-sand-gold);
  box-shadow: 0 8px 20px rgba(7, 22, 18, 0.24);
  opacity: 0.62;
  transition: opacity 200ms ease, width 200ms ease, background-color 200ms ease, color 200ms ease;
}
.mf-page-edge--prev .mf-edge-tab {
  border-left: none;
  border-radius: 0 12px 12px 0;
}
.mf-page-edge--next .mf-edge-tab {
  border-right: none;
  border-radius: 12px 0 0 12px;
}
.mf-page-edge:hover .mf-edge-tab,
.mf-page-edge:focus-visible .mf-edge-tab {
  opacity: 1;
  width: 34px;
  background: var(--mf-sand-gold);
  color: var(--mf-forest-abyss);
}

/* Página Izquierda · Encuadernación Verde Bosque Profundo (#0C2620) coherente en los 5 Pliegos (0 recuadros blancos) */
.mf-carta-atelier {
  background:
    radial-gradient(ellipse 85% 65% at 18% 12%, rgba(26, 72, 59, 0.34) 0%, transparent 72%),
    var(--mf-forest-abyss);
  color: var(--mf-ivory);
  border-right: 1px solid rgba(230, 182, 155, 0.16);
  padding: 22px 26px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

/* Ventana Fotográfica Protagonista con Marco Editorial Mas Folch (16px 4px 16px 4px) sobre Verde Bosque */
.mf-carta-photo {
  position: relative;
  margin: 0;
  height: 276px;
  border-radius: 16px 4px 16px 4px;
  overflow: hidden;
  border: 1px solid rgba(230, 182, 155, 0.28);
  background: #081A15;
  box-shadow: 0 14px 32px -12px rgba(4, 14, 11, 0.55);
  flex-shrink: 0;
}
.mf-carta-photo::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 86px;
  background: linear-gradient(180deg, transparent 0%, rgba(12, 38, 32, 0.90) 100%);
  pointer-events: none;
  z-index: 2;
}
.mf-carta-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  display: block;
  transition: transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
}
.mf-carta-photo:not(.mf-carta-photo--reel):hover img {
  transform: scale(1.035);
}
.mf-carta-photo--reel .mf-carta-photo-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.045);
  pointer-events: none;
  z-index: 0;
  transition:
    opacity 820ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 3800ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.mf-carta-photo--reel .mf-carta-photo-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.mf-carta-photo figcaption,
.mf-carta-backcover-photo figcaption {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 3;
  max-width: calc(100% - 110px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 4px 10px;
  border-radius: 10px 3px 10px 3px;
  background: rgba(11, 28, 22, 0.86);
  border: 1px solid rgba(230, 182, 155, 0.36);
  color: var(--mf-sand-gold);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
}
.mf-carta-photo-dots {
  position: absolute;
  right: 12px;
  bottom: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.mf-carta-photo-dot {
  width: 14px;
  height: 5px;
  padding: 0;
  border-radius: 99px;
  border: none;
  background: rgba(255, 250, 242, 0.38);
  cursor: pointer;
  transition: width 260ms cubic-bezier(0.22, 1, 0.36, 1), background-color 220ms ease;
}
.mf-carta-photo-dot.is-active {
  width: 24px;
  background: var(--mf-sand-gold);
}
.mf-carta-photo-dot:hover {
  background: rgba(255, 250, 242, 0.82);
}
.mf-carta-list li.mf-dish-photo-linked {
  cursor: pointer;
}
.mf-carta-list li.mf-dish-photo-linked:hover,
.mf-carta-list li.mf-dish-photo-linked.is-photo-active {
  background: rgba(23, 52, 44, 0.065);
}
.mf-carta-list li.mf-dish-photo-linked:not(.mf-dish-featured) .mf-dish-info strong::after {
  content: " ◦";
  color: rgba(139, 38, 48, 0.52);
  font-weight: 600;
}
.mf-carta-list li.mf-dish-photo-linked.is-photo-active .mf-dish-info strong {
  color: #8B2630;
}

.mf-carta-manifesto {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 4px 2px;
}
.mf-carta-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mf-sand-gold);
}
.mf-carta-claim {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.35vw, 2.28rem);
  line-height: 1.05;
  color: var(--mf-ivory);
  letter-spacing: -0.02em;
}
.mf-carta-slogan {
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(255, 250, 242, 0.82);
}
.mf-carta-pills.mf-carta-pills--dark {
  margin-top: 6px;
}
.mf-carta-pills.mf-carta-pills--dark span {
  color: rgba(255, 250, 242, 0.88);
  background: rgba(255, 250, 242, 0.055);
  border: 1px solid rgba(230, 182, 155, 0.28);
}

.mf-carta-spotlight {
  display: none !important;
}

.mf-carta-folio-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(230, 182, 155, 0.18);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 250, 242, 0.64);
}
.mf-carta-quick-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mf-sand-gold);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: color 200ms ease, transform 200ms ease;
}
.mf-carta-quick-cta:hover {
  color: var(--mf-ivory);
  transform: translateX(2px);
}

/* Tipo C (Pliego 05): Contraportada Bosque Profundo con foto enmarcada 16px 4px 16px 4px */
.mf-carta-backcover {
  background:
    radial-gradient(ellipse 85% 65% at 18% 12%, rgba(26, 72, 59, 0.34) 0%, transparent 72%),
    var(--mf-forest-abyss);
  color: var(--mf-ivory);
  border-right: 1px solid rgba(230, 182, 155, 0.16);
  display: flex;
  flex-direction: column;
  padding: 22px 26px 22px;
  gap: 16px;
}
.mf-carta-backcover-photo {
  position: relative;
  margin: 0;
  height: 284px;
  border-radius: 16px 4px 16px 4px;
  border: 1px solid rgba(230, 182, 155, 0.28);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 14px 32px -12px rgba(4, 14, 11, 0.55);
}
.mf-carta-backcover-photo::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 86px;
  background: linear-gradient(180deg, transparent 0%, rgba(12, 38, 32, 0.90) 100%);
  pointer-events: none;
  z-index: 2;
}
.mf-carta-backcover-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  display: block;
}
.mf-carta-backcover-body {
  flex: 1 1 auto;
  padding: 4px 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.mf-carta-backcover-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mf-sand-gold);
}
.mf-carta-backcover-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.3vw, 2.25rem);
  line-height: 1.06;
  color: var(--mf-ivory);
  letter-spacing: -0.02em;
}
.mf-carta-backcover-copy {
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 250, 242, 0.82);
}
.mf-carta-backcover-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 6px;
}
.mf-carta-backcover-tel {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--mf-sand-gold);
  text-decoration: none;
}

/* Ilustraciones a Lápiz integradas directamente sobre el Papel Crema del Menú (#FFFAF2 · mix-blend-mode: multiply · 0 recuadros blancos) */
.mf-sketch-stage {
  margin: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 6px 4px;
  flex: 1 1 auto;
  transition: transform 260ms ease;
}
.mf-sketch-stage.is-dish-linked {
  transform: scale(1.015);
}
.mf-carta-sec--fill {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.mf-carta-sheet-split--gilda {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(222px, 0.90fr);
  gap: 14px;
  align-items: center;
  flex: 1 1 auto;
}
.mf-sketch-stage--gilda {
  border-left: 1px dashed rgba(23, 52, 44, 0.14);
  padding: 2px 0 2px 10px;
  min-height: 364px;
  max-height: 404px;
}
.mf-sketch-stage--gilda .mf-sk-lbl {
  font-size: 16.5px;
}
.mf-sketch-stage--coca {
  border-top: 1px dashed rgba(23, 52, 44, 0.14);
  padding: 10px 6px 2px;
  min-height: 174px;
  max-height: 192px;
}
.mf-sketch-stage--olla {
  border-top: 1px dashed rgba(23, 52, 44, 0.14);
  padding: 6px 6px 2px;
  min-height: 106px;
  max-height: 120px;
}
.mf-sketch-stage--lubina {
  border-top: 1px dashed rgba(23, 52, 44, 0.14);
  padding: 10px 2px 2px;
  margin-top: auto;
  min-height: 176px;
  max-height: 198px;
}
.mf-sketch-svg {
  width: 100%;
  height: 100%;
  max-height: 100%;
  display: block;
  overflow: visible;
}
.mf-sketch-img {
  mix-blend-mode: multiply;
  opacity: 0.94;
  transform: scale(0.985);
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 700ms ease, transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
}
.mf-sketch-stage.is-drawn .mf-sketch-img {
  opacity: 1;
  transform: scale(1);
}
.mf-sketch-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 21px;
  fill: #8B2630;
  opacity: 0;
  transform: translate3d(0, 6px, 0);
  transition: opacity 560ms ease 120ms, transform 620ms cubic-bezier(0.16, 1, 0.3, 1) 120ms;
}
.mf-sketch-stage.is-drawn .mf-sketch-title {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.mf-sk-ann {
  cursor: pointer;
  transition: opacity 240ms ease;
}
.mf-sk-arrow {
  fill: none;
  stroke: #8B2630;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-dasharray: 104;
  stroke-dashoffset: 104;
  transition:
    stroke-dashoffset 980ms cubic-bezier(0.25, 0.85, 0.35, 1) var(--sk-d, 0ms),
    stroke 240ms ease,
    stroke-width 240ms ease;
}
.mf-sketch-stage--olla .mf-sk-arrow {
  transition-duration: 1250ms, 240ms, 240ms;
}
.mf-sketch-stage.is-drawn .mf-sk-arrow {
  stroke-dashoffset: 0;
}
.mf-sk-dot {
  fill: var(--mf-terracotta);
  opacity: 0;
  transform: scale(0);
  transform-box: fill-box;
  transform-origin: center;
  transition:
    opacity 260ms ease calc(var(--sk-d, 0ms) + 740ms),
    transform 420ms cubic-bezier(0.34, 1.45, 0.64, 1) calc(var(--sk-d, 0ms) + 740ms);
}
.mf-sketch-stage--olla .mf-sk-dot {
  transition-delay: calc(var(--sk-d, 0ms) + 980ms), calc(var(--sk-d, 0ms) + 980ms);
}
.mf-sketch-stage.is-drawn .mf-sk-dot {
  opacity: 1;
  transform: scale(1);
}
.mf-sk-lbl {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
  fill: var(--mf-ink);
  opacity: 0;
  transform: translate3d(0, 4px, 0);
  transition:
    opacity 460ms ease calc(var(--sk-d, 0ms) + 90ms),
    transform 500ms cubic-bezier(0.16, 1, 0.3, 1) calc(var(--sk-d, 0ms) + 90ms),
    fill 220ms ease;
}
.mf-sk-lbl--lg {
  font-size: 16.5px;
}
.mf-sketch-stage--lubina .mf-sk-lbl {
  font-size: 15px;
}
.mf-sketch-stage--coca .mf-sk-lbl {
  font-size: 14.5px;
}
.mf-sketch-stage.is-drawn .mf-sk-lbl {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Interacción Bidireccional Plato <-> Flechas */
.mf-sketch-stage.is-dish-linked .mf-sk-arrow {
  stroke: var(--mf-terracotta);
  stroke-width: 2;
}
.mf-sketch-stage.is-dish-linked .mf-sk-dot {
  transform: scale(1.3);
}
.mf-sketch-stage:has(.mf-sk-ann:hover) .mf-sk-ann:not(:hover) {
  opacity: 0.42;
}
.mf-sk-ann:hover .mf-sk-arrow {
  stroke: var(--mf-terracotta);
  stroke-width: 2.1;
}
.mf-sk-ann:hover .mf-sk-lbl {
  fill: #8B2630;
}

/* Página Derecha · Hoja Compacta de Platos y Precios */
.mf-carta-sheet {
  padding: 24px 30px 20px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
.mf-carta-sheet--spaced {
  gap: 18px;
}
.mf-carta-sec-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px 14px;
  padding-bottom: 6px;
  margin-bottom: 4px;
  border-bottom: 1.5px solid rgba(139, 38, 48, 0.26);
}
.mf-carta-sec-head h4 {
  font-family: var(--font-display);
  font-size: clamp(1.06rem, 1.35vw, 1.26rem);
  line-height: 1.12;
  color: #8B2630;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.mf-carta-sec-head span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mf-ink-muted);
}
.mf-carta-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.mf-carta-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 6px 6px;
  margin-inline: -6px;
  border-radius: 6px;
  border-bottom: 1px dashed rgba(23, 52, 44, 0.12);
  transition: background-color 220ms ease;
}
.mf-carta-list li:last-child {
  border-bottom: none;
}
.mf-carta-list--dense li {
  padding: 4.5px 6px;
}
.mf-carta-list--airy li {
  padding: 7.5px 6px;
}
.mf-carta-list--compact li {
  padding: 5px 6px;
}
.mf-carta-list li.mf-dish-featured {
  cursor: pointer;
}
.mf-carta-list li.mf-dish-featured:hover,
.mf-carta-list li.is-sketch-linked {
  background: rgba(139, 38, 48, 0.065);
}
.mf-dish-featured .mf-dish-info strong::after {
  content: " ·";
  color: var(--mf-terracotta);
  font-weight: 700;
}
.mf-dish-info {
  min-width: 0;
}
.mf-dish-info strong {
  display: block;
  font-weight: 600;
  font-size: 0.87rem;
  line-height: 1.32;
  color: var(--mf-ink);
}
.mf-carta-list--airy .mf-dish-info strong {
  font-size: 0.93rem;
}
.mf-carta-list--compact .mf-dish-info strong {
  font-size: 0.84rem;
  line-height: 1.3;
}
.mf-dish-info small {
  display: block;
  margin-top: 1px;
  font-size: 0.75rem;
  line-height: 1.3;
  color: var(--mf-ink-muted);
  font-style: italic;
}
.mf-dish-price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: #8B2630;
  white-space: nowrap;
  flex-shrink: 0;
}
.mf-carta-list--airy .mf-dish-price {
  font-size: 0.96rem;
}
.mf-dish-price em {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 500;
  font-size: 0.7rem;
  color: var(--mf-ink-muted);
}

/* 2 Columnas Equilibradas con Filete Central (Pliegos 03 y 05) */
.mf-carta-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  flex: 1 1 auto;
}
.mf-carta-two-col--asym {
  grid-template-columns: 44% 56%;
  gap: 22px;
}
.mf-carta-two-col--ruled {
  position: relative;
}
.mf-carta-two-col--ruled > .mf-carta-col:first-child {
  padding-right: 14px;
  border-right: 1px solid rgba(23, 52, 44, 0.11);
}
.mf-carta-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Banda Editorial de Sala (Pliego 02) y Micro-notas al pie */
.mf-carta-editorial-band {
  background: #F3ECE0;
  border: 1px solid rgba(23, 52, 44, 0.10);
  border-radius: 14px 4px 14px 4px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mf-carta-band-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: #8B2630;
}
.mf-carta-band-copy {
  font-size: 0.8rem;
  line-height: 1.44;
  color: var(--mf-ink-secondary);
}
.mf-carta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.mf-carta-pills span {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mf-forest);
  background: rgba(255, 250, 242, 0.85);
  border: 1px solid rgba(23, 52, 44, 0.12);
  padding: 3px 9px;
  border-radius: 999px;
}
.mf-carta-sheet-note {
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--mf-ink-muted);
  font-style: italic;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(23, 52, 44, 0.08);
}

/* Pie de Controles del Cuaderno (Paso Manual + Contador + Reservar + Repetir + Auto/Pausa) */
.mf-carta-bookbar {
  margin-top: 14px;
  padding: 8px 14px;
  background: rgba(12, 38, 32, 0.72);
  border: 1px solid var(--mf-forest-border);
  border-radius: 16px 4px 16px 4px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
}
.mf-carta-bookbar-nav,
.mf-carta-bookbar-mid,
.mf-carta-bookbar-choreo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mf-book-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px 4px 14px 4px;
  border: 1px solid rgba(230, 182, 155, 0.34);
  background: rgba(10, 31, 24, 0.65);
  color: var(--mf-linen);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 180ms ease;
}
.mf-book-btn:hover {
  background: var(--mf-sand-gold);
  border-color: var(--mf-sand-gold);
  color: var(--mf-forest-abyss);
}
.mf-book-btn:active {
  transform: scale(0.95);
}
.mf-carta-counter {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--mf-sand-gold);
  min-width: 112px;
  text-align: center;
}
.mf-book-reserve {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 14px 4px 14px 4px;
  background: var(--mf-terracotta);
  color: var(--mf-ivory);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background-color 200ms ease, transform 180ms ease;
}
.mf-book-reserve:hover {
  background: #BE4C32;
}
.mf-book-tel {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--mf-ink-dark-muted);
  text-decoration: none;
  padding: 6px 4px;
}
.mf-book-tel:hover {
  color: var(--mf-linen);
}
.mf-book-pill {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 16px 4px 16px 4px;
  border: 1px solid rgba(230, 182, 155, 0.34);
  background: rgba(10, 31, 24, 0.55);
  color: var(--mf-linen);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.mf-book-pill:hover,
.mf-book-pill--pause[aria-pressed="true"] {
  background: var(--mf-sand-gold);
  border-color: var(--mf-sand-gold);
  color: var(--mf-forest-abyss);
}
.mf-book-pill[hidden] {
  display: none;
}

/* Franja Sigue @masfolch en Gastronomía */
.mf-social-strip {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--mf-forest-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.mf-social-strip-copy {
  display: flex;
  align-items: center;
  gap: 16px;
}
.mf-social-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--mf-forest-border);
  background: var(--mf-sand-gold-soft);
  color: var(--mf-sand-gold);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.mf-social-strip-copy h3 {
  font-size: 1.3rem;
  color: var(--mf-linen);
}
.mf-social-strip-copy p {
  font-size: 0.92rem;
  color: var(--mf-ink-dark-muted);
}

/* ==========================================================================
   8. CAPÍTULO 04 · BODAS EN 4 ACTOS + OPINIONES BODAS.NET (#bodas)
   ========================================================================== */
.mf-acts-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.mf-act-tab {
  min-height: 76px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--mf-stone-border);
  background: rgba(255, 253, 249, 0.58);
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: background-color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform var(--dur-fast) var(--ease-editorial);
}
.mf-act-tab:hover {
  border-color: var(--mf-stone-strong);
  background: var(--mf-ivory);
}
.mf-act-tab.is-active {
  background: var(--mf-forest);
  border-color: var(--mf-forest);
  color: var(--mf-linen);
}
.mf-act-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--mf-terracotta-text);
}
.mf-act-tab.is-active .mf-act-num {
  color: var(--mf-sand-gold);
}
.mf-act-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}
.mf-act-place {
  font-size: 0.78rem;
  color: var(--mf-ink-muted);
}
.mf-act-tab.is-active .mf-act-place {
  color: var(--mf-ink-dark-muted);
}

.mf-act-stage {
  background: var(--mf-ivory);
  border: 1px solid var(--mf-stone-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-soft);
}

.mf-act-panel {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2.8vw, 30px);
  align-items: center;
}
.mf-act-panel[hidden] {
  display: none;
}

.mf-act-copy {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mf-act-kicker {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mf-terracotta-text);
}
.mf-act-stepper {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.mf-step-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--mf-stone-strong);
  background: var(--mf-linen);
  color: var(--mf-forest);
  font-size: 1.05rem;
  cursor: pointer;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.mf-step-btn:hover {
  background: var(--mf-terracotta);
  border-color: var(--mf-terracotta);
  color: var(--mf-ivory);
}
.mf-step-status {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--mf-ink-muted);
}

.mf-act-collage {
  grid-column: span 8;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 255px 215px;
  gap: 14px;
  align-items: stretch;
}
.mf-act-collage .mf-photo-frame {
  aspect-ratio: auto;
  height: 100%;
  min-height: 0;
}
.mf-act-collage .mf-photo-frame--tall {
  grid-column: 1 / span 6;
  grid-row: 1 / span 2;
}
.mf-act-collage .mf-photo-frame--wide {
  grid-column: 7 / span 6;
  grid-row: 1;
}
.mf-act-collage .mf-photo-frame:nth-child(3) {
  grid-column: 7 / span 3;
  grid-row: 2;
}
.mf-act-collage .mf-photo-frame:nth-child(4) {
  grid-column: 10 / span 3;
  grid-row: 2;
}

/* Cinta de Autoridad Bodas.net + 3 Reseñas */
.mf-reviews-block {
  margin-top: clamp(3rem, 6vw, 4.75rem);
}

.mf-trust-ribbon {
  background: var(--mf-forest);
  color: var(--mf-linen);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.mf-trust-score {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.mf-bodas-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--mf-sand-gold-soft);
  border: 1px solid var(--mf-forest-border);
  color: var(--mf-sand-gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mf-trust-rating {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.mf-trust-rating strong {
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1;
}
.mf-trust-rating span {
  font-size: 1.1rem;
  color: var(--mf-ink-dark-muted);
}
.mf-trust-sub {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.85rem;
  color: var(--mf-ink-dark-muted);
}
.mf-stars {
  display: inline-flex;
  gap: 3px;
  color: var(--mf-sand-gold);
}

.mf-trust-metrics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.mf-trust-stat {
  padding-left: 22px;
  border-left: 1px solid var(--mf-forest-border);
  display: flex;
  flex-direction: column;
}
.mf-trust-stat strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.1;
}
.mf-trust-stat span {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mf-ink-dark-muted);
}
.mf-award-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--mf-forest-abyss);
  border: 1px solid var(--mf-forest-border);
  color: var(--mf-sand-gold);
  font-size: 0.84rem;
  font-weight: 600;
}

.mf-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.mf-review-card {
  background: var(--mf-ivory);
  border: 1px solid var(--mf-stone-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mf-review-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--mf-sand-bg);
}
.mf-review-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mf-review-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.mf-review-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mf-terracotta-text);
}
.mf-review-body h3 {
  font-size: 1.2rem;
  color: var(--mf-forest);
}
.mf-review-body p {
  font-size: 0.92rem;
  color: var(--mf-ink-secondary);
  flex: 1;
}
.mf-review-foot {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--mf-stone-border);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 0.82rem;
}
.mf-review-foot strong {
  color: var(--mf-forest);
}
.mf-review-foot span {
  color: var(--mf-ink-muted);
}

.mf-reviews-cta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ==========================================================================
   9. CAPÍTULO 05 · SOBRE NOSOTROS (#sobre-nosotros)
   ========================================================================== */
.mf-team-triptych {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
}

.mf-team-portrait--offset {
  margin-top: 0;
}

.mf-portrait-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--mf-forest-abyss);
  margin-bottom: 16px;
}
.mf-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  cursor: zoom-in;
  transition: transform 600ms var(--ease-editorial);
}
.mf-portrait-frame--reel .mf-portrait-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0;
  transform: scale(1.045);
  pointer-events: none;
  cursor: zoom-in;
  transition:
    opacity 960ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 4400ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.mf-portrait-frame--reel .mf-portrait-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}
.mf-portrait-hud {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 3;
  padding: 28px 14px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 26, 20, 0.56) 52%, rgba(10, 26, 20, 0.86) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
}
.mf-portrait-moment {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--mf-ivory);
  text-shadow: 0 1px 8px rgba(6, 18, 14, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 260ms ease, transform 260ms ease;
}
.mf-portrait-dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  pointer-events: auto;
  flex-shrink: 0;
}
.mf-portrait-dot {
  width: 16px;
  height: 5px;
  padding: 0;
  border-radius: 99px;
  border: none;
  background: rgba(255, 250, 242, 0.38);
  cursor: pointer;
  transition: width 260ms cubic-bezier(0.22, 1, 0.36, 1), background-color 220ms ease;
}
.mf-portrait-dot.is-active {
  width: 26px;
  background: var(--mf-sand-gold);
}
.mf-portrait-dot:hover {
  background: rgba(255, 250, 242, 0.78);
}
@media (hover: hover) and (pointer: fine) {
  .mf-portrait-frame:not(.mf-portrait-frame--reel):hover img {
    transform: scale(1.03);
  }
}

.mf-portrait-role {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mf-terracotta-text);
  margin-bottom: 4px;
}
.mf-portrait-meta h3 {
  font-size: 1.6rem;
  color: var(--mf-forest);
  margin-bottom: 6px;
}
.mf-portrait-meta p {
  font-size: 0.94rem;
  color: var(--mf-ink-secondary);
}

.mf-team-panorama {
  position: relative;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: var(--mf-forest-abyss);
}
.mf-team-panorama img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  cursor: zoom-in;
}
.mf-team-panorama figcaption {
  position: absolute;
  left: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 28px);
  max-width: 46ch;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: rgba(14, 33, 24, 0.84);
  color: var(--mf-linen);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(0.95rem, 1.3vw, 1.12rem);
}

.mf-community-card {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--mf-ivory);
  border: 1px solid var(--mf-stone-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.mf-community-copy h3 {
  font-size: 1.55rem;
  color: var(--mf-forest);
  margin-bottom: 6px;
}
.mf-community-copy p {
  color: var(--mf-ink-secondary);
  max-width: 56ch;
}
.mf-community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   10. CAPÍTULO 06 · CONTACTO (#contacto)
   ========================================================================== */
.mf-contact-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
  align-items: stretch;
}

.mf-contact-dossier {
  grid-column: span 5;
  background: var(--mf-ivory);
  border: 1px solid var(--mf-stone-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.mf-contact-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  flex-shrink: 0;
}
.mf-contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mf-contact-details {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
}
.mf-contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 6px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--mf-stone-border);
}
.mf-contact-row:last-of-type {
  border-bottom: none;
}
.mf-contact-ico {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mf-linen);
  border: 1px solid var(--mf-stone-border);
  color: var(--mf-forest);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.mf-contact-row strong {
  display: block;
  font-size: 0.9rem;
  color: var(--mf-forest);
}
.mf-contact-row small {
  display: block;
  font-size: 0.88rem;
  color: var(--mf-ink-secondary);
}
.mf-contact-wa {
  margin-top: 8px;
  width: 100%;
}

.mf-contact-form-sheet {
  grid-column: span 7;
  background: var(--mf-ivory);
  border: 1px solid var(--mf-stone-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.2vw, 2.5rem);
  box-shadow: var(--shadow-soft);
}

.mf-intent-fieldset {
  border: none;
  margin-bottom: 20px;
}
.mf-intent-pills {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mf-intent-pill {
  position: relative;
  cursor: pointer;
}
.mf-intent-pill input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.mf-intent-pill span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--mf-stone-strong);
  background: var(--mf-linen);
  color: var(--mf-forest);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.mf-intent-pill input:checked + span {
  background: var(--mf-forest);
  border-color: var(--mf-forest);
  color: var(--mf-linen);
}
.mf-intent-pill input:focus-visible + span {
  outline: 2px solid var(--mf-terracotta);
  outline-offset: 2px;
}

.mf-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.mf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.mf-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--mf-forest);
}
.mf-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--mf-stone-strong);
  background: var(--mf-linen);
  color: var(--mf-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.mf-input:focus {
  background: #FFFFFF;
  border-color: var(--mf-terracotta);
  outline: none;
}
.mf-textarea {
  min-height: 112px;
  resize: vertical;
}
.mf-field-error {
  font-size: 0.8rem;
  font-weight: 600;
  color: #A12D1C;
  min-height: 1.1em;
}
.mf-input.is-invalid {
  border-color: #A12D1C;
}

.mf-form-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}
.mf-form-hint {
  font-size: 0.84rem;
  color: var(--mf-ink-muted);
}
.mf-form-feedback {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(24, 59, 43, 0.08);
  border: 1px solid rgba(24, 59, 43, 0.25);
  color: var(--mf-forest);
  font-size: 0.92rem;
  font-weight: 500;
}

/* ==========================================================================
   11. FOOTER & ACCESSIBLE LIGHTBOX
   ========================================================================== */
.mf-footer {
  position: relative;
  background: var(--mf-forest-abyss);
  color: var(--mf-linen);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 max(2rem, env(safe-area-inset-bottom));
  overflow: hidden;
}
.mf-footer-watermark {
  position: absolute;
  right: -70px;
  bottom: -60px;
  width: 420px;
  opacity: 0.055;
  pointer-events: none;
  transform: translate3d(0, calc(var(--mf-leaf-shift, 0) * -22px), 0) rotate(calc(var(--mf-leaf-shift, 0) * -6deg));
}
.mf-footer-inner {
  position: relative;
  z-index: 2;
}
.mf-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: clamp(24px, 4vw, 44px);
  padding-bottom: 36px;
  border-bottom: 1px solid var(--mf-forest-border);
}
.mf-footer-logo {
  height: 64px;
  width: auto;
  margin-bottom: 14px;
}
.mf-footer-motto {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--mf-sand-gold);
  margin-bottom: 10px;
}
.mf-footer-desc {
  font-size: 0.9rem;
  color: var(--mf-ink-dark-muted);
  max-width: 38ch;
}
.mf-footer-heading {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mf-sand-gold);
  margin-bottom: 14px;
}
.mf-footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--mf-ink-dark-muted);
}
.mf-footer-list a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}
.mf-footer-list a:hover {
  color: var(--mf-linen);
}
.mf-footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--mf-ink-dark-muted);
}
.mf-footer-legal-links {
  display: flex;
  gap: 18px;
}
.mf-footer-legal-links a {
  text-decoration: none;
}

/* Lightbox Accesible */
.mf-lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.mf-lightbox[hidden] {
  display: none;
}
.mf-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 20, 15, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.mf-lightbox-stage {
  position: relative;
  z-index: 2;
  width: min(1080px, 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--mf-linen);
}
.mf-lightbox-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mf-lightbox-counter {
  font-size: 0.86rem;
  color: var(--mf-sand-gold);
  font-weight: 600;
}
.mf-lightbox-btn,
.mf-lightbox-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(250, 246, 240, 0.28);
  background: rgba(14, 33, 24, 0.78);
  color: var(--mf-linen);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.mf-lightbox-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mf-lightbox-media img {
  max-height: 76dvh;
  max-width: 100%;
  border-radius: var(--radius-md);
  object-fit: contain;
}
.mf-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.mf-lightbox-nav--prev { left: 10px; }
.mf-lightbox-nav--next { right: 10px; }
.mf-lightbox-caption {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--mf-linen);
  margin-inline: auto;
}

.mf-footer-acc summary {
  list-style: none;
  cursor: default;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mf-footer-acc summary::-webkit-details-marker {
  display: none;
}
.mf-acc-chev {
  display: none;
  transition: transform 260ms var(--ease-editorial);
}

/* Contact quickbar & Mobile-only Interactive Controls & Thumb-Zone Dock (Hidden on Desktop > 768px) */
.mf-contact-quickbar,
.mf-deck-bar,
.mf-film-thumbs,
.mf-rev-controls,
.mf-thumb-dock {
  display: none;
}

@keyframes mfFilmBar {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ==========================================================================
   11b. COREOGRAFÍA 2027 ANTI-SLOP (APERTURE CLIP + SPLIT-LINE + TAB TRANSITION)
   ========================================================================== */
.mf-reveal {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 640ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.mf-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Botanical Aperture Reveal (Contraventanas modernistas / apertura orgánica GPU) */
[data-reveal="aperture"] {
  clip-path: inset(10% 3% 0% 3% round 24px 6px 24px 6px);
  opacity: 0.001;
  transition:
    clip-path 880ms cubic-bezier(0.16, 1, 0.3, 1) var(--mf-delay, 0ms),
    opacity 440ms ease var(--mf-delay, 0ms);
  will-change: clip-path, opacity;
}
[data-reveal="aperture"] > img,
[data-reveal="aperture"] > video {
  transform: scale(1.08);
  transition: transform 1100ms cubic-bezier(0.16, 1, 0.3, 1) var(--mf-delay, 0ms);
}
[data-reveal="aperture"].is-visible {
  clip-path: inset(0% 0% 0% 0% round var(--mf-r, 16px));
  opacity: 1;
}
[data-reveal="aperture"].is-visible > img,
[data-reveal="aperture"].is-visible > video {
  transform: scale(1);
}
.mf-reel-frame[data-reveal="aperture"].is-visible,
.mf-team-panorama[data-reveal="aperture"].is-visible {
  --mf-r: 22px;
}

/* Masked Split-Line Typography (Con Italic Descender Clearance para Fraunces) */
.mf-word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.mf-word {
  display: inline-block;
  transform: translate3d(0, 112%, 0) rotate(1deg);
  opacity: 0;
  transition:
    transform 760ms cubic-bezier(0.16, 1, 0.3, 1) var(--w-delay, 0ms),
    opacity 360ms ease var(--w-delay, 0ms);
}
.is-visible .mf-word {
  transform: translate3d(0, 0, 0) rotate(0deg);
  opacity: 1;
}

/* Transición Táctil de Pestañas (Sin saltos bruscos) */
@keyframes mfPanelReveal {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0) scale(0.992);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}
.mf-space-panel.is-active,
.mf-folio.is-active {
  animation: mfPanelReveal 380ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ==========================================================================
   11c. BODAS 4 ACTOS · AUTO-SLIDE & APERTURA BOTÁNICA ESCALONADA (GPU-ONLY)
   ========================================================================== */
.mf-act-tab {
  position: relative;
  overflow: hidden;
}
.mf-act-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(230, 182, 155, 0.55) 0%, var(--mf-sand-gold) 100%);
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0;
  pointer-events: none;
}
.mf-act-tab.is-active::after {
  opacity: 1;
  animation: mfActProgress 6500ms linear forwards;
  will-change: transform;
}
.mf-wedding-acts.is-paused .mf-act-tab.is-active::after {
  animation-play-state: paused;
}
@media (hover: hover) and (pointer: fine) {
  .mf-wedding-acts:hover .mf-act-tab.is-active::after {
    animation-play-state: paused;
  }
}
@keyframes mfActProgress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.mf-step-btn--pause {
  width: 44px;
  height: 44px;
  margin-left: 4px;
  border-radius: 18px 4px 18px 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mf-stone-strong);
  background: var(--mf-linen);
  color: var(--mf-forest);
  transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms var(--ease-editorial);
}
.mf-step-btn--pause:hover,
.mf-step-btn--pause[aria-pressed="true"] {
  background: var(--mf-forest);
  border-color: var(--mf-forest);
  color: var(--mf-sand-gold);
}
.mf-step-btn--pause:focus-visible {
  outline: 2px solid var(--mf-terracotta);
  outline-offset: 2px;
}

@keyframes mfBotanicalTileIn {
  from {
    clip-path: inset(12% 0% 0% 0% round 18px 4px 18px 4px);
    opacity: 0.001;
  }
  to {
    clip-path: inset(0% 0% 0% 0% round var(--mf-tile-r, 16px));
    opacity: 1;
  }
}
@keyframes mfBotanicalImgSettle {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}
@keyframes mfActCopyIn {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.mf-act-panel.is-active .mf-act-collage .mf-photo-frame {
  --mf-tile-r: var(--radius-md);
  animation: mfBotanicalTileIn 680ms cubic-bezier(0.16, 1, 0.3, 1) var(--tile-delay, 0ms) both;
}
.mf-act-panel.is-active .mf-act-collage .mf-photo-frame img {
  animation: mfBotanicalImgSettle 840ms cubic-bezier(0.16, 1, 0.3, 1) var(--tile-delay, 0ms) backwards;
}
.mf-act-panel.is-active .mf-act-collage .mf-photo-frame:nth-child(1) { --tile-delay: 0ms; }
.mf-act-panel.is-active .mf-act-collage .mf-photo-frame:nth-child(2) { --tile-delay: 70ms; }
.mf-act-panel.is-active .mf-act-collage .mf-photo-frame:nth-child(3) { --tile-delay: 140ms; }
.mf-act-panel.is-active .mf-act-collage .mf-photo-frame:nth-child(4) { --tile-delay: 210ms; }

.mf-act-panel.is-active .mf-act-copy .mf-big-index  { animation: mfActCopyIn 520ms cubic-bezier(0.16, 1, 0.3, 1) 0ms both; }
.mf-act-panel.is-active .mf-act-copy .mf-act-kicker { animation: mfActCopyIn 500ms cubic-bezier(0.16, 1, 0.3, 1) 55ms both; }
.mf-act-panel.is-active .mf-act-copy .mf-h3         { animation: mfActCopyIn 560ms cubic-bezier(0.16, 1, 0.3, 1) 110ms both; }
.mf-act-panel.is-active .mf-act-copy .mf-body       { animation: mfActCopyIn 580ms cubic-bezier(0.16, 1, 0.3, 1) 175ms both; }

/* ==========================================================================
   11d. TELÓN BOTÁNICO INSTANTÁNEO 2027 (FIRST-PAINT CURTAIN · ZERO-LCP)
   ========================================================================== */
.mf-curtain {
  display: none;
}
html.mf-intro-active .mf-curtain {
  position: fixed;
  inset: 0;
  z-index: var(--z-curtain);
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: auto;
}
html.mf-intro-open .mf-curtain {
  pointer-events: none;
}
html.mf-intro-done .mf-curtain {
  display: none !important;
}

.mf-curtain-shutter {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.2%;
  background: var(--mf-forest-abyss);
  will-change: transform;
  transition: transform 540ms cubic-bezier(0.77, 0, 0.175, 1);
}
.mf-curtain-shutter--left {
  left: 0;
  border-right: 1px solid rgba(230, 182, 155, 0.24);
  background: radial-gradient(ellipse 90% 60% at 100% 50%, rgba(23, 65, 55, 0.36) 0%, var(--mf-forest-abyss) 72%);
}
.mf-curtain-shutter--right {
  right: 0;
  border-left: 1px solid rgba(230, 182, 155, 0.24);
  background: radial-gradient(ellipse 90% 60% at 0% 50%, rgba(23, 65, 55, 0.36) 0%, var(--mf-forest-abyss) 72%);
}
html.mf-intro-open .mf-curtain-shutter--left  { transform: translate3d(-101%, 0, 0); }
html.mf-intro-open .mf-curtain-shutter--right { transform: translate3d(101%, 0, 0); }

.mf-curtain-emblem {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: mfCurtainBreathe 300ms cubic-bezier(0.16, 1, 0.3, 1) both;
  transition: opacity 220ms ease, transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}
html.mf-intro-open .mf-curtain-emblem {
  opacity: 0;
  transform: translate3d(0, -12px, 0) scale(0.96);
}
.mf-curtain-seal {
  width: 74px;
  height: 74px;
  border-radius: 18px 4px 18px 4px;
  border: 1px solid rgba(230, 182, 155, 0.40);
  background: rgba(18, 55, 46, 0.45);
  display: grid;
  place-items: center;
}
.mf-curtain-seal img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.mf-curtain-rule {
  width: 52px;
  height: 1px;
  background: var(--mf-sand-gold);
  transform-origin: center;
  animation: mfCurtainRule 280ms cubic-bezier(0.16, 1, 0.3, 1) 40ms both;
}
.mf-curtain-wordmark {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  color: var(--mf-sand-gold);
}
@keyframes mfCurtainBreathe {
  from { opacity: 0; transform: translate3d(0, 8px, 0) scale(0.95); }
  to   { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes mfCurtainRule {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 0.9; }
}

html.mf-intro-active:not(.mf-intro-open) .mf-hero-slide.is-active img {
  transform: scale(1.07);
  transition: none;
}
html.mf-intro-open .mf-hero-slide.is-active img {
  transform: scale(1);
  transition: transform 920ms cubic-bezier(0.16, 1, 0.3, 1);
}
html.mf-intro-active:not(.mf-intro-open) .mf-hero-copy .mf-eyebrow,
html.mf-intro-active:not(.mf-intro-open) .mf-hero-title,
html.mf-intro-active:not(.mf-intro-open) .mf-hero-lead,
html.mf-intro-active:not(.mf-intro-open) .mf-hero-ctas {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}
html.mf-intro-open .mf-hero-copy .mf-eyebrow,
html.mf-intro-open .mf-hero-title,
html.mf-intro-open .mf-hero-lead,
html.mf-intro-open .mf-hero-ctas {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 540ms ease, transform 640ms cubic-bezier(0.16, 1, 0.3, 1);
}
html.mf-intro-open .mf-hero-copy .mf-eyebrow { transition-delay: 120ms; }
html.mf-intro-open .mf-hero-title            { transition-delay: 180ms; }
html.mf-intro-open .mf-hero-lead             { transition-delay: 250ms; }
html.mf-intro-open .mf-hero-ctas             { transition-delay: 320ms; }

.mf-btn:active,
.mf-tab-btn:active,
.mf-col-tab:active,
.mf-subtab:active,
.mf-act-tab:active,
.mf-quick-btn:active {
  transform: scale(0.975);
}

/* ==========================================================================
   12. RESPONSIVE MOBILE 2027 (<= 1140px, <= 1024px & <= 768px ZERO-SCROLL)
   ========================================================================== */
@media (max-width: 1140px) {
  .mf-nav,
  .mf-lang-switch {
    display: none;
  }
  .mf-lang-cycle,
  .mf-menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 1024px) {
  .mf-nav,
  .mf-lang-switch {
    display: none;
  }
  .mf-lang-cycle,
  .mf-menu-toggle {
    display: inline-flex;
  }
  .mf-gastro-stage,
  .mf-folio {
    grid-template-columns: 1fr;
  }
  .mf-editorial-head-main,
  .mf-editorial-head-desc,
  .mf-space-narrative,
  .mf-space-gallery,
  .mf-act-copy,
  .mf-act-collage,
  .mf-contact-dossier,
  .mf-contact-form-sheet {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .mf-space-narrative {
    align-self: start;
  }
  .mf-reel-frame {
    aspect-ratio: 9 / 16;
    min-height: 0;
    max-width: 390px;
    margin-inline: auto;
  }
  .mf-folio-photo {
    aspect-ratio: 16 / 9;
    min-height: 200px;
  }
  .mf-carta-subtabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .mf-carta-book-stage::after,
  .mf-folio-book-stage::after,
  .mf-page-edge,
  .mf-flip-leaf,
  .mf-flip-cast-shadow {
    display: none !important;
  }
  .mf-carta-page-left,
  .mf-carta-page-right {
    border-radius: 0;
  }
  .mf-carta-spread {
    grid-template-columns: 1fr;
    min-height: 0;
    overflow: hidden;
    background: var(--mf-ivory);
  }
  .mf-carta-atelier {
    border-right: none;
    border-bottom: 1px solid var(--mf-stone-border);
  }
  .mf-team-portrait--offset {
    margin-top: 0;
  }
  .mf-reviews-grid,
  .mf-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  /* 0. Ritmo Vertical Compacto & Shape Lock Cabecera */
  .mf-section {
    padding: 3.15rem 0 2.9rem;
    scroll-margin-top: 64px;
  }
  .mf-editorial-head {
    gap: 10px;
    margin-bottom: 1.35rem;
    padding-bottom: 14px;
  }
  .mf-eyebrow {
    font-size: 0.7rem;
    margin-bottom: 6px;
  }
  .mf-editorial-head-desc {
    font-size: 0.92rem;
    line-height: 1.5;
  }
  .mf-btn {
    white-space: normal;
    text-align: center;
    padding: 10px 16px;
    max-width: 100%;
    font-size: 0.8rem;
  }
  .mf-header-shell,
  .mf-header.is-scrolled .mf-header-shell {
    height: 64px;
  }
  .mf-header-cta {
    display: none;
  }
  .mf-header-phone {
    display: inline-flex;
  }
  .mf-brand-logo--light {
    height: 44px;
  }
  .mf-header.is-scrolled .mf-brand-logo--dark {
    height: 38px;
  }
  .mf-header-actions {
    gap: 6px;
  }

  /* 1. Hero 100dvh exacto (0px franja beige) + Contraste reforzado + Dock limpio */
  .mf-hero {
    min-height: 100svh;
    min-height: 100dvh;
  }
  .mf-hero-scrim {
    background:
      linear-gradient(180deg, rgba(11, 26, 19, 0.64) 0%, rgba(11, 26, 19, 0.24) 30%, rgba(11, 26, 19, 0.64) 62%, rgba(11, 26, 19, 0.93) 100%),
      radial-gradient(ellipse 92% 62% at 24% 76%, rgba(11, 26, 19, 0.56) 0%, transparent 74%);
  }
  .mf-hero-stage {
    padding-top: 96px;
    padding-bottom: max(22px, env(safe-area-inset-bottom));
    gap: 22px;
  }
  .mf-hero-title {
    font-size: clamp(2.45rem, 10.2vw, 3.05rem);
    line-height: 1.05;
    text-shadow: 0 4px 24px rgba(11, 26, 19, 0.46);
    margin-bottom: 12px;
  }
  .mf-hero-title em {
    padding-bottom: 0.08em;
    color: #F0C4AA;
  }
  .mf-hero-lead {
    font-size: 0.98rem;
    line-height: 1.5;
    margin-bottom: 20px;
    min-height: 3em;
  }
  .mf-hero-ctas {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 288px;
  }
  .mf-hero-ctas .mf-btn {
    width: 100%;
    min-height: 46px;
  }
  .mf-hero-ctas .mf-btn--ghost-light {
    background: rgba(12, 38, 32, 0.58);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-color: rgba(250, 246, 240, 0.42);
  }
  .mf-hero-dock {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .mf-hero-chapters {
    gap: 6px;
  }
  .mf-chapter-btn {
    min-height: 28px;
    padding: 12px 0;
  }
  .mf-chapter-meta {
    display: none;
  }
  .mf-hero-controls {
    justify-content: space-between;
    width: 100%;
  }
  .mf-hero-chapter-live {
    display: inline;
  }
  .mf-hero-ctrl-btns {
    gap: 6px;
  }
  .mf-hero-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px 4px 12px 4px;
  }
  .mf-hero-mobile-prev,
  .mf-hero-mobile-next {
    display: grid;
  }

  /* 2. Espacios: Escenario Architectural Crossfade Auto-Avanzable + 4 Miniaturas Reales */
  .mf-tablist--spaces {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    border-bottom: none;
    background: var(--mf-sand-bg);
    padding: 4px;
    border-radius: 15px 5px 15px 5px;
    margin-bottom: 14px;
  }
  .mf-tab-btn {
    justify-content: center;
    text-align: center;
    padding: 7px 5px;
    min-height: 46px;
    border-radius: 11px 4px 11px 4px;
    font-size: 0.74rem;
    line-height: 1.18;
    flex-direction: column;
    gap: 2px;
  }
  .mf-tab-btn::after {
    display: none;
  }
  .mf-tab-btn.is-active {
    background: var(--mf-ivory);
    color: var(--mf-forest);
    box-shadow: 0 2px 8px rgba(17, 40, 30, 0.08);
  }
  .mf-space-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .mf-space-gallery,
  .mf-space-gallery--lago,
  .mf-space-gallery--masia {
    order: -2;
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-inline: 0;
    padding: 0;
    background: var(--mf-forest-abyss);
  }
  .mf-space-gallery .mf-photo-frame,
  .mf-space-gallery .mf-photo-frame--hero,
  .mf-space-gallery .mf-photo-frame--accent,
  .mf-space-gallery .mf-photo-frame--wide,
  .mf-space-gallery .mf-photo-frame--tall,
  .mf-space-gallery .mf-photo-frame:nth-child(3),
  .mf-space-gallery .mf-photo-frame:nth-child(4) {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    aspect-ratio: auto;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    clip-path: none;
    transition: opacity 640ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .mf-space-gallery .mf-photo-frame.is-film-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
  }
  .mf-space-gallery .mf-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    transition: transform 4.6s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .mf-space-gallery .mf-photo-frame.is-film-active img {
    transform: scale(1);
  }
  .mf-film-thumbs {
    order: -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }
  .mf-film-thumb {
    position: relative;
    height: 54px;
    padding: 0;
    border-radius: 10px 4px 10px 4px;
    overflow: hidden;
    border: 1.5px solid transparent;
    background: var(--mf-forest-abyss);
    opacity: 0.54;
    cursor: pointer;
    transition: opacity 240ms ease, border-color 240ms ease, transform 180ms ease;
  }
  .mf-film-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .mf-film-thumb.is-active {
    opacity: 1;
    border-color: var(--mf-terracotta);
  }
  .mf-film-thumb::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--mf-terracotta);
    transform-origin: left center;
    transform: scaleX(0);
  }
  .mf-film-thumb.is-active::after {
    animation: mfFilmBar 4.2s linear forwards;
  }
  .mf-film-thumbs.is-paused .mf-film-thumb.is-active::after {
    animation: none;
    transform: scaleX(1);
  }
  .mf-space-narrative {
    gap: 8px;
  }
  .mf-space-narrative .mf-big-index {
    display: none;
  }
  .mf-space-narrative .mf-h3 {
    font-size: 1.32rem;
  }
  .mf-space-narrative .mf-body {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  .mf-spec-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 4px;
    padding-top: 10px;
  }
  .mf-spec-list > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 8px 9px;
    border-bottom: none;
    border-radius: 10px 4px 10px 4px;
    background: rgba(233, 226, 213, 0.56);
  }
  .mf-spec-list dt {
    font-size: 0.62rem;
    letter-spacing: 0.09em;
    white-space: normal;
    padding-top: 0;
  }
  .mf-spec-list dd {
    font-size: 0.74rem;
    line-height: 1.3;
  }
  .mf-text-cta {
    margin-top: 2px;
    min-height: 40px;
    font-size: 0.86rem;
  }

  /* 3. Gastronomía Stage: BENTO ASIMÉTRICO VIVO (Vídeo 9:16 + 5 Platos visibles a la vez · ZERO scroll lateral) */
  .mf-gastro-stage {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: 142px 142px 112px;
    gap: 8px;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
  .mf-reel-column,
  .mf-gastro-bento {
    display: contents;
  }
  .mf-reel-frame {
    grid-column: 1 / span 3;
    grid-row: 1 / span 2;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-width: none;
    aspect-ratio: auto;
    margin: 0;
    border-radius: 14px;
  }
  .mf-gastro-bento .mf-dish-tile {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-width: none;
    aspect-ratio: auto;
    margin: 0;
    border-radius: 12px;
  }
  .mf-gastro-bento .mf-dish-tile--wide {
    grid-column: 4 / span 3;
    grid-row: 1;
  }
  .mf-gastro-bento .mf-dish-tile:nth-child(4) {
    grid-column: 4 / span 3;
    grid-row: 2;
  }
  .mf-gastro-bento .mf-dish-tile--tall {
    grid-column: 1 / span 2;
    grid-row: 3;
  }
  .mf-gastro-bento .mf-dish-tile:nth-child(3) {
    grid-column: 3 / span 2;
    grid-row: 3;
  }
  .mf-gastro-bento .mf-dish-tile--span {
    grid-column: 5 / span 2;
    grid-row: 3;
  }
  .mf-reel-overlay-top {
    padding: 8px;
  }
  .mf-reel-pill {
    font-size: 0.56rem;
    letter-spacing: 0.08em;
    padding: 3px 7px;
    white-space: nowrap;
  }
  .mf-reel-overlay-bottom {
    padding: 26px 8px 8px;
    gap: 6px;
    align-items: flex-end;
  }
  .mf-reel-caption strong {
    font-size: 0.8rem;
    line-height: 1.15;
  }
  .mf-reel-caption span {
    display: none;
  }
  .mf-reel-actions {
    gap: 5px;
  }
  .mf-reel-btn {
    width: 34px;
    height: 34px;
  }
  .mf-dish-tile figcaption {
    padding: 26px 9px 8px;
    background: linear-gradient(180deg, transparent 0%, rgba(11, 26, 19, 0.78) 46%, rgba(11, 26, 19, 0.96) 100%);
    font-size: 0.72rem;
    line-height: 1.2;
    gap: 5px;
  }
  .mf-dish-tile figcaption span {
    font-size: 0.64rem;
  }
  .mf-dish-tile--tall figcaption,
  .mf-dish-tile:nth-child(3) figcaption,
  .mf-dish-tile--span figcaption {
    padding: 20px 7px 6px;
    font-size: 0.66rem;
    line-height: 1.15;
  }
  .mf-dish-tile--tall figcaption span,
  .mf-dish-tile:nth-child(3) figcaption span,
  .mf-dish-tile--span figcaption span {
    display: none;
  }
  .mf-dish-tile--tall figcaption em,
  .mf-dish-tile:nth-child(3) figcaption em,
  .mf-dish-tile--span figcaption em {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* 4. Atelier Menús & Carta: Platos PRIMERO + Banner de Reserva Compacto AL PIE */
  .mf-menus-atelier {
    margin-top: 2rem;
    gap: 12px;
  }
  .mf-atelier-bar {
    padding-bottom: 12px;
    gap: 10px;
  }
  .mf-atelier-collections {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    background: rgba(9, 25, 20, 0.65);
    border: 1px solid var(--mf-forest-border);
    padding: 4px;
    border-radius: 16px 6px 16px 6px;
  }
  .mf-col-tab {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border: none;
    background: transparent;
    padding: 6px 4px;
    gap: 2px;
    font-size: 0.72rem;
    line-height: 1.18;
    min-height: 46px;
    border-radius: 12px 4px 12px 4px;
  }
  .mf-subtabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 2px;
  }
  .mf-subtabs::-webkit-scrollbar {
    display: none;
  }
  .mf-subtab {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0 14px;
    white-space: nowrap;
    text-align: left;
    scroll-snap-align: start;
    font-size: 0.8rem;
  }
  .mf-folio {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-md);
  }
  .mf-folio-sheet {
    order: 1;
    padding: 20px 18px 16px;
  }
  .mf-sheet-head {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0 14px;
  }
  .mf-sheet-head h4 {
    font-size: clamp(1.42rem, 5.6vw, 1.78rem);
    line-height: 1.06;
  }
  .mf-sheet-price {
    text-align: right;
    font-size: 1.65rem;
    flex-shrink: 0;
  }
  .mf-sheet-group {
    padding: 11px 0;
  }
  .mf-sheet-group ul {
    gap: 4px;
  }
  .mf-sheet-group li {
    font-size: 0.89rem;
    line-height: 1.38;
  }
  .mf-sheet-included {
    margin-top: 10px;
    padding-top: 10px;
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
  }
  /* Postal Fotográfica Inmersiva incrustada dentro de la hoja crema (Full-Bleed Interior) */
  .mf-folio-media {
    order: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin: 0 14px 14px;
    border-radius: 16px 4px 16px 4px;
    overflow: hidden;
    min-height: 184px;
    background: var(--mf-forest-abyss);
    box-shadow: 0 10px 26px -10px rgba(12, 38, 32, 0.36);
  }
  .mf-folio-photo,
  .mf-folio--carta-live .mf-folio-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
    z-index: 1;
  }
  .mf-folio-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 26, 19, 0.16) 0%, rgba(11, 26, 19, 0.62) 48%, rgba(11, 26, 19, 0.92) 100%);
    z-index: 1;
  }
  .mf-folio-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
  }
  .mf-folio-quote {
    position: relative;
    z-index: 2;
    padding: 62px 16px 16px;
    gap: 6px;
    justify-content: flex-end;
  }
  .mf-folio-quote > span {
    font-size: 0.64rem;
    letter-spacing: 0.16em;
    color: var(--mf-sand-gold);
    text-shadow: 0 1px 8px rgba(7, 22, 18, 0.65);
  }
  .mf-folio-quote p {
    font-size: 1.24rem;
    line-height: 1.16;
    font-style: italic;
    color: var(--mf-ivory);
    text-shadow: 0 2px 12px rgba(7, 22, 18, 0.55);
  }
  .mf-folio-quote .mf-btn {
    width: 100%;
    min-height: 44px;
    padding: 0 16px;
    font-size: 0.8rem;
    margin-top: 8px;
    align-self: stretch;
  }
  .mf-carta-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }
  .mf-carta-actions .mf-btn {
    width: 100%;
    min-height: 44px;
  }
  /* Cuaderno de La Carta 2026 en Móvil: 3+2 Subtabs + Split-Card Arriba + Platos + Sketch Al Pie */
  .mf-carta-subtabs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
    margin-bottom: 12px;
    padding-bottom: 0;
  }
  .mf-carta-subtabs .mf-subtab {
    grid-column: span 2;
    min-height: 44px;
    padding: 5px 6px;
    justify-content: center;
    flex-direction: column;
    gap: 1px;
    text-align: center;
    font-size: 0.68rem;
    line-height: 1.15;
    white-space: normal;
  }
  .mf-carta-subtabs .mf-subtab:nth-child(4),
  .mf-carta-subtabs .mf-subtab:nth-child(5) {
    grid-column: span 3;
    flex-direction: row;
    gap: 6px;
  }
  .mf-carta-book-stage {
    perspective: 1200px;
    box-shadow: 0 16px 38px rgba(7, 22, 18, 0.34);
    border-radius: var(--radius-md);
  }
  .mf-carta-spread {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-md);
    min-height: 0;
  }
  .mf-carta-spread.is-leaving-next { animation: mfMobLeafOutNext 380ms cubic-bezier(0.22, 1, 0.36, 1) forwards; }
  .mf-carta-spread.is-entering-next { animation: mfMobLeafInNext 420ms cubic-bezier(0.22, 1, 0.36, 1) forwards; }
  .mf-carta-spread.is-leaving-prev { animation: mfMobLeafOutPrev 380ms cubic-bezier(0.22, 1, 0.36, 1) forwards; }
  .mf-carta-spread.is-entering-prev { animation: mfMobLeafInPrev 420ms cubic-bezier(0.22, 1, 0.36, 1) forwards; }
  .mf-carta-spread .mf-carta-page-left,
  .mf-carta-spread .mf-carta-page-right {
    animation: none !important;
  }
  /* En Móvil: Cabecera Verde Bosque con Foto Protagonista -> Platos sobre Papel Crema -> Boceto Integrado */
  .mf-carta-page-left.mf-carta-atelier {
    display: flex;
    flex-direction: column;
    padding: 14px 16px 14px;
    gap: 10px;
    border-bottom: 1px solid rgba(230, 182, 155, 0.22);
  }
  .mf-carta-photo {
    height: 142px;
    min-height: 0;
    margin: 0;
    border-radius: 14px 4px 14px 4px;
  }
  .mf-carta-manifesto {
    padding: 0;
    gap: 4px;
  }
  .mf-carta-claim {
    font-size: 1.42rem;
  }
  .mf-carta-slogan {
    font-size: 0.78rem;
    line-height: 1.38;
  }
  .mf-carta-pills--dark {
    display: none;
  }
  .mf-carta-spotlight,
  .mf-carta-folio-foot {
    display: none;
  }
  .mf-carta-page-right.mf-carta-sheet {
    padding: 14px 15px 14px;
    gap: 14px;
  }
  .mf-carta-sheet-split--gilda {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .mf-sketch-stage--gilda {
    border-left: none;
    border-top: 1px dashed rgba(23, 52, 44, 0.14);
    padding: 12px 6px 4px;
    min-height: 220px;
    max-height: 270px;
    max-width: none;
    width: 100%;
  }
  .mf-sketch-stage--gilda .mf-sketch-svg {
    max-width: 248px;
    margin-inline: auto;
  }
  .mf-sketch-stage--coca,
  .mf-sketch-stage--lubina {
    min-height: 148px;
    max-height: 176px;
  }
  .mf-sketch-stage--olla {
    min-height: 96px;
    max-height: 118px;
    max-width: none;
    width: 100%;
  }
  .mf-sketch-stage--olla .mf-sketch-svg {
    max-width: 300px;
    margin-inline: auto;
  }
  .mf-carta-sheet-note {
    padding-right: 0;
  }
  .mf-sk-lbl {
    font-size: 15px;
  }
  .mf-carta-sec-head h4 {
    font-size: 1.02rem;
  }
  .mf-carta-list li,
  .mf-carta-list--dense li,
  .mf-carta-list--airy li,
  .mf-carta-list--compact li {
    gap: 10px;
    padding: 6.5px 4px;
    margin-inline: -4px;
  }
  .mf-dish-info strong,
  .mf-carta-list--airy .mf-dish-info strong,
  .mf-carta-list--compact .mf-dish-info strong {
    font-size: 0.85rem;
    line-height: 1.32;
  }
  .mf-dish-info small {
    font-size: 0.74rem;
  }
  .mf-dish-price,
  .mf-carta-list--airy .mf-dish-price {
    font-size: 0.88rem;
  }
  .mf-carta-two-col,
  .mf-carta-two-col--asym {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .mf-carta-two-col--ruled > .mf-carta-col:first-child {
    padding-right: 0;
    border-right: none;
  }
  /* Pliego 05 en móvil: Cabecera Verde Bosque y Foto ARRIBA igual que en todos los pliegos */
  .mf-carta-backcover {
    order: 0;
    position: relative;
    margin: 0;
    border-radius: 0;
    border-right: none;
    border-bottom: 1px solid rgba(230, 182, 155, 0.22);
    padding: 14px 16px 14px;
    gap: 10px;
  }
  .mf-carta-backcover-photo {
    height: 142px;
    min-height: 0;
    margin: 0;
    border-radius: 14px 4px 14px 4px;
  }
  .mf-carta-backcover-body {
    padding: 0;
    gap: 4px;
  }
  .mf-carta-backcover-title {
    font-size: 1.42rem;
  }
  .mf-carta-backcover-copy {
    font-size: 0.78rem;
    line-height: 1.38;
  }
  .mf-carta-backcover-cta {
    display: none;
  }
  /* Pie del Cuaderno compacto en móvil */
  .mf-carta-bookbar {
    padding: 8px 10px;
    gap: 8px;
  }
  .mf-carta-bookbar-nav {
    flex: 1 1 auto;
    justify-content: space-between;
  }
  .mf-carta-counter {
    font-size: 0.82rem;
    min-width: 0;
  }
  .mf-carta-bookbar-mid {
    display: none;
  }
  .mf-carta-bookbar-choreo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding-top: 2px;
  }
  .mf-book-pill {
    justify-content: center;
    height: 32px;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    background: rgba(255, 250, 242, 0.03);
    border-color: rgba(230, 182, 155, 0.22);
    color: rgba(255, 250, 242, 0.74);
  }
  .mf-book-pill svg {
    width: 12px;
    height: 12px;
  }
  @keyframes mfMobLeafOutNext { to { opacity: 0; transform: translate3d(-24px, 0, 0) rotateY(-8deg); } }
  @keyframes mfMobLeafInNext  { from { opacity: 0; transform: translate3d(24px, 0, 0) rotateY(8deg); } to { opacity: 1; transform: none; } }
  @keyframes mfMobLeafOutPrev { to { opacity: 0; transform: translate3d(24px, 0, 0) rotateY(8deg); } }
  @keyframes mfMobLeafInPrev  { from { opacity: 0; transform: translate3d(-24px, 0, 0) rotateY(-8deg); } to { opacity: 1; transform: none; } }
  .mf-social-strip {
    margin-top: 16px;
    padding-top: 16px;
    flex-wrap: nowrap;
    gap: 12px;
  }
  .mf-social-icon {
    width: 40px;
    height: 40px;
  }
  .mf-social-strip-copy h3 {
    font-size: 1.08rem;
  }
  .mf-social-strip-copy p {
    display: none;
  }
  .mf-social-strip .mf-btn {
    flex-shrink: 0;
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.76rem;
  }

  /* 5. Bodas 4 Actos (Timeline 1 fila + Fotos ARRIBA 1+3) + Reseñas Swipe Deck */
  .mf-acts-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    margin-bottom: 12px;
  }
  .mf-act-tab {
    min-height: 54px;
    padding: 8px 4px;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 12px 4px 12px 4px;
    gap: 2px;
  }
  .mf-act-tab::after {
    height: 2.5px;
  }
  .mf-act-panel.is-active .mf-act-collage .mf-photo-frame {
    --mf-tile-r: 12px;
  }
  .mf-step-btn--pause {
    width: 40px;
    height: 40px;
    margin-left: 0;
    border-radius: 12px 4px 12px 4px;
    flex-shrink: 0;
  }
  .mf-act-name {
    font-size: 0.72rem;
    line-height: 1.15;
  }
  .mf-act-place {
    display: none;
  }
  .mf-act-stage {
    padding: 14px;
    border-radius: var(--radius-md);
  }
  .mf-act-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .mf-act-collage {
    order: -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 6px;
    width: 100%;
  }
  .mf-act-collage .mf-photo-frame--tall {
    grid-column: 1 / -1;
    grid-row: auto;
    height: auto;
    aspect-ratio: 16 / 10;
  }
  .mf-act-collage .mf-photo-frame--wide,
  .mf-act-collage .mf-photo-frame:nth-child(3),
  .mf-act-collage .mf-photo-frame:nth-child(4) {
    grid-column: span 1;
    grid-row: auto;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .mf-act-copy {
    gap: 8px;
  }
  .mf-act-copy .mf-big-index {
    display: none;
  }
  .mf-act-copy .mf-h3 {
    font-size: 1.32rem;
  }
  .mf-act-copy .mf-body {
    font-size: 0.9rem;
    line-height: 1.48;
  }
  .mf-act-stepper {
    margin-top: 4px;
    width: 100%;
    justify-content: space-between;
  }
  .mf-step-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px 4px 12px 4px;
  }

  /* Experiencias Bodas.net: Escenario Editorial Auto-Avanzable con Sello Fotográfico + Controles */
  .mf-reviews-block {
    margin-top: 2rem;
  }
  .mf-trust-ribbon {
    padding: 16px;
    gap: 12px;
    margin-bottom: 14px;
    border-radius: var(--radius-md);
    flex-direction: column;
    align-items: stretch;
  }
  .mf-trust-score {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 4px 12px;
  }
  .mf-bodas-badge {
    grid-column: 1 / -1;
    justify-self: start;
    padding: 4px 10px;
    font-size: 0.68rem;
  }
  .mf-trust-rating strong {
    font-size: 2.15rem;
  }
  .mf-trust-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--mf-forest-border);
  }
  .mf-trust-stat {
    padding-left: 0;
    border-left: none;
  }
  .mf-trust-stat strong {
    font-size: 1.2rem;
  }
  .mf-trust-stat span {
    font-size: 0.64rem;
  }
  .mf-award-chip {
    padding: 6px 10px;
    font-size: 0.7rem;
    gap: 5px;
  }
  .mf-reviews-grid {
    display: block;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
  .mf-review-card {
    display: none;
    position: relative;
    min-height: 236px;
    border-radius: var(--radius-md);
  }
  .mf-review-card.is-rev-active {
    display: flex;
    flex-direction: column;
    animation: mfPanelReveal 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .mf-review-photo {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 56px;
    height: 56px;
    aspect-ratio: 1 / 1;
    border-radius: 14px 4px 14px 4px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(12, 38, 32, 0.14);
    z-index: 2;
  }
  .mf-review-body {
    padding: 18px 18px 16px;
    gap: 8px;
    flex: 1;
  }
  .mf-review-tag {
    padding-right: 68px;
  }
  .mf-review-body h3 {
    padding-right: 68px;
    font-size: 1.12rem;
    line-height: 1.2;
    min-height: 2.4em;
  }
  .mf-review-body p {
    font-size: 0.88rem;
    line-height: 1.52;
  }
  .mf-review-foot {
    margin-top: auto;
    padding-top: 10px;
  }
  .mf-rev-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
  }
  .mf-rev-bars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    flex: 1;
  }
  .mf-rev-seg {
    position: relative;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
  }
  .mf-rev-seg::before {
    content: "";
    width: 100%;
    height: 3px;
    border-radius: 3px;
    background: rgba(23, 52, 44, 0.18);
  }
  .mf-rev-seg::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 3px;
    background: var(--mf-terracotta);
    transform-origin: left center;
    transform: scaleX(0);
  }
  .mf-rev-seg.is-done::after {
    transform: scaleX(1);
  }
  .mf-rev-seg.is-active::after {
    animation: mfFilmBar 5.5s linear forwards;
  }
  .mf-rev-controls.is-paused .mf-rev-seg.is-active::after {
    animation: none;
    transform: scaleX(1);
  }
  .mf-rev-nav {
    display: inline-flex;
    gap: 6px;
  }
  .mf-rev-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px 4px 10px 4px;
    border: 1px solid var(--mf-stone-border);
    background: var(--mf-ivory);
    color: var(--mf-forest);
    display: grid;
    place-items: center;
    cursor: pointer;
  }
  .mf-reviews-cta {
    margin-top: 14px;
    flex-direction: column;
    gap: 8px;
  }
  .mf-reviews-cta .mf-btn {
    width: 100%;
  }

  /* 6. Sobre Nosotros: Acordeón Editorial de 3 Pilares Expandibles (Dani · David · Sandra visibles a la vez) */
  .mf-team-triptych {
    display: flex;
    gap: 7px;
    height: 344px;
    overflow: hidden;
    margin-inline: 0;
    padding-inline: 0;
  }
  .mf-team-portrait {
    position: relative;
    flex: 0.78 1 0;
    min-width: 0;
    height: 100%;
    border-radius: 16px 5px 16px 5px;
    overflow: hidden;
    cursor: pointer;
    background: var(--mf-forest-abyss);
    transition: flex 520ms cubic-bezier(0.16, 1, 0.3, 1);
  }
  .mf-team-portrait.is-team-active {
    flex: 3 1 0;
  }
  .mf-portrait-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    aspect-ratio: auto;
    border-radius: 0;
  }
  .mf-portrait-frame[data-reveal="aperture"] {
    clip-path: none;
    opacity: 1;
  }
  .mf-portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: brightness(0.72);
    transform: scale(1.03);
    transition: filter 420ms ease, transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
  }
  .mf-team-portrait.is-team-active .mf-portrait-frame img {
    filter: brightness(0.96);
    transform: scale(1);
  }
  .mf-portrait-hud {
    top: 0;
    bottom: auto;
    padding: 10px 12px 26px;
    background: linear-gradient(180deg, rgba(10, 26, 20, 0.72) 0%, rgba(10, 26, 20, 0.22) 64%, transparent 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 280ms ease;
  }
  .mf-team-portrait.is-team-active .mf-portrait-hud {
    opacity: 1;
  }
  .mf-portrait-hud .mf-portrait-dots {
    pointer-events: none;
  }
  .mf-team-portrait.is-team-active .mf-portrait-hud .mf-portrait-dots {
    pointer-events: auto;
  }
  .mf-portrait-moment {
    font-size: 0.63rem;
    letter-spacing: 0.05em;
  }
  .mf-portrait-dot {
    width: 12px;
    height: 4px;
  }
  .mf-portrait-dot.is-active {
    width: 20px;
  }
  .mf-portrait-meta {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    padding: 46px 4px 12px;
    background: linear-gradient(180deg, transparent 0%, rgba(11, 26, 19, 0.72) 44%, rgba(11, 26, 19, 0.94) 100%);
    color: var(--mf-ivory);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
  }
  .mf-team-portrait.is-team-active .mf-portrait-meta {
    padding: 60px 14px 16px;
  }
  .mf-portrait-role {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    color: var(--mf-sand-gold);
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    transition: opacity 280ms ease;
  }
  .mf-team-portrait.is-team-active .mf-portrait-role {
    opacity: 1;
    max-height: 22px;
    margin-bottom: 2px;
  }
  .mf-portrait-meta h3 {
    font-size: 0.78rem;
    line-height: 1.1;
    color: var(--mf-ivory);
    text-align: center;
    margin: 0;
    transition: font-size 320ms cubic-bezier(0.16, 1, 0.3, 1);
  }
  .mf-team-portrait.is-team-active .mf-portrait-meta h3 {
    font-size: 1.48rem;
    text-align: left;
    margin-bottom: 5px;
  }
  .mf-portrait-meta p {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    color: rgba(250, 246, 240, 0.9);
    font-size: 0.79rem;
    line-height: 1.42;
    transition: opacity 260ms ease;
  }
  .mf-team-portrait.is-team-active .mf-portrait-meta p {
    opacity: 1;
    max-height: 140px;
    transition: opacity 340ms ease 140ms;
  }
  .mf-team-panorama {
    margin-top: 1.4rem;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-md);
  }
  .mf-team-panorama img {
    aspect-ratio: 16 / 9;
    height: auto;
  }
  .mf-team-panorama figcaption {
    position: static;
    padding: 12px 16px;
    font-size: 0.9rem;
    line-height: 1.4;
    background: var(--mf-forest-abyss);
    border-radius: 0;
    max-width: 100%;
  }
  .mf-community-card {
    margin-top: 1.4rem;
    padding: 18px;
    gap: 12px;
    border-radius: var(--radius-md);
  }
  .mf-community-copy .mf-eyebrow {
    display: none;
  }
  .mf-community-copy h3 {
    font-size: 1.3rem;
  }
  .mf-community-copy p {
    font-size: 0.86rem;
    line-height: 1.48;
  }
  .mf-community-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .mf-community-actions .mf-btn {
    padding: 10px 8px;
    font-size: 0.72rem;
    gap: 5px;
    min-height: 44px;
  }

  /* 7. Contacto: Quick-Bar Táctil 3-Col + Formulario 1-Columna 100% Ancho (Zero Desalineación / Zero Placeholders Cortados) */
  .mf-contact-grid {
    gap: 14px;
  }
  .mf-contact-dossier {
    border-radius: var(--radius-md);
  }
  .mf-contact-photo {
    aspect-ratio: 21 / 9;
  }
  .mf-contact-details {
    display: none;
  }
  .mf-contact-quickbar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
  }
  .mf-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .mf-quick-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 58px;
    padding: 8px 6px;
    border-radius: 14px 4px 14px 4px;
    border: 1px solid var(--mf-stone-border);
    background: var(--mf-linen);
    color: var(--mf-forest);
    text-decoration: none;
    font-size: 0.74rem;
    font-weight: 700;
    transition: background-color var(--dur-fast) ease, transform var(--dur-fast) ease;
  }
  .mf-quick-btn--wa {
    background: var(--mf-forest);
    border-color: var(--mf-forest);
    color: var(--mf-ivory);
  }
  .mf-contact-meta-inline {
    font-size: 0.78rem;
    line-height: 1.4;
    color: var(--mf-ink-secondary);
    text-align: center;
  }
  .mf-contact-meta-inline a {
    color: var(--mf-terracotta-text);
    font-weight: 600;
    text-decoration: none;
  }
  .mf-contact-form-sheet {
    padding: 18px 16px;
    border-radius: var(--radius-md);
  }
  .mf-intent-fieldset {
    margin-bottom: 14px;
  }
  .mf-intent-pills {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .mf-intent-pill span {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 6px 6px;
    min-height: 44px;
    border-radius: 12px 4px 12px 4px;
    font-size: 0.74rem;
    line-height: 1.15;
  }
  .mf-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .mf-field {
    gap: 5px;
    margin-bottom: 11px;
  }
  .mf-label {
    font-size: 0.8rem;
  }
  .mf-input {
    width: 100%;
    min-height: 46px;
    padding: 10px 13px;
    font-size: 16px;
  }
  .mf-textarea {
    min-height: 86px;
  }
  .mf-field-error:empty {
    display: none;
    min-height: 0;
  }
  .mf-form-submit-row {
    gap: 8px;
  }
  .mf-form-submit-row .mf-btn {
    width: 100%;
    min-height: 48px;
  }
  .mf-form-hint {
    width: 100%;
    text-align: center;
    font-size: 0.78rem;
  }

  /* 8. Footer Compacto con Acordeón Elegante + Safe Area para Thumb-Zone Dock */
  .mf-footer {
    padding: 2.2rem 0 max(2rem, env(safe-area-inset-bottom));
  }
  .mf-footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 18px;
  }
  .mf-footer-brand-col {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--mf-forest-border);
  }
  .mf-footer-logo {
    height: 48px;
    margin-bottom: 8px;
  }
  .mf-footer-desc {
    font-size: 0.84rem;
    line-height: 1.5;
  }
  .mf-footer-acc {
    border-bottom: 1px solid var(--mf-forest-border);
    padding: 12px 0;
  }
  .mf-footer-acc:last-child {
    border-bottom: none;
  }
  .mf-footer-acc summary {
    cursor: pointer;
    pointer-events: auto;
    margin-bottom: 0;
    min-height: 36px;
  }
  .mf-footer-acc[open] summary {
    margin-bottom: 10px;
  }
  .mf-acc-chev {
    display: block;
    color: var(--mf-sand-gold);
  }
  .mf-footer-acc[open] .mf-acc-chev {
    transform: rotate(180deg);
  }
  .mf-footer-acc--contact .mf-footer-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 12px;
    font-size: 0.84rem;
  }
  .mf-footer-addr {
    grid-column: 1 / -1;
    padding-top: 4px;
    font-size: 0.8rem;
    opacity: 0.85;
  }
  .mf-footer-bottom {
    padding-top: 14px;
    font-size: 0.76rem;
    gap: 8px;
  }

  /* 9. Thumb-Zone Dock Móvil 2027 (Flotante Contextual) */
  .mf-thumb-dock {
    position: fixed;
    left: var(--gutter);
    right: var(--gutter);
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 95;
    height: 52px;
    padding: 5px 6px 5px 14px;
    border-radius: 18px 5px 18px 5px;
    background: rgba(12, 38, 32, 0.92);
    border: 1px solid rgba(230, 182, 155, 0.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 14px 36px -8px rgba(7, 22, 18, 0.45);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    transform: translate3d(0, 120%, 0);
    opacity: 0;
    pointer-events: none;
    transition: transform 340ms cubic-bezier(0.16, 1, 0.3, 1), opacity 260ms ease;
  }
  .mf-thumb-dock.is-visible {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    pointer-events: auto;
  }
  .mf-dock-chapter {
    background: transparent;
    border: none;
    color: var(--mf-ivory);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    min-height: 40px;
    cursor: pointer;
    min-width: 0;
  }
  .mf-dock-num {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.82rem;
    color: var(--mf-sand-gold);
  }
  .mf-dock-sep {
    color: rgba(230, 182, 155, 0.45);
  }
  .mf-dock-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mf-dock-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }
  .mf-dock-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 12px 4px 12px 4px;
    border: 1px solid rgba(230, 182, 155, 0.28);
    color: var(--mf-linen);
    text-decoration: none;
    font-size: 0.74rem;
    font-weight: 700;
  }
  .mf-dock-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px 4px 12px 4px;
    background: var(--mf-terracotta);
    color: var(--mf-ivory);
    text-decoration: none;
    font-size: 0.74rem;
    font-weight: 700;
  }
}

/* ==========================================================================
   13. REDUCED MOTION, REDUCED TRANSPARENCY & WORDPRESS PLUGIN ISOLATION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .mf-sketch-img,
  .mf-sketch-title,
  .mf-sk-arrow,
  .mf-sk-dot,
  .mf-sk-lbl {
    opacity: 1 !important;
    transform: none !important;
    stroke-dashoffset: 0 !important;
  }
  .mf-carta-spread,
  .mf-carta-page-left,
  .mf-carta-page-right,
  .mf-carta-subtabs .mf-subtab.is-active::after {
    animation: none !important;
    transform: none !important;
  }
  .mf-curtain {
    display: none !important;
  }
  .mf-act-tab.is-active::after {
    animation: none !important;
    transform: scaleX(1);
    opacity: 0.85;
  }
  .mf-act-panel.is-active .mf-act-collage .mf-photo-frame,
  .mf-act-panel.is-active .mf-act-collage .mf-photo-frame img,
  .mf-act-panel.is-active .mf-act-copy > *,
  .mf-hero-slide img,
  .mf-section-watermark,
  .mf-footer-watermark,
  [data-reveal="aperture"],
  [data-reveal="aperture"] > img,
  [data-reveal="aperture"] > video,
  .mf-word,
  .mf-editorial-head::after,
  .mf-reveal {
    animation: none !important;
    clip-path: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .mf-header.is-scrolled {
    background: var(--mf-linen);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .mf-thumb-dock,
  .mf-drawer {
    background: var(--mf-forest-abyss);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Protección contra cabeceras/pies residuales de Elementor o plugins antiguos */
body.masfolch-editorial-2027 .ehf-header,
body.masfolch-editorial-2027 .ehf-footer,
body.masfolch-editorial-2027 .elementor-location-header,
body.masfolch-editorial-2027 .elementor-location-footer,
body.masfolch-editorial-2027 footer.elementor {
  display: none !important;
}
