/* ===========================================================
   VILLAVERDE · Plataforma de Informes — Sistema visual
   Paleta y tipografía derivadas del brochure oficial
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Mulish:wght@300;400;500;600;700;800&display=swap');

:root {
  /* — Marca — */
  --vv-crimson:      #A4154B;   /* vino/carmín principal */
  --vv-crimson-deep: #7C0E37;
  --vv-crimson-soft: #C8316A;
  --vv-gold:         #B8923F;   /* dorado Diamante */
  --vv-gold-soft:    #D8B968;
  --vv-emerald:      #1C7C4F;   /* esmeralda */
  --vv-emerald-deep: #115434;
  --vv-pink:         #EC1E8C;   /* rosa logo */
  --vv-green:        #00C26E;   /* verde logo */
  --vv-ink:          #1E1614;   /* negro cálido serif */

  /* — Neutros papel — */
  --vv-paper:        #FBF3EF;   /* fondo blush principal */
  --vv-paper-2:      #F4E7E0;   /* secciones alternas */
  --vv-cream:        #FFFBF8;   /* tarjetas */
  --vv-line:         #E7D3CA;   /* bordes suaves */
  --vv-line-strong:  #D6B8AC;
  --vv-muted:        #8A6F66;   /* texto secundario */
  --vv-muted-2:      #B49A90;

  /* — Tipografía — */
  --vv-display: 'Cormorant Garamond', Georgia, serif;
  --vv-body:    'Mulish', system-ui, sans-serif;

  /* — Sombras — */
  --vv-shadow-sm: 0 1px 3px rgba(124,14,55,.06), 0 4px 14px rgba(30,22,20,.05);
  --vv-shadow-md: 0 8px 30px rgba(124,14,55,.10), 0 2px 8px rgba(30,22,20,.06);
  --vv-shadow-lg: 0 24px 60px rgba(124,14,55,.16), 0 8px 24px rgba(30,22,20,.08);

  --vv-radius:   18px;
  --vv-radius-lg: 28px;

  /* — Layout — */
  --rail-w: 268px;
  --dock-h: 56px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--vv-ink);
  font-family: var(--vv-body);
  color: var(--vv-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#root { height: 100%; }

button { font-family: inherit; cursor: pointer; }

::selection { background: var(--vv-crimson); color: #fff; }

/* — Scrollbar — */
.vv-scroll::-webkit-scrollbar { width: 10px; height: 10px; }
.vv-scroll::-webkit-scrollbar-track { background: transparent; }
.vv-scroll::-webkit-scrollbar-thumb {
  background: var(--vv-line-strong);
  border-radius: 20px;
  border: 3px solid transparent;
  background-clip: padding-box;
}
.vv-scroll::-webkit-scrollbar-thumb:hover { background: var(--vv-muted-2); background-clip: padding-box; }

/* ===========================================================
   APP SHELL
   =========================================================== */
.vv-app {
  height: 100%;
  display: grid;
  grid-template-columns: var(--rail-w) 1fr;
  background: var(--vv-paper);
  position: relative;
  overflow: hidden;
}

/* — Rail lateral (navegación cronológica) — */
.vv-rail {
  background:
    radial-gradient(120% 60% at 0% 0%, rgba(164,21,75,.16), transparent 60%),
    linear-gradient(180deg, #2A1018, #1A0A10 70%);
  color: #F6E7DE;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255,255,255,.06);
  position: relative;
  z-index: 5;
}
.vv-rail__brand {
  padding: 26px 22px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.vv-rail__brand img { width: 52px; height: 52px; object-fit: contain; }
.vv-rail__brand h1 {
  font-family: var(--vv-display);
  font-weight: 700;
  font-size: 26px;
  margin: 0;
  line-height: .95;
  letter-spacing: .3px;
}
.vv-rail__brand span {
  display: block;
  font-family: var(--vv-body);
  font-size: 9.5px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--vv-gold-soft);
  margin-top: 3px;
}

.vv-steps {
  flex: 1;
  overflow-y: auto;
  padding: 14px 12px 20px;
  list-style: none;
  margin: 0;
}
.vv-steps__label {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--vv-muted-2);
  padding: 10px 12px 8px;
}
.vv-step {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 12px;
  border-radius: 13px;
  color: #E9D4CB;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .18s, border-color .18s, color .18s;
  position: relative;
}
.vv-step:hover { background: rgba(255,255,255,.05); }
.vv-step.is-active {
  background: linear-gradient(100deg, rgba(164,21,75,.5), rgba(164,21,75,.18));
  border-color: rgba(216,185,104,.4);
  color: #fff;
}
.vv-step__num {
  width: 28px; height: 28px;
  flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--vv-display);
  font-weight: 700;
  font-size: 15px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}
.vv-step.is-active .vv-step__num {
  background: var(--vv-gold);
  border-color: var(--vv-gold-soft);
  color: #2A1018;
}
.vv-step.is-done .vv-step__num {
  background: var(--vv-emerald);
  border-color: transparent;
  color: #fff;
}
.vv-step__txt { display: flex; flex-direction: column; line-height: 1.1; }
.vv-step__txt b { font-weight: 700; font-size: 14px; letter-spacing: .2px; }
.vv-step__txt small { font-size: 11px; color: var(--vv-muted-2); margin-top: 2px; }
.vv-step.is-active .vv-step__txt small { color: var(--vv-gold-soft); }

/* — Main — */
.vv-main {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.vv-stage {
  flex: 1;
  overflow-y: auto;
  position: relative;
  scroll-behavior: smooth;
}
.vv-topbar {
  height: 60px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  background: rgba(251,243,239,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--vv-line);
  z-index: 4;
}
.vv-topbar__crumb {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--vv-muted);
  display: flex; align-items: center; gap: 10px;
}
.vv-topbar__crumb b { color: var(--vv-crimson); font-weight: 700; }
.vv-navbtns { display: flex; gap: 10px; }
.vv-navbtn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--vv-line-strong);
  background: var(--vv-cream);
  color: var(--vv-ink);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
  transition: all .16s;
}
.vv-navbtn:hover { border-color: var(--vv-crimson); color: var(--vv-crimson); }
.vv-navbtn--primary {
  background: var(--vv-crimson); color: #fff; border-color: var(--vv-crimson);
}
.vv-navbtn--primary:hover { background: var(--vv-crimson-deep); color: #fff; }
.vv-navbtn:disabled { opacity: .4; cursor: not-allowed; }

/* ===========================================================
   SECCIÓN base
   =========================================================== */
.vv-section { padding: 46px 56px 120px; max-width: 1180px; margin: 0 auto; }

.vv-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11.5px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--vv-crimson); font-weight: 800; margin: 0 0 14px;
}
.vv-eyebrow::before { content: ''; width: 26px; height: 1.5px; background: var(--vv-gold); }
.vv-h1 {
  font-family: var(--vv-display);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.07;
  margin: 0 0 18px;
  letter-spacing: .3px;
  color: var(--vv-ink);
}
.vv-h1 em { font-style: italic; color: var(--vv-crimson); }
.vv-lead {
  font-size: 18px; line-height: 1.6; color: var(--vv-muted);
  max-width: 620px; margin: 0 0 30px; font-weight: 400;
}

