
:root {
  --mg-primary: #ff7b00;
  --mg-secondary: #00bcd4;
  --mg-dark: #222222;
  --mg-light: #ffffff;
  --mg-muted: #6c757d;
}

body {
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #f8f9fc;
}

.mg-navbar {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  z-index: 1040;
}

.mg-navbar .navbar-brand img {
  height: 40px;
  width: auto;
}

.mg-navbar .nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: #555;
  padding-right: 1rem;
  padding-left: 1rem;
}

.mg-navbar .nav-link:hover,
.mg-navbar .nav-link.active {
  color: var(--mg-primary);
}

.mg-btn-whatsapp {
  background-color: #25d366;
  border-color: #25d366;
  color: #fff;
}

.mg-btn-whatsapp:hover {
  filter: brightness(0.9);
  color: #fff;
}

.mg-btn-outline {
  border-color: rgba(255,255,255,0.8);
  color: #fff;
}

.mg-btn-outline:hover {
  background-color: rgba(255,255,255,0.15);
  color: #fff;
}

/* HERO */

.mg-hero {
  background: linear-gradient(
    135deg,
    #ff9b4a 0%,   /* naranja suave MG */
    #66a0ff 100%  /* celeste MG */
  );
  color: #ffffff;
  min-height: 100vh;
  padding-top: 80px;
  display: flex;
  align-items: center;
  border-radius: 0 0 40px 40px;
}

/* Sombra suave premium para el título del HERO */
.mg-hero-title,
.mg-hero-subtitle,
.mg-hero-badge,
.mg-hero p {
  text-shadow: 0 2px 8px rgba(0,0,0,0.22);
}


/* MOBILE — borde mucho más suave (o ninguno) */
@media (max-width: 768px) {
  .mg-hero {
    background: linear-gradient(
      135deg,
      #ffb36e 0%,
      #7db7ff 100%
    );
  }
}


/* MOBILE MUY PEQUEÑO — sin borde */
@media (max-width: 480px) {
  .mg-hero {
    border-radius: 0;
  }
}

.mg-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background-color: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  font-size: 0.8rem;
}

.mg-hero-title {
  font-weight: 800;
  font-size: clamp(2.2rem, 3vw + 1.4rem, 3rem);
  letter-spacing: -0.03em;
}

.mg-hero-subtitle {
  font-size: 0.98rem;
  max-width: 30rem;
}

.mg-hero-cta {
  gap: 0.75rem;
}

.mg-hero-card {
  border-radius: 1.5rem;
  background: rgba(248, 249, 252, 0.95);
  backdrop-filter: blur(16px);
  padding: 1.75rem;
}

.mg-hero-card h5 {
  font-weight: 700;
  color: #222;
}

.mg-hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mg-hero-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: #555;
}

.mg-hero-list i {
  color: var(--mg-primary);
}

/* Sections */

.mg-section-title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mg-pill {
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background-color: rgba(255,123,0,0.08);
  color: var(--mg-primary);
  display: inline-block;
}

/* Cards */

.mg-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
  /* Integrado de la versión Hover Pro */
  background: #fff;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.mg-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  border-color: rgba(255,123,0,0.35);
}

.mg-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255,123,0,0.08);
  color: var(--mg-primary);
}

/* Footer */

.mg-footer {
  background-color: #ffffff;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.mg-footer a {
  color: #555;
  text-decoration: none;
}

.mg-footer a:hover {
  color: var(--mg-primary);
}

@media (max-width: 767.98px) {
  .mg-hero {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 3rem;
  }
}

/* Ajuste suave de sombra para la imagen del hero */
.hero-image,
.hero img {
  box-shadow: 0 12px 24px rgba(0,0,0,0.10) !important; /* sombra suave */
  border-radius: 22px; /* más moderno */
  transition: transform 0.25s ease;
}

.hero-image:hover {
  transform: translateY(-4px);
}

