/**
 * Mecamin Launch — editorial design system
 *
 * Scope:
 *   - body.has-mecamin-launch  (set by the plugin via body_class filter)
 *   - .lz-stage and descendants (rendered by templates/mecamin-launch.php)
 *
 * Section anchors below are jump points for designers. Search the file
 * by anchor name to find the styles for that area of the page.
 */

/* === MECAMIN · Lanzamiento — site-aligned typography ===
   Fonts (loaded site-wide by Bridge theme):
   - Red Rose: display headings
   - Inter:    body, labels, UI
*/

/* Hide the legacy page title bar and clear default content frame */
body.has-mecamin-launch .title_outer { display: none !important; height: 0 !important; }
body.has-mecamin-launch .content { margin-top: 0 !important; }
body.has-mecamin-launch .content .full_width,
body.has-mecamin-launch .content .full_width_inner,
body.has-mecamin-launch .content_inner { padding: 0 !important; margin: 0 !important; }
body.has-mecamin-launch footer { position: relative; z-index: 5; }

/* --- Stage --- */
body.has-mecamin-launch .lz-stage {
  --lz-ink: #0a1a32;
  --lz-ink-2: #142a4a;
  --lz-ink-deep: #06122a;
  --lz-cream: #f4ead7;
  --lz-cream-dim: rgba(244,234,215,0.72);
  --lz-cream-faint: rgba(244,234,215,0.38);
  --lz-rule: rgba(244,234,215,0.14);
  --lz-gold: #d99a2b;
  --lz-gold-warm: #e9b450;
  --lz-gold-soft: rgba(217,154,43,0.14);

  position: relative;
  background: var(--lz-ink) !important;
  color: var(--lz-cream);
  padding: clamp(96px, 11vw, 160px) clamp(20px, 5vw, 88px) clamp(80px, 9vw, 140px) !important;
  margin: 0 !important;
  overflow: hidden;
  font-family: 'Inter', system-ui, sans-serif;
  font-feature-settings: 'ss01' on;
}
body.has-mecamin-launch .lz-stage::before,
body.has-mecamin-launch .lz-stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
body.has-mecamin-launch .lz-stage::before {
  background:
    linear-gradient(180deg, rgba(10,26,50,0.72) 0%, rgba(10,26,50,0.92) 60%, rgba(6,18,42,1) 100%),
    url('https://www.mecamin.pe/wp-content/uploads/2026/02/bg-form.jpg?id=237') center/cover no-repeat;
  z-index: 0;
}
body.has-mecamin-launch .lz-stage::after {
  background:
    radial-gradient(900px 480px at 88% 6%, rgba(217,154,43,0.16), transparent 65%),
    radial-gradient(720px 540px at 6% 96%, rgba(20,42,74,0.55), transparent 60%),
    url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.55;
  z-index: 1;
}
body.has-mecamin-launch .lz-stage > * { position: relative; z-index: 2; }

/* Topographic decoration layer */
body.has-mecamin-launch .lz-topo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.18;
  color: var(--lz-gold-warm);
  pointer-events: none;
  mix-blend-mode: screen;
}

/* Wrap container */
body.has-mecamin-launch .lz-wrap {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
}

/* Kicker pill */
body.has-mecamin-launch .lz-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--lz-gold-warm);
  padding: 9px 18px 9px 16px;
  border: 1px solid rgba(217,154,43,0.42);
  border-radius: 999px;
  background: rgba(217,154,43,0.06);
  margin: 0 0 44px;
}
body.has-mecamin-launch .lz-kicker .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lz-gold);
  box-shadow: 0 0 0 0 rgba(217,154,43,0.55);
  animation: lz-pulse 2.4s ease-in-out infinite;
}
@keyframes lz-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(217,154,43,0.6); }
  50% { box-shadow: 0 0 0 9px rgba(217,154,43,0); }
}

/* Hero title */
body.has-mecamin-launch .lz-title {
  font-family: 'Red Rose', sans-serif;
  font-weight: 400;
  font-size: clamp(46px, 7.4vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.026em;
  color: var(--lz-cream);
  margin: 0 0 32px;
  max-width: 16ch;
}
body.has-mecamin-launch .lz-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--lz-gold-warm);
}
body.has-mecamin-launch .lz-title .lz-title-sub {
  display: block;
  font-size: 0.42em;
  font-style: italic;
  font-weight: 300;
  color: var(--lz-cream-dim);
  margin-top: 18px;
  letter-spacing: -0.01em;
  line-height: 1.15;
  max-width: 26ch;
}

body.has-mecamin-launch .lz-lead {
  font-family: 'Inter', sans-serif;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  font-weight: 400;
  color: var(--lz-cream-dim);
  max-width: 56ch;
  margin: 0 0 76px;
}

