/* =========================================================
   SM EVENTOS — GLOBAL DESIGN SYSTEM
   Base genérica para Astra Pro + Elementor Pro
   Versión: 1.1
========================================================= */

/* =========================================================
   1. VARIABLES
========================================================= */
:root {
  /* Colores base */
  --sm-black: #08080D;
  --sm-dark: #111116;
  --sm-card: #181822;
  --sm-surface: #101018;

  /* Colores marca */
  --sm-pink: #FF2D95;
  --sm-purple: #7B2CBF;
  --sm-gold: #FFD166;

  /* Neutros */
  --sm-white: #FFFFFF;
  --sm-gray: #B3B3B3;
  --sm-muted: #73737D;
  --sm-text: #D7D7DC;

  /* Glass / bordes */
  --sm-glass: rgba(255,255,255,.055);
  --sm-glass-strong: rgba(255,255,255,.09);
  --sm-border: rgba(255,255,255,.14);
  --sm-border-soft: rgba(255,255,255,.08);
  --sm-border-hot: rgba(255,45,149,.55);

  /* Gradientes / sombras */
  --sm-gradient: linear-gradient(135deg, #7B2CBF 0%, #FF2D95 55%, #FFD166 100%);
  --sm-gradient-pink: linear-gradient(135deg, #7B2CBF 0%, #FF2D95 70%);
  --sm-gradient-dark: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  --sm-shadow: 0 24px 70px rgba(0,0,0,.42);
  --sm-shadow-soft: 0 18px 45px rgba(0,0,0,.34);
  --sm-glow: 0 0 35px rgba(255,45,149,.38);
  --sm-glow-soft: 0 0 22px rgba(255,45,149,.22);

  /* Radios */
  --sm-radius-xl: 30px;
  --sm-radius: 22px;
  --sm-radius-md: 14px;
  --sm-radius-sm: 10px;
  --sm-radius-pill: 999px;

  /* Tipografías */
  --sm-font-title: "Bebas Neue", Impact, sans-serif;
  --sm-font-body: "Montserrat", Arial, sans-serif;

  /* Layout */
  --sm-container: 1320px;
  --sm-container-wide: 1480px;
  --sm-section-y: 90px;
}

/* =========================================================
   2. RESET WORDPRESS / ASTRA / ELEMENTOR
========================================================= */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--sm-black);
  color: var(--sm-white);
  font-family: var(--sm-font-body);
  font-size: 16px;
  line-height: 1.65;
}

.site,
.site-content,
.ast-container,
.elementor,
.elementor-location-header,
.elementor-location-footer {
  background: var(--sm-black);
}

.ast-container,
.site-content .ast-container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: inherit;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

p:last-child {
  margin-bottom: 0;
}

.elementor-widget:not(:last-child) {
  margin-bottom: 0;
}

/* =========================================================
   3. LAYOUT GENÉRICO
========================================================= */
.sm-container {
  width: min(calc(100% - 48px), var(--sm-container));
  margin-inline: auto;
}

.sm-container-wide {
  width: min(calc(100% - 48px), var(--sm-container-wide));
  margin-inline: auto;
}

.sm-section {
  position: relative;
  overflow: hidden;
  padding: var(--sm-section-y) 0;
}

.sm-section-dark {
  background: var(--sm-black);
}

.sm-section-surface {
  background: var(--sm-surface);
}

.sm-section-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 10%, rgba(255,45,149,.13), transparent 28%),
    radial-gradient(circle at 10% 55%, rgba(123,44,191,.15), transparent 35%);
  pointer-events: none;
}

.sm-section > .e-con-inner,
.sm-section > .elementor-container,
.sm-section > .elementor-widget-container {
  position: relative;
  z-index: 2;
}

.sm-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sm-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sm-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }

