/* Veltric CRO layer: modales de captura, popup por tipo de espacio, exit intent,
   flotante/sticky en landings y sección de cotización. Prefijo vcro- para no
   colisionar con los estilos del home ni de veltric-lp.css. */
:root {
  --vcro-black: #060a0b;
  --vcro-dark: #0b1517;
  --vcro-accent: #4a9aad;
  --vcro-cream: #F6F7F2;
  --vcro-sub: #8fa8ae;
  --vcro-muted: #4a6b72;
  --vcro-border: rgba(255,255,255,0.09);
}

body.vcro-lock { overflow: hidden; }

/* ── Modal base ── */
.vcro-backdrop {
  position: fixed; inset: 0; z-index: 1400;
  background: rgba(4,8,9,.78);
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
  display: flex; align-items: center; justify-content: center;
  padding: 22px;
  opacity: 0; transition: opacity .28s ease;
}
.vcro-backdrop.vcro-in { opacity: 1; }
.vcro-modal {
  position: relative;
  width: 100%; max-width: 620px; max-height: 90vh; overflow-y: auto;
  background: var(--vcro-dark);
  border: 1px solid rgba(74,154,173,.28);
  border-radius: 4px;
  padding: 44px 42px 38px;
  font-family: 'Outfit', sans-serif;
  color: var(--vcro-cream);
  transform: translateY(14px); transition: transform .28s ease;
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
}
.vcro-backdrop.vcro-in .vcro-modal { transform: translateY(0); }
.vcro-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.06); color: var(--vcro-sub);
  font-size: 17px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.vcro-close:hover { background: rgba(255,255,255,.12); color: var(--vcro-cream); }

.vcro-eyebrow {
  font-size: 10.5px; font-weight: 700; letter-spacing: 2.6px;
  text-transform: uppercase; color: var(--vcro-accent); margin: 0 0 12px;
}
.vcro-title {
  font-size: clamp(22px, 3.4vw, 28px); font-weight: 300; line-height: 1.2;
  margin: 0 0 10px; color: var(--vcro-cream); letter-spacing: -.02em;
}
.vcro-title em { font-style: italic; color: var(--vcro-accent); }
.vcro-sub { font-size: 14.5px; line-height: 1.65; color: var(--vcro-sub); margin: 0 0 24px; }

/* ── Grid de tipos de espacio ── */
.vcro-types {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 16px;
}
.vcro-type {
  border: 1px solid var(--vcro-border); border-radius: 3px;
  background: rgba(255,255,255,.02); padding: 0; cursor: pointer;
  overflow: hidden; text-align: center; font-family: inherit;
  transition: border-color .2s, transform .2s;
}
.vcro-type:hover { border-color: var(--vcro-accent); transform: translateY(-2px); }
.vcro-type img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
  filter: saturate(.85); opacity: .92;
}
.vcro-type span {
  display: block; padding: 10px 6px; font-size: 12px; font-weight: 600;
  letter-spacing: .4px; color: var(--vcro-cream);
}
.vcro-other {
  background: none; border: 0; color: var(--vcro-muted); font-family: inherit;
  font-size: 12.5px; cursor: pointer; text-decoration: underline;
  text-underline-offset: 3px; padding: 4px; display: inline-block;
}
.vcro-other:hover { color: var(--vcro-sub); }

/* ── Inputs y botones ── */
.vcro-field {
  width: 100%; box-sizing: border-box;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.16); border-radius: 3px;
  padding: 15px 16px; font-family: inherit; font-size: 15px;
  color: var(--vcro-cream); outline: none; transition: border-color .2s;
}
.vcro-field::placeholder { color: var(--vcro-muted); }
.vcro-field:focus { border-color: var(--vcro-accent); }
.vcro-field.vcro-bad { border-color: #e8836f; }
.vcro-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--vcro-cream); color: var(--vcro-black);
  border: 0; border-radius: 2px; cursor: pointer;
  padding: 16px 34px; font-family: inherit;
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; transition: all .25s; white-space: nowrap;
}
.vcro-btn:hover { background: #fff; transform: translateY(-2px); }
.vcro-btn[disabled] { opacity: .55; cursor: wait; transform: none; }
.vcro-btn-block { width: 100%; }
.vcro-row { display: flex; gap: 10px; margin: 0 0 12px; }
.vcro-row .vcro-field { flex: 1; }
.vcro-note { font-size: 11.5px; color: var(--vcro-muted); margin: 14px 0 0; line-height: 1.5; }
.vcro-ghost {
  display: inline-block; margin-top: 14px; background: none; border: 0; cursor: pointer;
  color: var(--vcro-sub); font-family: inherit; font-size: 12.5px;
  text-decoration: underline; text-underline-offset: 3px;
}
.vcro-ghost:hover { color: var(--vcro-cream); }

/* ── Bullets de confianza (exit intent) ── */
.vcro-bullets { list-style: none; margin: 0 0 22px; padding: 0; }
.vcro-bullets li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13.5px; color: var(--vcro-sub); line-height: 1.55; margin-bottom: 9px;
}
.vcro-bullets svg { flex: 0 0 16px; margin-top: 2px; color: var(--vcro-accent); }