/* Animación suave */
@keyframes heroFade {
  0% {
    opacity: 0;
    transform: translateY(25px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Ajustes responsive */
@media (max-width: 992px) {
  .mg-hero-image {
    max-width: 420px;
    margin-top: 2rem;
  }
}

@media (max-width: 576px) {
  .mg-hero-image {
    max-width: 100%;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.2);
  }
}



/* BLOQUE BLANCO — altura fija para TODAS */
.mySwiperCatalogo .swiper-slide .card-body {
    height: 160px;      /* ⬅️ EL SECRETO: altura fija */
    padding: 20px 22px !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Título */
.mySwiperCatalogo .swiper-slide .card-title {
    margin-top: 10px;
    margin-bottom: 8px;
}

/* Descripción: limitar líneas */
.mySwiperCatalogo .swiper-slide .card-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Removed obsolete promo definitions (interactive and gradient versions)
   to keep only the final “fijo y funcional” implementation of .mg-promo-card
   and related elements. */


/* ===========================================
   PROMOS MG COPYARTE (FIJO Y FUNCIONAL)
   =========================================== */

/* ---- ESTRUCTURA BASE ---- */
.mg-promo-card {
  cursor: pointer;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: transparent;
}

.mg-promo-inner {
  position: relative;
  width: 100%;
  height: 230px;
}

/* ---- FRENTE (TEXTO) ---- */
.mg-promo-front {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 25px;
  color: #ffffff;
  background: linear-gradient(135deg, #0d6efd 0%, #1e90ff 100%);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  z-index: 2;
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* ---- DORSO (IMAGEN) ---- */
.mg-promo-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mg-promo-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- HOVER SOLO EN PC: MUESTRA IMAGEN ---- */
@media (min-width: 992px) {
  .mg-promo-card:hover .mg-promo-front {
    opacity: 0;
  }

  .mg-promo-card:hover .mg-promo-back {
    opacity: 1;
  }
}

/* ===========================================
   MÓVIL: SIEMPRE MOSTRAR IMAGEN
   =========================================== */
@media (max-width: 992px) {

  /* Ocultar frente de texto */
  .mg-promo-front {
    display: none !important;
    opacity: 0 !important;
  }

  /* Mostrar SIEMPRE la imagen */
  .mg-promo-back {
    opacity: 1 !important;
    display: block !important;
    position: relative !important;
  }

  /* Ajuste de altura bonito */
  .mg-promo-inner {
    height: auto !important;
  }

  .mg-promo-back img {
    border-radius: 20px;
    height: auto !important;
    width: 100%;
    display: block;
  }
}

/* ===========================================
   FIX GLOBAL – Secciones claras con texto oscuro
   =========================================== */

#servicios h2,
#servicios p,
#promos h2,
#promos p,
#catalogo h2,
#catalogo p,
#ubicacion h2,
#ubicacion p {
  color: #333 !important;
}

#servicios .mg-pill,
#promos .mg-pill,
#catalogo .mg-pill,
#ubicacion .mg-pill {
  color: var(--mg-primary) !important;
}


/* ================================
   CARDS — HOVER PRO ✨
================================ */
/* Wrapper con proporción fija 4:3 — ideal para catálogo */
.mg-card-img-wrapper {
    aspect-ratio: 4 / 3;
    width: 100%;
    overflow: hidden;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}

/* Imagen interna */
.mg-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}


/* (Las definiciones duplicadas de .mg-card y .mg-card:hover se consolidan en el bloque principal) */

.mg-card:hover .mg-card-img {
    transform: scale(1.10);
    filter: brightness(1.05);
}

.mg-opcion.active {
  background-color: #6f42c1 !important; /* violeta suave */
  color: #fff !important;
  border-color: #6f42c1 !important;
  transform: scale(1.05);
}



/* ======================================================
   BOTÓN DE CIERRE DEL MODAL (SOFT + DELICADO)
   ====================================================== */

#mgProductoModal .btn-close {
    /* Tamaño pequeño pero clickeable */
    width: 20px;
    height: 20px;
    padding: 6px;

    /* Reemplazamos el ícono default */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none' viewBox='0 0 24 24'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;

    border-radius: 6px;
    opacity: 0.7;
    filter: invert(0); /* evita que Bootstrap cambie el color */
    transition: all 0.2s ease;
}

#mgProductoModal .btn-close:hover {
    opacity: 1;
    background-color: rgba(0,0,0,0.05);
}

#mgProductoModal .btn-close:active {
    transform: scale(0.92);
}

/* ======================================================
   FIX para que la imagen del modal se vea correctamente
   dentro del ratio Bootstrap sin quedar tapada ni aplastada
   ====================================================== */

#mgProductoModal .ratio {
    position: relative;
}

#mgProductoModal .ratio img {
    position: absolute;
    inset: 0;               /* top:0, left:0, bottom:0, right:0 */
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 5;             /* asegura que quede por encima del ::before del ratio */
}

/* Contenedor de la imagen del modal */
.product-img-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4; /* reemplaza el ratio de bootstrap de forma segura */
    background: #f8f9fa;
    position: relative;
}

/* Imagen interna */
.product-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Modal: ajustar imagen en vista móvil */
@media (max-width: 576px) {

  /* Reducimos la altura del contenedor de imagen */
  #mgProductoModal .product-img-wrapper {
      aspect-ratio: 4 / 3 !important; /* más bajita */
      max-height: 190px !important;               /* límite visual */
  }

  #mgProductoModal .product-img {
      object-fit: cover;
  }
}

/* ============================
   MG - Registro por WhatsApp
============================ */

.mg-access-badge {
  background: #e8fff0;
  color: #0c7a2f;
  padding: 8px 14px;
  border-left: 4px solid #25d366;
  font-size: 0.9rem;
  display: none;
}

/* Modal */
.mg-modal-header-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f1f7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 12px;
}

.mg-btn-wa {
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 600;
}

.mg-btn-link {
  border: none;
  background: none;
  text-decoration: underline;
  font-size: 0.9rem;
}

.mg-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #25d366;
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  display: none;
  font-size: 0.9rem;
  z-index: 9999;
}

/* Sistema de bloqueo */
.requires-registration .locked-view { display: block; }
.requires-registration .unlocked-view { display: none; }

.requires-registration.registered .locked-view { display: none; }
.requires-registration.registered .unlocked-view { display: block; }

/* =========================
   THEME TOGGLE (FASE 1)
   ========================= */

.mg-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.15);
  background: transparent;
  line-height: 1;
}

.mg-theme-icon { font-size: 1rem; }

/* Dark mode: mínimo para legibilidad del toggle */
html.mg-theme-dark .mg-theme-toggle {
  border-color: rgba(255,255,255,.3);
  color: #fff;
}

.mg-theme-toggle:focus-visible {
  outline: 2px solid #0d6efd;
  outline-offset: 2px;
}

/* =========================================================
   MG THEME TOKENS + DARK REAL (FASE 2)
   ========================================================= */

/* Tokens base (fallback) */
:root{
  --mg-bg: #ffffff;
  --mg-surface: #ffffff;
  --mg-surface-2: #f6f7f9;
  --mg-text: #111827;
  --mg-muted: #6b7280;
  --mg-border: rgba(17,24,39,.12);

  --mg-link: #0d6efd;           /* bootstrap primary */
  --mg-focus: #0d6efd;

  /* CTA / marcas: los dejamos como están (no redefinimos acá) */
}

/* Light explicit */
html.mg-theme-light{
  color-scheme: light;
  --mg-bg: #ffffff;
  --mg-surface: #ffffff;
  --mg-surface-2: #f6f7f9;
  --mg-text: #111827;
  --mg-muted: #6b7280;
  --mg-border: rgba(17,24,39,.12);
}

/* Dark real */
html.mg-theme-dark{
  color-scheme: dark;

  /* Neutral / gris oscuro (menos azul) */
  --mg-bg: #0b0d12;          /* casi negro */
  --mg-surface: #11151c;     /* cards/nav */
  --mg-surface-2: #0e1218;   /* secciones / inputs */

  --mg-text: #e7eaf0;
  --mg-muted: #a0a8b5;
  --mg-border: rgba(231,234,240,.14);

  --mg-link: #8ab4ff;        /* opcional: links más suaves en dark */
  --mg-focus: #8ab4ff;
}