.sm-flex { display: flex; }
.sm-flex-center { display: flex; align-items: center; justify-content: center; }
.sm-flex-between { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.sm-wrap { flex-wrap: wrap; }

/* =========================================================
   4. TIPOGRAFÍA
========================================================= */
.sm-h1,
.sm-h1 .elementor-heading-title,
h1.sm-h1 {
  font-family: var(--sm-font-title);
  font-size: clamp(4.5rem, 9vw, 10rem);
  line-height: .9;
  letter-spacing: .035em;
  text-transform: uppercase;
  color: var(--sm-white);
}

.sm-h2,
.sm-h2 .elementor-heading-title,
h2.sm-h2 {
  font-family: var(--sm-font-title);
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: .95;
  letter-spacing: .035em;
  text-transform: uppercase;
  color: var(--sm-white);
}

.sm-h3,
.sm-h3 .elementor-heading-title,
h3.sm-h3 {
  font-family: var(--sm-font-title);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: .035em;
  text-transform: uppercase;
  color: var(--sm-white);
}

.sm-text,
.sm-text p,
.sm-body,
.sm-body p {
  color: var(--sm-text);
  font-size: 16px;
  line-height: 1.65;
}

.sm-small,
.sm-small p {
  color: var(--sm-gray);
  font-size: 14px;
  line-height: 1.55;
}

.sm-label,
.sm-label .elementor-heading-title {
  color: var(--sm-gray);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.sm-eyebrow,
.sm-eyebrow .elementor-heading-title {
  display: inline-flex;
  align-items: center;
  color: var(--sm-pink);
  font-family: var(--sm-font-body);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.sm-eyebrow::before {
  content: "✦";
  margin-right: 8px;
}

.sm-title-gradient,
.sm-title-gradient .elementor-heading-title {
  background: var(--sm-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sm-text-hot,
.sm-text-hot .elementor-heading-title,
.sm-text-hot p {
  color: var(--sm-pink) !important;
}

/* =========================================================
   5. GLASS / PANELES / CARDS BASE
========================================================= */
.sm-glass {
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius);
  box-shadow: var(--sm-shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.sm-glass-soft {
  background: rgba(255,255,255,.035);
  border: 1px solid var(--sm-border-soft);
  border-radius: var(--sm-radius-md);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.sm-glass-hot {
  border-color: var(--sm-border-hot);
  box-shadow: var(--sm-glow);
}

.sm-card {
  background: var(--sm-gradient-dark);
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius);
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.sm-card:hover {
  transform: translateY(-6px);
  border-color: var(--sm-border-hot);
  box-shadow: var(--sm-glow);
}

.sm-card-hot {
  border-color: var(--sm-border-hot);
  box-shadow: var(--sm-glow-soft);
}

.sm-panel-padding { padding: 32px; }
.sm-panel-padding-sm { padding: 22px; }
.sm-panel-padding-lg { padding: 44px; }

/* =========================================================
   6. BOTONES
   En Elementor: añade la clase al widget Botón, no al <a> interno.
========================================================= */
.sm-btn-primary .elementor-button,
a.sm-btn-primary,
button.sm-btn-primary,
input.sm-btn-primary,
.woocommerce a.button.sm-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 15px 30px;
  border: 0;
  border-radius: var(--sm-radius-sm);
  background: var(--sm-gradient);
  color: var(--sm-white) !important;
  box-shadow: 0 0 24px rgba(255,45,149,.34);
  font-family: var(--sm-font-body);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.sm-btn-primary .elementor-button:hover,
a.sm-btn-primary:hover,
button.sm-btn-primary:hover,
input.sm-btn-primary:hover,
.woocommerce a.button.sm-btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 0 42px rgba(255,45,149,.55);
}

.sm-btn-secondary .elementor-button,
a.sm-btn-secondary,
button.sm-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 14px 28px;
  border: 1px solid var(--sm-border-hot);
  border-radius: var(--sm-radius-sm);
  background: rgba(255,255,255,.025);
  color: var(--sm-white) !important;
  font-family: var(--sm-font-body);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}

.sm-btn-secondary .elementor-button:hover,
a.sm-btn-secondary:hover,
button.sm-btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255,45,149,.13);
  box-shadow: var(--sm-glow);
}

.sm-btn-dark .elementor-button,
a.sm-btn-dark,
button.sm-btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 14px 28px;
  border: 1px solid var(--sm-border);
  border-radius: var(--sm-radius-sm);
  background: rgba(8,8,13,.76);
  color: var(--sm-white) !important;
  font-family: var(--sm-font-body);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: all .25s ease;
}

.sm-btn-dark .elementor-button:hover,
a.sm-btn-dark:hover,
button.sm-btn-dark:hover {
  border-color: var(--sm-border-hot);
  box-shadow: var(--sm-glow-soft);
}

.sm-link-hot a,
a.sm-link-hot {
  color: var(--sm-pink) !important;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.sm-link-hot a:hover,
a.sm-link-hot:hover {
  text-shadow: 0 0 18px rgba(255,45,149,.8);
}

.sm-full-button .elementor-button,
a.sm-full-button,
button.sm-full-button {
  width: 100%;
}

/* =========================================================
   7. BADGES / PILLS
========================================================= */
.sm-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 7px 13px;
  border-radius: 7px;
  background: rgba(123,44,191,.85);
  border: 1px solid rgba(255,255,255,.13);
  color: var(--sm-white) !important;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.sm-badge-hot { background: linear-gradient(135deg, var(--sm-pink), #ff4f4f); }
.sm-badge-gradient { background: var(--sm-gradient); }
.sm-badge-vip { background: rgba(255,209,102,.09); border-color: rgba(255,209,102,.65); color: var(--sm-gold) !important; }
.sm-badge-muted { background: rgba(255,255,255,.08); color: #c9c9cf !important; }
.sm-badge-outline { background: transparent; border-color: var(--sm-border-hot); color: var(--sm-pink) !important; }
.sm-pill { border-radius: var(--sm-radius-pill); }

/* =========================================================
   8. ICONOS
========================================================= */
.sm-icon img,
img.sm-icon,
.sm-icon svg {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255,45,149,.45));
}

.sm-icon-sm img,
img.sm-icon-sm,
.sm-icon-sm svg { width: 22px; height: 22px; }
.sm-icon-lg img,
img.sm-icon-lg,
.sm-icon-lg svg { width: 46px; height: 46px; }

.sm-icon-hot,
.sm-icon-hot svg,
.sm-icon-hot i {
  color: var(--sm-pink);
  fill: none;
}

/* =========================================================
   9. DATE BOX / INFO ITEMS
========================================================= */
.sm-date-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 58px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 8px;
  padding: 10px 12px;
  text-align: center;
  background: rgba(8,8,13,.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sm-date-box strong {
  display: block;
  color: var(--sm-white);
  font-family: var(--sm-font-title);
  font-size: 34px;
  line-height: .9;
  font-weight: 400;
}

.sm-date-box span {
  display: block;
  color: var(--sm-white);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.sm-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sm-info-item strong {
  display: block;
  color: var(--sm-white);
  font-size: 14px;
  font-weight: 800;
}

.sm-info-item span {
  display: block;
  color: var(--sm-gray);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* =========================================================
   10. FORMULARIOS
========================================================= */
.sm-form input,
.sm-form textarea,
.sm-form select,
.sm-form .elementor-field {
  background: rgba(255,255,255,.045) !important;
  border: 1px solid var(--sm-border) !important;
  border-radius: var(--sm-radius-sm) !important;
  color: var(--sm-white) !important;
  padding: 15px 16px !important;
  font-family: var(--sm-font-body) !important;
}

.sm-form input::placeholder,
.sm-form textarea::placeholder,
.sm-form .elementor-field::placeholder {
  color: rgba(255,255,255,.48) !important;
}

.sm-form input:focus,
.sm-form textarea:focus,
.sm-form select:focus,
.sm-form .elementor-field:focus {
  outline: 0 !important;
  border-color: var(--sm-pink) !important;
  box-shadow: 0 0 22px rgba(255,45,149,.22) !important;
}

.sm-form label,
.sm-form .elementor-field-label {
  color: var(--sm-white) !important;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* =========================================================
   11. FAQ / ACORDEÓN
========================================================= */
.sm-faq .elementor-accordion-item,
.sm-faq details {
  background: rgba(255,255,255,.025);
  border: 1px solid var(--sm-border) !important;
  border-radius: var(--sm-radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}

.sm-faq .elementor-tab-title,
.sm-faq summary {
  color: var(--sm-white) !important;
  font-weight: 800;
  padding: 16px 18px;
}

.sm-faq .elementor-tab-content,
.sm-faq details p {
  color: var(--sm-text) !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
  padding: 16px 18px;
}

/* =========================================================
   12. CTA / BANNERS GENÉRICOS
========================================================= */
.sm-cta-strip {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--sm-border-hot);
  border-radius: var(--sm-radius);
  background:
    linear-gradient(90deg, rgba(255,45,149,.18), rgba(255,209,102,.08)),
    rgba(255,255,255,.04);
  box-shadow: var(--sm-glow-soft);
}

.sm-cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 50%, rgba(255,45,149,.25), transparent 28%),
    radial-gradient(circle at 90% 50%, rgba(255,209,102,.18), transparent 30%);
  pointer-events: none;
}

.sm-cta-strip > * {
  position: relative;
  z-index: 2;
}

/* =========================================================
   13. HEADER BASE PARA THEME BUILDER
========================================================= */
.sm-header-custom {
  position: sticky;
  top: 0;
  z-index: 999;
  min-height: 84px;
  padding: 0 40px;
  background: rgba(8,8,13,.74);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.sm-header-logo img,
img.sm-header-logo {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.sm-nav-custom a {
  position: relative;
  color: #ddd !important;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.sm-nav-custom a:hover,
.sm-nav-custom .current-menu-item > a,
.sm-nav-custom .elementor-item-active {
  color: var(--sm-white) !important;
}

.sm-nav-custom a::after,
.sm-nav-custom .current-menu-item > a::after,
.sm-nav-custom .elementor-item-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  height: 2px;
  background: var(--sm-pink);
  opacity: 0;
  transform: scaleX(.4);
  transition: .25s ease;
}

.sm-nav-custom a:hover::after,
.sm-nav-custom .current-menu-item > a::after,
.sm-nav-custom .elementor-item-active::after {
  opacity: 1;
  transform: scaleX(1);
}

/* =========================================================
   14. HELPERS
========================================================= */
.sm-overflow-visible { overflow: visible !important; }
.sm-hidden { display: none !important; }
.sm-no-margin { margin: 0 !important; }
.sm-no-padding { padding: 0 !important; }
.sm-z-1 { position: relative; z-index: 1; }
.sm-z-2 { position: relative; z-index: 2; }
.sm-z-3 { position: relative; z-index: 3; }

/* =========================================================
   15. RESPONSIVE
========================================================= */
@media (max-width: 1024px) {
  :root { --sm-section-y: 72px; }
  .sm-container,
  .sm-container-wide { width: min(calc(100% - 36px), var(--sm-container)); }
  .sm-grid-3,
  .sm-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  :root { --sm-section-y: 58px; }
  .sm-container,
  .sm-container-wide { width: min(calc(100% - 28px), var(--sm-container)); }
  .sm-grid-2,
  .sm-grid-3,
  .sm-grid-4 { grid-template-columns: 1fr; }

  .sm-h1,
  .sm-h1 .elementor-heading-title,
  h1.sm-h1 { font-size: 72px; }

  .sm-h2,
  .sm-h2 .elementor-heading-title,
  h2.sm-h2 { font-size: 46px; }

  .sm-h3,
  .sm-h3 .elementor-heading-title,
  h3.sm-h3 { font-size: 32px; }

  .sm-panel-padding { padding: 24px; }
  .sm-panel-padding-lg { padding: 30px; }

  .sm-header-custom {
    min-height: 72px;
    padding: 0 18px;
  }

  .sm-header-logo img,
  img.sm-header-logo {
    height: 44px;
  }
}











/* =========================================================
   SM EVENTOS — GENERIC MEDIA CARDS
   Cards visuales reutilizables para eventos, noticias y fiestas.
   Requiere sm-global.css
========================================================= */


/* =========================================================
   1. CARD WRAPPER
   Reutiliza: .sm-card / .sm-card-hot
========================================================= */

.sm-media-card {
  position: relative;
  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: column;

  overflow: hidden;
  isolation: isolate;
}

.sm-media-card:hover {
  transform: translateY(-5px);
}


/* =========================================================
   2. MEDIA / IMAGE AREA
========================================================= */

.sm-media-card__media {
  position: relative;
  width: 100%;
  flex: 0 0 auto;

  overflow: hidden;

  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
}

/* Ratios reutilizables */
.sm-ratio-poster {
  aspect-ratio: 4 / 5.35;
  min-height: 360px;
}

.sm-ratio-square {
  aspect-ratio: 1 / 1;
}

.sm-ratio-landscape {
  aspect-ratio: 16 / 9;
}

.sm-ratio-story {
  aspect-ratio: 9 / 16;
}

/* Overlay de legibilidad */
.sm-media-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,.16) 0%,
      rgba(0,0,0,.08) 30%,
      rgba(0,0,0,.48) 58%,
      rgba(0,0,0,.96) 100%
    ),
    radial-gradient(
      circle at 50% 18%,
      rgba(255,45,149,.18),
      transparent 45%
    );
}

/* Línea glow entre imagen y footer */
.sm-media-card__media::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0;
  z-index: 2;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    var(--sm-pink),
    var(--sm-gold),
    transparent
  );

  opacity: .58;
}


/* =========================================================
   3. TOP: BADGE + DATE / META
========================================================= */

.sm-media-card__top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 3;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.sm-media-card__top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 3;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

/* =========================
   BADGE
========================= */

.sm-media-card__badge {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex: 0 1 auto;
  max-width: 132px;
}

.sm-media-card__badge .elementor-heading-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 31px;
  margin: 0;
  padding: 7px 13px;

  border-radius: 7px;
  box-shadow:
    0 0 16px rgba(255,45,149,.32),
    inset 0 1px 0 rgba(255,255,255,.20);

  font-size: 10px;
  line-height: 1.05;
  letter-spacing: .055em;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* =========================
   DATE
========================= */

.sm-media-card__date {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.sm-media-card__date .elementor-heading-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 58px;
  min-height: 52px;
  margin: 0;
  padding: 7px 9px;

  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(8,8,13,.72);

  color: var(--sm-white) !important;
  font-family: var(--sm-font-title);
  font-size: 22px;
  font-weight: 400;
  line-height: .9;
  letter-spacing: .035em;
  text-align: center;
  text-transform: uppercase;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 8px 22px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.10);
}


/* =========================================================
   4. CONTENT OVER IMAGE
========================================================= */

.sm-media-card__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;

  padding: 18px 16px 40px;
  max-width: 100%;
}

.sm-media-card__title,
.sm-media-card__title .elementor-heading-title {
  margin: 0;

  color: var(--sm-white) !important;

  /*
    Ajustamos .sm-h3 para que funcione dentro de cards
    sin hacerse demasiado grande.
  */
  font-size: clamp(26px, 2.35vw, 34px);
  line-height: 1;
  letter-spacing: .035em;

  text-shadow:
    0 3px 18px rgba(0,0,0,.92),
    0 0 18px rgba(255,45,149,.16);
}

.sm-media-card__meta {
  display: flex;
  align-items: center;
  gap: 7px;

  width: 100%;
  max-width: 100%;
}

.sm-media-card__meta-icon,
.sm-media-card__meta-icon i,
.sm-media-card__meta-icon svg {
  flex: 0 0 auto;

  color: var(--sm-pink) !important;
  fill: var(--sm-pink) !important;

  width: 13px;
  height: 13px;
  font-size: 13px;
  line-height: 1;
}

.sm-media-card__meta-text,
.sm-media-card__meta-text .elementor-heading-title,
.sm-media-card__meta-text p {
  margin: 0;

  color: rgba(255,255,255,.82) !important;
  font-family: var(--sm-font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;

  text-shadow: 0 2px 12px rgba(0,0,0,.86);
}


/* =========================================================
   5. FOOTER
========================================================= */

.sm-media-card__footer {
  position: relative;
  z-index: 4;

  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  width: 100%;
  min-height: 68px;
  padding: 14px 16px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.045),
      rgba(255,255,255,.015)
    ),
    rgba(8,8,13,.96);

  border-top: 1px solid rgba(255,255,255,.10);
}

