/* Páginas de tienda — minimal, foto + texto (pack design.pages) */

.sp-front {
  --sp-ink: var(--sh-ink, #111);
  --sp-muted: var(--sh-muted, #666);
  --sp-cream: var(--sh-cream, #fff);
  --sp-soft: var(--sh-cream-deep, #f5f5f5);
  --sp-fill: var(--sh-card, #f7f7f7);
  --sp-line: var(--sh-line, #e8e8e8);
  --sp-hair: var(--sh-line, #ebe7e0);
  --sp-font: var(--sh-font-body, var(--sh-sans, "Manrope", system-ui, sans-serif));
  --sp-heading: var(--sh-font-heading, var(--sh-serif, "Cormorant Garamond", Georgia, serif));
  --sp-serif: var(--sp-heading);
  --sp-shadow: var(--sh-shadow-soft, 0 10px 28px rgba(0, 0, 0, 0.06));
  padding: 0 0 72px;
  background: var(--sp-cream);
  color: var(--sp-ink);
  font-family: var(--sp-font);
}

/* Contenedor común (Blog, Nosotros, políticas…): móvil full; PC con aire */
.sp-page-wrap {
  width: 100%;
  margin: 0;
  opacity: 0;
  transform: translateY(18px);
  animation: sp-page-enter 0.62s cubic-bezier(0.22, 1, 0.36, 1) 0.04s forwards;
}

@keyframes sp-page-enter {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-page-wrap {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@media (min-width: 901px) {
  .sp-front {
    padding: 28px 0 72px;
  }

  .sp-page-wrap {
    width: min(1120px, calc(100% - 64px));
    margin: 0 auto;
  }

  .sp-page-wrap .sp-points {
    padding-left: 0;
    padding-right: 0;
  }

  .sp-page-wrap .sp-gallery {
    padding-left: 0;
    padding-right: 0;
  }

  .sp-page-wrap .sp-legal-page:not(.sp-legal--accordion) {
    width: min(720px, 100%);
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .sp-page-wrap .sp-legal--accordion {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }
}

.sp-eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sp-muted, #666);
}

.sp-lead {
  margin: 0 0 18px;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--sp-muted, #666);
  max-width: 36em;
}

.sp-prose {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--sp-ink, #111);
  max-width: 40em;
}

.sp-prose--tight {
  font-size: 0.92rem;
  margin-top: 10px;
}

.sp-prose--legal {
  max-width: 40rem;
  white-space: normal;
}

.sp-empty {
  max-width: 34em;
  padding: 0 20px;
  color: var(--sp-muted, #666);
  font-size: 1rem;
  line-height: 1.55;
}

/* —— Quiénes somos: hero —— */
.sp-hero--split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  min-height: min(72vh, 680px);
}

.sp-hero--stack {
  display: flex;
  flex-direction: column;
}

.sp-hero--stack .sp-hero-media {
  min-height: clamp(220px, 38vw, 420px);
}

.sp-hero-media {
  min-height: 280px;
  background: var(--sp-soft, #f5f5f5) center/cover no-repeat;
}

.sp-hero-media.has-img,
.sp-band-media.has-img,
.sp-point-media.has-img,
.sp-gallery-item.has-img,
.sp-blog-hero.has-img,
.sp-blog-card-media.has-img,
.sp-legal-banner.has-img {
  background-size: cover;
  background-position: center;
}

.sp-hero-media.has-img { background-image: var(--sp-hero); }
.sp-band-media.has-img { background-image: var(--sp-band); }
.sp-point-media.has-img { background-image: var(--sp-point); }
.sp-gallery-item.has-img { background-image: var(--sp-gal); }
.sp-blog-hero.has-img,
.sp-legal-banner.has-img { background-image: var(--sp-hero); }
.sp-blog-card-media.has-img { background-image: var(--sp-card); }

.sp-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 48px);
}

.sp-hero-copy h1 {
  margin: 0 0 14px;
  font-family: var(--sp-heading, var(--sh-font-heading, Georgia, serif));
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: var(--sh-heading-weight, 700);
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--sp-ink, #111);
}

/* —— Banda historia —— */
.sp-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
  border-top: 1px solid var(--sp-line, var(--sh-line, #eee));
}

.sp-band--left .sp-band-media { order: 0; }
.sp-band--left .sp-band-copy { order: 1; }
.sp-band--right .sp-band-media { order: 1; }
.sp-band--right .sp-band-copy { order: 0; }

.sp-band-media {
  min-height: 240px;
  background: var(--sp-soft, #f5f5f5);
}

.sp-band-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 48px);
}

.sp-band-copy h2 {
  margin: 0 0 12px;
  font-family: var(--sp-heading, var(--sh-font-heading, Georgia, serif));
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: var(--sh-heading-weight, 700);
  letter-spacing: -0.02em;
  color: var(--sp-ink, #111);
}

/* —— Puntos —— */
.sp-points {
  padding: clamp(40px, 6vw, 72px) 20px;
  border-top: 1px solid var(--sp-line, #e8e8e8);
}

.sp-points-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 22px;
}

.sp-point-media {
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 14px;
  background: var(--sp-soft, #f5f5f5);
}

.sp-point h3 {
  margin: 0 0 6px;
  font-family: var(--sp-heading, var(--sh-font-heading, Georgia, serif));
  font-size: 0.95rem;
  font-weight: var(--sh-heading-weight, 700);
  color: var(--sp-ink, #111);
}

.sp-point p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--sp-muted, #666);
}

/* —— Galería —— */
.sp-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 0 4px 4px;
}

.sp-gallery-item {
  aspect-ratio: 4 / 5;
  background: var(--sp-soft, #f5f5f5);
}

/* —— Blog —— */
.sp-front--blog {
  padding-bottom: 0;
}

@media (min-width: 901px) {
  .sp-front--blog .sp-blog-hero {
    min-height: clamp(280px, 36vw, 420px);
  }

  .sp-front--blog .sp-blog-list,
  .sp-front--blog .sp-blog-list--list {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }
}

.sp-blog-hero {
  position: relative;
  min-height: clamp(280px, 52vw, 520px);
  display: flex;
  align-items: flex-end;
  background: #1a1a1a;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.sp-blog-hero.has-img {
  background-image: var(--sp-hero);
}

.sp-blog-hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 20%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
}

.sp-blog-hero-copy {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding: 36px 20px 40px;
}

.sp-eyebrow--on-dark,
.sp-lead--on-dark {
  color: rgba(255, 255, 255, 0.78);
}

.sp-blog-hero-copy h1 {
  margin: 0 0 10px;
  font-family: var(--sp-heading, var(--sh-font-heading, Georgia, serif));
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: var(--sh-heading-weight, 700);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
}

.sp-blog-list {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 24px 16px 80px;
}

.sp-blog-list--list {
  width: min(920px, 100%);
}

/* —— Entradas: look boutique (sin cajas wireframe) —— */
.sp-blog-card-link {
  color: inherit;
  text-decoration: none;
}

.sp-blog-card-media {
  display: block;
  background: #9a9a9a;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.sp-blog-card-media.has-img {
  background-image: var(--sp-card);
}

.sp-blog-card-copy h2 {
  margin: 0;
  font-family: var(--sp-heading, var(--sh-font-heading, Georgia, serif));
  font-weight: var(--sh-heading-weight, 700);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--sp-ink, #111);
}

.sp-blog-excerpt {
  margin: 0;
  font-family: var(--sp-font, var(--sh-sans, "Manrope", system-ui, sans-serif));
  color: var(--sp-muted, #666);
  line-height: 1.45;
}

.sp-blog-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-family: var(--sp-font, var(--sh-sans, "Manrope", system-ui, sans-serif));
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sp-ink, #111);
}

.sp-blog-more::after {
  content: "→";
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.sp-blog-card:hover .sp-blog-more::after {
  transform: translateX(3px);
}

/* —— Cuadros —— */
.sp-blog-grid--grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 22px;
}

.sp-blog-grid--grid .sp-blog-card {
  border: 0;
  background: transparent;
  overflow: visible;
}

.sp-blog-grid--grid .sp-blog-card-link {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.sp-blog-grid--grid .sp-blog-card-media {
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.sp-blog-grid--grid .sp-blog-card:hover .sp-blog-card-media {
  transform: scale(1.015);
}

.sp-blog-grid--grid .sp-blog-card-copy {
  display: grid;
  gap: 8px;
  padding: 0 2px;
  flex: 1 1 auto;
}

.sp-blog-grid--grid .sp-blog-card-copy h2 {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
}

.sp-blog-grid--grid .sp-blog-excerpt {
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sp-blog-grid--grid .sp-blog-more {
  margin-top: 2px;
}

/* —— Lista (compacta, editorial) —— */
.sp-blog-grid--list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin-inline: auto;
}

.sp-blog-grid--list .sp-blog-card {
  border: 0;
  border-top: 1px solid var(--sp-hair, #ebe7e0);
  background: transparent;
  overflow: visible;
}

.sp-blog-grid--list .sp-blog-card:first-child {
  border-top: 0;
}

.sp-blog-grid--list .sp-blog-card-link {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  transition: opacity 0.2s ease;
}

.sp-blog-grid--list .sp-blog-card:hover .sp-blog-card-link {
  opacity: 0.88;
}

.sp-blog-grid--list .sp-blog-card-media {
  width: 112px;
  height: 112px;
  aspect-ratio: 1;
  flex-shrink: 0;
}

.sp-blog-grid--list .sp-blog-card-copy {
  display: grid;
  gap: 6px;
  align-content: center;
  min-width: 0;
  padding: 0;
}

.sp-blog-grid--list .sp-blog-card-copy h2 {
  font-size: 1.2rem;
}

.sp-blog-grid--list .sp-blog-excerpt {
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Móvil: sí punta a punta */
@media (max-width: 900px) {
  .sp-page-wrap {
    width: 100%;
    margin: 0;
  }

  .sp-blog-hero {
    min-height: min(58vh, 420px);
  }

  .sp-blog-hero-copy {
    padding: 28px 18px 32px;
  }

  .sp-blog-list {
    padding: 16px 12px 96px;
  }

  .sp-blog-grid--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .sp-blog-grid--grid .sp-blog-card-media {
    aspect-ratio: 1;
  }

  .sp-blog-grid--grid .sp-blog-card-link {
    gap: 10px;
  }

  .sp-blog-grid--grid .sp-blog-excerpt {
    display: none;
  }

  .sp-blog-grid--grid .sp-blog-more {
    font-size: 10px;
  }

  .sp-blog-grid--list {
    max-width: none;
  }

  .sp-blog-grid--list .sp-blog-card-link {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 14px;
    padding: 14px 0;
  }

  .sp-blog-grid--list .sp-blog-card-media {
    width: 76px;
    height: 76px;
  }

  .sp-blog-grid--grid .sp-blog-card-copy h2 {
    font-size: 0.92rem;
    line-height: 1.25;
  }

  .sp-blog-grid--list .sp-blog-card-copy h2 {
    font-size: 1.05rem;
  }

  .sp-blog-grid--list .sp-blog-excerpt {
    font-size: 0.86rem;
  }
}

/* Modal lectura (sheet) */
.blog-modal {
  position: fixed;
  inset: 0;
  z-index: 10070;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.blog-modal[hidden] {
  display: none !important;
}

.blog-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.68);
  cursor: pointer;
  animation: blogBackdropIn 0.32s ease;
}

@keyframes blogBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.blog-modal-sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: min(94vh, 860px);
  display: flex;
  flex-direction: column;
  background: var(--sp-cream, #fff);
  color: var(--sp-ink, #111);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.12);
  animation: blogModalUp 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes blogModalUp {
  from { transform: translateY(28px); opacity: 0.4; }
  to { transform: none; opacity: 1; }
}

.blog-modal-close {
  position: sticky;
  top: 12px;
  z-index: 3;
  align-self: flex-end;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  margin: 12px 12px -52px 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: color-mix(in srgb, var(--sp-cream, #fff) 94%, transparent);
  color: var(--sp-ink, #111);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.18s ease;
}

.blog-modal-close:hover {
  background: var(--sp-cream, #fff);
  transform: scale(1.04);
}

.blog-modal-close:focus-visible {
  outline: 2px solid var(--sp-ink, #111);
  outline-offset: 2px;
}

/* Banner del modal = portada (mismo alto siempre; foto o placeholder IMAGEN) */
.blog-modal-media {
  position: relative;
  flex: 0 0 auto;
  height: min(42vh, 300px);
  background-color: #9a9a9a;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.blog-modal-media.has-img {
  background-image: var(--blog-modal-img);
}

.blog-modal-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 55%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 55%,
    var(--sp-cream, #fff) 100%
  );
  pointer-events: none;
}

.blog-modal-copy {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  margin-top: -36px;
  padding: 0 22px 36px;
  overflow: visible;
  background: transparent;
}

.blog-modal-copy h2 {
  margin: 0 0 10px;
  font-family: var(--sp-heading, var(--sh-font-heading, Georgia, serif));
  font-size: clamp(1.55rem, 3.2vw, 1.85rem);
  font-weight: var(--sh-heading-weight, 700);
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--sp-ink, #111);
}

.blog-modal-excerpt {
  margin: 0 0 22px;
  max-width: 36em;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--sp-muted, #666);
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.blog-modal-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--sp-ink, #111);
  margin-bottom: 32px;
  display: grid;
  gap: 22px;
}

.blog-body-p {
  margin: 0;
  max-width: 38em;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.blog-body-h {
  margin: 8px 0 0;
  max-width: 38em;
  font-family: var(--sp-serif, var(--sh-serif, Georgia, serif));
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--sp-ink, #111);
  text-align: left;
}

.blog-body-h--1 {
  margin-top: 20px;
  font-size: clamp(1.55rem, 3.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.blog-body-h--2 {
  margin-top: 14px;
  font-size: 1.35rem;
}

.blog-body-h--3 {
  margin-top: 8px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--sp-muted, #555);
}

.blog-body-ul {
  margin: 0;
  padding: 0 0 0 1.2em;
  max-width: 38em;
  display: grid;
  gap: 8px;
}

.blog-body-ul li {
  margin: 0;
  padding: 0;
  line-height: 1.55;
}

.blog-body-quote {
  margin: 4px 0 0;
  padding: 12px 0 12px 16px;
  max-width: 38em;
  border-left: 3px solid var(--sp-ink, #111);
  color: var(--sp-muted, #555);
  font-style: italic;
  line-height: 1.55;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

@media (max-width: 640px) {
  .blog-modal-excerpt,
  .blog-body-p,
  .blog-body-quote {
    text-align: left;
    hyphens: manual;
  }
}

/* Embeds editoriales */
.blog-embed-wrap {
  margin: 4px 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 10px;
}

.blog-embed-eyebrow {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sp-muted, #666);
}

.blog-embed {
  position: relative;
  width: 100%;
  background: var(--sp-ink, #111);
  overflow: hidden;
}

.blog-embed iframe {
  display: block;
  width: 100%;
  border: 0;
}

.blog-embed--yt {
  aspect-ratio: 16 / 9;
}

.blog-embed--yt iframe {
  position: absolute;
  inset: 0;
  height: 100%;
}

button.blog-embed--play {
  appearance: none;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  color: #fff;
}

button.blog-embed--play:focus-visible {
  outline: 2px solid var(--sp-ink, #111);
  outline-offset: 3px;
}

button.blog-embed--play img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

button.blog-embed--play:hover img {
  transform: scale(1.035);
  filter: brightness(0.82);
}

.blog-embed-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.96);
  color: var(--sp-ink, #111);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), background 0.22s ease;
}

button.blog-embed--play:hover .blog-embed-play {
  transform: translate(-50%, -50%) scale(1.07);
  background: #fff;
}

.blog-embed--spotify,
.blog-embed--apple {
  background: var(--sp-soft, #f5f5f5);
  padding: 0;
  border-top: 1px solid var(--sp-line, #e8e8e8);
  border-bottom: 1px solid var(--sp-line, #e8e8e8);
}

.blog-embed--spotify iframe,
.blog-embed--apple iframe {
  min-height: 152px;
  background: transparent;
}

.blog-embed--spotify iframe {
  min-height: 152px;
}

.blog-embed--image {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.blog-embed--image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f0f0f0;
}

.blog-embed-missing {
  margin: 0;
  padding: 18px 16px;
  border: 1px dashed #ccc;
  background: #fafafa;
  color: #666;
  font-size: 0.92rem;
  line-height: 1.4;
}

/* Modal video (YouTube) */
.blog-video-layer {
  position: fixed;
  inset: 0;
  z-index: 10150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.blog-video-layer[hidden] {
  display: none !important;
}

.blog-video-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.84);
  cursor: pointer;
  animation: blogBackdropIn 0.28s ease;
}

.blog-video-sheet {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  background: #000;
  box-shadow: var(--sh-shadow, 0 18px 40px rgba(0, 0, 0, 0.08)), 0 28px 80px rgba(0, 0, 0, 0.4);
  animation: blogVideoIn 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes blogVideoIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.blog-video-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 0;
  background: color-mix(in srgb, var(--sp-cream, #fff) 94%, transparent);
  color: var(--sp-ink, #111);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.18s ease;
}

.blog-video-close:hover {
  background: var(--sp-cream, #fff);
  transform: scale(1.04);
}

.blog-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

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

body.blog-video-open {
  overflow: hidden;
}

/* Comentarios */
.blog-modal-comments {
  border-top: 1px solid var(--sp-ink, #111);
  padding-top: 26px;
  margin-top: 12px;
}

.blog-modal-comments > .blog-cmt-eyebrow {
  margin: 0 0 6px;
}

.blog-modal-comments h3 {
  margin: 0 0 18px;
  font-family: var(--sp-heading, var(--sh-font-heading, Georgia, serif));
  font-size: 1.25rem;
  font-weight: var(--sh-heading-weight, 700);
  letter-spacing: -0.02em;
}

.blog-modal-clist {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 0;
}

.blog-cmt-item {
  padding: 16px 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--sp-hair, #ebe7e0);
}

.blog-cmt-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.blog-modal-clist strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sp-muted, #666);
  margin-bottom: 8px;
}

.blog-modal-clist p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--sp-ink, #111);
}

.blog-modal-empty {
  margin: 0 0 18px;
  max-width: 32em;
  font-size: 0.92rem;
  font-style: italic;
  color: var(--sp-muted, #666);
  line-height: 1.55;
}

.blog-cmt-eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sp-muted, #666);
}

.blog-cmt-card {
  padding: 8px 0 4px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.blog-cmt-card--locked,
.blog-cmt-card--form {
  background: transparent;
  border: 0;
}

.blog-cmt-title {
  margin: 0 0 8px;
  font-family: var(--sp-heading, var(--sh-font-heading, Georgia, serif));
  font-size: 1.15rem;
  font-weight: var(--sh-heading-weight, 700);
  letter-spacing: -0.02em;
  color: var(--sp-ink, #111);
  line-height: 1.25;
}

.blog-cmt-lead {
  margin: 0 0 18px;
  max-width: 32em;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--sp-muted, #666);
}

.blog-cmt-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--sh-btn-bg, #111);
  background: var(--sh-btn-bg, #111);
  color: var(--sh-btn-text, #fff);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.18s ease;
}

.blog-cmt-btn:hover {
  background: var(--sh-btn-hover, #000);
  border-color: var(--sh-btn-hover, #000);
}

.blog-cmt-btn:active {
  transform: scale(0.985);
}

.blog-cmt-btn:focus-visible {
  outline: 2px solid var(--sp-ink, #111);
  outline-offset: 3px;
}

.blog-cmt-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.blog-cmt-form {
  display: grid;
  gap: 14px;
}

.blog-cmt-label {
  display: grid;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sp-muted, #666);
}

.blog-cmt-label textarea {
  width: 100%;
  min-height: 104px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--sp-line, #e8e8e8);
  background: transparent;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--sp-ink, #111);
  resize: vertical;
  transition: border-color 0.2s ease;
}

.blog-cmt-label textarea::placeholder {
  color: #aaa;
}

.blog-cmt-label textarea:focus {
  outline: none;
  border-bottom-color: var(--sp-ink, #111);
  box-shadow: none;
}

.blog-cmt-hint {
  margin: 0;
  font-size: 12px;
  color: var(--sp-muted, #666);
  line-height: 1.4;
}

.blog-cmt-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
}

.blog-cmt-note.is-ok { color: #2a7a3a; }
.blog-cmt-note.is-err { color: #a33; }

body.blog-modal-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .blog-modal-backdrop,
  .blog-modal-sheet,
  .blog-video-backdrop,
  .blog-video-sheet {
    animation: none !important;
  }

  button.blog-embed--play img,
  .blog-embed-play,
  .blog-modal-close,
  .blog-video-close {
    transition: none !important;
  }
}

/* PC: misma lectura en modal centrado (nunca página aparte) */
@media (min-width: 901px) {
  .blog-modal {
    align-items: center;
    padding: 32px 20px;
  }

  .blog-modal-sheet {
    width: min(720px, 100%);
    max-height: min(88dvh, 900px);
    border-radius: 0;
    box-shadow: var(--sh-shadow, 0 18px 40px rgba(0, 0, 0, 0.08)), 0 28px 72px rgba(0, 0, 0, 0.16);
  }

  .blog-modal-media {
    height: min(36vh, 280px);
  }

  .blog-modal-copy {
    padding: 0 28px 40px;
  }
}

/* Vista centrada de una sola entrada (admin: ?solo=1&leer=…) */
body.blog-solo-entry {
  background: var(--sp-cream, #fff);
}

body.blog-solo-entry .sp-front--blog {
  min-height: 100dvh;
}

body.blog-solo-entry .blog-modal {
  position: fixed;
  inset: 0;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  z-index: 1;
}

body.blog-solo-entry .blog-modal-backdrop {
  background: var(--sp-cream, #fff);
  pointer-events: none;
  cursor: default;
  animation: none;
}

body.blog-solo-entry .blog-modal-sheet {
  width: min(720px, 100%);
  max-height: none;
  height: 100%;
  margin: 0 auto;
  box-shadow: none;
  animation: none;
  border-radius: 0;
}

body.blog-solo-entry .blog-modal-close {
  display: none;
}

@media (min-width: 901px) {
  body.blog-solo-entry .blog-modal {
    align-items: stretch;
    padding: 0;
  }

  body.blog-solo-entry .blog-modal-sheet {
    width: min(720px, 100%);
    max-height: none;
    height: 100%;
    box-shadow: none;
  }
}

/* —— Entrada + comentarios —— */
.sp-post {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 28px 16px 40px;
}

.sp-post-back {
  margin: 0 0 18px;
  font-size: 13px;
}

.sp-post-back a {
  color: var(--sp-muted, #666);
  text-decoration: none;
  font-weight: 600;
}

.sp-post-hero {
  height: clamp(200px, 36vw, 360px);
  margin: 0 0 28px;
  background: var(--sp-soft, #f5f5f5);
  background-size: cover;
  background-position: center;
}

.sp-post-hero.has-img {
  background-image: var(--sp-hero);
}

.sp-post-head h1 {
  margin: 0 0 12px;
  font-family: var(--sp-heading, var(--sh-font-heading, Georgia, serif));
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: var(--sh-heading-weight, 700);
  letter-spacing: -0.02em;
  color: var(--sp-ink, #111);
}

.sp-comments {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 8px 16px 72px;
  border-top: 1px solid var(--sp-line, #e8e8e8);
}

.sp-comments h2 {
  margin: 24px 0 16px;
  font-size: 1.15rem;
  font-family: var(--sp-heading, var(--sh-font-heading, Georgia, serif));
  font-weight: var(--sh-heading-weight, 700);
}

.sp-comments-empty,
.sp-comment-gate {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: var(--sp-muted, #666);
  line-height: 1.5;
}

.sp-comment-gate {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.sp-comment-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 16px;
}

.sp-comment strong {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.sp-comment p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--sp-ink, #111);
}

.sp-comment-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.sp-comment-form textarea {
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--sp-line, #e8e8e8);
  background: transparent;
  font: inherit;
  font-weight: 400;
  resize: vertical;
}

.sp-comment-form textarea:focus {
  outline: none;
  border-bottom-color: var(--sp-ink, #111);
}

.sp-comment-note {
  margin: 10px 0 0;
  font-size: 13px;
}

.sp-comment-note.is-ok { color: #2a7a3a; }
.sp-comment-note.is-err { color: #a33; }

.sp-comments .btn,
.sp-comment-form .btn-primary {
  display: inline-block;
  padding: 9px 14px;
  border: 1px solid var(--sh-btn-bg, #111);
  background: var(--sh-btn-bg, #111);
  color: var(--sh-btn-text, #fff);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.sp-comments .btn[disabled] {
  opacity: 0.55;
  cursor: wait;
}

/* —— Legales —— */
.sp-legal-page {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 40px 20px 64px;
}

.sp-legal-banner {
  height: 180px;
  margin: 0 0 28px;
  background: var(--sp-soft, #f5f5f5);
}

.sp-legal-page h1 {
  margin: 0 0 12px;
  font-family: var(--sp-heading, var(--sh-font-heading, Georgia, serif));
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: var(--sh-heading-weight, 700);
  letter-spacing: -0.02em;
  color: var(--sp-ink, #111);
}

/* Legales con acordeón (Términos / Privacidad) */
.sp-legal--accordion {
  width: 100%;
  max-width: none;
  padding: 8px 0 56px;
}

.sp-legal-head {
  margin: 0 0 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--sp-line, #e8e8e8);
  opacity: 0;
  transform: translateY(10px);
  animation: sp-legal-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.08s forwards;
}

.sp-legal--accordion .sp-legal-head .sp-eyebrow {
  margin-bottom: 12px;
}

.sp-legal--accordion .sp-legal-head h1 {
  margin: 0 0 14px;
  font-family: var(--sp-heading, var(--sh-font-heading, Georgia, serif));
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: var(--sh-heading-weight, 700);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.sp-legal--accordion .sp-legal-head .sp-lead {
  margin: 0;
  max-width: 36em;
  color: var(--sp-muted, #666);
}

.sp-legal-intro {
  margin: 0 0 28px;
  max-width: 40em;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--sp-ink, #111);
  opacity: 0;
  transform: translateY(10px);
  animation: sp-legal-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.14s forwards;
}

.sp-legal-acc {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--sp-ink, #111);
}

.sp-legal-acc-item {
  border-bottom: 1px solid var(--sp-hair, #ebe7e0);
  opacity: 0;
  transform: translateY(12px);
  animation: sp-legal-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.18s + var(--sp-acc-i, 0) * 0.07s);
}

@keyframes sp-legal-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-legal-head,
  .sp-legal-intro,
  .sp-legal-acc-item {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .sp-legal-acc-panel {
    transition: none !important;
  }
}

.sp-legal-acc-btn {
  appearance: none;
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 20px;
  margin: 0;
  padding: 20px 4px;
  border: 0;
  background: transparent;
  color: var(--sp-ink, #111);
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.35s ease, color 0.35s ease;
}

.sp-legal-acc-btn:hover {
  background: rgba(0, 0, 0, 0.025);
}

.sp-legal-acc-item.is-open .sp-legal-acc-btn {
  background: rgba(0, 0, 0, 0.02);
}

.sp-legal-acc-btn:active {
  background: rgba(0, 0, 0, 0.05);
}

.sp-legal-acc-btn:focus-visible {
  outline: 2px solid var(--sp-ink, #111);
  outline-offset: 2px;
}

.sp-legal-acc-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #999;
  transition: color 0.35s ease;
}

.sp-legal-acc-item.is-open .sp-legal-acc-num {
  color: var(--sp-ink, #111);
}

.sp-legal-acc-title {
  font-family: var(--sp-heading, var(--sh-font-heading, Georgia, serif));
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  transition: color 0.35s ease;
}

.sp-legal-acc-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.sp-legal-acc-icon::before,
.sp-legal-acc-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--sp-ink, #111);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease;
}

.sp-legal-acc-icon::before {
  width: 14px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.sp-legal-acc-icon::after {
  width: 1.5px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.sp-legal-acc-item.is-open .sp-legal-acc-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}

/* Altura la anima JS; aquí solo el fade del contenido */
.sp-legal-acc-panel {
  height: 0;
  overflow: hidden;
}

.sp-legal-acc-panel-inner {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.38s ease 0.06s,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.04s;
}

.sp-legal-acc-item.is-open .sp-legal-acc-panel-inner {
  opacity: 1;
  transform: none;
}

.sp-legal-acc-panel-inner .sp-prose--legal {
  max-width: 40em;
  padding: 0 4px 22px;
  margin: 0;
  color: var(--sp-ink, #111);
  line-height: 1.7;
}

@media (min-width: 901px) {
  .sp-legal--accordion {
    padding: 12px 0 72px;
  }

  .sp-legal-acc-btn {
    padding: 24px 8px;
    gap: 18px 28px;
  }

  .sp-legal-acc-panel-inner .sp-prose--legal {
    padding: 0 8px 28px 56px;
  }
}

@media (max-width: 900px) {
  .sp-legal--accordion {
    padding: 4px 12px 48px;
  }

  .sp-legal-acc-btn {
    gap: 12px 14px;
    padding: 18px 2px;
  }

  .sp-legal-acc-num {
    font-size: 11px;
  }
}

@media (max-width: 900px) {
  .sp-hero--split,
  .sp-band {
    grid-template-columns: 1fr;
  }
  .sp-band--right .sp-band-media,
  .sp-band--left .sp-band-media {
    order: 0;
  }
  .sp-band--right .sp-band-copy,
  .sp-band--left .sp-band-copy {
    order: 1;
  }
  .sp-points-inner {
    grid-template-columns: 1fr 1fr;
  }
  .sp-gallery {
    grid-template-columns: 1fr;
  }
  .sp-blog-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .sp-points-inner {
    grid-template-columns: 1fr;
  }
}