/* Dark Theme — Base Page */
html.mg-theme-dark body,
html.mg-theme-light body{
  background: var(--mg-bg);
  color: var(--mg-text);
}

/* Si dejaste clases Bootstrap en body, evitamos que "pisen" el tema */
html.mg-theme-dark body.bg-light,
html.mg-theme-dark body.bg-white{
  background: var(--mg-bg) !important;
}

/* Secciones Bootstrap comunes: que acompañen el tema */
html.mg-theme-dark .bg-light{
  background: var(--mg-surface-2) !important;
}
html.mg-theme-dark .bg-white{
  background: var(--mg-surface) !important;
}

/* Texto muted (sin tocar Bootstrap core, lo pisamos por tema) */
html.mg-theme-dark .text-muted{
  color: var(--mg-muted) !important;
}

/* Links */
html.mg-theme-dark a{
  color: var(--mg-text);
}
html.mg-theme-dark a:hover{
  opacity: .9;
}

/* Focus visible global */
html.mg-theme-dark :focus-visible,
html.mg-theme-light :focus-visible{
  outline: 2px solid var(--mg-focus);
  outline-offset: 2px;
}

/* Dark Theme — Navbar */
.mg-navbar{
  background: var(--mg-surface);
  border-bottom: 1px solid var(--mg-border);
}

.mg-navbar .nav-link{
  color: var(--mg-text);
  opacity: .9;
}
.mg-navbar .nav-link:hover{
  opacity: 1;
}
.mg-navbar .nav-link.active{
  opacity: 1;
}

/* Icono del toggler (tu hamburguesa) */
html.mg-theme-dark .navbar-toggler{
  color: var(--mg-text);
  border-color: var(--mg-border);
}

/* Dark Theme — Cards */
.mg-card,
.mg-promo-card,
.mg-map-wrapper,
.modal-content{
  background: var(--mg-surface);
  color: var(--mg-text);
  border-color: var(--mg-border);
}

html.mg-theme-dark .card{
  background: var(--mg-surface);
  color: var(--mg-text);
  border-color: var(--mg-border);
}

/* Sombras un poco más sutiles en dark (opcional, pero mejora) */
html.mg-theme-dark .shadow,
html.mg-theme-dark .shadow-sm{
  box-shadow: 0 10px 25px rgba(0,0,0,.35) !important;
}

/* Dark Theme — Forms & Inputs */
html.mg-theme-dark .form-control,
html.mg-theme-dark .form-select,
html.mg-theme-dark .input-group-text{
  background: var(--mg-surface-2);
  color: var(--mg-text);
  border-color: var(--mg-border);
}
html.mg-theme-dark .form-control::placeholder{
  color: var(--mg-muted);
}

/* Dropdown menu (si aparece en alguna página) */
html.mg-theme-dark .dropdown-menu{
  background: var(--mg-surface);
  border-color: var(--mg-border);
}
html.mg-theme-dark .dropdown-item{
  color: var(--mg-text);
}
html.mg-theme-dark .dropdown-item:hover{
  background: var(--mg-surface-2);
}

/* Dark Theme — Sections Home */

/* Revertir el "fix de texto oscuro" cuando está en dark */
html.mg-theme-dark #servicios h2,
html.mg-theme-dark #promos h2,
html.mg-theme-dark #catalogo h2,
html.mg-theme-dark #ubicacion h2 {
  color: var(--mg-text) !important;
}

/* Opcional: que los párrafos se vean un toque más suaves */
html.mg-theme-dark #servicios p,
html.mg-theme-dark #promos p,
html.mg-theme-dark #catalogo p,
html.mg-theme-dark #ubicacion p {
  color: var(--mg-muted) !important;
}

/* Dark Theme — Catalog Buttons */

/* Dark Theme — Catalog Buttons (SOLO catálogo, no modal) */
html.mg-theme-dark #catalogo .btn.btn-light,
html.mg-theme-dark .mg-catalogo .btn.btn-light {
  background-color: var(--mg-primary) !important;
  border-color: var(--mg-primary) !important;
  color: #000 !important;
}

html.mg-theme-dark #catalogo .btn.btn-light:hover,
html.mg-theme-dark .mg-catalogo .btn.btn-light:hover {
  filter: brightness(1.05);
  color: #000 !important;
}

/* Modal: opciones (chips) visibles */
#mgProductoModal .mg-opcion{
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(13,110,253,.06);
  color: var(--mg-text);
  font-weight: 600;
  border-radius: 999px;
  padding: .55rem 1rem;
}

#mgProductoModal .mg-opcion:hover{
  background: rgba(13,110,253,.10);
  border-color: rgba(13,110,253,.35);
}

/* Dark: más contraste */
html.mg-theme-dark #mgProductoModal .mg-opcion{
  border-color: rgba(255,255,255,.16);
  background: rgba(138,180,255,.12);
}
html.mg-theme-dark #mgProductoModal .mg-opcion:hover{
  background: rgba(138,180,255,.18);
  border-color: rgba(138,180,255,.35);
}