.sm-media-card__price,
.sm-media-card__price .elementor-heading-title,
.sm-media-card__price p {
  margin: 0;

  color: var(--sm-white) !important;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sm-media-card__link,
.sm-media-card__link a,
.sm-media-card__link .elementor-heading-title {
  margin: 0;

  color: var(--sm-pink) !important;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sm-media-card__link:hover,
.sm-media-card__link a:hover {
  text-shadow: 0 0 18px rgba(255,45,149,.75);
}


/* =========================================================
   6. ELEMENTOR RESET
========================================================= */

.sm-media-card .elementor-widget-heading,
.sm-media-card .elementor-widget-text-editor,
.sm-media-card .elementor-widget-button,
.sm-media-card .elementor-widget-icon {
  margin-bottom: 0;
}

.sm-media-card p {
  margin-bottom: 0;
}

.sm-media-card a {
  text-decoration: none;
}


/* =========================================================
   7. LOOP GRID HELPERS
========================================================= */

.elementor-loop-container .sm-media-card,
.e-loop-item .sm-media-card {
  height: 100%;
}

.elementor-loop-container .e-loop-item,
.e-loop-item {
  overflow: visible;
}

.elementor-loop-container {
  align-items: stretch;
}


/* =========================================================
   8. RESPONSIVE
========================================================= */

@media (max-width: 1024px) {
  .sm-media-card__title,
  .sm-media-card__title .elementor-heading-title {
    font-size: clamp(26px, 4vw, 34px);
  }

  .sm-media-card__footer {
    padding: 14px;
  }
}

@media (max-width: 767px) {
  .sm-ratio-poster {
    aspect-ratio: 4 / 5.45;
    min-height: 390px;
  }

  .sm-media-card__top {
    top: 13px;
    left: 13px;
    right: 13px;
  }

  .sm-media-card__badge,
  .sm-media-card__badge .elementor-heading-title {
    max-width: 118px;
    font-size: 9.8px;
  }

  .sm-media-card__date,
  .sm-media-card__date .elementor-heading-title {
    min-width: 54px;
    min-height: 50px;
    font-size: 20px;
  }

  .sm-media-card__content {
    padding: 18px 14px 40px;
  }

  .sm-media-card__title,
  .sm-media-card__title .elementor-heading-title {
    font-size: 32px;
  }

  .sm-media-card__meta-text,
  .sm-media-card__meta-text .elementor-heading-title,
  .sm-media-card__meta-text p {
    font-size: 12px;
  }

  .sm-media-card__footer {
    gap: 12px;
    min-height: 66px;
    padding: 14px;
  }
}

@media (max-width: 420px) {
  .sm-ratio-poster {
    aspect-ratio: 4 / 5.65;
    min-height: 410px;
  }

  .sm-media-card__badge,
  .sm-media-card__badge .elementor-heading-title {
    max-width: 106px;
    font-size: 9.5px;
  }

  .sm-media-card__content {
    padding-bottom: 42px;
  }

  .sm-media-card__title,
  .sm-media-card__title .elementor-heading-title {
    font-size: 30px;
  }

  .sm-media-card__footer {
    flex-direction: row;
    align-items: center;
  }
}





/* =========================================================
   SM MEDIA CARD — MUTED / PAST VARIANT
   Uso: sm-card sm-media-card sm-event-card sm-media-card--muted
========================================================= */

.sm-media-card--muted {
  border-color: var(--sm-border);
  box-shadow: none;
}

.sm-media-card--muted:hover {
  border-color: rgba(255,255,255,.22);
  box-shadow:
    0 18px 45px rgba(0,0,0,.34),
    0 0 18px rgba(255,255,255,.06);
}

/* Imagen en blanco y negro */
.sm-media-card--muted .sm-media-card__media {
  filter: grayscale(1) saturate(.65) brightness(.82);
}

/* Overlay más oscuro y menos rosa */
.sm-media-card--muted .sm-media-card__media::before {
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,.28) 0%,
      rgba(0,0,0,.20) 30%,
      rgba(0,0,0,.58) 58%,
      rgba(0,0,0,.96) 100%
    ),
    radial-gradient(
      circle at 50% 18%,
      rgba(255,255,255,.08),
      transparent 45%
    );
}

