/* =========================================================
   Melod a Viva Landing
   Archivo final: assets/css/melod-a-viva.css
   Integrado con estilo global Divi / .tab-nueva
   ========================================================= */

:root {
  --mav-bg: #f7f3ee;
  --mav-bg-soft: #f1e8dd;
  --mav-card: #f4eee7;
  --mav-border: #ddd3c8;

  --mav-text: #666666;
  --mav-text-soft: #666666;
  --mav-text-muted: #7f746b;

  --mav-primary: #ec7a22;
  --mav-primary-hover: #f28b3c;
  --mav-accent: #3b7f6b;

  --mav-dark: #191412;
  --mav-white: #ffffff;

  --mav-shadow-soft: 0 18px 45px rgba(25, 20, 18, 0.08);
  --mav-shadow-card: 0 12px 30px rgba(25, 20, 18, 0.06);
  --mav-shadow-cta: 0 0 22px rgba(236, 122, 34, 0.32);

  --mav-radius-sm: 8px;
  --mav-radius-md: 12px;
  --mav-radius-lg: 18px;
  --mav-radius-xl: 24px;

  --mav-container: 1400px;
}

.mav-page,
.mav-page * { box-sizing: border-box; }

.mav-page.tab-nueva {
  position: relative;
  overflow: clip;
  background: var(--mav-bg);
  color: #666 !important;
  font-family: Arial, Helvetica, Arial, Lucida, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.7em !important;
  font-weight: 500 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mav-page img { display: block; max-width: 100%; }
.mav-page a { color: inherit; text-decoration: none; }

.mav-page.tab-nueva p,
.mav-page.tab-nueva li,
.mav-page.tab-nueva span,
.mav-page.tab-nueva strong,
.mav-page.tab-nueva a,
.mav-page.tab-nueva small,
.mav-page.tab-nueva .et_pb_text,
.mav-page.tab-nueva .et_pb_promo_description {
  font-family: inherit !important;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  color: inherit;
}

.mav-page.tab-nueva h1,
.mav-page.tab-nueva h2,
.mav-page.tab-nueva h3,
.mav-page.tab-nueva h4,
.mav-page.tab-nueva h5,
.mav-page.tab-nueva h6,
.mav-page.tab-nueva .et_pb_promo_title,
.mav-page.tab-nueva .et_pb_module_header {
  margin: 0;
  font-family: inherit !important;
  color: inherit;
  font-weight: 600;
  letter-spacing: 0;
  text-wrap: balance;
}

.mav-page p { margin: 0 0 1.1rem; }
.mav-page ul { margin: 0; padding: 0; list-style: none; }
.mav-page .mav-container { width: min(calc(100% - 48px), var(--mav-container)); margin-inline: auto; }
.mav-page .mav-center { text-align: center; }
.mav-page .mav-italic { font-family: inherit !important; font-style: normal; font-weight: 500 !important; }

.mav-page .mav-section-label {
  display: inline-block; margin-bottom: 16px; font-family: inherit !important;
  font-size: 12px !important; font-weight: 700 !important; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--mav-primary) !important;
}

.mav-page .mav-note { margin: 14px 0 0; font-size: 0.94rem; color: rgba(255, 255, 255, 0.75) !important; }
.mav-page .mav-grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 520px); gap: 48px 80px; align-items: start; }

.mav-page .mav-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px;
  padding: 14px 32px; border: 1px solid transparent; border-radius: var(--mav-radius-md);
  font-family: inherit !important; font-size: 14px !important; font-weight: 600 !important;
  letter-spacing: 0.02em; line-height: 1 !important; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.25s ease,
              border-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}
.mav-page .mav-btn:hover { transform: translateY(-1px); }
.mav-page .mav-btn:focus-visible { outline: 2px solid var(--mav-primary); outline-offset: 3px; }
.mav-page .mav-btn-primary { color: var(--mav-white) !important; background: var(--mav-primary); box-shadow: var(--mav-shadow-cta); animation: mavPulseGlow 2.5s ease-in-out infinite; }
.mav-page .mav-btn-primary:hover { background: var(--mav-primary-hover); color: var(--mav-white) !important; box-shadow: 0 0 32px rgba(236, 122, 34, 0.42); }
.mav-page .mav-btn-small { min-height: 44px; padding: 12px 22px; font-size: 13px !important; }