/* --- Two-column grid --- */
body.has-mecamin-launch .lz-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  margin-top: 32px;
  align-items: start;
}
@media (min-width: 980px) {
  body.has-mecamin-launch .lz-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(56px, 7vw, 100px);
    margin-top: 60px;
  }
}

/* Header section */
body.has-mecamin-launch .lz-header { max-width: 920px; margin-bottom: 16px; }

/* === Event panel === */
body.has-mecamin-launch .lz-event { position: relative; }
body.has-mecamin-launch .lz-event-label {
  display: flex; align-items: center; gap: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--lz-gold-warm);
  margin: 0 0 30px;
}
body.has-mecamin-launch .lz-event-label::before {
  content: ''; display: block;
  width: 36px; height: 1px;
  background: var(--lz-gold-warm);
}

/* Date hero */
body.has-mecamin-launch .lz-date {
  display: grid;
  grid-template-columns: auto 1px 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--lz-rule);
  border-bottom: 1px solid var(--lz-rule);
  margin-bottom: 44px;
  position: relative;
}
body.has-mecamin-launch .lz-date::before {
  content: 'MMXXVI';
  position: absolute;
  top: -10px; right: 0;
  background: var(--lz-ink);
  padding: 0 14px;
  font-family: 'Red Rose', sans-serif;
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--lz-gold-warm);
  text-transform: uppercase;
}

body.has-mecamin-launch .lz-day {
  font-family: 'Red Rose', sans-serif;
  font-size: clamp(80px, 12vw, 152px);
  line-height: 0.85;
  font-weight: 400;
  letter-spacing: -0.05em;
  color: var(--lz-cream);
  font-feature-settings: 'tnum' on, 'lnum' on;
  display: block;
}
body.has-mecamin-launch .lz-day-month {
  font-family: 'Red Rose', sans-serif;
  font-style: italic;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  color: var(--lz-gold-warm);
  display: block;
  line-height: 1;
  margin-top: 10px;
  letter-spacing: -0.01em;
}
body.has-mecamin-launch .lz-divider-v {
  width: 1px;
  background: var(--lz-rule);
  align-self: stretch;
  min-height: 100px;
}
body.has-mecamin-launch .lz-time-block {
  display: flex; flex-direction: column; gap: 0;
}
body.has-mecamin-launch .lz-time {
  font-family: 'Red Rose', sans-serif;
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 400;
  line-height: 1;
  color: var(--lz-cream);
  font-feature-settings: 'tnum' on, 'lnum' on;
  letter-spacing: -0.02em;
}
body.has-mecamin-launch .lz-time small {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.36em; text-transform: uppercase;
  color: var(--lz-cream-dim);
  margin-top: 14px;
  display: block;
}

/* Place rows */
body.has-mecamin-launch .lz-place {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--lz-rule);
}
body.has-mecamin-launch .lz-place:last-of-type { border-bottom: none; }
body.has-mecamin-launch .lz-place-num {
  font-family: 'Red Rose', sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  color: var(--lz-gold-warm);
  line-height: 1.2;
  padding-top: 2px;
}
body.has-mecamin-launch .lz-place-name {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--lz-cream);
  margin: 0 0 6px;
  letter-spacing: -0.005em;
  line-height: 1.35;
}
body.has-mecamin-launch .lz-place-detail {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--lz-cream-dim);
  line-height: 1.55;
  margin: 0;
}

/* Editorial note */
body.has-mecamin-launch .lz-note {
  font-family: 'Red Rose', sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.55;
  color: var(--lz-cream-dim);
  border-left: 1px solid var(--lz-gold-warm);
  padding: 6px 0 6px 18px;
  margin: 36px 0 0;
  max-width: 44ch;
}

/* === Form panel === */
body.has-mecamin-launch .lz-form-shell {
  position: relative;
  background: linear-gradient(180deg, rgba(244,234,215,0.05) 0%, rgba(244,234,215,0.02) 100%);
  border: 1px solid rgba(244,234,215,0.10);
  padding: clamp(28px, 3.6vw, 48px);
  backdrop-filter: blur(12px) saturate(110%);
  -webkit-backdrop-filter: blur(12px) saturate(110%);
}
body.has-mecamin-launch .lz-form-shell::before,
body.has-mecamin-launch .lz-form-shell::after {
  content: '';
  position: absolute;
  width: 22px; height: 22px;
  border: 1px solid var(--lz-gold);
  pointer-events: none;
}
body.has-mecamin-launch .lz-form-shell::before {
  top: -1px; left: -1px;
  border-right: none; border-bottom: none;
}
body.has-mecamin-launch .lz-form-shell::after {
  bottom: -1px; right: -1px;
  border-left: none; border-top: none;
}