/* Línea inferior más neutra */
.sm-media-card--muted .sm-media-card__media::after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.38),
    rgba(255,255,255,.16),
    transparent
  );
  opacity: .55;
}

/* Badge apagado */
.sm-media-card--muted .sm-media-card__badge .elementor-heading-title,
.sm-media-card--muted .sm-media-card__badge {
  background: rgba(255,255,255,.10) !important;
  border-color: rgba(255,255,255,.22);
  color: rgba(255,255,255,.82) !important;
  box-shadow: none;
}

/* Fecha más neutra */
.sm-media-card--muted .sm-media-card__date .elementor-heading-title,
.sm-media-card--muted .sm-media-card__date {
  background: rgba(8,8,13,.74);
  border-color: rgba(255,255,255,.28);
  color: rgba(255,255,255,.82) !important;
  box-shadow:
    0 8px 22px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.08);
}

/* Texto algo más apagado */
.sm-media-card--muted .sm-media-card__title,
.sm-media-card--muted .sm-media-card__title .elementor-heading-title {
  color: rgba(255,255,255,.88) !important;
  text-shadow: 0 3px 18px rgba(0,0,0,.92);
}

.sm-media-card--muted .sm-media-card__meta-icon,
.sm-media-card--muted .sm-media-card__meta-icon i,
.sm-media-card--muted .sm-media-card__meta-icon svg {
  color: rgba(255,255,255,.58) !important;
  fill: rgba(255,255,255,.58) !important;
}

