:root {
    --bg-dark: #1a1956;
    --accent-yellow: #ffb800;
    --accent-orange: #fcb93c;
    --card-light: #b1b1c6;
    --text-light: #ffffff;
    --text-dark: #1a1956;
    --badge-blue: #2563eb;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    max-width: 1000px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.logo-img {
    max-width: 820px;
    width: 100%;
    height: auto;
    margin-bottom: 0px;
}

.subtitle {
    font-size: 25px;
    margin-bottom: 40px;
    line-height: 1.5;
}

/* Video Section */
.video-placeholder {
    background-color: var(--accent-yellow);
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    margin-bottom: 40px;
    border-radius: 4px;
}

.play-btn {
    background-color: var(--text-dark);
    color: var(--accent-yellow);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 15px;
    cursor: pointer;
}

.video-placeholder p {
    font-weight: 700;
    font-style: italic;
    font-size: 18px;
    margin: 0;
}

/* Intro Text */
.intro-text {
    text-align: left;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.intro-text p.pre-title {
    color: var(--accent-orange);
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 5px 0;
}

.intro-text h2 {
    color: var(--text-light);
    font-size: 50px;
    margin: 0 0 20px 0;
    font-weight: 800;
    line-height: 1.1;
}

.intro-text h2 span.highlight {
    color: var(--accent-yellow);
    font-style: italic;
}

.intro-text p.desc {
    font-size: 22px;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

/* Stats Section */
.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item:first-child {
    width: 100%;
    margin-bottom: 30px;
}

.stat-item h3 {
    color: var(--accent-yellow);
    font-size: 110px;
    font-weight: 700;
    letter-spacing: -3px;
    margin: 0;
    line-height: 1;
}

.stat-item p {
    font-size: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 400;
    margin: 0px 0 0 0;
    color: var(--text-light);
}

/* Section Titles */
.section-title {
    margin-bottom: 40px;
}

.section-title p {
    font-size: 28px;
    letter-spacing: 2px;
    margin: 0 0 5px 0;
    text-transform: uppercase;
    font-weight: 700;
    color: black;
    background-color: var(--accent-yellow);
    display: inline-block;
    padding: 0 10px;
}

.section-title h2 {
    font-size: 60px;
    margin: 0;
    font-weight: 800;
    line-height: 1;
}

.section-title h2 span {
    font-weight: 400;
    font-style: italic;
    font-size: 52px;
}

/* Grids and Cards */
.benefits-grid-1 {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 80%;
    margin: 0 auto 30px auto;
}

.benefits-grid-1 .card {
    padding: 30px 40px;
}

.benefits-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.benefits-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.card {
    background-color: var(--card-light);
    color: var(--text-dark);
    border-radius: 16px;
    padding: 30px 20px;
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card h4 {
    margin: 0 0 15px 0;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
}

.card p {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 500;
}

.card-number {
    position: absolute;
    top: -18px;
    right: -18px;
    background-color: var(--accent-yellow);
    color: var(--text-dark);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 24px;
    border: 6px solid var(--bg-dark);
}

.highlight-text {
    background-color: var(--accent-yellow);
    color: var(--text-dark);
    font-weight: 800;
    padding: 2px 6px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.disclaimer {
    font-size: 14px;
    color: #8c92b8;
    margin-bottom: 60px;
}

/* En Resumen (Tarjetas) */
.benefits-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.summary-card {
    background-color: var(--card-light);
    color: var(--text-dark);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.summary-card i {
    font-size: 40px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.summary-card h4 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 10px 0;
}

.summary-card p {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
    margin: 0;
}

/* Marcas Slider / Circulos */
.marcas-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px;
    margin-bottom: 80px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.marca-circle {
    width: 140px;
    height: 140px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, border-color 0.3s ease;
    border: 4px solid var(--card-light);
    text-decoration: none;
}

.marca-circle:hover {
    transform: translateY(-5px);
    border-color: var(--accent-yellow);
}

.marca-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Pricing Section */
.pricing-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 60px;
    text-transform: uppercase;
}

.pricing-title .star {
    color: var(--accent-yellow);
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 85px;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.pricing-card {
    background-color: #ffffff;
    color: var(--text-dark);
    width: 250px;
    border-radius: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.pricing-header {
    font-size: 24px;
    font-weight: 1000;
    padding: 20px 0px 15px 0px;
    text-transform: uppercase;
}

.pricing-badge {
    width: 112%;
    margin-left: 0;
    background-color: var(--accent-yellow);
    color: var(--text-dark);
    font-size: 26px;
    font-weight: 1000;
    padding: 0px 0;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.pricing-badge.badge-blue {
    background-color: var(--badge-blue);
    color: white;
}

.pricing-price-container {
    padding: 20px 0 10px 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
}

.pricing-price-container .currency {
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    font-size: 100px;
    font-weight: bold;
    line-height: 0.9;
    color: var(--text-dark);
    margin-top: 15px;
}

.pricing-price-container .number {
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    font-size: 140px;
    font-weight: bold;
    line-height: 0.8;
    color: var(--text-dark);
    letter-spacing: -5px;
}

.pricing-price-container .price-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 5px;
}

.pricing-price-container .cents {
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    font-size: 30px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 2px;
    margin-left: 10px;
}

.pricing-price-container .period {
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    margin-top: 50px;
    font-style: italic;
}

.pricing-desc {
    font-size: 12px;
    color: #888;
    padding: 10px 20px 0px 20px;
    line-height: 1.4;
    min-height: 30px;
    font-weight: 500;
}

.pricing-btn {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-yellow);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 800;
    font-size: 20px;
    padding: 3px 25px;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: transform 0.2s;
}

.pricing-btn:hover {
    transform: translateX(-50%) scale(1.05);
}

/* Bottom Banner */
.bottom-pricing {
    background-color: #fff;
    color: var(--text-dark);
    width: 100%;
    max-width: 900px;
    margin: 0 auto 60px auto;
    position: relative;
    border-radius: 16px;
    padding-top: 15px;
    padding-bottom: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.bottom-pricing-ribbon {
    background-color: #0ea5e9;
    color: white;
    padding: 10px 0;
    font-size: 30px;
    font-weight: 800;
    position: relative;
    width: calc(100% + 40px);
    left: -20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.bottom-pricing-price-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0px 0;
    gap: 2px;
}

.bottom-pricing-price-container .currency {
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    font-size: 80px;
    font-weight: bold;
    line-height: 0.9;
    margin-top: 10px;
}

.bottom-pricing-price-container .number {
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    font-size: 100px;
    font-weight: bold;
    line-height: 0.8;
    color: var(--text-dark);
}

.bottom-pricing-price-container .price-right {
    display: flex;
    align-items: flex-end;
    margin-top: 5px;
}

.bottom-pricing-price-container .cents {
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    font-size: 30px;
    font-weight: bold;
    align-self: flex-start;
    line-height: 1;
    margin-left: 10px;
}

.bottom-pricing-price-container .period {
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
    font-size: 38px;
    font-weight: 600;
    margin-left: -10px;
    align-self: flex-end;
    margin-top: 28px;
    font-family: 'Times New Roman', Times, serif;
}

.bottom-pricing-desc {
    font-size: 12px;
    color: #888;
    padding: 0px 0px;
    margin-bottom: 0px;
    font-weight: 500;
    margin-top: 10px;
}

.bottom-disclaimer {
    font-size: 13px;
    color: whitesmoke;
    margin-top: -20px;
    line-height: 1.2;
}

@media (max-width: 950px) {
    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }
    .bottom-pricing {
        max-width: 90%;
    }
    .brands-summary-grid, .benefits-summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .benefits-grid-1 { max-width: 100%; }
    .benefits-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .pricing-badge, .bottom-pricing-ribbon {
        width: 100%;
        left: 0;
        margin-left: 0;
    }
}

@media (max-width: 650px) {
    .benefits-grid-3, .benefits-grid-2, .brands-summary-grid, .benefits-summary-grid {
        grid-template-columns: 1fr;
    }
}


/* ===== MODAL GLOBAL ===== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

/* Estado visible */
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #ffffff;
  max-width: 520px;
  width: 92%;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.25s ease;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Animación al abrir */
.modal-overlay.open .modal-dialog {
  transform: translateY(0) scale(1);
}

/* Botón X */
.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #666;
  padding: 2px 6px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
  color: #000;
  transform: scale(1.1);
}

.modal-header {
  padding: 18px 22px 10px;
  border-bottom: 3px solid #009ADB; /* --e-global-color-secondary */
  background: #CCEBF8; /* --e-global-color-accent */
}

.modal-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: #052861; /* --e-global-color-primary */
  letter-spacing: 0.06em;
}

.modal-body {
  padding: 18px 22px 14px;
  font-size: 16px;
  line-height: 1.6;
  color: #222;
}

.modal-body p {
  margin: 0 0 10px;
}

.modal-body p:last-child {
  margin-bottom: 0;
}

.modal-footer {
  padding: 14px 22px 18px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: #f4f6fb;
}

/* Botón principal del modal */
.modal-btn {
  min-width: 120px;
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #052861; /* primary */
  color: #ffffff;
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.modal-btn:hover {
  background: #009ADB; /* secondary */
  box-shadow: 0 0 0 2px #CCEBF8;
}

.modal-btn:active {
  transform: translateY(1px);
}

/* Variante extra si quieres estilos por tipo (success, error, info) */
.modal-dialog.modal-success .modal-header {
  border-bottom-color: #2e7d32;
  background: #e8f5e9;
}

.modal-dialog.modal-error .modal-header {
  border-bottom-color: #c62828;
  background: #ffebee;
}

.modal-dialog.modal-info .modal-header {
  border-bottom-color: #009ADB;
  background: #CCEBF8;
}

/* Responsive pequeño */
@media (max-width: 480px) {
  .modal-dialog {
    max-width: 94%;
    border-radius: 8px;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .modal-title {
    font-size: 18px;
  }
}

.pm-backdrop{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  align-items: center; justify-content: center;
  padding: 18px;
  z-index: 999999;
}

.pm-backdrop.is-open{ display:flex; }

.pm-modal{
  width: min(520px, 100%);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0,0,0,.25);
  position: relative;
  overflow: hidden;
  transform: translateY(8px);
  animation: pmIn .18s ease-out forwards;
}

@keyframes pmIn{
  to { transform: translateY(0); }
}

.pm-close{
  position:absolute; top:10px; right:12px;
  width: 38px; height: 38px;
  border:0; border-radius: 12px;
  background: rgba(0,0,0,.06);
  cursor:pointer;
  font-size: 22px; line-height: 38px;
}

.pm-content{ padding: 22px 22px 18px; }

.pm-badge{
  width: 46px; height: 46px;
  border-radius: 14px;
  background: rgba(255, 195, 0, .22);
  display:flex; align-items:center; justify-content:center;
  font-size: 22px;
  margin-bottom: 10px;
}

.pm-title{
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.2px;
}

.pm-text{
  margin: 0 0 16px;
  color: #333;
  font-size: 14.5px;
  line-height: 1.35rem;
}

.pm-actions{
  display:flex;
  gap: 10px;
  margin-top: 6px;
}

.pm-btn{
  border: 0;
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  flex: 1;
}

.pm-btn-primary{
  background: #111;
  color: #fff;
}

.pm-btn-ghost{
  background: rgba(0,0,0,.06);
  color: #111;
}

.pm-footnote{
  margin: 12px 0 0;
  color: #777;
  font-size: 12.5px;
}

/* Responsive pequeño */
@media (max-width: 350px) {
  .section-title h2{
    font-size: 40px;
  }
  .bottom-pricing-price-container .currency{
    font-size: 50px;
  }
  .bottom-pricing-price-container .number {
    font-size: 70px;
  }
  .bottom-pricing-price-container .period{
    font-size: 16px;
  }
}

/* Responsive pequeño */
@media (max-width: 345px) {
  .section-title h2{
    font-size: 30px;
  }
  .bottom-pricing-price-container .currency{
    font-size: 40px;
  }
  .bottom-pricing-price-container .number {
    font-size: 60px;
  }
  .bottom-pricing-price-container .period{
    font-size: 15px;
  }
}