body.has-mecamin-launch .lz-form-label {
  display: flex; align-items: center; gap: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--lz-gold-warm);
  margin: 0 0 14px;
}
body.has-mecamin-launch .lz-form-label::before {
  content: ''; display: block;
  width: 28px; height: 1px;
  background: var(--lz-gold-warm);
}
body.has-mecamin-launch .lz-form-title {
  font-family: 'Red Rose', sans-serif;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.05;
  font-weight: 400;
  color: var(--lz-cream);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
body.has-mecamin-launch .lz-form-title em {
  font-style: italic;
  color: var(--lz-gold-warm);
}
body.has-mecamin-launch .lz-form-sub {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--lz-cream-dim);
  margin: 0 0 36px;
  letter-spacing: 0.01em;
}

/* CF7 form, override theme. Note: wpautop adds <p> wrappers inside form-group */
body.has-mecamin-launch .lz-form-shell .wpcf7,
body.has-mecamin-launch .lz-form-shell .wpcf7 form,
body.has-mecamin-launch .lz-form-shell .wpcf7-form,
body.has-mecamin-launch .lz-form-shell .form-container { background: transparent !important; padding: 0 !important; max-width: none !important; border: none !important; }
body.has-mecamin-launch .lz-form-shell .form-container { display: flex !important; flex-direction: column !important; }
body.has-mecamin-launch .lz-form-shell .form-group {
  margin: 0 0 22px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}
body.has-mecamin-launch .lz-form-shell .form-group p { margin: 0 !important; padding: 0 !important; background: transparent !important; }
body.has-mecamin-launch .lz-form-shell .form-group label {
  display: block !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.4em !important;
  text-transform: uppercase !important;
  color: var(--lz-cream-faint) !important;
  margin: 0 0 4px !important;
  padding: 0 !important;
  background: transparent !important;
  line-height: 1.4 !important;
}
body.has-mecamin-launch .lz-form-shell .form-group label br { display: none !important; }
body.has-mecamin-launch .lz-form-shell .wpcf7-form-control-wrap { display: block !important; margin-top: 6px !important; }
body.has-mecamin-launch .lz-form-shell input[type=text],
body.has-mecamin-launch .lz-form-shell input[type=email],
body.has-mecamin-launch .lz-form-shell input[type=tel] {
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(244,234,215,0.22) !important;
  border-radius: 0 !important;
  color: var(--lz-cream) !important;
  font-family: 'Red Rose', sans-serif !important;
  font-weight: 400 !important;
  font-size: 19px !important;
  letter-spacing: -0.005em !important;
  padding: 8px 0 14px !important;
  margin: 0 !important;
  height: auto !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.35s cubic-bezier(0.2,0.8,0.3,1), color 0.3s ease, transform 0.3s ease;
}
body.has-mecamin-launch .lz-form-shell input::placeholder {
  color: rgba(244,234,215,0.30) !important;
  font-style: italic;
  font-weight: 300 !important;
}
body.has-mecamin-launch .lz-form-shell input:focus {
  border-bottom-color: var(--lz-gold) !important;
  color: var(--lz-cream) !important;
}
body.has-mecamin-launch .lz-form-shell input:focus::placeholder { color: rgba(244,234,215,0.45) !important; }

/* Submit */
body.has-mecamin-launch .lz-form-shell .form-submit {
  margin: 36px 0 0 !important;
  padding: 0 !important;
  text-align: left !important;
  background: transparent !important;
}
body.has-mecamin-launch .lz-form-shell .form-submit p { margin: 0 !important; padding: 0 !important; }
body.has-mecamin-launch .lz-form-shell input[type=submit] {
  display: inline-flex !important;
  align-items: center !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.32em !important;
  text-transform: uppercase !important;
  color: var(--lz-ink) !important;
  background: var(--lz-gold) !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 18px 38px !important;
  height: auto !important;
  cursor: pointer !important;
  transition: transform 0.3s cubic-bezier(0.2,0.8,0.3,1), background 0.3s ease, box-shadow 0.4s ease !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 8px 22px -10px rgba(217,154,43,0.4);
}
body.has-mecamin-launch .lz-form-shell input[type=submit]:hover {
  background: var(--lz-gold-warm) !important;
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.22) inset, 0 14px 30px -8px rgba(217,154,43,0.6);
}
body.has-mecamin-launch .lz-form-shell .wpcf7-spinner { background-color: var(--lz-gold) !important; }
body.has-mecamin-launch .lz-form-shell .wpcf7-response-output {
  border-color: var(--lz-gold) !important;
  border-width: 1px !important;
  color: var(--lz-cream) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 24px 0 0 !important;
  padding: 14px 16px !important;
  background: rgba(217,154,43,0.08) !important;
}
body.has-mecamin-launch .lz-form-shell .wpcf7-not-valid-tip {
  color: var(--lz-gold-warm) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.28em !important;
  text-transform: uppercase !important;
  margin-top: 6px !important;
}