.mg-theme-toggle-top{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

html.mg-theme-dark .mg-theme-toggle-top{
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
}

/* Dark Theme — Footer */

/* Fondo del footer en dark (para que no quede blanco raro) */
html.mg-theme-dark .mg-footer{
  background: var(--mg-surface);
  border-top: 1px solid var(--mg-border);
}

/* Links/Texto del footer: equivalente al #555 de light pero en claro */
html.mg-theme-dark .mg-footer,
html.mg-theme-dark .mg-footer a{
  color: var(--mg-text) !important;
  opacity: 0.9;
}

/* Íconos (FontAwesome) */
html.mg-theme-dark .mg-footer i,
html.mg-theme-dark .mg-footer .fa{
  color: var(--mg-text) !important;
  opacity: 0.9;
}

/* Hover: igual que light (naranja MG) */
html.mg-theme-dark .mg-footer a:hover,
html.mg-theme-dark .mg-footer a:hover i,
html.mg-theme-dark .mg-footer a:hover .fa{
  color: var(--mg-primary) !important;
  opacity: 1;
}

/* =========================================
   TOOLS SPOTLIGHT (Home)
   ========================================= */

#tools-spotlight { position: relative; }

.mg-tools-spotlight{
  position: relative;
  border-radius: 22px;
  background: var(--mg-surface);
  border: 1px solid var(--mg-border);
  overflow: hidden;
  box-shadow:
    0 12px 30px rgba(0,0,0,.18);
  -webkit-tap-highlight-color: transparent;
}

.mg-tools-spotlight::before{
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  background:
    radial-gradient(600px 220px at 20% 20%, rgba(255,123,0,.30), transparent 60%),
    radial-gradient(520px 220px at 80% 15%, rgba(37,211,102,.22), transparent 60%),
    radial-gradient(520px 260px at 70% 85%, rgba(79,170,213,.18), transparent 62%);
  filter: blur(14px);
  opacity: .95;
  pointer-events: none;
}

.mg-tools-spotlight::after{
  /* brillo “Apple-like” suave arriba */
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 10px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.24), transparent);
  opacity: .65;
  pointer-events: none;
}

.mg-tools-spotlight__inner{
  position: relative;
  z-index: 1;
  padding: 18px;
}

@media (min-width: 768px){
  .mg-tools-spotlight__inner{ padding: 22px 26px; }
}

.mg-tools-spotlight__icon{
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;

  background: rgba(255,123,0,.10);
  color: #ffb27a;

  box-shadow:
    0 0 0 1px rgba(255,255,255,.06) inset,
    0 10px 26px rgba(255,123,0,.15);
}

html.mg-theme-light .mg-tools-spotlight__icon{
  color: #ff7b00;
}

.mg-tools-spotlight__kicker{
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .2px;
  padding: 6px 10px;
  border-radius: 999px;

  background: rgba(37,211,102,.12);
  color: #25d366;
  border: 1px solid rgba(37,211,102,.20);
  margin-bottom: 10px;
}

.mg-tools-spotlight__title{
  font-size: 1.15rem;
  line-height: 1.2;
  color: var(--mg-text);
  margin: 0;
}

@media (min-width: 768px){
  .mg-tools-spotlight__title{ font-size: 1.35rem; }
}

.mg-tools-spotlight__desc{
  color: var(--mg-muted);
  margin: 0;
}

.mg-tools-spotlight__muted{
  opacity: .9;
  font-weight: 600;
}

.mg-tools-spotlight__cta{
  border-radius: 999px;
  padding: 12px 16px; /* pulgar-friendly */
  font-weight: 700;
  box-shadow:
    0 10px 22px rgba(37,211,102,.20);
}

.mg-tools-spotlight:focus-visible,
.mg-tools-spotlight:focus-within{
  outline: 2px solid rgba(138,180,255,.55);
  outline-offset: 3px;
}

.mg-tools-spotlight:active{
  transform: translateY(1px);
}

/* Footer: redes prolijas en mobile + alineación en desktop */
.mg-footer-links{
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: center; /* mobile */
}

@media (min-width: 768px){
  .mg-footer-links{
    justify-content: flex-end; /* desktop */
  }
}

.mg-footer-links a{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap; /* evita cortes feos tipo "Face" + "book" */
}

.mg-footer-links i{
  font-size: 1rem;
  line-height: 1;
}

@media (max-width: 767px) {
  .mg-footer .footer-copyright {
    width: 100%;
    text-align: center;
  }
}

/* CTA centrado + más llamativo */
.mg-promo-back { position: relative; }

.mg-promo-cta{
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 2;

  padding: 10px 18px;
  border-radius: 999px;

  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.2px;

  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  backdrop-filter: blur(8px);

  box-shadow: 0 10px 24px rgba(0,0,0,0.25);

  pointer-events: none; /* no bloquea el click */
  white-space: nowrap;
}

/* Micro-animación SOLO en mobile (llamativa pero elegante) */
@media (max-width: 767px){
  .mg-promo-cta{
    animation: mgCtaPulse 1.8s ease-in-out infinite;
  }
}

@keyframes mgCtaPulse{
  0%, 100%{
    transform: translateX(-50%) scale(1);
    opacity: 0.95;
  }
  50%{
    transform: translateX(-50%) scale(1.06);
    opacity: 1;
  }
}

/* Opcional: ocultarlo en desktop */
@media (min-width: 992px){
  .mg-promo-cta{ display:none; }
}

/* Bloque CTA cierre catálogo */
.catalogo-cta-box {
  border-radius: 0px;
  background: linear-gradient(
    135deg,
    rgba(77, 187, 255, 0.644),
    rgba(1, 73, 150, 0.505)
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* =======================================
   Modal producto — botones opciones (LIGHT)
   ======================================= */

/* Estado base: visible */
html:not(.mg-theme-dark) #mgProductoModal .mg-opcion{
  background-color: #73c5fb;                 /* gris muy suave */
  border: 1px solid rgba(0,0,0,.15);
  color: var(--mg-text);
  font-weight: 600;
  border-radius: 999px;
  padding: .55rem 1rem;
  transition: background .15s ease, border-color .15s ease;
}

/* Hover */
html:not(.mg-theme-dark) #mgProductoModal .mg-opcion:hover{
  background-color: #2d8eee;                 /* leve azul */
  border-color: rgba(0, 80, 201, 0.766);
}

/* Active (por si querés reforzar un poco más en light) */
html:not(.mg-theme-dark) #mgProductoModal .mg-opcion.active{
  background-color: var(--mg-primary);
  border-color: var(--mg-primary);
  color: #fff;
}

/* =======================================
   Modal close — hit area real y visible
   ======================================= */

