:root {
  --bg: #eef0f4;
  --surface: #ffffff;
  --text: #15151b;
  --muted: #6a6b75;
  --dark: #17171f;
  --violet: #6d35ff;
  --cyan: #00c8d7;
  --coral: #ff4d5f;
  --pink: #f72585;
  --orange: #ff8a00;
  --green: #00b894;
  --yellow: #f6e64b;
  --border: #dfe2ea;
  --radius: 22px;
  --shadow: 0 18px 48px rgba(21, 21, 27, .10);
  --max-width: 1680px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(109, 53, 255, .08), transparent 25rem),
    var(--bg);
}

img {
  display: block;
  max-width: 100%;
}

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

button, input {
  font: inherit;
}

.site-header {
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 30;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 28px 16px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 140px;
}

.brand img {
  width: min(100%, 220px);
  height: auto;
}

.header-ad-area {
  width: 100%;
  max-width: 1280px;
  justify-self: center;
}

.social-top {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding-bottom: 8px;
}

.social {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  transition: transform .2s ease, opacity .2s ease;
}

.social:hover {
  transform: translateY(-3px);
  opacity: .88;
}

.social-youtube { background: #ff0033; }
.social-x { background: #111; }
.social-instagram {
  background: linear-gradient(135deg, #6d35ff, #f72585, #ff8a00);
}
.social-tiktok { background: #121218; }

.top-banner {
  width: 100%;
  min-height: 120px;
  aspect-ratio: 8 / 1;
}

/* Si tu banner es realmente 1280 x 1600, aplica esta clase:
.banner-vertical { aspect-ratio: 1280 / 1600; }
*/

.ad-placeholder {
  border: 1px dashed rgba(255, 255, 255, .55);
  background:
    linear-gradient(120deg, rgba(109, 53, 255, .96), rgba(247, 37, 133, .92)),
    #6d35ff;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  letter-spacing: .08em;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.ad-placeholder::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .10);
  top: -90px;
  right: -40px;
  z-index: -1;
}

.ad-placeholder span {
  font-size: .72rem;
  font-weight: 700;
}

.ad-placeholder strong {
  margin-top: 6px;
  font-size: clamp(1rem, 2vw, 1.5rem);
}

.main-nav {
  background: var(--dark);
  color: #fff;
}

.main-nav ul {
  list-style: none;
  margin: 0 auto;
  padding: 0 28px;
  max-width: var(--max-width);
  display: flex;
  justify-content: center;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-nav ul::-webkit-scrollbar {
  display: none;
}

.main-nav li {
  flex: 0 0 auto;
}

.main-nav a {
  display: block;
  padding: 18px 17px;
  font-size: .88rem;
  font-weight: 700;
  white-space: nowrap;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 17px;
  right: 17px;
  bottom: 10px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
}

.page-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.left-ad-rail {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 18px;
}

.section-title.compact {
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--dark);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  font-weight: 800;
}

.vertical-ad {
  height: 600px;
  background: linear-gradient(145deg, #00c8d7, #0072ff);
}

.vertical-ad.small {
  height: 400px;
  background: linear-gradient(145deg, #ff8a00, #ff4d5f);
}

.square-ad {
  height: 300px;
  background: linear-gradient(145deg, #232526, #6d35ff);
}

.main-content {
  min-width: 0;
  display: grid;
  gap: 28px;
}

.section-panel {
  background: var(--surface);
  border: 1px solid rgba(223, 226, 234, .8);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 26px;
  overflow: hidden;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-heading h1,
.section-heading h2 {
  margin: 4px 0 0;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.06;
}

.eyebrow {
  color: var(--violet);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 800;
}

.eyebrow.light {
  color: #fff;
}

.accent-line {
  width: 86px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--pink));
  flex: 0 0 auto;
}

.accent-line.cyan {
  background: linear-gradient(90deg, var(--cyan), #0072ff);
}

.accent-line.coral {
  background: linear-gradient(90deg, var(--coral), var(--orange));
}

.hero-section {
  border-top: 6px solid var(--violet);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 700px) minmax(280px, 1fr);
  gap: 22px;
  justify-content: center;
  align-items: stretch;
}

.carousel {
  width: 100%;
  max-width: 700px;
  height: 400px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #111;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .16);
}

.carousel-track,
.slide {
  position: absolute;
  inset: 0;
}

.slide {
  opacity: 0;
  transition: opacity .8s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent 60%);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  z-index: 3;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px 18px;
  color: #16161c;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

.slide-caption span {
  display: block;
  margin-bottom: 4px;
  font-size: .65rem;
  letter-spacing: .14em;
  font-weight: 800;
  color: var(--violet);
}

.slide-caption h2 {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.2;
}

.carousel-dots {
  position: absolute;
  z-index: 6;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 2px solid rgba(255,255,255,.95);
  border-radius: 50%;
  background: rgba(0,0,0,.35);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.carousel-dot.active {
  background: #fff;
  transform: scale(1.25);
}

.carousel-arrow {
  position: absolute;
  z-index: 6;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(18,18,24,.58);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.carousel-arrow.prev { left: 14px; }
.carousel-arrow.next { right: 14px; }

.hero-ads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 280px));
  justify-content: center;
  gap: 16px;
}

.hero-ad {
  width: 100%;
  min-width: 0;
  height: 400px;
  background: linear-gradient(145deg, #ff4d5f, #f72585);
}

.hero-ad.alt {
  background: linear-gradient(145deg, #6d35ff, #00c8d7);
}

.video-section {
  border-top: 6px solid var(--cyan);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.video-card {
  background: #f7f8fb;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}

.video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-info {
  padding: 16px 18px 18px;
}

.video-info span {
  font-size: .66rem;
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: .12em;
}

.video-info h3 {
  margin: 6px 0 0;
  font-size: 1rem;
}

.events-section {
  border-top: 6px solid var(--coral);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.event-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(21,21,27,.12);
}

.event-image {
  height: 180px;
  position: relative;
  overflow: hidden;
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-tag {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.event-tag.blue { background: #0072ff; }
.event-tag.pink { background: var(--pink); }
.event-tag.violet { background: var(--violet); }
.event-tag.orange { background: var(--orange); }
.event-tag.green { background: var(--green); }

.event-body {
  padding: 17px;
}

.event-date {
  color: var(--violet);
  font-weight: 800;
  font-size: .7rem;
  letter-spacing: .1em;
}

.event-body h3 {
  margin: 8px 0 8px;
  font-size: 1rem;
  line-height: 1.3;
}

.event-body p {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.55;
}

.event-body a {
  color: var(--violet);
  font-size: .82rem;
  font-weight: 800;
}

.newsletter-section {
  padding: 30px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at right, rgba(255,255,255,.12), transparent 25rem),
    linear-gradient(120deg, #17171f, #5425d7);
  color: #fff;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow);
}

.newsletter-section h2 {
  margin: 5px 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.newsletter-section p {
  margin: 0;
  color: rgba(255,255,255,.75);
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px;
  background: rgba(255,255,255,.10);
  color: #fff;
  padding: 14px 15px;
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,.60);
}

.newsletter-form button {
  border: 0;
  border-radius: 14px;
  background: var(--yellow);
  color: #17171f;
  padding: 14px 18px;
  font-weight: 800;
  cursor: pointer;
}

.site-footer {
  margin-top: 30px;
  background: #121218;
  color: #fff;
  border-top: 7px solid var(--yellow);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 38px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.footer-brand img {
  width: 170px;
  filter: brightness(0) invert(1);
}

.footer-brand p,
.footer-meta p {
  color: rgba(255,255,255,.62);
  font-size: .82rem;
}

.footer-links h3 {
  margin: 0 0 12px;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-socials a {
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-size: .78rem;
}

.footer-meta {
  text-align: right;
}

.footer-meta a {
  color: var(--yellow);
  font-size: .78rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1440px) {
  .page-shell {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 700px) 280px;
  }

  .hero-ads {
    grid-template-columns: 1fr;
  }

  .hero-ad {
    height: 192px;
  }

  .events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .header-inner {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .page-shell {
    grid-template-columns: 1fr;
  }

  .left-ad-rail {
    position: static;
    grid-template-columns: repeat(3, 1fr);
  }

  .left-ad-rail .section-title {
    grid-column: 1 / -1;
  }

  .vertical-ad,
  .vertical-ad.small,
  .square-ad {
    height: 220px;
  }
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 18px;
    padding: 16px 18px;
  }

  .brand {
    min-height: auto;
  }

  .social-top {
    min-height: 34px;
  }

  .top-banner {
    min-height: 90px;
  }

  .main-nav {
    position: relative;
  }

  .menu-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 14px 18px;
    border: 0;
    background: var(--dark);
    color: #fff;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    background: #fff;
  }

  .menu-toggle b {
    margin-left: 6px;
    font-size: .82rem;
  }

  .main-nav ul {
    display: none;
    flex-direction: column;
    padding: 6px 18px 14px;
  }

  .main-nav ul.open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 6px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .carousel {
    margin: 0 auto;
  }

  .hero-ads {
    grid-template-columns: repeat(2, minmax(0, 280px));
  }

  .hero-ad {
    height: 300px;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-section {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-meta {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .header-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .brand {
    justify-content: center;
  }

  .brand img {
    width: 170px;
  }

  .social-top {
    justify-content: center;
  }

  .top-banner {
    min-height: 78px;
    aspect-ratio: auto;
  }

  .page-shell {
    padding: 16px;
    gap: 16px;
  }

  .left-ad-rail {
    grid-template-columns: 1fr;
  }

  .left-ad-rail .section-title {
    grid-column: auto;
  }

  .vertical-ad,
  .vertical-ad.small,
  .square-ad {
    height: 180px;
  }

  .section-panel {
    padding: 18px;
    border-radius: 18px;
  }

  .section-heading {
    align-items: center;
  }

  .accent-line {
    width: 52px;
  }

  .carousel {
    height: 360px;
  }

  .slide-caption {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .hero-ads {
    grid-template-columns: 1fr 1fr;
  }

  .hero-ad {
    height: 220px;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .event-image {
    height: 220px;
  }

  .newsletter-section {
    padding: 22px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }

  .footer-meta {
    grid-column: auto;
  }
}

@media (max-width: 430px) {
  .hero-ads {
    grid-template-columns: 1fr;
  }

  .hero-ad {
    height: 190px;
  }

  .carousel {
    height: 330px;
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.6rem;
  }
}


/* =========================================================
   CARRUSEL PUBLICITARIO VERTICAL 1200 x 1600 + TIKTOK
   ========================================================= */

.vertical-media-section {
  border-top: 6px solid var(--pink);
}

.vertical-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 900px) minmax(260px, 340px);
  gap: 28px;
  justify-content: center;
  align-items: start;
}

.banner-carousel-wrap {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

/*
  El archivo publicitario original debe medir 1200 x 1600 px.
  En pantalla se escala proporcionalmente manteniendo la relación 3:4.
*/
.banner-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 1600;
  max-height: 1000px;
  overflow: hidden;
  border-radius: 22px;
  background: #14141a;
  box-shadow: 0 18px 45px rgba(21, 21, 27, .16);
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .85s ease;
  pointer-events: none;
}

.banner-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-demo {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 30px;
}

.banner-demo span {
  font-size: clamp(.8rem, 1.5vw, 1.15rem);
  letter-spacing: .16em;
  font-weight: 800;
}

.banner-demo strong {
  margin: 12px 0;
  font-size: clamp(1.7rem, 4vw, 4rem);
}

.banner-demo small {
  font-weight: 700;
  opacity: .75;
}

.banner-demo-1 {
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.25), transparent 25%),
    linear-gradient(145deg, #6d35ff, #f72585);
}

.banner-demo-2 {
  background:
    radial-gradient(circle at 80% 15%, rgba(255,255,255,.22), transparent 25%),
    linear-gradient(145deg, #00c8d7, #0072ff);
}

.banner-demo-3 {
  background:
    radial-gradient(circle at 50% 80%, rgba(255,255,255,.20), transparent 30%),
    linear-gradient(145deg, #ff4d5f, #ff8a00);
}

.banner-arrow {
  position: absolute;
  z-index: 8;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(18, 18, 24, .68);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.banner-prev { left: 16px; }
.banner-next { right: 16px; }

.banner-dots {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
}

.banner-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: rgba(0,0,0,.30);
  cursor: pointer;
}

.banner-dot.active {
  background: #fff;
  transform: scale(1.2);
}

.tiktok-column {
  position: sticky;
  top: 20px;
  padding: 18px;
  border-radius: 22px;
  background: #121218;
  color: #fff;
  box-shadow: var(--shadow);
}

.tiktok-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.tiktok-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #00f2ea, #ff0050);
  font-size: 1.25rem;
  font-weight: 800;
}

.tiktok-heading span:not(.tiktok-icon) {
  font-size: .62rem;
  letter-spacing: .13em;
  color: rgba(255,255,255,.62);
  font-weight: 800;
}

.tiktok-heading h3 {
  margin: 2px 0 0;
  font-size: 1.45rem;
}

.tiktok-video-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 17px;
  background:
    radial-gradient(circle at 25% 20%, rgba(0,242,234,.28), transparent 25%),
    radial-gradient(circle at 75% 80%, rgba(255,0,80,.25), transparent 30%),
    #202027;
}

.tiktok-video-slot iframe {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.tiktok-placeholder {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22px;
}

.tiktok-placeholder > span {
  font-size: 3rem;
  margin-bottom: 10px;
}

.tiktok-placeholder strong {
  font-size: 1rem;
  letter-spacing: .1em;
}

.tiktok-placeholder small {
  margin-top: 7px;
  color: rgba(255,255,255,.65);
}

.tiktok-follow {
  display: block;
  margin-top: 14px;
  padding: 12px;
  text-align: center;
  border-radius: 12px;
  background: #fff;
  color: #121218;
  font-size: .78rem;
  font-weight: 800;
}

@media (max-width: 1050px) {
  .vertical-media-grid {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .banner-carousel {
    max-height: none;
  }
}

@media (max-width: 760px) {
  .vertical-media-grid {
    grid-template-columns: 1fr;
  }

  .banner-carousel-wrap {
    max-width: 600px;
  }

  .tiktok-column {
    position: static;
    width: min(100%, 360px);
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .banner-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.55rem;
  }

  .banner-prev { left: 9px; }
  .banner-next { right: 9px; }

  .banner-dots {
    bottom: 12px;
  }
}

/* Actualización: banners junto al carrusel principal, proporción 600 x 900 */
.hero-ads { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.hero-ad { width: 100%; height: auto; aspect-ratio: 600 / 900; }
@media (max-width: 1440px) { .hero-ads { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hero-ad { height: auto; } }
@media (max-width: 640px) { .hero-ads { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hero-ad { height: auto; } }
@media (max-width: 430px) { .hero-ads { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hero-ad { height: auto; } }

/* AJUSTES PUBLICITARIOS SKÁPATE: imágenes sin deformación */
.ad-image-slot {position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;isolation:isolate;}
.ad-image-slot > img {position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:2;background:#fff;}
.ad-image-slot > img[hidden] {display:none;}
.ad-image-slot .ad-fallback {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:12px;position:absolute;inset:0;z-index:1;}
.ad-image-slot .ad-fallback span {font-size:.72rem;font-weight:800;}
.ad-image-slot .ad-fallback strong {font-size:1.1rem;}
/* Evita que los adornos del placeholder tapen las imágenes */
.ad-image-slot::before {pointer-events:none;}
.top-banner.ad-image-slot {aspect-ratio:8/1;height:auto;min-height:0;}
.hero-ads {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start;}
.hero-ad.ad-image-slot {aspect-ratio:2/3;width:100%;height:auto;min-height:0;}
.vertical-ad.ad-image-slot {aspect-ratio:1/2;height:auto;}
.vertical-ad.small.ad-image-slot {aspect-ratio:3/4;height:auto;}
.square-ad.ad-image-slot {aspect-ratio:1;height:auto;}
.banner-image-slot {position:relative;width:100%;height:100%;aspect-ratio:1/2;overflow:hidden;background:linear-gradient(135deg,#4c1d95,#db2777);}
.banner-image-slot img {display:block;width:100%;height:100%;object-fit:contain;background:#fff;position:absolute;inset:0;z-index:2;}
.banner-image-slot img[hidden] {display:none;}
.banner-image-slot .ad-fallback {position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:white;text-align:center;gap:10px;z-index:1;padding:16px;}
@media(max-width:600px){.hero-ads{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ad-image-slot .ad-fallback strong{font-size:.85rem}}

/* ====== NUEVA CARTELERA: ajustes independientes para facilitar mantenimiento ====== */
.skapate-agenda{margin-top:22px}.agenda-intro{margin:0 0 22px;color:#687082}
.agenda-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:20px}
.agenda-item{display:block;background:#fff;border:1px solid #e8e8f2;border-radius:14px;overflow:hidden;color:#172035;text-decoration:none;box-shadow:0 5px 20px #15204a12;transition:transform .2s,box-shadow .2s}
.agenda-item:hover{transform:translateY(-5px);box-shadow:0 12px 30px #15204a28}
.agenda-item img{width:100%;height:275px;object-fit:contain;background:#10101d;display:block}
.agenda-item-info{padding:14px}.agenda-category,.note-category{font-size:12px;font-weight:800;color:#8a32d5;text-transform:uppercase;letter-spacing:.06em}
.agenda-item h3{font-size:15px;line-height:1.4;margin:8px 0;color:#182039}.agenda-item p{font-size:12px;color:#61667b;min-height:30px;margin:0 0 8px}.agenda-item strong{color:#6d35ff;font-size:13px}
.slide-event-link{display:block;width:100%;height:100%;color:inherit;text-decoration:none}.slide-event-link>img{width:100%;height:100%;object-fit:contain;background:#0b0b19}
.banner-image-slot{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:#0b0b19}
.banner-image-slot img{width:100%;height:100%;object-fit:contain;display:block}
.note-header{background:#11132a;display:flex;justify-content:space-between;align-items:center;padding:15px max(24px,calc((100vw - 1200px)/2));gap:24px}
.note-header img{width:160px;max-height:70px;object-fit:contain}.note-header nav{display:flex;gap:20px;flex-wrap:wrap}.note-header nav a{color:#fff;text-decoration:none;font-weight:700}
.note-layout{max-width:1200px;margin:35px auto;padding:0 20px;display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:35px}
.note-article{background:white;border-radius:18px;padding:clamp(20px,4vw,45px);box-shadow:0 5px 24px #10102813}
.note-article h1{font-size:clamp(26px,3.5vw,44px);line-height:1.15;color:#14182d;margin:14px 0}.note-meta{font-weight:600;color:#61667b;line-height:1.7}
.note-poster{display:block;max-width:100%;max-height:820px;width:auto;height:auto;object-fit:contain;margin:25px auto;border-radius:10px}
.note-body{font-size:17px;line-height:1.85;color:#303647}.note-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.note-ticket,.note-share{background:#7235d4;color:white;padding:12px 18px;border:0;border-radius:9px;font-weight:800;text-decoration:none;cursor:pointer;font:inherit}
.note-share{background:#252b43}.note-aside h3{margin-top:5px}.related-item{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #ddd;color:#22283c;text-decoration:none;font-weight:700;font-size:13px}.related-item img{width:65px;height:80px;object-fit:contain;background:#111;border-radius:5px}.note-footer{text-align:center;padding:30px;color:#687082}
@media(max-width:800px){.note-layout{grid-template-columns:1fr}.note-aside{display:none}.agenda-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.agenda-item img{height:225px}.note-header{padding:15px 20px}}
@media(max-width:420px){.agenda-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.agenda-item img{height:190px}.agenda-item-info{padding:10px}.agenda-item h3{font-size:13px}.note-header img{width:115px}}

/* ============================================================
   AJUSTES DE PORTADA - NOVIEMBRE 2026
   Carrusel principal VERTICAL y publicidad lateral proporcional.
   Para cambiar las imágenes, edita sus rutas en index.html.
   ============================================================ */
.hero-grid.hero-grid-vertical {
  grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}
.carousel.carousel-vertical {
  width: 100%; max-width: 390px;
  height: auto; aspect-ratio: 3 / 4;
  margin: 0 auto;
}
.carousel-vertical .slide-event-link > img {
  width: 100%; height: 100%; object-fit: contain;
}
.carousel-vertical .slide-caption {bottom: 12px; left: 12px; right: 12px; padding: 10px 12px;}
.carousel-vertical .slide-caption h2 {font-size: clamp(.85rem, 1.4vw, 1.1rem);}
/* El alto del anuncio se determina por el formato REAL de la imagen. */
.left-ad-rail a.lateral-auto,
.left-ad-rail a.lateral-auto.vertical-ad,
.left-ad-rail a.lateral-auto.vertical-ad.small,
.left-ad-rail a.lateral-auto.square-ad {
  display: block; width: 100%; height: auto; min-height: 0;
  aspect-ratio: auto; overflow: hidden;
}
.left-ad-rail a.lateral-auto > img {
  position: static; display: block; width: 100%; height: auto;
  max-width: 100%; object-fit: contain; background: transparent;
}
.left-ad-rail a.lateral-auto:has(> img:not([hidden])) .ad-fallback {display:none;}
@media (max-width: 1000px) {
  .hero-grid.hero-grid-vertical {grid-template-columns: minmax(0, 1fr);}
  .carousel.carousel-vertical {max-width: 390px;}
}
@media (max-width: 600px) {
  .hero-grid.hero-grid-vertical {gap: 16px;}
  .carousel.carousel-vertical {max-width: 100%; width: min(100%, 390px);}
}

/* PORTADA: un solo cartel vertical + descripción sincronizada, sin imágenes adicionales en el centro */
.hero-grid.hero-grid-vertical {grid-template-columns:minmax(260px,390px) minmax(280px,1fr);gap:clamp(18px,3vw,38px);align-items:center;max-width:1040px;margin-inline:auto;}
.hero-feature {min-width:0;padding:clamp(20px,3vw,38px);border-radius:22px;background:linear-gradient(145deg,#f7f4ff,#fff);border:1px solid rgba(98,72,145,.14);box-shadow:0 10px 30px rgba(36,28,61,.06);}
.hero-feature-kicker {display:inline-block;color:#6540a6;font-size:.78rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;margin-bottom:12px;}
.hero-feature h2 {font-size:clamp(1.5rem,2.6vw,2.5rem);line-height:1.14;margin:0 0 16px;color:#242039;}
.hero-feature>p:not(.hero-feature-hint) {font-size:clamp(1rem,1.3vw,1.13rem);line-height:1.7;color:#444358;margin:0 0 22px;}
.hero-feature-details {border-top:1px solid #ded9e8;padding-top:14px;margin-bottom:23px;}
.hero-feature-details p {margin:9px 0;line-height:1.55;color:#444358;}
.hero-feature-button {display:inline-block;background:#6837a5;color:#fff;text-decoration:none;border-radius:12px;padding:13px 21px;font-weight:800;transition:background .2s;}
.hero-feature-button:hover,.hero-feature-button:focus-visible {background:#47247b;color:#fff;}
.hero-feature-hint {font-size:.75rem;color:#7b758b;margin:18px 0 0;}
@media(max-width:1000px){.hero-grid.hero-grid-vertical {grid-template-columns:minmax(0,1fr);max-width:620px}.hero-feature {width:100%;}}
@media(max-width:600px){.hero-feature{padding:22px}.hero-feature h2{font-size:1.6rem}}

/* ===== CARTELERA EN UNA HILERA DESLIZANTE ===== */
.skapate-agenda .agenda-carousel-wrap{display:flex;align-items:center;gap:9px;min-width:0}
.skapate-agenda .agenda-grid{display:flex;flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;gap:15px;min-width:0;flex:1;scroll-behavior:smooth;padding:6px 2px 16px}
.skapate-agenda .agenda-grid::-webkit-scrollbar{display:none}
.skapate-agenda .agenda-item{flex:0 0 clamp(155px,23%,225px);scroll-snap-align:start;min-width:0}
.skapate-agenda .agenda-item img{width:100%;height:280px;object-fit:contain}
.skapate-agenda .agenda-nav{flex:0 0 34px;height:46px;border:0;border-radius:10px;background:#20233c;color:white;font-size:30px;cursor:pointer}
.skapate-agenda .agenda-nav:hover{background:#7132b9}
/* Banners laterales: cada uno mantiene su proporción original, sin recortes */
.left-ads-list{display:flex;flex-direction:column;gap:18px;min-width:0}
.left-ads-list .lateral-banner{display:block;width:100%;height:auto;border-radius:12px;overflow:hidden;background:#121528;box-shadow:0 4px 15px #1112}
.left-ads-list .lateral-banner img{display:block;width:100%;height:auto;object-fit:contain}
@media(max-width:800px){.skapate-agenda .agenda-item{flex-basis:180px}.skapate-agenda .agenda-item img{height:230px}}
@media(max-width:480px){.skapate-agenda .agenda-item{flex-basis:160px}.skapate-agenda .agenda-nav{flex-basis:26px;height:38px;font-size:24px}}

/* SKÁPATE 2026 — personalización de cabecera y pie */
.top-banner.ad-image-slot {aspect-ratio:2048 / 682; max-height:none; min-height:0; background:#f6f4ef; border-radius:12px;}
.top-banner.ad-image-slot > img {object-fit:contain;background:#f6f4ef;}
.social-facebook {background:#1877f2 !important;color:white !important;font-weight:900;}
.social-youtube {background:#ff0033 !important;color:white !important;}
.social-instagram {background:linear-gradient(35deg,#feda75,#fa7e1e,#d62976,#962fbf,#4f5bd5) !important;color:white !important;}
.social-tiktok {background:#111111 !important;color:white !important;text-shadow:-1px -1px #25f4ee,1px 1px #fe2c55;}
.site-footer {background:#e9e7e2;color:#343b45;border-top:5px solid #c9b991;}
.footer-brand img {filter:none;}
.footer-brand p,.footer-meta p {color:#606875;}
.footer-links h3 {color:#343b45;}
.footer-socials a {border:1px solid #d3d2cf;background:#fff;color:#313845;text-decoration:none;display:inline-flex;align-items:center;gap:7px;}
.footer-socials a:hover {background:#f9f7f2;}
.footer-socials a span {width:25px;height:25px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;color:white;font-weight:900;}
.footer-youtube span {background:#ff0033;}
.footer-facebook span {background:#1877f2;}
.footer-instagram span {background:linear-gradient(35deg,#feda75,#fa7e1e,#d62976,#962fbf,#4f5bd5);}
.footer-tiktok span {background:#111;text-shadow:-1px -1px #25f4ee,1px 1px #fe2c55;}
.footer-meta a {color:#62537a;}

/* D’Niros: mitad de ancho, altura proporcional y sin deformación */
.top-banner.ad-image-slot {width:50%;aspect-ratio:2048 / 502;margin-inline:auto;height:auto;min-height:0;}
.top-banner.ad-image-slot > img {object-fit:contain;}
