/* =========================================
   MECÁNICA — layout promocional
   ========================================= */

/* ---- Cuerpo principal ---- */
.mec-body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  flex: 1;
  max-width: var(--container-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  gap: 0;
}

/* ---- Columna izquierda: técnico ---- */
.mec-left {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.mec-club-logo {
  width: 200px;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}

.mec-tecnico {
  width: 100%;
  max-width: 340px;
  object-fit: contain;
  margin-top: auto;
  display: block;
}

/* ---- Columna derecha: pasos ---- */
.mec-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 28px 0 28px 24px;
  gap: 8px;
}

/* ---- Cada paso ---- */
.mec-step {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mec-step-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.mec-num {
  font-size: 5rem;
  font-weight: 900;
  color: #FFCB00;
  line-height: 1;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.15);
  font-family: Georgia, serif;
  min-width: 60px;
  text-align: center;
}

.mec-step-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.mec-step-ycanjea {
  font-size: 1rem;
  font-weight: 700;
  color: #003d7a;
  margin-bottom: 2px;
}

.mec-step-title {
  font-size: 2rem;
  font-weight: 900;
  color: #003d7a;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
}

.mec-step-subtitle {
  font-size: 2rem;
  font-weight: 900;
  color: #003d7a;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
}

/* ---- Derecha de cada paso ---- */
.mec-step-right {
  flex: 1;
  display: flex;
  align-items: center;
}

/* Caja registro código */
.mec-code-box {
  background: #fff;
  border: 1.5px solid #ccc;
  border-radius: 8px;
  padding: 10px 16px;
  min-width: 180px;
}

.mec-code-label {
  font-size: 0.65rem;
  font-weight: 900;
  color: #003d7a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  background: #003d7a;
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
}

.mec-code-input {
  height: 20px;
  background: #e8eef5;
  border-radius: 4px;
  margin-bottom: 6px;
}
.mec-code-input:last-child { margin-bottom: 0; }

/* Botón WhatsApp paso 1 */
.mec-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  transition: background 0.18s;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}
.mec-whatsapp-btn:hover { background: #1ebe5a; }
.mec-whatsapp-btn img {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  object-fit: contain;
}
.mec-whatsapp-btn strong { font-size: 1.05rem; }

/* Logos de marcas */
.mec-brands {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  align-items: center;
}

.mec-brands img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

/* Checks */
.mec-checks {
  display: flex;
  gap: 4px;
}

.mec-checks svg {
  width: 52px;
  height: 52px;
}

/* Imágenes de premios */
.mec-premios {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.mec-premios img {
  height: 90px;
  width: auto;
  object-fit: contain;
}

/* ---- Texto legal ---- */
.mec-legal {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.82);
  padding: 18px 48px;
  font-size: 0.78rem;
  color: #222;
  line-height: 1.6;
  text-align: center;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
  .mec-body        { flex-direction: column; padding: 0 16px; }
  .mec-left        { flex: none; flex-direction: row; align-items: center; padding: 16px 0 0; gap: 16px; }
  .mec-club-logo   { width: 140px; margin-top: 0; }
  .mec-tecnico     { max-width: 160px; margin-top: 0; }
  .mec-right       { padding: 16px 0 24px; }
  .mec-num         { font-size: 3.5rem; min-width: 44px; }
  .mec-step-title,
  .mec-step-subtitle { font-size: 1.5rem; }
  .mec-legal       { padding: 14px 20px; }
}

@media (max-width: 600px) {
  /* Cabecera con logo centrado (sin técnico) */
  .mec-left {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 0 8px;
    gap: 0;
  }
  .mec-club-logo { width: 180px; }
  .mec-tecnico   { display: none; }

  /* Pasos: número + texto en fila, contenido debajo centrado */
  .mec-step {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .mec-step-left  { gap: 10px; }
  .mec-step-right {
    width: 100%;
    justify-content: flex-start;
    padding-left: 52px; /* alinea con el texto (ancho del número + gap) */
  }

  /* Botón WhatsApp ocupa todo el ancho disponible */
  .mec-whatsapp-btn {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 12px 16px;
  }

  /* Checks alineados con el texto */
  .mec-checks     { gap: 8px; }
  .mec-checks svg { width: 44px; height: 44px; }

  /* Premios centrados y un poco más grandes */
  .mec-premios     { gap: 12px; }
  .mec-premios img { height: 72px; }

  /* Tipografía */
  .mec-num                       { font-size: 3rem; min-width: 42px; }
  .mec-step-title,
  .mec-step-subtitle             { font-size: 1.35rem; }
  .mec-step-ycanjea              { font-size: 0.9rem; }

  .mec-right  { gap: 16px; }
  .mec-legal  { padding: 12px 14px; font-size: 0.74rem; }
}