.mav-page .mav-hero { position: relative; display: flex; align-items: center; min-height: 90vh; background: var(--mav-dark); isolation: isolate; }
.mav-page .mav-hero-bg, .mav-page .mav-hero-overlay { position: absolute; inset: 0; }
.mav-page .mav-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.mav-page .mav-hero-overlay { background: linear-gradient(to top, rgba(25, 20, 18, 0.96) 0%, rgba(25, 20, 18, 0.78) 48%, rgba(25, 20, 18, 0.42) 100%); }
.mav-page .mav-hero-content { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 80px; }
.mav-page .mav-kicker {
  display: inline-block; margin-bottom: 22px; font-family: inherit !important; font-size: 12px !important;
  font-weight: 700 !important; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mav-primary) !important;
}
.mav-page .mav-hero h1 { max-width: 14ch; margin-bottom: 22px; color: var(--mav-white) !important; font-size: clamp(2.7rem, 5vw, 5.2rem); line-height: 1.08; }
.mav-page .mav-hook {
  max-width: 720px; margin-bottom: 30px; color: rgba(236, 122, 34, 0.92) !important;
  font-family: inherit !important; font-size: 20px !important; font-style: normal; font-weight: 600 !important; line-height: 1.5em !important;
}
.mav-page .mav-meta { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin-bottom: 34px; color: rgba(255, 255, 255, 0.82); font-size: 14px; }
.mav-page .mav-meta span { position: relative; display: inline-flex; align-items: center; color: rgba(255, 255, 255, 0.82) !important; font-weight: 600 !important; }
.mav-page .mav-meta span + span::before { content: ""; width: 6px; height: 6px; margin-right: 12px; border-radius: 999px; background: var(--mav-primary); flex: 0 0 auto; }
.mav-page .mav-hero .mav-btn { min-width: 230px; }

.mav-page .mav-series, .mav-page .mav-about, .mav-page .mav-for-whom, .mav-page .mav-final-cta { position: relative; }
.mav-page .mav-series { padding: 40px 0;  background: var(--mav-bg-soft); }
.mav-page .mav-about { padding: 74px 0 96px; background: var(--mav-bg); }
.mav-page .mav-for-whom { padding: 74px 0 96px; background: var(--mav-bg-soft); }
.mav-page .mav-final-cta { padding: 88px 0 100px; background: var(--mav-dark); color: var(--mav-white); }
.mav-page .mav-series h2, .mav-page .mav-about h2, .mav-page .mav-for-whom h2, .mav-page .mav-final-cta h2 { margin-bottom: 18px; font-size: clamp(2rem, 3vw, 3.2rem); line-height: 1.16; }
.mav-page .mav-series p:last-child, .mav-page .mav-about p:last-child, .mav-page .mav-for-whom p:last-child, .mav-page .mav-final-cta p:last-child { margin-bottom: 0; }
.mav-page .mav-series .mav-center {
  max-width: 1400px;
}

.mav-page .mav-series .mav-section-label {
  margin-bottom: 8px;
}

.mav-page .mav-series h2 {
  margin-bottom: 12px;
  line-height: 1.15;
}

.mav-page .mav-series .mav-italic {
  margin: 0 0 6px 0 !important;
  padding: 0 !important;
  line-height: 1.45em !important;
  font-style: italic !important;
}