.sm-media-card--muted .sm-media-card__meta-text,
.sm-media-card--muted .sm-media-card__meta-text .elementor-heading-title,
.sm-media-card--muted .sm-media-card__meta-text p {
  color: rgba(255,255,255,.62) !important;
}

/* Footer más neutro */
.sm-media-card--muted .sm-media-card__footer {
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.035),
      rgba(255,255,255,.012)
    ),
    rgba(8,8,13,.96);
  border-top-color: rgba(255,255,255,.08);
}

/* Precio / link apagados */
.sm-media-card--muted .sm-media-card__price,
.sm-media-card--muted .sm-media-card__price .elementor-heading-title,
.sm-media-card--muted .sm-media-card__price p {
  color: rgba(255,255,255,.68) !important;
}

.sm-media-card--muted .sm-media-card__link,
.sm-media-card--muted .sm-media-card__link a,
.sm-media-card--muted .sm-media-card__link .elementor-heading-title {
  color: rgba(255,255,255,.72) !important;
}

.sm-media-card--muted .sm-media-card__link:hover,
.sm-media-card--muted .sm-media-card__link a:hover {
  color: var(--sm-white) !important;
  text-shadow: 0 0 14px rgba(255,255,255,.35);
}

.sm-media-card--muted {
  border-color: rgba(255,255,255,.16) !important;
  box-shadow:
    0 18px 45px rgba(0,0,0,.32),
    0 0 14px rgba(255,255,255,.035) !important;
}