#mgProductoModal .mg-modal-close{
  position: absolute;
  top: 1rem;
  right: 1rem;

  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  border: none;

  background: rgba(255,255,255,.08);
  color: #fff;

  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;

  transition: background .15s ease, transform .05s ease;
  z-index: 10;
}

#mgProductoModal .mg-modal-close:hover{
  background: rgba(255,255,255,.16);
}

#mgProductoModal .mg-modal-close:active{
  transform: scale(.96);
}

/* Light */
html:not(.mg-theme-dark) #mgProductoModal .mg-modal-close{
  background: rgba(0,0,0,.06);
  color: #000;
}
html:not(.mg-theme-dark) #mgProductoModal .mg-modal-close:hover{
  background: rgba(0,0,0,.12);
}

/* ======================================================
   MG MODAL PRODUCT IMAGE — FIX SIN RECORTE
   ====================================================== */

.mg-modal-product-media{
  width: 100%;
  aspect-ratio: 4 / 3;   /* 👈 match perfecto con 1200x900 */
  max-height: 420px;
  background: var(--mg-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 1rem;
}

.mg-modal-product-img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

/* MOBILE: un toque más compacto */
@media (max-width: 576px){
  .mg-modal-product-media{
    max-height: 260px;
  }
}

/* DARK: separa sutil del fondo */
html.mg-theme-dark .mg-modal-product-media{
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.06);
}

/* ======================================================
   Modal producto — MOBILE: sin sobrante gris
   (el contenedor se adapta a la imagen)
   ====================================================== */
@media (max-width: 576px){
  .mg-modal-product-media{
    aspect-ratio: auto;       
    max-height: none;
    background: transparent;  
    border: 0;
    padding: 0;
    display: block;           
  }

  .mg-modal-product-img{
    width: 100%;
    height: auto;             
    max-height: 60vh;         
    object-fit: contain;
    display: block;
  }
}

/* Modal producto: respetar saltos de línea en descripcion_larga */
#mgProductoModal #mgModalDescripcionLarga{
  white-space: pre-line;
}

/* ===========================================
   APUNTES Y LIBROS (FEATURE HOME) — PRO
   =========================================== */

.mg-section-notes .mg-notes-feature{
  border-radius: 1.75rem;
  border: 1px solid rgba(0,0,0,0.07);
  background:
    radial-gradient(900px 320px at 18% 20%, rgba(255,123,0,0.09), transparent 62%),
    radial-gradient(900px 320px at 86% 28%, rgba(0,188,212,0.08), transparent 62%),
    linear-gradient(135deg, rgba(255,255,255,0.72), rgba(255,255,255,0.60));
  box-shadow:
    0 18px 55px rgba(15, 23, 42, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.50);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
}

.mg-section-notes .mg-notes-feature::after{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: inherit;
  pointer-events:none;
  background: linear-gradient(135deg, rgba(255,123,0,0.18), rgba(0,188,212,0.12), rgba(255,255,255,0));
  opacity: .35;
  filter: blur(18px);
}

.mg-notes-list{
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.mg-notes-list li{
  display: flex;
  align-items: flex-start;
  gap: .60rem;
  margin-bottom: .52rem;
  color: rgba(17, 24, 39, 0.86);
}

.mg-notes-list i{
  margin-top: .20rem;
  color: var(--mg-primary);
  opacity: .95;
}

.mg-notes-card{
  border-radius: 1.5rem;
  border: 1px solid rgba(0,0,0,0.07);
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 16px 45px rgba(15, 23, 42, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.45);
  padding: 1.25rem;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.mg-notes-card:hover{
  transform: translateY(-2px);
  border-color: rgba(0,0,0,0.10);
  box-shadow:
    0 22px 55px rgba(15, 23, 42, 0.14),
    inset 0 1px 0 rgba(255,255,255,0.45);
}

.mg-notes-icon{
  width: 62px;
  height: 62px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,123,0,0.12);
  color: var(--mg-primary);
  font-size: 1.6rem;
  border: 1px solid rgba(255,123,0,0.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
  margin-bottom: .95rem;
}

.mg-notes-kpis{
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}

@media (min-width: 992px){
  .mg-notes-kpis{
    grid-template-columns: 1fr 1fr;
  }
}

.mg-notes-kpi{
  border-radius: 1rem;
  border: 1px solid rgba(0,0,0,0.07);
  background: rgba(255,255,255,0.82);
  padding: .85rem .95rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.40);
}

.mg-notes-kpi-title{
  font-size: .80rem;
  color: rgba(17, 24, 39, 0.60);
  margin-bottom: .12rem;
}

.mg-notes-kpi-value{
  font-weight: 800;
  letter-spacing: -0.012em;
  color: rgba(17, 24, 39, 0.92);
}

.mg-notes-badges{
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  opacity: .98;
}

.mg-notes-badge{
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  font-size: .78rem;
  padding: .35rem .62rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.70);
  color: rgba(17, 24, 39, 0.78);
}

html:not(.mg-theme-dark) #apuntes h2,
html:not(.mg-theme-dark) #apuntes p{
  color: #333 !important;
}

#apuntes .mg-pill{
  color: var(--mg-primary) !important;
}

/* ===========================================
   DARK MODE top contraste + glas
   =========================================== */

html.mg-theme-dark .mg-section-notes .mg-notes-feature{
  border-color: rgba(255,255,255,0.10);
  background:
    radial-gradient(900px 320px at 18% 20%, rgba(255,123,0,0.18), transparent 62%),
    radial-gradient(900px 320px at 86% 28%, rgba(0,188,212,0.14), transparent 62%),
    linear-gradient(135deg, rgba(12, 16, 24, 0.70), rgba(12, 16, 24, 0.56));
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

html.mg-theme-dark #apuntes h2{
  color: rgba(255,255,255,0.94) !important;
}

html.mg-theme-dark #apuntes p,
html.mg-theme-dark #apuntes .text-muted{
  color: rgba(255,255,255,0.74) !important;
}