.mav-page .mav-series .mav-italic + p {
  max-width: 980px;
  margin: 0 auto 0 auto !important;
  padding: 0 !important;
  line-height: 1.6em !important;
}
.mav-page .mav-series .mav-italic { margin-bottom: 14px; color: var(--mav-text-muted); font-size: 16px !important; }
.mav-page .mav-series .mav-center > p:last-child { color: #666; font-size: 14px; line-height: 1.7em; }

.mav-page .mav-about, .mav-page .mav-for-whom, .mav-page .mav-series, .mav-page .mav-footer { color: #666; }
.mav-page .mav-about p, .mav-page .mav-for-whom p, .mav-page .mav-series p, .mav-page .mav-list li, .mav-page .mav-detail-row strong, .mav-page .mav-card-cta p, .mav-page .mav-footer p { color: #666; }
.mav-page .mav-about .mav-grid-2 > div:first-child p, .mav-page .mav-for-whom .mav-grid-2 > div p { font-size: 14px; line-height: 1.7em; }
.mav-page .mav-list { display: grid; gap: 14px; margin-top: 28px; }
.mav-page .mav-list li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.7em; }
.mav-page .mav-list li::before { content: ""; position: absolute; top: 0.72em; left: 0; width: 8px; height: 8px; border-radius: 999px; background: var(--mav-primary); transform: translateY(-50%); }
.mav-page .mav-list-accent li::before { width: 10px; height: 10px; background: var(--mav-accent); }
.mav-page .mav-card { padding: 32px; background: var(--mav-card); border: 1px solid var(--mav-border); border-radius: var(--mav-radius-xl); box-shadow: var(--mav-shadow-card); }
.mav-page .mav-card h3 { margin-bottom: 18px; font-size: 24px; line-height: 1.3; }
.mav-page .mav-detail-row { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--mav-border); }
.mav-page .mav-detail-row:last-child { border-bottom: 0; }
.mav-page .mav-detail-row span { color: var(--mav-text-muted) !important; font-size: 11px !important; font-weight: 700 !important; letter-spacing: 0.09em; text-transform: uppercase; }
.mav-page .mav-detail-row strong { max-width: 62%; font-size: 14px; font-weight: 600 !important; text-align: right; line-height: 1.45; }
.mav-page .mav-card-cta { margin-top: 28px; text-align: center; }
.mav-page .mav-card-cta p { margin-top: 12px; margin-bottom: 0; color: var(--mav-text-muted); font-size: 13px; }
.mav-page .mav-quote { margin-top: 28px; padding: 22px 24px; background: var(--mav-bg-soft); border-left: 4px solid var(--mav-primary); border-radius: var(--mav-radius-md); }
.mav-page .mav-quote p { margin: 0; font-family: inherit !important; font-style: normal; font-size: 16px !important; line-height: 1.7em !important; font-weight: 500 !important; }
.mav-page .mav-for-whom .mav-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mav-page .mav-for-whom h2 + p { margin-bottom: 28px; }

.mav-page .mav-final-cta h2 { color: var(--mav-white) !important; }
.mav-page .mav-final-cta .mav-italic { margin-bottom: 12px; color: rgba(236, 122, 34, 0.84) !important; font-size: 18px !important; }
.mav-page .mav-final-cta > .mav-container { max-width: 860px; }
.mav-page .mav-final-cta > .mav-container > p:not(.mav-italic):not(.mav-note) { max-width: 700px; margin-inline: auto; color: rgba(255, 255, 255, 0.72) !important; font-size: 14px; line-height: 1.78; }
.mav-page .mav-final-cta .mav-btn { min-width: 260px; margin-top: 10px; }
.mav-page .mav-contact { max-width: 520px; margin: 40px auto 0; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.mav-page .mav-contact p { margin-bottom: 4px; color: rgba(255, 255, 255, 0.75) !important; font-size: 13px; }
.mav-page .mav-contact a { color: rgba(255, 255, 255, 0.9) !important; text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s ease; }
.mav-page .mav-contact a:hover { color: #ec7a22 !important; }

.mav-page .mav-footer { padding: 40px 0; background: var(--mav-bg); border-top: 1px solid var(--mav-border); }
.mav-page .mav-footer-brand { margin-bottom: 4px; font-family: inherit !important; font-size: 16px; font-weight: 600 !important; }
.mav-page .mav-footer .mav-center p:last-child { margin-bottom: 0; color: var(--mav-text-muted); font-size: 13px; }

.mav-page .mav-sticky-bar {
  position: fixed; right: 0; bottom: 0; left: 0; z-index: 9999; padding: 12px 0;
  background: rgba(25, 20, 18, 0.95); border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px); transform: translateY(110%); opacity: 0; pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.mav-page .mav-sticky-bar.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mav-page .mav-sticky-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.mav-page .mav-sticky-text p { margin: 0 0 2px; color: var(--mav-white) !important; font-family: inherit !important; font-size: 14px !important; font-weight: 600 !important; line-height: 1.2 !important; }
.mav-page .mav-sticky-text small { display: block; color: rgba(255, 255, 255, 0.75) !important; font-size: 12px !important; line-height: 1.35 !important; }

.mav-page .mav-card, .mav-page .mav-quote, .mav-page .mav-btn, .mav-page .mav-sticky-bar { will-change: transform; }
.mav-page .mav-btn, .mav-page .mav-contact a { -webkit-tap-highlight-color: transparent; }

@keyframes mavPulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(236, 122, 34, 0.3); }
  50% { box-shadow: 0 0 35px rgba(236, 122, 34, 0.5); }
}

.page-template-page-melod-a-viva #main-content,
.page-template-page-melod-a-viva .container,
.page-template-page-melod-a-viva #content-area,
.page-template-page-melod-a-viva .et_pb_section {
  width: 100% !important;
  max-width: 100% !important;
}
.page-template-page-melod-a-viva #left-area { width: 100% !important; float: none !important; padding-right: 0 !important; }
.page-template-page-melod-a-viva .container:before { display: none !important; }
.page-template-page-melod-a-viva .et_pb_post .entry-title,
.page-template-page-melod-a-viva h1.entry-title,
.page-template-page-melod-a-viva .main_title { display: none !important; }

@media (max-width: 1100px) {
  .mav-page .mav-grid-2, .mav-page .mav-for-whom .mav-grid-2 { grid-template-columns: 1fr; gap: 38px; }
  .mav-page .mav-hero h1 { max-width: 12ch; }
  .mav-page .mav-card { padding: 28px; }
}

@media (max-width: 768px) {
  .mav-page .mav-container { width: min(calc(100% - 32px), var(--mav-container)); }
  .mav-page .mav-hero { min-height: auto; }
  .mav-page .mav-hero-content { padding-top: 96px; padding-bottom: 72px; }
  .mav-page .mav-hero h1 { max-width: none; font-size: clamp(2.3rem, 11vw, 3.5rem); }
  .mav-page .mav-hook { font-size: 18px !important; }
  .mav-page .mav-meta { gap: 10px 16px; font-size: 13px; }
  .mav-page .mav-meta span + span::before { margin-right: 10px; }
  .mav-page .mav-series, .mav-page .mav-about, .mav-page .mav-for-whom, .mav-page .mav-final-cta { padding-top: 62px; padding-bottom: 72px; }
  .mav-page .mav-series h2, .mav-page .mav-about h2, .mav-page .mav-for-whom h2, .mav-page .mav-final-cta h2 { font-size: clamp(1.8rem, 7vw, 2.5rem); }
  .mav-page .mav-detail-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .mav-page .mav-detail-row strong { max-width: 100%; text-align: left; }
  .mav-page .mav-sticky-inner { gap: 12px; }
  .mav-page .mav-sticky-text { display: none; }
  .mav-page .mav-sticky-bar .mav-btn { width: 100%; }
}

@media (max-width: 480px) {
  .mav-page .mav-kicker, .mav-page .mav-section-label { letter-spacing: 0.16em; }
  .mav-page .mav-card { padding: 22px 18px; border-radius: 18px; }
  .mav-page .mav-quote { padding: 18px 18px 18px 16px; }
  .mav-page .mav-btn { width: 100%; padding-inline: 22px; }
  .mav-page .mav-meta { flex-direction: column; align-items: flex-start; }
  .mav-page .mav-meta span + span::before { display: none; }
}