/* Footnote stamp */
body.has-mecamin-launch .lz-stamp {
  position: absolute;
  top: clamp(40px, 5vw, 90px);
  right: clamp(20px, 4vw, 80px);
  width: clamp(80px, 9vw, 124px);
  aspect-ratio: 1;
  border: 1px solid rgba(217,154,43,0.45);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transform: rotate(-9deg);
  z-index: 3;
  pointer-events: none;
  font-family: 'Red Rose', sans-serif;
  font-style: italic;
  color: var(--lz-gold-warm);
}
body.has-mecamin-launch .lz-stamp svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: lz-spin 32s linear infinite; }
body.has-mecamin-launch .lz-stamp .core {
  font-family: 'Red Rose', sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(14px, 1.3vw, 18px);
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.05;
}
body.has-mecamin-launch .lz-stamp .core small {
  display: block;
  font-style: normal;
  font-family: 'Inter', sans-serif;
  font-size: 8px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-top: 4px;
  color: rgba(217,154,43,0.7);
}
@keyframes lz-spin { to { transform: rotate(360deg); } }

/* Page-load reveal */
body.has-mecamin-launch .lz-anim-up {
  animation: lz-up 1s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes lz-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
body.has-mecamin-launch .lz-d1 { animation-delay: 0.05s; }
body.has-mecamin-launch .lz-d2 { animation-delay: 0.18s; }
body.has-mecamin-launch .lz-d3 { animation-delay: 0.32s; }
body.has-mecamin-launch .lz-d4 { animation-delay: 0.46s; }
body.has-mecamin-launch .lz-d5 { animation-delay: 0.6s; }

/* Mobile tweaks */
@media (max-width: 720px) {
  body.has-mecamin-launch .lz-stage { padding: 110px 22px 80px !important; }
  body.has-mecamin-launch .lz-stage,
  body.has-mecamin-launch .lz-wrap,
  body.has-mecamin-launch .lz-grid,
  body.has-mecamin-launch .lz-event,
  body.has-mecamin-launch .lz-place,
  body.has-mecamin-launch .lz-place-text { max-width: 100%; min-width: 0; overflow-wrap: break-word; word-wrap: break-word; }
  body.has-mecamin-launch .lz-date { grid-template-columns: 1fr; gap: 22px; }
  body.has-mecamin-launch .lz-divider-v { width: 100%; height: 1px; min-height: 0; }
  body.has-mecamin-launch .lz-stamp { display: none; }
  body.has-mecamin-launch .lz-title-sub { font-size: 0.55em; }
  body.has-mecamin-launch .lz-form-shell { padding: 28px 22px !important; }
  body.has-mecamin-launch .lz-kicker { font-size: 9.5px; padding: 8px 14px; letter-spacing: 0.24em; max-width: 100%; }
  body.has-mecamin-launch .lz-date::before { display: none; }
  body.has-mecamin-launch .lz-grid { gap: 44px; margin-top: 0; }
  body.has-mecamin-launch .lz-place { grid-template-columns: 22px 1fr; gap: 14px; }
  body.has-mecamin-launch .lz-place-detail { font-size: 13px; }
}
@media (max-width: 480px) {
  body.has-mecamin-launch .lz-kicker { font-size: 9px; letter-spacing: 0.18em; padding: 7px 12px; }
  body.has-mecamin-launch .lz-title { font-size: 44px !important; }
  body.has-mecamin-launch .lz-day { font-size: 92px; }
}

/* Hide WPBakery cruft empty wrappers; tame theme heading defaults inside our scope */
body.has-mecamin-launch .lz-stage .wpb_text_column,
body.has-mecamin-launch .lz-stage .wpb_text_column .wpb_wrapper { background: transparent !important; padding: 0 !important; margin: 0 !important; }
body.has-mecamin-launch .lz-stage .wpb_text_column .wpb_wrapper > p:empty { display: none !important; }
body.has-mecamin-launch .lz-stage h1, body.has-mecamin-launch .lz-stage h2, body.has-mecamin-launch .lz-stage h3 { color: var(--lz-cream); margin: 0; padding: 0; }
body.has-mecamin-launch .lz-stage p { color: inherit; }
body.has-mecamin-launch .vc_empty_space { display: none !important; }
body.has-mecamin-launch .lz-stage .form-group p,
body.has-mecamin-launch .lz-stage .form-submit p { line-height: 1 !important; }