html.mg-theme-dark .mg-notes-list li{
  color: rgba(255,255,255,0.88);
}

html.mg-theme-dark .mg-notes-card{
  border-color: rgba(255,255,255,0.10);
  background: rgba(20, 24, 32, 0.56);
  box-shadow:
    0 22px 60px rgba(0,0,0,0.40),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

html.mg-theme-dark .mg-notes-card:hover{
  border-color: rgba(255,255,255,0.14);
  box-shadow:
    0 28px 70px rgba(0,0,0,0.46),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

html.mg-theme-dark .mg-notes-kpi,
html.mg-theme-dark .mg-notes-badge{
  border-color: rgba(255,255,255,0.10);
  background: rgba(20, 24, 32, 0.62);
}

html.mg-theme-dark .mg-notes-kpi-title{
  color: rgba(255,255,255,0.66);
}

html.mg-theme-dark .mg-notes-kpi-value{
  color: rgba(255,255,255,0.93);
}

html.mg-theme-dark .mg-notes-badge{
  color: rgba(255,255,255,0.78);
}

/* ===========================================
   APUNTES — Reveal premium 
   =========================================== */

#apuntes.js-inview,
#apuntes .js-inview{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
  will-change: opacity, transform;
}

#apuntes.is-inview,
#apuntes .is-inview{
  opacity: 1;
  transform: translateY(0);
}

/* Stagger sutil (sin JS extra) */
#apuntes .mg-notes-feature{ transition-delay: .02s; }
#apuntes .col-lg-7.js-inview{ transition-delay: .06s; }
#apuntes .mg-notes-card.js-inview{ transition-delay: .12s; }

/* Bullets: aparecen “en cadena” */
#apuntes .mg-notes-list li{
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .45s ease, transform .45s ease;
}

#apuntes.is-inview .mg-notes-list li{
  opacity: 1;
  transform: translateY(0);
}

#apuntes.is-inview .mg-notes-list li:nth-child(1){ transition-delay: .10s; }
#apuntes.is-inview .mg-notes-list li:nth-child(2){ transition-delay: .14s; }
#apuntes.is-inview .mg-notes-list li:nth-child(3){ transition-delay: .18s; }
#apuntes.is-inview .mg-notes-list li:nth-child(4){ transition-delay: .22s; }

/* Respeto accesibilidad: si el user prefiere menos animación */
@media (prefers-reduced-motion: reduce){
  #apuntes.js-inview,
  #apuntes .js-inview,
  #apuntes .mg-notes-list li{
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* ===========================================
   APUNTES — Extras 
   =========================================== */

.mg-notes-mini-pill{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  font-size:.78rem;
  padding:.35rem .6rem;
  border-radius:999px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.66);
  color: rgba(17,24,39,0.72);
}

html.mg-theme-dark .mg-notes-mini-pill{
  border-color: rgba(255,255,255,0.10);
  background: rgba(20, 24, 32, 0.52);
  color: rgba(255,255,255,0.74);
}

/* Highlight promos (clickeable) */
.mg-notes-highlight{
  width: 100%;
  display:flex;
  align-items:center;
  gap:.7rem;
  padding:.78rem .9rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(0,0,0,0.10);
  background:
    linear-gradient(135deg, rgba(255,123,0,0.10), rgba(0,188,212,0.06)),
    rgba(255,255,255,0.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45);
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
  text-align: left;
}

.mg-notes-highlight:hover{
  transform: translateY(-1px);
  border-color: rgba(0,0,0,0.14);
  box-shadow:
    0 14px 34px rgba(15, 23, 42, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.45);
}

.mg-notes-highlight i{
  width: 40px;
  height: 40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  color: var(--mg-primary);
  background: rgba(255,123,0,0.12);
  border: 1px solid rgba(255,123,0,0.22);
}

.mg-notes-highlight-title{
  font-weight: 800;
  letter-spacing: -0.01em;
  color: rgba(17, 24, 39, 0.92);
  line-height: 1.15;
}

.mg-notes-highlight-sub{
  font-size: .82rem;
  color: rgba(17, 24, 39, 0.62);
}

.mg-notes-highlight-cta{
  margin-left:auto;
  color: rgba(17, 24, 39, 0.55);
  font-size: 1.15rem;
}

html.mg-theme-dark .mg-notes-highlight{
  border-color: rgba(255,255,255,0.10);
  background:
    linear-gradient(135deg, rgba(255,123,0,0.16), rgba(0,188,212,0.10)),
    rgba(20, 24, 32, 0.58);
}

html.mg-theme-dark .mg-notes-highlight-title{
  color: rgba(255,255,255,0.92);
}

html.mg-theme-dark .mg-notes-highlight-sub{
  color: rgba(255,255,255,0.70);
}

html.mg-theme-dark .mg-notes-highlight-cta{
  color: rgba(255,255,255,0.60);
}

/* Botón soft opcional (si lo usás en HTML) */
.mg-notes-btn-soft{
  border-color: rgba(255,255,255,0.18) !important;
  color: rgba(255,255,255,0.88) !important;
  background: rgba(255,255,255,0.06) !important;
}
html:not(.mg-theme-dark) .mg-notes-btn-soft{
  border-color: rgba(0,0,0,0.12) !important;
  color: rgba(17,24,39,0.80) !important;
  background: rgba(255,255,255,0.55) !important;
}

/* =========================================
   CLUB MG HOME — Card premium animada
   ========================================= */

#club-mg-home {
  position: relative;
}

.mg-club-home-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(17, 21, 28, 0.94), rgba(9, 13, 20, 0.94));
  border: 1px solid rgba(255, 123, 0, 0.22);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-tap-highlight-color: transparent;
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
}

/* Glow vivo de fondo */
.mg-club-home-card::before {
  content: "";
  position: absolute;
  inset: -35%;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 123, 0, 0.34), transparent 30%),
    radial-gradient(circle at 75% 20%, rgba(37, 211, 102, 0.26), transparent 28%),
    radial-gradient(circle at 70% 80%, rgba(0, 188, 212, 0.20), transparent 34%);
  filter: blur(22px);
  opacity: .78;
  animation: mgClubAurora 8s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Borde/brillo superior sutil */