.sm-media-card--muted:hover {
  border-color: rgba(255,255,255,.28) !important;
  box-shadow:
    0 22px 56px rgba(0,0,0,.46),
    0 0 18px rgba(255,255,255,.07) !important;
}

/* =========================================================
   SM EVENTOS — FEATURE ICONS
   Bloque de iconos para highlights / beneficios
========================================================= */

.sm-feature-icons {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  justify-items: stretch;
}

.sm-feature-icons__item {
  position: relative;
  min-height: 118px;
  padding: 8px clamp(16px, 2vw, 28px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.sm-feature-icons__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 0;
  width: 1px;
  height: calc(100% - 24px);
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, .16),
    transparent
  );
}

.sm-feature-icons__icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sm-pink);
  filter: drop-shadow(0 0 12px rgba(255, 45, 149, .42));
}

.sm-feature-icons__icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sm-feature-icons__title {
  margin: 2px 0 0;
  color: var(--sm-white);
  font-family: var(--sm-font-title);
  font-size: clamp(22px, 1.7vw, 30px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.sm-feature-icons__text {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-family: var(--sm-font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

/* Hover sutil */
.sm-feature-icons__item {
  transition:
    transform .22s ease,
    background .22s ease;
}

.sm-feature-icons__item:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, .025);
}

.sm-feature-icons__item:hover .sm-feature-icons__icon {
  color: var(--sm-gold);
  filter: drop-shadow(0 0 14px rgba(255, 209, 102, .34));
}

/* Responsive */
@media (max-width: 1024px) {
  .sm-feature-icons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm-feature-icons__item {
    min-height: 128px;
  }

  .sm-feature-icons__item:nth-child(2)::after {
    display: none;
  }

  .sm-feature-icons__item:nth-child(1),
  .sm-feature-icons__item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, .10);
  }
}