.vv-card {
  background: var(--vv-cream);
  border: 1px solid var(--vv-line);
  border-radius: var(--vv-radius);
  box-shadow: var(--vv-shadow-sm);
}

/* — flourish divider — */
.vv-flourish { display:flex; align-items:center; justify-content:center; gap:14px; color: var(--vv-gold); margin: 8px 0; }
.vv-flourish::before, .vv-flourish::after { content:''; height:1px; width:60px; background: linear-gradient(90deg, transparent, var(--vv-gold-soft)); }
.vv-flourish::after { background: linear-gradient(90deg, var(--vv-gold-soft), transparent); }

/* ===========================================================
   GUIÓN DEL ASESOR (dock privado)
   =========================================================== */
.vv-dock {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 20;
  background: linear-gradient(180deg, #241017, #170A0F);
  color: #F2E2D9;
  border-top: 2px solid var(--vv-gold);
  box-shadow: 0 -14px 40px rgba(0,0,0,.3);
  transform: translateY(calc(100% - var(--dock-h)));
  transition: transform .34s cubic-bezier(.4,.1,.2,1);
}
.vv-dock.is-open { transform: translateY(0); }
.vv-dock__handle {
  height: var(--dock-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  cursor: pointer;
  user-select: none;
}
.vv-dock__handle-l { display: flex; align-items: center; gap: 13px; }
.vv-dock__tag {
  font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
  background: var(--vv-gold); color: #241017; font-weight: 800;
  padding: 4px 10px; border-radius: 6px;
}
.vv-dock__title { font-family: var(--vv-display); font-size: 20px; font-weight: 600; }
.vv-dock__title b { color: var(--vv-gold-soft); }
.vv-dock__chev { transition: transform .3s; color: var(--vv-gold-soft); }
.vv-dock.is-open .vv-dock__chev { transform: rotate(180deg); }
.vv-dock__body {
  max-height: 42vh;
  overflow-y: auto;
  padding: 4px 28px 28px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
}
.vv-dock__col h4 {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--vv-gold-soft); margin: 14px 0 10px;
  display: flex; align-items: center; gap: 8px;
}
.vv-dock__script { font-size: 15.5px; line-height: 1.65; color: #F6E9E1; }
.vv-dock__script .say {
  border-left: 3px solid var(--vv-gold);
  padding: 6px 0 6px 16px; margin: 0 0 12px;
  font-style: italic; font-family: var(--vv-display); font-size: 19px;
  color: #fff;
}
.vv-dock__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.vv-dock__list li { display: flex; gap: 10px; font-size: 14px; line-height: 1.45; color: #E7D2C8; }
.vv-dock__list li svg { flex: none; margin-top: 2px; color: var(--vv-green); }
.vv-dock__obj { display: grid; gap: 10px; }
.vv-dock__obj .q { font-weight: 800; font-size: 13.5px; color: #fff; }
.vv-dock__obj .a { font-size: 13.5px; color: #D9C2B8; line-height: 1.45; }
.vv-dock__obj > div { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 12px; padding: 12px 14px; }

/* Botón flotante mini para abrir guión si está cerrado, contextual */
.vv-dock__pulse {
  width: 9px; height: 9px; border-radius: 50%; background: var(--vv-green);
  box-shadow: 0 0 0 0 rgba(0,194,110,.6);
  animation: vvPulse 2s infinite;
}
@keyframes vvPulse { 0%{box-shadow:0 0 0 0 rgba(0,194,110,.5);} 70%{box-shadow:0 0 0 8px rgba(0,194,110,0);} 100%{box-shadow:0 0 0 0 rgba(0,194,110,0);} }

/* ===========================================================
   Botones / chips utilitarios
   =========================================================== */
.vv-btn {
  display: inline-flex; align-items: center; gap: 9px;
  border: none; border-radius: 999px;
  padding: 13px 26px; font-weight: 800; font-size: 14px;
  background: var(--vv-crimson); color: #fff;
  box-shadow: var(--vv-shadow-sm); transition: transform .15s, box-shadow .15s, background .15s;
}
.vv-btn:hover { transform: translateY(-2px); box-shadow: var(--vv-shadow-md); background: var(--vv-crimson-deep); }
.vv-btn--ghost { background: transparent; color: var(--vv-crimson); border: 1.5px solid var(--vv-line-strong); box-shadow: none; }
.vv-btn--ghost:hover { background: var(--vv-cream); border-color: var(--vv-crimson); }
.vv-btn--gold { background: linear-gradient(100deg, var(--vv-gold), #9C7A2E); }
.vv-btn--gold:hover { background: linear-gradient(100deg, #9C7A2E, var(--vv-gold)); }

.vv-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700;
  background: var(--vv-paper-2); color: var(--vv-crimson);
  border: 1px solid var(--vv-line);
}

/* — Selector de salón — */
.vv-salonpick { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.vv-salontab {
  text-align: left; background: var(--vv-cream); border: 1.5px solid var(--vv-line);
  border-radius: var(--vv-radius); padding: 18px 20px; transition: all .16s; box-shadow: var(--vv-shadow-sm);
}
.vv-salontab:hover { border-color: var(--vv-line-strong); transform: translateY(-2px); }
.vv-salontab.is-on { border-color: var(--vv-crimson); box-shadow: 0 0 0 1px var(--vv-crimson), var(--vv-shadow-md); background: linear-gradient(120deg, var(--vv-paper-2), var(--vv-cream)); }
.vv-salontab__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.vv-salontab__cap { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; color: var(--vv-muted); background: var(--vv-paper-2); padding: 4px 10px; border-radius: 999px; }
.vv-salontab.is-on .vv-salontab__cap { color: var(--vv-crimson); }
.vv-salontab__name { font-family: var(--vv-display); font-weight: 700; font-size: 28px; line-height: 1; color: var(--vv-ink); }
.vv-salontab.is-on .vv-salontab__name { color: var(--vv-crimson); }
.vv-salontab__tag { font-size: 13px; color: var(--vv-muted); margin-top: 5px; font-weight: 600; }

/* — Panorámica Gardenia — */
.vv-panowrap {
  position: relative; margin-bottom: 22px;
  border-radius: var(--vv-radius-lg); overflow: hidden;
  border: 1px solid var(--vv-line); box-shadow: var(--vv-shadow-md);
}
.vv-pano { display: block; width: 100%; height: auto; }
.vv-pano__label {
  position: absolute; left: 22px; bottom: 18px; color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.6);
  background: linear-gradient(120deg, rgba(26,10,16,.55), rgba(26,10,16,.15));
  backdrop-filter: blur(2px); padding: 10px 18px; border-radius: 14px;
}

/* — Lightbox (ampliar fotos) — */
.vv-zoomable { cursor: zoom-in; }
image-slot { cursor: zoom-in; }

/* — Foto reemplazable (PhotoSlot) — */
.vv-photo { position: relative; }
.vv-photo__tools {
  position: absolute; top: 10px; right: 10px; z-index: 5;
  display: flex; gap: 7px; opacity: 0; transform: translateY(-4px);
  transition: opacity .16s, transform .16s; pointer-events: none;
}
.vv-photo:hover .vv-photo__tools { opacity: 1; transform: none; pointer-events: auto; }
.vv-photo__tools button {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(26,10,16,.82); color: #fff; border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px); border-radius: 999px;
  padding: 6px 12px; font-size: 12px; font-weight: 700; letter-spacing: .2px;
  transition: background .14s;
}
.vv-photo__tools button:hover { background: var(--vv-crimson); border-color: var(--vv-crimson); }
.vv-photo__tools .vv-photo__rm:hover { background: #b00; border-color: #b00; }
.vv-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(18,8,12,.92);
  display: flex; align-items: center; justify-content: center;
  padding: 40px; cursor: zoom-out;
}
.vv-lightbox__img {
  max-width: 95vw; max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  object-fit: contain;
  transform-origin: center center;
  transition: transform .12s ease-out;
  touch-action: none; user-select: none;
}
.vv-lightbox__close {
  position: fixed; top: 22px; right: 26px;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25);
  display: grid; place-items: center; backdrop-filter: blur(6px);
  transition: background .15s;
}
.vv-lightbox__close:hover { background: rgba(255,255,255,.24); }
.vv-lightbox__bar {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px); border-radius: 999px; padding: 7px 10px 7px 14px;
  color: #fff;
}
.vv-lightbox__bar span { font-size: 13px; font-weight: 700; min-width: 44px; text-align: center; letter-spacing: .5px; }
.vv-lightbox__bar button {
  width: 32px; height: 32px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.16); color: #fff; font-size: 18px; font-weight: 600;
  display: grid; place-items: center; transition: background .14s;
}
.vv-lightbox__bar button:last-child { width: auto; padding: 0 16px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.vv-lightbox__bar button:hover { background: rgba(255,255,255,.32); }
.vv-lightbox__bar-sep { width: 1px; height: 22px; background: rgba(255,255,255,.25); min-width: 1px; }

/* — Visualizador 360° — */
.vv-360 { overflow: hidden; }
.vv-360 canvas { display: block; }
.vv-360__hint {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px;
  background: rgba(26,10,16,.62); color: #F2E2D9; backdrop-filter: blur(4px);
  padding: 7px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase; pointer-events: none;
  transition: opacity .25s; z-index: 2;
}

/* — Botón play video — */
.vv-play {
  width: 76px; height: 76px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: none;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  transition: transform .18s, background .18s;
}
.vv-play:hover { transform: scale(1.08); background: #fff; }

/* ===========================================================
   TABLESCAPE (visualizador de mantelería)
   =========================================================== */
.ts-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16/11;
  background:
    radial-gradient(120% 90% at 50% 0%, #5b4632, #2b2018 60%, #1c1410);
  overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
}
.ts-backdrop { position: absolute; inset: 0; mix-blend-mode: screen; opacity: .8; }
.ts-stage::after { /* piso */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 34%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.45));
}

/* sillas */
.ts-chair { position: absolute; bottom: 38%; transform: translateX(-50%); width: 58px; z-index: 1; }
.ts-chair__back {
  width: 46px; height: 120px; margin: 0 auto;
  border-radius: 24px 24px 6px 6px;
  background: linear-gradient(100deg, #E9Cf8c, #b9923f 60%, #8a6c2a);
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.18);
  position: relative;
}
.ts-chair__back::before, .ts-chair__back::after {
  content: ''; position: absolute; left: 8px; right: 8px; height: 5px; border-radius: 4px;
  background: rgba(120,90,30,.5);
}
.ts-chair__back::before { top: 30px; } .ts-chair__back::after { top: 52px; }
.ts-chair__seat { width: 50px; height: 26px; margin: -6px auto 0; border-radius: 8px; box-shadow: 0 6px 10px rgba(0,0,0,.3); }

/* mesa */
.ts-table { position: relative; z-index: 2; width: 360px; margin-bottom: 6%; }
.ts-skirt {
  position: absolute; left: 50%; transform: translateX(-50%); top: 58px;
  width: 300px; height: 150px;
  border-radius: 50% 50% 14px 14px / 26% 26% 0 0;
  box-shadow: 0 30px 40px rgba(0,0,0,.4);
  overflow: hidden;
}
.ts-pleats {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.10) 0 2px, transparent 2px 22px),
              repeating-linear-gradient(90deg, rgba(0,0,0,.10) 11px, transparent 12px 33px);
  -webkit-mask: linear-gradient(180deg, transparent 0, #000 30%);
          mask: linear-gradient(180deg, transparent 0, #000 30%);
}
.ts-top {
  position: relative;
  width: 360px; height: 120px;
  border-radius: 50%;
  box-shadow: inset 0 -10px 22px rgba(0,0,0,.28), inset 0 8px 18px rgba(255,255,255,.22), 0 6px 14px rgba(0,0,0,.25);
}
.ts-overlay {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%,-50%);
  width: 286px; height: 92px; border-radius: 50%;
  box-shadow: inset 0 0 18px rgba(255,255,255,.25);
  opacity: .92;
}
.ts-plate {
  position: absolute; width: 60px; height: 30px; transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #fffdf8 0 42%, #f1e6d4 55%, #d8b96a 70%, #b8923f 80%, #9a7a2c);
  box-shadow: 0 3px 6px rgba(0,0,0,.3);
  display: grid; place-items: center;
}
.ts-napkin {
  width: 26px; height: 16px;
  border-radius: 4px 10px 4px 10px / 6px 12px 6px 12px;
  box-shadow: 0 2px 3px rgba(0,0,0,.25), inset 0 1px 2px rgba(255,255,255,.5);
  transform: rotate(-6deg);
}
.ts-center {
  position: absolute; left: 50%; bottom: 36%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center;
}
.ts-vase {
  width: 16px; height: 96px;
  background: linear-gradient(90deg, rgba(255,255,255,.15), rgba(255,255,255,.5), rgba(255,255,255,.15));
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 3px 3px 8px 8px;
  order: 2;
}
.ts-bloom { position: relative; width: 80px; height: 56px; order: 1; }
.ts-flower {
  position: absolute; transform: translate(-50%,-50%); border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #fbeef4 60%, #f3d9e6);
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.ts-leaf {
  position: absolute; width: 22px; height: 12px; transform: translate(-50%,-50%) rotate(20deg);
  border-radius: 0 12px 0 12px;
  background: linear-gradient(120deg, #2c9c5f, #137a45);
}

/* ===========================================================
   CORTESÍAS (cards seleccionables)
   =========================================================== */
.vv-cortesia {
  position: relative; text-align: left;
  background: var(--vv-cream);
  border: 1px solid var(--vv-line);
  border-radius: var(--vv-radius);
  padding: 0; overflow: hidden;
  box-shadow: var(--vv-shadow-sm);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.vv-cortesia:hover { transform: translateY(-3px); box-shadow: var(--vv-shadow-md); }
.vv-cortesia.is-fav { border-color: var(--vv-crimson); box-shadow: 0 0 0 1px var(--vv-crimson), var(--vv-shadow-md); }
.vv-cortesia__cover {
  display: block; position: relative; height: 104px;
  background-size: cover; background-position: center;
  background-color: var(--vv-paper-2);
}
.vv-cortesia__cover.is-plain {
  background-image: radial-gradient(120% 130% at 75% 0%, #C9A14A 0%, #9C7A2E 45%, #6E5520 100%);
}
.vv-cortesia__cover-grad {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,10,16,.05) 0%, rgba(26,10,16,.18) 45%, var(--vv-cream) 100%);
}
.vv-cortesia__cover.is-plain .vv-cortesia__cover-grad {
  background: linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.05) 35%, var(--vv-cream) 100%);
}
.vv-cortesia__badge {
  position: absolute; left: 16px; bottom: -2px; z-index: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.45));
}
.vv-cortesia__body { padding: 16px 18px 16px; }
.vv-cortesia__pick {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 30px; height: 30px; border-radius: 999px; display: grid; place-items: center;
  background: rgba(255,255,255,.92); color: var(--vv-muted-2);
  box-shadow: 0 2px 8px rgba(0,0,0,.28); transition: all .15s; cursor: pointer;
}
.vv-cortesia:hover .vv-cortesia__pick { color: var(--vv-crimson); }
.vv-cortesia.is-fav .vv-cortesia__pick {
  background: var(--vv-crimson); color: #fff; transform: scale(1.08);
  box-shadow: 0 3px 10px rgba(177,40,30,.5);
}
.vv-cortesia__choose {
  margin-top: 14px; width: 100%; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 12px; border-radius: 10px; font-size: 13px; font-weight: 800;
  border: 1.5px solid var(--vv-line-strong); background: var(--vv-paper);
  color: var(--vv-ink); transition: all .15s;
}
.vv-cortesia__choose:hover { border-color: var(--vv-crimson); color: var(--vv-crimson); }
.vv-cortesia__choose.is-on {
  background: var(--vv-crimson); border-color: var(--vv-crimson); color: #fff;
  box-shadow: 0 4px 12px -4px rgba(177,40,30,.55);
}

/* ===========================================================
   PAQUETES
   =========================================================== */
.vv-pkg {
  position: relative;
  background: var(--vv-cream);
  border: 1px solid var(--vv-line);
  border-radius: var(--vv-radius-lg);
  padding: 28px 26px 26px;
  box-shadow: var(--vv-shadow-sm);
}
.vv-pkg.is-popular {
  border-color: var(--vv-gold);
  box-shadow: 0 0 0 1px var(--vv-gold), var(--vv-shadow-lg);
  transform: translateY(-8px);
}
.vv-pkg__ribbon {
  position: absolute; top: 0; right: 24px; transform: translateY(-50%);
  background: linear-gradient(100deg, var(--vv-gold), #9C7A2E); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; box-shadow: var(--vv-shadow-sm);
}
.vv-pkg__head { display: flex; align-items: center; gap: 13px; }
.vv-pkg__mark { flex: none; }
.vv-pkg__name { font-family: var(--vv-display); font-weight: 700; font-size: 36px; line-height: .9; }
.vv-pkg__hours { font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--vv-muted); margin-top: 4px; }
.vv-pkg__tag { font-family: var(--vv-display); font-style: italic; font-size: 17px; color: var(--vv-muted); margin: 14px 0 18px; }
.vv-pkg__price { display: flex; align-items: baseline; gap: 8px; }
.vv-pkg__from { font-size: 18px; color: var(--vv-muted-2); text-decoration: line-through; }
.vv-pkg__big { font-family: var(--vv-display); font-weight: 700; font-size: 50px; line-height: 1; }
.vv-pkg__pp { font-size: 13px; color: var(--vv-muted); font-weight: 700; }
.vv-pkg__note { font-size: 12px; color: var(--vv-muted-2); margin-top: 4px; }
.vv-pkg__inherit { margin: 18px 0 10px; font-size: 13.5px; font-weight: 800; color: var(--vv-ink); }
.vv-pkg__list { list-style: none; padding: 16px 0 0; margin: 0; display: grid; gap: 9px; border-top: 1px solid var(--vv-line); }
.vv-pkg:not(.vv-pkg--crimson) .vv-pkg__list { border-top: none; padding-top: 0; }
.vv-pkg__list li { display: flex; gap: 9px; font-size: 13.5px; line-height: 1.35; color: var(--vv-ink); }
.vv-pkg__list li span { flex: none; margin-top: 1px; }
.vv-pkg__cort {
  margin-top: 16px; padding: 9px 14px; border-radius: 10px;
  background: var(--vv-paper-2); color: var(--vv-crimson);
  font-size: 13px; font-weight: 800; text-align: center;
}

/* ===========================================================
   COTIZADOR
   =========================================================== */
.vv-qpick {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 14px 16px; border-radius: 14px; text-align: left;
  background: var(--vv-cream); border: 1.5px solid var(--vv-line);
  transition: all .15s;
}
.vv-qpick:hover { border-color: var(--vv-line-strong); }
.vv-qpick b { font-size: 16px; }
.vv-qpick small { font-size: 11px; color: var(--vv-muted); }

/* — Paquetes: pestañas + hoja por paquete — */
.vv-pkgtab {
  position: relative; text-align: left; cursor: pointer;
  border: 1.5px solid var(--vv-line); background: var(--vv-paper-2);
  border-radius: 14px; padding: 14px 16px; transition: all .15s;
}
.vv-pkgtab:hover { border-color: var(--vv-line-strong); transform: translateY(-2px); }
.vv-pkgtab.is-on { background: var(--vv-cream); transform: translateY(-2px); }
.vv-pkgtab__ribbon {
  position: absolute; top: -9px; right: 12px;
  background: linear-gradient(100deg, var(--vv-gold), #9C7A2E); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; box-shadow: var(--vv-shadow-sm);
}
.vv-pkgsheet { animation: none; }
@media (prefers-reduced-motion: no-preference) {
  .vv-pkgsheet { animation: vvSecIn .32s cubic-bezier(.2,.7,.3,1) both; }
}
.vv-pkgsheet__ribbon {
  display: inline-block;
  background: linear-gradient(100deg, var(--vv-gold), #9C7A2E); color: #fff;
  font-size: 10.5px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px;
}
.vv-pkgitem {
  display: flex; align-items: center; gap: 11px; cursor: pointer; width: 100%;
  text-align: left; background: var(--vv-paper); border: 1.5px solid var(--vv-line);
  border-radius: 12px; padding: 12px 14px; transition: all .14s;
}
.vv-pkgitem:hover { border-color: var(--vv-line-strong); transform: translateY(-1px); box-shadow: var(--vv-shadow-sm); background: var(--vv-cream); }
.vv-pkgitem__chev { color: var(--vv-muted-2); flex: none; transition: transform .14s; }
.vv-pkgitem:hover .vv-pkgitem__chev { transform: translateX(3px); }
.vv-pkgitem__cam {
  flex: none; display: inline-flex; align-items: center; gap: 3px;
  font-size: 10px; font-weight: 800; color: var(--vv-crimson);
  background: var(--vv-paper-2); padding: 3px 8px; border-radius: 999px;
}

/* — Modal de detalle de elemento — */
.vv-imodal {
  position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center;
  background: rgba(40,18,12,.55); backdrop-filter: blur(4px); padding: 24px;
  animation: vvImFade .2s ease;
}
@keyframes vvImFade { from { opacity: 0; } to { opacity: 1; } }
.vv-imodal__card {
  background: var(--vv-cream); border-radius: 20px; max-width: 640px; width: 100%;
  box-shadow: 0 30px 80px -28px rgba(0,0,0,.5); overflow: hidden;
  animation: vvImPop .22s cubic-bezier(.2,.8,.3,1) both;
}
@keyframes vvImPop { from { opacity:0; transform: scale(.94) translateY(10px); } to { opacity:1; transform: none; } }

/* — Teléfono con invitación digital desplazable — */
.vv-phone {
  width: 290px; height: 576px; flex: none; position: relative;
  background: linear-gradient(160deg,#2a1d15,#140d09); border-radius: 42px; padding: 11px;
  box-shadow: 0 26px 60px -18px rgba(60,30,15,.6), inset 0 0 0 2px #4a372a, inset 0 0 0 5px #1a120c;
}
.vv-phone__notch {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 26px; background: #140d09; border-radius: 0 0 16px 16px; z-index: 3;
}
.vv-phone__screen {
  width: 100%; height: 100%; border-radius: 32px; overflow-y: auto; overflow-x: hidden;
  background: #FBEBE4; -webkit-overflow-scrolling: touch;
}
.vv-invi-btn {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  background: linear-gradient(100deg,#C9A05C,#A9743F); color: #fff;
  border: none; border-radius: 999px; padding: 11px 20px;
  font-size: 12.5px; font-weight: 700; box-shadow: 0 6px 16px -6px rgba(150,90,40,.6);
}

/* — Tabla comparativa de paquetes — */
.vv-compara { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.vv-compara th, .vv-compara td {
  padding: 11px 10px; text-align: center; border-bottom: 1px solid var(--vv-line);
}
.vv-compara tbody tr:last-child td { border-bottom: none; }
.vv-compara__feat {
  text-align: left !important; font-weight: 700; color: var(--vv-ink);
  width: 34%; padding-left: 18px !important;
}
.vv-compara thead th { background: var(--vv-paper-2); padding-top: 14px; padding-bottom: 14px; }
.vv-compara__head { cursor: pointer; position: relative; transition: background .14s; }
.vv-compara__head:hover { background: var(--vv-cream); }
.vv-compara__head.is-on { background: var(--vv-cream); }
.vv-compara__pop {
  display: block; margin-top: 4px; font-size: 9px; font-weight: 800; letter-spacing: .4px;
  text-transform: uppercase; color: #9C7A2E;
}
.vv-compara tbody td.is-on { background: rgba(244,231,224,.5); }
.vv-compara tbody tr:nth-child(even) td:not(.is-on) { background: rgba(247,239,235,.4); }

.vv-range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px;
  background: linear-gradient(90deg, var(--vv-crimson), var(--vv-crimson-soft)); outline: none; }
.vv-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: #fff; border: 4px solid var(--vv-crimson); box-shadow: var(--vv-shadow-sm); cursor: pointer;
}
.vv-range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid var(--vv-crimson); cursor: pointer; }

/* — Campos de texto del cotizador — */
.vv-field { display: flex; flex-direction: column; gap: 7px; }
.vv-field span {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  font-weight: 800; color: var(--vv-muted);
}
.vv-field input {
  font-family: var(--vv-body); font-size: 15px; font-weight: 600; color: var(--vv-ink);
  background: var(--vv-paper); border: 1.5px solid var(--vv-line);
  border-radius: 12px; padding: 11px 14px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.vv-field input:focus { border-color: var(--vv-crimson); box-shadow: 0 0 0 3px rgba(164,21,75,.12); }
.vv-field input::placeholder { color: var(--vv-muted-2); font-weight: 500; }

/* — Entrada de sección — */
@media (prefers-reduced-motion: no-preference) {
  .vv-stage > div { animation: vvSecIn .45s cubic-bezier(.2,.7,.3,1) both; }
}
@keyframes vvSecIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* ===========================================================
   CALENDARIO
   =========================================================== */
.vv-day {
  aspect-ratio: 1/1; border-radius: 10px; border: 1px solid var(--vv-line);
  background: var(--vv-cream); font-size: 14px; font-weight: 700; color: var(--vv-ink);
  font-family: var(--vv-body); transition: all .14s; position: relative;
}
.vv-day--week { color: var(--vv-muted-2); background: transparent; border-color: transparent; font-weight: 500; }
.vv-day--week:hover { background: var(--vv-paper-2); }
.vv-day--open { border-color: var(--vv-emerald); color: var(--vv-emerald); }
.vv-day--open:hover { background: var(--vv-emerald); color: #fff; }
.vv-day--few { border-color: var(--vv-gold); color: #9A7B16; background: #fbf4e2; }
.vv-day--few:hover { background: var(--vv-gold); color: #fff; }
.vv-day--taken { background: repeating-linear-gradient(45deg, #efe6e1, #efe6e1 4px, #e7dad3 4px, #e7dad3 8px); color: var(--vv-muted-2); cursor: not-allowed; border-color: transparent; }
.vv-day.is-picked { background: var(--vv-crimson) !important; color: #fff !important; border-color: var(--vv-crimson) !important; box-shadow: 0 0 0 3px rgba(164,21,75,.2); transform: scale(1.05); }

/* ===========================================================
   COTIZACIÓN IMPRIMIBLE (.vv-ps) — solo visible al imprimir
   =========================================================== */
.vv-ps { display: none; }

@media print {
  @page { size: letter; margin: 13mm 14mm; }

  html, body { background: #fff !important; height: auto !important; }
  .vv-app, .twk-panel { display: none !important; }

  .vv-ps {
    display: block;
    font-family: var(--vv-body);
    color: var(--vv-ink);
    font-size: 12.5px;
    line-height: 1.45;
  }

  .vv-ps__head {
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 2.5px solid var(--vv-crimson);
    padding-bottom: 14px; margin-bottom: 16px;
  }
  .vv-ps__brand { display: flex; align-items: center; gap: 14px; }
  .vv-ps__brand img { width: 58px; height: 58px; object-fit: contain; }
  .vv-ps__name { font-family: var(--vv-display); font-size: 32px; font-weight: 700; line-height: 1; }
  .vv-ps__sub { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--vv-muted); margin-top: 4px; }
  .vv-ps__doc { text-align: right; }
  .vv-ps__doctitle { font-family: var(--vv-display); font-size: 26px; font-style: italic; color: var(--vv-crimson); font-weight: 600; line-height: 1; }
  .vv-ps__folio { font-size: 11px; color: var(--vv-muted); margin-top: 5px; letter-spacing: .5px; }

  .vv-ps__meta {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr .7fr; gap: 12px;
    background: var(--vv-paper); border: 1px solid var(--vv-line);
    border-radius: 12px; padding: 12px 16px; margin-bottom: 16px;
  }
  .vv-ps__meta span { display: block; font-size: 9.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--vv-muted); font-weight: 800; margin-bottom: 3px; }
  .vv-ps__meta b { font-size: 13.5px; }

  .vv-ps__pkg {
    display: flex; justify-content: space-between; align-items: center;
    border: 1.5px solid var(--vv-gold); border-radius: 14px;
    padding: 16px 20px; margin-bottom: 16px;
  }
  .vv-ps__pkgname { font-family: var(--vv-display); font-size: 28px; font-weight: 700; color: var(--vv-crimson); line-height: 1; }
  .vv-ps__pkgtag { font-size: 11.5px; color: var(--vv-muted); margin-top: 5px; }
  .vv-ps__pkgprice { text-align: right; }
  .vv-ps__pp { font-size: 13px; font-weight: 700; }
  .vv-ps__pp small { font-weight: 500; color: var(--vv-muted); }
  .vv-ps__total { font-family: var(--vv-display); font-size: 36px; font-weight: 700; color: var(--vv-crimson); line-height: 1.05; }
  .vv-ps__totalnote { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--vv-muted); font-weight: 700; }

  .vv-ps__cols { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; }
  .vv-ps h4 {
    font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase;
    color: var(--vv-crimson); margin: 0 0 8px; font-weight: 800;
    border-bottom: 1px solid var(--vv-line); padding-bottom: 5px;
  }
  .vv-ps__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
  .vv-ps__list li { padding-left: 16px; position: relative; }
  .vv-ps__list li::before { content: '✓'; position: absolute; left: 0; color: var(--vv-emerald); font-weight: 800; }
  .vv-ps__list--fav li::before { content: '♥'; color: var(--vv-crimson); }
  .vv-ps__cortnote { font-size: 11px; color: var(--vv-muted); font-style: italic; margin-bottom: 8px; }
  .vv-ps__empty { font-size: 12px; color: var(--vv-muted-2); }

  .vv-ps__mantel { margin-top: 14px; font-weight: 700; }
  .vv-ps__swatch { display: inline-block; width: 13px; height: 13px; border-radius: 4px; vertical-align: -2px; margin-right: 4px; }

  .vv-ps__pay {
    margin-top: 16px; border: 1px dashed var(--vv-line-strong);
    border-radius: 12px; padding: 12px 16px; display: grid; gap: 7px;
  }
  .vv-ps__pay > div { display: flex; justify-content: space-between; }
  .vv-ps__pay span { color: var(--vv-muted); }
  .vv-ps__pay b { color: var(--vv-emerald-deep); }

  .vv-ps__foot {
    display: flex; justify-content: space-between; align-items: flex-end; gap: 30px;
    margin-top: 22px; padding-top: 14px;
    border-top: 1px solid var(--vv-line);
    font-size: 10.5px; color: var(--vv-muted); line-height: 1.6;
  }
  .vv-ps__sign { text-align: center; font-size: 10.5px; color: var(--vv-muted); flex: none; width: 180px; }
  .vv-ps__signline { border-bottom: 1px solid var(--vv-ink); margin-bottom: 5px; height: 26px; }
}