/* ── Éxito ── */
.vcro-success { text-align: center; padding: 8px 0 4px; }
.vcro-success .vcro-check {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 18px;
  border: 1px solid rgba(74,154,173,.5); color: var(--vcro-accent);
  display: flex; align-items: center; justify-content: center;
}
.vcro-wa-btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(37,211,102,.12); border: 1px solid rgba(37,211,102,.4);
  color: #56d987; border-radius: 2px; padding: 13px 26px; margin-top: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  text-decoration: none; transition: background .2s;
}
.vcro-wa-btn:hover { background: rgba(37,211,102,.2); }

/* ── Flotante + sticky (solo landings, el home trae los suyos) ── */
.vcro-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(37,211,102,.28); text-decoration: none; transition: transform .2s, opacity .3s;
}
.vcro-float:hover { transform: scale(1.1); }
.vcro-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 995;
  display: flex; gap: 16px; align-items: center; justify-content: center;
  padding: 12px 20px; background: rgba(6,10,11,.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(74,154,173,.3);
  transform: translateY(120%); transition: transform .35s cubic-bezier(.4,0,.2,1);
  font-family: 'Outfit', sans-serif;
}
.vcro-sticky.vcro-show { transform: translateY(0); }
.vcro-sticky .vcro-sc-pay {
  background: var(--vcro-accent); color: #04181d; font-weight: 700; font-size: 14px;
  padding: 13px 30px; border-radius: 999px; white-space: nowrap;
  text-decoration: none; transition: filter .2s;
}
.vcro-sticky .vcro-sc-pay:hover { filter: brightness(1.1); }
.vcro-sticky .vcro-sc-wa {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: #25D366; flex: 0 0 auto;
}
body.vcro-sticky-on .vcro-float { opacity: 0; pointer-events: none; }
@media (max-width: 560px) {
  .vcro-sticky { gap: 10px; padding: 10px 14px; }
  .vcro-sticky .vcro-sc-pay { flex: 1; text-align: center; padding: 13px 16px; }
}

/* ── Sección cotización ── */
.vcro-quote {
  background: var(--vcro-dark);
  border-top: 1px solid var(--vcro-border);
  padding: 96px 24px;
  font-family: 'Outfit', sans-serif;
}
.vcro-quote-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.vcro-quote .vcro-title { font-size: clamp(26px, 4vw, 38px); margin-bottom: 12px; }
.vcro-quote .vcro-sub { max-width: 520px; margin: 0 auto 30px; }
.vcro-chips { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin: 0 0 20px; }
.vcro-chip {
  border: 1px solid rgba(255,255,255,.18); border-radius: 999px;
  background: rgba(255,255,255,.03); color: var(--vcro-sub);
  padding: 10px 20px; font-family: inherit; font-size: 12.5px; font-weight: 600;
  letter-spacing: .4px; cursor: pointer; transition: all .2s;
}
.vcro-chip:hover { border-color: var(--vcro-accent); color: var(--vcro-cream); }
.vcro-chip.vcro-on {
  background: var(--vcro-accent); border-color: var(--vcro-accent); color: #04181d;
}
.vcro-quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.vcro-quote form .vcro-field { margin-bottom: 0; text-align: left; }
.vcro-quote .vcro-single { margin: 0 0 18px; }
.vcro-quote-form .vcro-btn { margin-top: 6px; }

/* ── Hint muestras (popup 1) ── */
.vcro-hint {
  display: flex; gap: 9px; align-items: flex-start; margin: -8px 0 18px;
  padding: 11px 13px; border: 1px solid rgba(74,154,173,.25); border-radius: 3px;
  background: rgba(74,154,173,.07); font-size: 12.5px; line-height: 1.5; color: var(--vcro-sub);
}
.vcro-hint svg { flex: 0 0 16px; margin-top: 2px; color: var(--vcro-accent); }

/* ── Popup 2 (aromas): cards con imagen + franja de muestras ── */
a.vcro-type { text-decoration: none; display: block; }
.vcro-strip {
  display: flex; gap: 12px; align-items: center; margin: 4px 0 0;
  padding: 10px 12px; border: 1px solid rgba(74,154,173,.3); border-radius: 3px;
  background: rgba(74,154,173,.08); font-size: 13px; line-height: 1.4; color: var(--vcro-cream);
}
.vcro-strip img { width: 64px; height: 48px; object-fit: cover; border-radius: 2px; flex: 0 0 64px; }
.vcro-strip strong { color: var(--vcro-accent); font-weight: 700; }
.vcro-strip span { color: var(--vcro-sub); font-size: 12px; }
.vcro-aroma-form + .vcro-strip { margin-top: 18px; }

@media (max-width: 640px) {
  .vcro-modal { padding: 34px 22px 28px; max-height: 86vh; }
  .vcro-types { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .vcro-quote { padding: 70px 18px; }
  .vcro-quote-grid { grid-template-columns: 1fr; }
  .vcro-row { flex-direction: column; }
}