.mg-club-home-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      110deg,
      transparent 0%,
      transparent 34%,
      rgba(255, 255, 255, 0.18) 46%,
      transparent 58%,
      transparent 100%
    );
  transform: translateX(-120%);
  animation: mgClubShine 5.5s ease-in-out infinite;
  pointer-events: none;
}

/* Capa interna */
.mg-club-home-card__inner {
  position: relative;
  z-index: 2;
  padding: 22px;
}

/* Textura oscura interna */
.mg-club-home-card__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)),
    radial-gradient(circle at top left, rgba(255,123,0,0.08), transparent 42%);
  pointer-events: none;
  z-index: -1;
}

@media (min-width: 768px) {
  .mg-club-home-card__inner {
    padding: 26px 30px;
  }
}

.mg-club-home-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 211, 102, 0.38);
  box-shadow:
    0 28px 75px rgba(0, 0, 0, 0.42),
    0 0 34px rgba(37, 211, 102, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Ícono estrella */
.mg-club-home-card__icon {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-size: 23px;
  background:
    linear-gradient(135deg, rgba(255,123,0,.22), rgba(255,123,0,.08));
  color: #ff9b3d;
  border: 1px solid rgba(255,123,0,.30);
  box-shadow:
    0 0 0 6px rgba(255,123,0,.05),
    0 14px 30px rgba(255,123,0,.18),
    inset 0 1px 0 rgba(255,255,255,.12);
  animation: mgClubIconPulse 2.8s ease-in-out infinite;
}

.mg-club-home-card__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: .80rem;
  font-weight: 800;
  letter-spacing: .2px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(37,211,102,.14);
  color: #8ef5ad;
  border: 1px solid rgba(37,211,102,.26);
  margin-bottom: 10px;
  box-shadow: 0 0 22px rgba(37,211,102,.08);
}

.mg-club-home-card__title {
  font-size: 1.22rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: rgba(255,255,255,.95);
  margin: 0;
}

@media (min-width: 768px) {
  .mg-club-home-card__title {
    font-size: 1.48rem;
  }
}

.mg-club-home-card__desc {
  max-width: 720px;
  color: rgba(255,255,255,.72);
  margin: 0;
  line-height: 1.55;
}

/* Botón */
.mg-club-home-card__cta {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  color: #07120b;
  background: linear-gradient(135deg, #25d366, #8df5ad);
  border: 1px solid rgba(37,211,102,.45);
  box-shadow:
    0 12px 28px rgba(37,211,102,.24),
    inset 0 1px 0 rgba(255,255,255,.35);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    filter .18s ease;
}

.mg-club-home-card__cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent);
  transform: skewX(-18deg);
  transition: left .55s ease;
}

.mg-club-home-card:hover .mg-club-home-card__cta {
  transform: translateY(-1px);
  box-shadow:
    0 16px 34px rgba(37,211,102,.30),
    inset 0 1px 0 rgba(255,255,255,.38);
  filter: brightness(1.03);
}

.mg-club-home-card:hover .mg-club-home-card__cta::before {
  left: 125%;
}

/* Mobile */
@media (max-width: 767px) {
  .mg-club-home-card__inner {
    text-align: center;
    padding: 22px 18px;
  }

  .mg-club-home-card__badge {
    margin-left: auto;
    margin-right: auto;
  }

  .mg-club-home-card__desc {
    font-size: .94rem;
  }

  .mg-club-home-card__cta {
    width: 100%;
    max-width: 260px;
  }
}

/* Versión light: que no quede rara si activás tema claro */
html:not(.mg-theme-dark) .mg-club-home-card {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.86), rgba(246,248,252,0.82));
  border-color: rgba(255,123,0,.20);
  box-shadow:
    0 18px 46px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.60);
}

html:not(.mg-theme-dark) .mg-club-home-card__title {
  color: rgba(17,24,39,.94);
}

html:not(.mg-theme-dark) .mg-club-home-card__desc {
  color: rgba(17,24,39,.68);
}

html:not(.mg-theme-dark) .mg-club-home-card__badge {
  color: #15803d;
  background: rgba(37,211,102,.12);
  border-color: rgba(37,211,102,.22);
}

/* Animaciones */
@keyframes mgClubAurora {
  0% {
    transform: translate3d(-2%, -2%, 0) rotate(0deg) scale(1);
    opacity: .62;
  }

  50% {
    transform: translate3d(3%, 2%, 0) rotate(8deg) scale(1.04);
    opacity: .82;
  }

  100% {
    transform: translate3d(-1%, 3%, 0) rotate(-6deg) scale(1.02);
    opacity: .72;
  }
}

@keyframes mgClubShine {
  0%,
  45% {
    transform: translateX(-120%);
    opacity: 0;
  }

  55% {
    opacity: .75;
  }

  72% {
    transform: translateX(120%);
    opacity: 0;
  }

  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

@keyframes mgClubIconPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 6px rgba(255,123,0,.05),
      0 14px 30px rgba(255,123,0,.18),
      inset 0 1px 0 rgba(255,255,255,.12);
  }

  50% {
    transform: scale(1.045);
    box-shadow:
      0 0 0 9px rgba(255,123,0,.08),
      0 18px 38px rgba(255,123,0,.24),
      inset 0 1px 0 rgba(255,255,255,.16);
  }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .mg-club-home-card,
  .mg-club-home-card::before,
  .mg-club-home-card::after,
  .mg-club-home-card__icon,
  .mg-club-home-card__cta,
  .mg-club-home-card__cta::before {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* =========================================================
   MG CopyArte · Banner Figuritas Argentina
   ========================================================= */

.mg-sticker-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(80, 180, 255, .10), transparent 34%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, .06), transparent 30%),
    var(--mg-surface-2, #0e1218);
}