@media (max-width: 767px) {
  .sm-feature-icons {
    grid-template-columns: 1fr;
  }

  .sm-feature-icons__item {
    min-height: auto;
    padding: 22px 12px;
  }

  .sm-feature-icons__item:not(:last-child)::after {
    display: none;
  }

  .sm-feature-icons__item:nth-child(1),
  .sm-feature-icons__item:nth-child(2),
  .sm-feature-icons__item:nth-child(3) {
    border-bottom: 1px solid rgba(255, 255, 255, .10);
  }

  .sm-feature-icons__icon {
    width: 38px;
    height: 38px;
  }

  .sm-feature-icons__title {
    font-size: 28px;
  }

  .sm-feature-icons__text {
    font-size: 13px;
  }
}

/* =========================================================
   SM EVENTOS — ACTION CTA
   CTA horizontal reutilizable
   Clases:
   sm-action-cta
   sm-action-cta--party
   sm-action-cta--bg-image
   sm-action-cta__icon
   sm-action-cta__content
   sm-action-cta__title
   sm-action-cta__text
   sm-action-cta__button
========================================================= */

/* =========================
   1. CONTENEDOR PRINCIPAL
========================= */

.sm-action-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  width: 100%;
  max-width: 1180px;
  min-height: 96px;
  margin-inline: auto;
  padding: 18px clamp(22px, 3vw, 36px);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(22px, 3vw, 40px);

  border: 1px solid rgba(255, 45, 149, 0.58);
  border-radius: 10px;

  background:
    radial-gradient(circle at 8% 50%, rgba(255,45,149,0.20), transparent 24%),
    radial-gradient(circle at 75% 45%, rgba(123,44,191,0.16), transparent 28%),
    linear-gradient(
      90deg,
      rgba(8,8,13,0.96) 0%,
      rgba(22,10,22,0.84) 48%,
      rgba(8,8,13,0.96) 100%
    );

  box-shadow:
    0 16px 38px rgba(0,0,0,0.34),
    0 0 20px rgba(255,45,149,0.12),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Variante party */
.sm-action-cta--party::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;

  background:
    linear-gradient(
      90deg,
      rgba(8,8,13,0.70) 0%,
      rgba(8,8,13,0.34) 38%,
      rgba(8,8,13,0.50) 100%
    );

  opacity: 1;
}

/* Capa glow */
.sm-action-cta--party::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    radial-gradient(circle at 12% 50%, rgba(255,45,149,0.18), transparent 20%),
    radial-gradient(circle at 82% 48%, rgba(255,209,102,0.08), transparent 24%),
    linear-gradient(
      90deg,
      rgba(255,45,149,0.05),
      transparent 30%,
      rgba(123,44,191,0.08),
      transparent
    );
}