.mg-sticker-banner {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: clamp(1.35rem, 3vw, 3rem);
  background:
    linear-gradient(135deg, rgba(12, 18, 28, .98), rgba(10, 15, 24, .94)),
    radial-gradient(circle at 85% 15%, rgba(105, 205, 255, .22), transparent 34%),
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, .06), transparent 32%);
  border: 1px solid rgba(150, 220, 255, .18);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, .42),
    inset 0 1px 0 rgba(255, 255, 255, .05);
}

.mg-sticker-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0%, rgba(116, 206, 255, .08) 42%, transparent 62%),
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,.025) 0,
      rgba(255,255,255,.025) 1px,
      transparent 1px,
      transparent 15px
    );
  pointer-events: none;
  opacity: .65;
}

.mg-sticker-bg-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  right: -120px;
  top: -120px;
  background: radial-gradient(circle, rgba(93, 196, 255, .30), transparent 66%);
  filter: blur(8px);
  pointer-events: none;
}

.mg-sticker-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.mg-sticker-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: 1rem;
  padding: .45rem .8rem;
  border-radius: 999px;
  color: #dff6ff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(77, 190, 255, .12);
  border: 1px solid rgba(144, 220, 255, .22);
  box-shadow: 0 0 26px rgba(64, 177, 255, .14);
}

.mg-sticker-badge i {
  color: #8be2ff;
}

.mg-sticker-title {
  margin: 0;
  max-width: 720px;
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 4.15rem);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 900;
}

.mg-sticker-text {
  max-width: 600px;
  margin: 1rem 0 0;
  color: rgba(231, 244, 255, .82);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.55;
}

.mg-sticker-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .9rem 1rem;
  margin-top: 1.55rem;
}

.mg-sticker-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 52px;
  padding: .95rem 1.35rem;
  border-radius: 999px;
  color: #04121c !important;
  font-weight: 900;
  font-size: .92rem;
  letter-spacing: .045em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(135deg, #ffffff 0%, #bdeeff 45%, #57c9ff 100%);
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow:
    0 0 0 4px rgba(82, 200, 255, .08),
    0 16px 34px rgba(52, 181, 255, .24);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.mg-sticker-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow:
    0 0 0 5px rgba(82, 200, 255, .12),
    0 20px 44px rgba(52, 181, 255, .34);
}

.mg-sticker-note {
  color: rgba(231, 244, 255, .68);
  font-size: .92rem;
}

/* Preview derecha */

.mg-sticker-preview {
  position: relative;
  z-index: 2;
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mg-real-sticker-img {
  position: relative;
  z-index: 2;
  width: min(290px, 78vw);
  height: auto;
  display: block;
  border-radius: 22px;
  transform: rotate(7deg);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, .42),
    0 0 60px rgba(83, 199, 255, .18);
  animation: mgStickerFloat 5.5s ease-in-out infinite;
}

/* Decorativos */

.mg-sticker-orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(126, 213, 255, .18);
  box-shadow: inset 0 0 30px rgba(80, 198, 255, .05);
}

.mg-orbit-1 {
  width: 330px;
  height: 330px;
  transform: rotate(-18deg);
}

.mg-orbit-2 {
  width: 235px;
  height: 235px;
  transform: rotate(23deg);
}

.mg-sticker-spark {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #dff8ff;
  box-shadow: 0 0 18px rgba(123, 220, 255, .8);
}

.spark-1 {
  top: 13%;
  right: 18%;
}

.spark-2 {
  left: 17%;
  top: 26%;
  width: 6px;
  height: 6px;
}

.spark-3 {
  right: 14%;
  bottom: 24%;
  width: 7px;
  height: 7px;
}

.spark-4 {
  left: 24%;
  bottom: 18%;
  width: 5px;
  height: 5px;
}

/* Animación sutil */

@keyframes mgStickerFloat {
  0%, 100% {
    transform: rotate(7deg) translateY(0);
  }
  50% {
    transform: rotate(5deg) translateY(-10px);
  }
}

/* Tablet / mobile */

@media (max-width: 991.98px) {
  .mg-sticker-section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .mg-sticker-banner {
    border-radius: 26px;
    text-align: center;
  }

  .mg-sticker-content {
    margin-inline: auto;
  }

  .mg-sticker-title {
    max-width: 540px;
    margin-inline: auto;
  }

  .mg-sticker-text {
    max-width: 500px;
    margin-inline: auto;
  }

  .mg-sticker-actions {
    justify-content: center;
  }

  .mg-sticker-preview {
    min-height: 330px;
    margin-top: .4rem;
  }

  .mg-real-sticker-img {
    width: min(250px, 74vw);
    transform: rotate(4deg);
  }

  @keyframes mgStickerFloat {
    0%, 100% {
      transform: rotate(4deg) translateY(0);
    }
    50% {
      transform: rotate(2deg) translateY(-8px);
    }
  }
}

@media (max-width: 575.98px) {
  .mg-sticker-banner {
    padding: 1.35rem 1rem 1.55rem;
    border-radius: 22px;
  }

  .mg-sticker-badge {
    font-size: .7rem;
    padding: .4rem .7rem;
  }

  .mg-sticker-title {
    font-size: clamp(1.85rem, 10vw, 2.75rem);
    letter-spacing: -.045em;
  }

  .mg-sticker-text {
    font-size: .98rem;
  }

  .mg-sticker-btn {
    width: 100%;
    min-height: 54px;
  }

  .mg-sticker-note {
    width: 100%;
    font-size: .84rem;
  }

  .mg-sticker-preview {
    min-height: 300px;
  }

  .mg-real-sticker-img {
    width: min(225px, 78vw);
  }

  .mg-orbit-1 {
    width: 270px;
    height: 270px;
  }

  .mg-orbit-2 {
    width: 200px;
    height: 200px;
  }

  .spark-1 {
    right: 8%;
  }

  .spark-2 {
    left: 9%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mg-real-sticker-img {
    animation: none;
  }

  .mg-sticker-btn {
    transition: none;
  }
}