/* Variante con imagen de fondo */
.sm-action-cta--bg-image::before {
  background:
    linear-gradient(
      90deg,
      rgba(8,8,13,0.82) 0%,
      rgba(8,8,13,0.50) 35%,
      rgba(8,8,13,0.42) 72%,
      rgba(8,8,13,0.74) 100%
    ),
    url("/wp-content/uploads/cta-fiesta-bg.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* =========================
   2. RESET ELEMENTOR
========================= */

.sm-action-cta .elementor-widget-html,
.sm-action-cta .elementor-widget-html .elementor-widget-container,
.sm-action-cta .elementor-widget-heading,
.sm-action-cta .elementor-widget-heading .elementor-widget-container,
.sm-action-cta .elementor-widget-text-editor,
.sm-action-cta .elementor-widget-text-editor .elementor-widget-container,
.sm-action-cta .elementor-widget-button,
.sm-action-cta .elementor-widget-button .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  max-width: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* =========================
   3. ICONO
========================= */

.sm-action-cta__icon {
  flex: 0 0 54px;

  width: 54px;
  height: 54px;

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

  color: var(--sm-pink);

  filter:
    drop-shadow(0 0 8px rgba(255,45,149,.72))
    drop-shadow(0 0 18px rgba(255,45,149,.28));
}

.sm-action-cta__icon svg {
  width: 100%;
  height: 100%;
  display: block;

  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================
   4. TEXTO
========================= */

.sm-action-cta__content {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 640px;
}

.sm-action-cta__title,
.sm-action-cta__title .elementor-heading-title {
  margin: 0 !important;

  color: var(--sm-white) !important;

  font-family: var(--sm-font-title);
  font-size: clamp(28px, 2.1vw, 38px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: .045em;
  text-transform: uppercase;

  white-space: normal;
  max-width: 100%;

  text-shadow:
    0 3px 14px rgba(0,0,0,.82),
    0 0 16px rgba(255,45,149,.12);
}

.sm-action-cta__text,
.sm-action-cta__text p {
  margin: 6px 0 0 !important;

  color: rgba(255,255,255,.78) !important;

  font-family: var(--sm-font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;

  max-width: 620px;
}

/* =========================
   5. BOTÓN
========================= */

.sm-action-cta__button {
  flex: 0 0 auto;
  margin-left: auto !important;
  white-space: nowrap;
}

.sm-action-cta__button .elementor-button {
  min-width: 190px;
  min-height: 48px;
  padding: 13px 24px !important;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.20);

  background:
    linear-gradient(
      135deg,
      var(--sm-purple),
      var(--sm-pink) 58%,
      var(--sm-gold)
    ) !important;

  color: var(--sm-white) !important;

  box-shadow:
    0 10px 26px rgba(255,45,149,.30),
    0 0 20px rgba(255,45,149,.18),
    inset 0 1px 0 rgba(255,255,255,.20);

  transition:
    transform .22s ease,
    filter .22s ease,
    box-shadow .22s ease;
}

.sm-action-cta__button .elementor-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);

  box-shadow:
    0 14px 32px rgba(255,45,149,.36),
    0 0 24px rgba(255,45,149,.22),
    inset 0 1px 0 rgba(255,255,255,.24);
}

.sm-action-cta__button .elementor-button-text {
  font-family: var(--sm-font-title);
  font-size: 19px;
  font-weight: 400;
  line-height: .95;
  letter-spacing: .055em;
  text-transform: uppercase;
}

/* =========================
   6. TABLET
========================= */

@media (max-width: 1024px) {
  .sm-action-cta {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 18px 26px;
    padding: 20px 24px;
  }

  .sm-action-cta__icon {
    flex-basis: 50px;
    width: 50px;
    height: 50px;
  }

  .sm-action-cta__content {
    flex: 1 1 calc(100% - 90px);
    max-width: none;
  }

  .sm-action-cta__button {
    margin-left: 76px !important;
  }
}

/* =========================
   7. MÓVIL
========================= */

@media (max-width: 767px) {
  .sm-action-cta {
    min-height: auto;
    padding: 24px 18px;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    gap: 14px;
  }

  .sm-action-cta__icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
  }

  .sm-action-cta__content {
    flex: 0 1 auto;
    max-width: 100%;
  }

  .sm-action-cta__title,
  .sm-action-cta__title .elementor-heading-title {
    font-size: 30px;
    line-height: .95;
  }

  .sm-action-cta__text,
  .sm-action-cta__text p {
    font-size: 13px;
    max-width: 100%;
  }

  .sm-action-cta__button {
    width: 100%;
    margin-left: 0 !important;
  }

  .sm-action-cta__button .elementor-button {
    width: 100%;
    min-width: 0;
  }
}