/* Blog, servicios y hero España — misma superficie que el portafolio */

.atelier-page {
  background: var(--pf-ink, #070708);
  color: var(--pf-text, #f2f2f4);
}

.atelier-page .pf-hero__title {
  max-width: 14ch;
}

/* Servicios: el copy arranca bajo el header, no al fondo del hero */
.atelier-page .pf-hero--services {
  align-items: start;
  min-height: 0;
  padding-top: clamp(6.75rem, 12vh, 8.25rem);
  padding-bottom: clamp(2.75rem, 6vh, 4.25rem);
}

.atelier-page .pf-hero--services .pf-hero__title {
  max-width: 11ch;
}

.atelier-page .pf-hero--services .pf-hero__lead {
  max-width: 44rem;
  margin-bottom: 1.5rem;
  font-size: clamp(1.02rem, 1.85vw, 1.16rem);
  line-height: 1.6;
}

.atelier-page .pf-hero--services .pf-hero__lead strong {
  color: var(--pf-text);
  font-weight: 700;
}

.atelier-page .pf-hero__lead a {
  color: var(--pf-signal);
  text-decoration: none;
}

.atelier-page .pf-hero__lead a:hover {
  text-decoration: underline;
}

/* Filtros del blog, misma barra que el portafolio */
.atelier-page .blog-list-filters {
  position: sticky;
  top: 72px;
  z-index: 20;
  margin: 0;
  backdrop-filter: blur(14px);
  background: rgba(7, 7, 8, 0.82);
  border-top: 1px solid var(--pf-line);
  border-bottom: 1px solid var(--pf-line);
}

.atelier-page .blog-list-filters__row {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.85rem clamp(1.25rem, 4vw, 3rem);
  align-items: center;
  gap: 0.65rem 1rem;
}

.atelier-page .blog-list-filters__field {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
}

.atelier-page .blog-list-filters__label {
  font-family: var(--pf-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pf-mute);
}

.atelier-page .blog-list-filters__select {
  appearance: none;
  border: 1px solid var(--pf-line);
  background: var(--pf-panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%239b9ba3' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 0.85rem center;
  color: var(--pf-text);
  border-radius: 999px;
  padding: 0.55rem 2.1rem 0.55rem 0.95rem;
  font-family: var(--pf-body);
  font-size: 0.78rem;
  font-weight: 600;
  min-height: 2.4rem;
}

.atelier-page .blog-list-filters__select:focus-visible {
  outline: 2px solid var(--pf-signal);
  outline-offset: 2px;
}

.atelier-page .blog-list-filters__submit {
  background: var(--pf-signal);
  border: 1px solid var(--pf-signal);
  color: #0a0a0a;
  border-radius: 999px;
  min-height: 2.4rem;
  padding: 0.45rem 1.05rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.atelier-page .blog-list-filters__submit:hover {
  background: #d8ff3d;
  transform: translateY(-2px);
}

.atelier-page .blog-list-filters__reset {
  color: var(--pf-mute);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
}

.atelier-page .blog-list-filters__reset:hover {
  color: var(--pf-signal);
}

.atelier-page .blog-list-section {
  background: transparent;
  padding: 0 0 5rem;
}

.atelier-page .blog-list-container {
  padding-top: clamp(2.5rem, 6vh, 4rem);
}

.atelier-page .blog-list-section__pattern {
  display: none;
}

.atelier-page .blog-list-container {
  max-width: 1180px;
}

.atelier-page .blog-card {
  background: var(--pf-panel);
  border: 1px solid var(--pf-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: none;
}

.atelier-page .blog-card:hover {
  border-color: rgba(201, 255, 0, 0.45);
  transform: translateY(-6px);
}

.atelier-page .blog-card-badge {
  background: var(--pf-signal);
  color: #0a0a0a;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.atelier-page .blog-card-title {
  font-family: var(--pf-display);
  letter-spacing: -0.02em;
}

.atelier-page .blog-pagination__link {
  border-radius: 999px;
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--pf-text);
}

.atelier-page .blog-pagination__link:hover {
  border-color: var(--pf-signal);
  color: var(--pf-signal);
  background: transparent;
}

/* Listado de servicios */
.atelier-page .services-list-section {
  background: transparent;
  padding: clamp(2rem, 5vh, 3.5rem) 0 5rem;
}

.atelier-page .services-list-section::before,
.atelier-page .services-list-section::after {
  display: none;
}

.atelier-page .services-preview-container {
  max-width: 1180px;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.atelier-page .services-bento-grid {
  padding-top: 0;
  row-gap: 1rem;
}

.atelier-page .service-bento-card {
  min-height: 0;
  border-radius: 18px;
  background: var(--pf-panel);
  border: 1px solid var(--pf-line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: none;
  overflow: hidden;
}

.atelier-page .service-bento-card::before {
  display: none;
}

.atelier-page .service-bento-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 255, 0, 0.55);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.atelier-page .service-bento-badge {
  background: var(--pf-signal);
  color: #0a0a0a;
  border: none;
  border-radius: 8px;
  box-shadow: none;
}

.atelier-page .service-bento-body {
  text-align: left;
  align-items: flex-start;
  padding: 0.4rem 1.25rem 0;
}

.atelier-page .service-bento-title {
  font-family: var(--pf-display);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--pf-text);
}

.atelier-page .service-bento-card:hover .service-bento-title {
  color: var(--pf-signal);
}

.atelier-page .service-bento-desc {
  max-width: 36ch;
  color: var(--pf-mute);
  text-align: left;
}

.atelier-page .service-bento-arrow {
  align-self: flex-end;
  color: var(--pf-signal);
}

.atelier-page .services-list-crosslink {
  text-align: left;
  color: var(--pf-mute);
  font-size: 0.95rem;
}

.atelier-page .services-list-crosslink a {
  color: var(--pf-signal);
}

@media (max-width: 640px) {
  .atelier-page .blog-list-filters {
    top: 60px;
  }

  .atelier-page .blog-list-filters__row {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .atelier-page .pf-hero__title {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atelier-page .blog-list-filters__submit,
  .atelier-page .blog-card,
  .atelier-page .service-bento-card {
    transition: none;
  }
}

/* Hero España: misma composición editorial, sin tocar los ganchos del JS */
.about-hero-v2--celula.atelier {
  height: auto;
  min-height: min(92vh, 920px);
  max-height: none;
  background: #070708;
  font-family: var(--pf-body, 'Montserrat', system-ui, sans-serif);
}

.about-hero-v2--celula .pf-hero__stage {
  z-index: 1;
}

.about-hero-v2--celula .about-hero-v2__bg,
.about-hero-v2--celula .about-hero-v2__world,
.about-hero-v2--celula .about-hero-v2__vignette,
.about-hero-v2--celula .about-hero-v2__canvas {
  display: none;
}

.about-hero-v2--celula .ah-celula__copy {
  order: 1;
}

.about-hero-v2--celula .ah-celula__signals {
  order: 2;
}

.about-hero-v2--celula .ah-celula__pillars {
  order: 3;
}

.about-hero-v2--celula .ah-celula {
  align-items: stretch;
  justify-content: flex-end;
  width: min(1180px, calc(100% - clamp(2.5rem, 8vw, 6rem)));
  gap: 1.75rem;
  padding: clamp(6.5rem, 14vh, 8.5rem) 0 clamp(2.5rem, 6vh, 4rem);
}

.about-hero-v2--celula .ah-celula__copy {
  width: min(46rem, 100%);
  text-align: left;
}

.about-hero-v2--celula .about-hero-v2__badge {
  display: block;
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  font-family: var(--pf-mono, 'IBM Plex Mono', monospace);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--pf-mute, #9b9ba3);
}

.about-hero-v2--celula .about-hero-v2__title {
  font-family: var(--pf-display, 'Syne', sans-serif);
  font-weight: 800;
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  max-width: 12ch;
  margin: 0 0 1rem;
}

.about-hero-v2--celula .about-hero-v2__title-gradient {
  background: none;
  color: var(--pf-signal, #c9ff00);
  -webkit-text-fill-color: var(--pf-signal, #c9ff00);
}

.about-hero-v2--celula .about-hero-v2__lead {
  max-width: 38rem;
  margin: 0 0 1rem;
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.55;
  color: var(--pf-mute, #9b9ba3);
}

.about-hero-v2--celula .about-hero-v2__lead strong {
  color: var(--pf-text, #f2f2f4);
  font-weight: 700;
}

.about-hero-v2--celula .about-hero-v2__stack-line {
  margin: 0 0 1.15rem;
  max-width: 40rem;
  font-family: var(--pf-mono, 'IBM Plex Mono', monospace);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pf-signal, #c9ff00);
}

.about-hero-v2--celula .about-hero-v2__checklist {
  justify-content: flex-start;
  margin: 0 0 1.5rem;
}

.about-hero-v2--celula .about-hero-v2__checklist li {
  background: var(--pf-panel, #16161a);
  border: 1px solid var(--pf-line, rgba(255, 255, 255, 0.1));
  color: var(--pf-mute, #9b9ba3);
  font-weight: 600;
}

.about-hero-v2--celula .about-hero-v2__cta {
  justify-content: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.about-hero-v2--celula .about-hero-v2__btn {
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  box-shadow: none;
}

.about-hero-v2--celula .about-hero-v2__btn--primary {
  background: var(--pf-signal, #c9ff00);
  color: #0a0a0a;
}

.about-hero-v2--celula .about-hero-v2__btn--primary:hover {
  background: #d8ff3d;
  box-shadow: none;
}

.about-hero-v2--celula .about-hero-v2__btn--ghost {
  border-color: rgba(255, 255, 255, 0.22);
}

.about-hero-v2--celula .ah-celula__signals.about-hero-v2__stats {
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  justify-content: flex-start;
  gap: 1rem 1.25rem;
  padding: 1.25rem 0 0;
  margin: 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--pf-line, rgba(255, 255, 255, 0.1));
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.about-hero-v2--celula .about-hero-v2__stat {
  min-width: 0;
  justify-content: flex-start;
}

.about-hero-v2--celula .about-hero-v2__stat-num {
  white-space: normal;
}

.about-hero-v2--celula .about-hero-v2__stat-icon {
  display: none;
}

.about-hero-v2--celula .about-hero-v2__stat-num {
  font-family: var(--pf-display, 'Syne', sans-serif);
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  font-weight: 800;
  color: var(--pf-signal, #c9ff00);
  line-height: 1.05;
}

.about-hero-v2--celula .about-hero-v2__stat-label {
  font-family: var(--pf-mono, 'IBM Plex Mono', monospace);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pf-mute, #9b9ba3);
}

.about-hero-v2--celula .ah-celula__pillars {
  gap: 0.75rem;
}

.about-hero-v2--celula .ah-celula__pillar {
  background: var(--pf-panel, #16161a);
  border: 1px solid var(--pf-line, rgba(255, 255, 255, 0.1));
  border-radius: 18px;
  backdrop-filter: none;
}

.about-hero-v2--celula .ah-celula__pillar-title {
  font-family: var(--pf-display, 'Syne', sans-serif);
}

.about-hero-v2--celula .ah-celula__pillar i,
.about-hero-v2--celula .ah-celula__pillar--accent {
  color: var(--pf-signal, #c9ff00);
  border-color: var(--pf-line, rgba(255, 255, 255, 0.1));
}

.about-hero-v2--celula .ah-celula__pillar i {
  border: 0;
}

@media (max-width: 860px) {
  .about-hero-v2--celula .ah-celula__signals.about-hero-v2__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-hero-v2--celula .ah-celula__pillars {
    grid-template-columns: 1fr 1fr;
  }

  .about-hero-v2--celula .about-hero-v2__title {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .about-hero-v2--celula .ah-celula__signals.about-hero-v2__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-hero-v2--celula .ah-celula__pillars {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Home: estilo editorial SOLO bajo el hero (wrapper .home-atelier).
   El hero con video y la galería de publicidad NO se sustituyen
   por un panel negro — solo tipografía/CTAs/superficie de sección.
═══════════════════════════════════════════════════════════════ */
.home-atelier.atelier {
  /* Tokens ya vienen de .atelier; sin ruido fixed que tape el viewport */
  background: var(--pf-ink);
}

.home-atelier.atelier::before,
.home-atelier.atelier::after {
  content: none !important;
  display: none !important;
}

/* Cabeceras editoriales (Syne + lead) */
.home-atelier .ha-title {
  margin: 0 0 1rem;
  font-family: var(--pf-display);
  font-weight: 800;
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--pf-text);
  max-width: 18ch;
}

.home-atelier .ha-title em,
.home-atelier .ha-title .accent,
.home-atelier .ha-title .wave-to-preshow-accent {
  font-style: normal;
  color: var(--pf-signal);
  background: none;
  -webkit-text-fill-color: var(--pf-signal);
}

.home-atelier .ha-lead {
  margin: 0 0 1.25rem;
  max-width: 38rem;
  font-size: clamp(0.98rem, 1.8vw, 1.12rem);
  line-height: 1.55;
  color: var(--pf-mute);
}

.home-atelier .ha-lead strong {
  color: var(--pf-text);
  font-weight: 700;
}

.home-atelier .ha-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.home-atelier .ha-actions .pf-btn {
  text-decoration: none;
}

/* Stats: tipografía editorial, datos reales intactos */
.home-atelier .stats-section {
  background: transparent;
  border-top: 1px solid var(--pf-line);
  border-bottom: 1px solid var(--pf-line);
}

.home-atelier .stats-container.ha-meta {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem clamp(1.25rem, 4vw, 3rem);
  gap: 1.5rem 2.5rem;
}

.home-atelier .stat-number {
  font-family: var(--pf-display);
  font-weight: 800;
  color: var(--pf-signal);
  letter-spacing: -0.02em;
}

.home-atelier .stat-label {
  font-family: var(--pf-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pf-mute);
}

/* Showcase / servicios / blog / FAQ */
.home-atelier .services-showcase,
.home-atelier .services-preview-section,
.home-atelier .home-projects-section,
.home-atelier .home-blog-seo-section,
.home-atelier .faq-section,
.home-atelier .testimonials-section,
.home-atelier .wave-intro-section {
  background: transparent;
}

.home-atelier .showcase-header {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: stretch;
  text-align: left;
}

.home-atelier .showcase-header__top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.9fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

.home-atelier .showcase-header__main {
  min-width: 0;
}

.home-atelier .showcase-kicker {
  margin: 0 0 0.85rem;
  font-family: var(--pf-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pf-signal);
}

.home-atelier .showcase-title.ha-title {
  max-width: 14ch;
  margin-bottom: 1.15rem;
}

.home-atelier .showcase-idea {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(108px, 30%);
  column-gap: 0.35rem;
  align-items: center;
  min-height: 100%;
  padding: 1.35rem 0.85rem 1.1rem 1.35rem;
  border-radius: 18px;
  border: 1px solid rgba(201, 255, 0, 0.62);
  background:
    radial-gradient(90% 80% at 100% 20%, rgba(201, 255, 0, 0.16), transparent 62%),
    #0c0f0b;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.home-atelier .showcase-idea__art {
  grid-column: 2;
  grid-row: 1 / 5;
  width: 100%;
  max-width: 150px;
  justify-self: end;
  margin-right: 0.35rem;
  align-self: center;
  pointer-events: none;
}

.home-atelier .showcase-idea__art svg {
  display: block;
  width: 100%;
  height: auto;
}

.home-atelier .showcase-idea__badge,
.home-atelier .showcase-idea__title,
.home-atelier .showcase-idea__text,
.home-atelier .showcase-idea__cta {
  grid-column: 1;
}

.home-atelier .showcase-idea__chips {
  grid-column: 1 / -1;
}

.home-atelier .showcase-idea__badge {
  position: relative;
  z-index: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.85rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 255, 0, 0.75);
  background: rgba(201, 255, 0, 0.1);
  color: var(--pf-signal);
  font-family: var(--pf-mono);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-atelier .showcase-idea__badge span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--pf-signal);
  box-shadow: 0 0 8px var(--pf-signal);
}

.home-atelier .showcase-idea__title {
  position: relative;
  z-index: 1;
  margin: 0 0 0.55rem;
  max-width: 12ch;
  font-family: var(--pf-display);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
}

.home-atelier .showcase-idea__title em {
  font-style: normal;
  color: var(--pf-signal);
}

.home-atelier .showcase-idea__text {
  position: relative;
  z-index: 1;
  margin: 0 0 1rem;
  max-width: 28ch;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.home-atelier .showcase-idea__cta {
  position: relative;
  z-index: 1;
  justify-self: start;
  width: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  text-decoration: none;
}

.home-atelier .showcase-idea__cta:focus-visible {
  outline: 2px solid var(--pf-signal);
  outline-offset: 3px;
}

.home-atelier .showcase-idea__chips {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-atelier .showcase-idea__chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.22rem 0.15rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  line-height: 1.2;
}

.home-atelier .showcase-idea__chips svg {
  flex-shrink: 0;
  color: var(--pf-signal);
}

.home-atelier .showcase-card-go {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid rgba(201, 255, 0, 0.7);
  color: var(--pf-signal);
  pointer-events: none;
}

/* Cotización: pasos + CTA bajo el título (no flotante) */
.home-atelier .showcase-quote-path {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.35rem;
  max-width: 100%;
  min-width: 0;
}

.home-atelier .showcase-quote-lead {
  flex: 0 1 auto;
  margin: 0;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.45;
  color: var(--pf-mute);
}

.home-atelier .showcase-quote-lead strong {
  font-weight: 700;
  color: var(--pf-text);
}

.home-atelier .showcase-quote-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.65rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1 1 auto;
  min-width: 0;
}

.home-atelier .showcase-quote-step {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.home-atelier .showcase-quote-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  border: 1px solid var(--pf-signal);
  background: var(--pf-signal-soft);
  color: var(--pf-signal);
  font-family: var(--pf-display);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.home-atelier .showcase-quote-text {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--pf-text);
}

.home-atelier .showcase-quote-cta {
  flex: 0 0 auto;
  text-decoration: none;
}

.home-atelier .showcase-quote-cta:focus-visible {
  outline: 2px solid var(--pf-signal);
  outline-offset: 3px;
}

.home-atelier .showcase-pills {
  justify-content: flex-start;
  margin-bottom: 0;
}

.home-atelier .showcase-pill {
  border-radius: 999px;
  border-color: var(--pf-line);
  background: var(--pf-panel);
  color: var(--pf-mute);
}

.home-atelier .showcase-footer .pf-btn {
  border-radius: 999px;
}

.home-atelier .home-projects-title.ha-title {
  max-width: 12ch;
}

/* El panel #1D1D1B contrastaba con el fondo #070708 y se leía como recuadro */
.home-atelier .horiz-gallery-header-col {
  background: transparent;
}

.home-atelier .section-header.ha-head {
  text-align: left;
}

.home-atelier .section-header.ha-head .section-description,
.home-atelier .section-header.ha-head .ha-lead {
  margin-left: 0;
  margin-right: 0;
}

.home-atelier .service-bento-card {
  border-radius: 18px;
  background: var(--pf-panel);
  border: 1px solid var(--pf-line);
}

.home-atelier .faq-question,
.home-atelier .faq-item {
  border-color: var(--pf-line);
  background: var(--pf-panel);
}

.home-atelier .faq-intro,
.home-atelier .google-reviews-intro {
  color: var(--pf-mute);
}

.home-atelier .testimonial-card,
.home-atelier .google-review-card {
  background: var(--pf-panel);
  border: 1px solid var(--pf-line);
  border-radius: 18px;
}

.home-atelier .home-blog-seo-card {
  background: var(--pf-panel);
  border: 1px solid var(--pf-line);
  border-radius: 18px;
}

/* Wave intro + publicidad: solo copy editorial; videos intactos */
.home-atelier .wave-intro-copy.ha-head {
  text-align: left;
}

.home-atelier .wave-intro-title.ha-title {
  max-width: 14ch;
}

.home-atelier .wave-pub-combo__copy.ha-head {
  text-align: left;
}

.home-atelier .wave-pub-combo__headline.ha-title {
  max-width: 14ch;
}

.home-atelier .wave-to-preshow-accent {
  color: var(--pf-signal);
}

/* Protección crítica: no ocultar ni tapar videos del home */
.home-atelier .wave-intro-video,
.home-atelier .wave-intro-video-shell,
.home-atelier #accompanimentVideo,
.home-atelier .publicidad-gallery-video,
.home-atelier .publicidad-gallery-media,
.home-atelier .publicidad-gallery__featured,
.home-atelier .publicidad-gallery__thumbs {
  opacity: 1;
  visibility: visible;
}

.home-atelier .wave-intro-media,
.home-atelier .wave-pub-combo__gallery,
.home-atelier .publicidad-video-gallery__inner .publicidad-gallery-layout {
  position: relative;
  z-index: 1;
}

/* Preshow: alinear tipografía sin matar su layout */
.home-atelier #mws-preshow {
  background: var(--pf-ink);
  border-top: 1px solid var(--pf-line);
}

.home-atelier #mws-preshow h2 {
  font-family: var(--pf-display);
  letter-spacing: -0.03em;
}

@media (max-width: 900px) {
  .home-atelier .showcase-header__top {
    grid-template-columns: 1fr;
  }

  .home-atelier .showcase-title.ha-title {
    max-width: 16ch;
  }
}

@media (max-width: 768px) {
  .home-atelier .ha-title {
    max-width: none;
  }

  .home-atelier .showcase-header {
    gap: 1.25rem;
  }

  .home-atelier .showcase-title.ha-title {
    font-size: clamp(1.35rem, 6vw, 2rem);
    max-width: 100%;
  }

  .home-atelier .showcase-idea {
    grid-template-columns: minmax(0, 1fr) 120px;
    padding-right: 0.5rem;
  }

  .home-atelier .showcase-quote-path {
    gap: 0.85rem 1rem;
    padding-top: 0.25rem;
  }

  .home-atelier .showcase-quote-steps {
    flex-direction: column;
    gap: 0.55rem;
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Curso IA (/ia-aplicada/) — hero pf + bloques alineados al atelier
═══════════════════════════════════════════════════════════════ */
.ia-sales-page .pf-hero__title {
  max-width: 12ch;
}

.ia-sales-page .pf-hero__lead--secondary {
  margin-top: -0.75rem;
  margin-bottom: 1.75rem;
  font-size: clamp(0.92rem, 1.6vw, 1.02rem);
  color: var(--pf-mute);
}

.ia-sales-page .ia-sales {
  background: transparent;
  min-height: 0;
}

.ia-sales-page .ia-sales .block {
  padding: clamp(3rem, 8vh, 5rem) clamp(1.25rem, 4vw, 3rem);
  background: transparent;
}

.ia-sales-page .ia-sales .block--dark {
  background: var(--pf-surface);
  border-top: 1px solid var(--pf-line);
  border-bottom: 1px solid var(--pf-line);
}

.ia-sales-page .ia-sales .block__tag {
  font-family: var(--pf-mono);
  letter-spacing: 0.16em;
  color: var(--pf-signal);
}

.ia-sales-page .ia-sales .block__title {
  font-family: var(--pf-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--pf-text);
}

.ia-sales-page .ia-sales .block__lead {
  color: var(--pf-mute);
}

.ia-sales-page .ia-sales .green {
  color: var(--pf-signal);
}

.ia-sales-page .ia-sales .avatar-card,
.ia-sales-page .ia-sales .include-card,
.ia-sales-page .ia-sales .bono-card,
.ia-sales-page .ia-sales .program-item,
.ia-sales-page .ia-sales .price-card,
.ia-sales-page .ia-sales .live-value__side {
  background: var(--pf-panel);
  border: 1px solid var(--pf-line);
  border-radius: 18px;
  box-shadow: none;
}

.ia-sales-page .ia-sales .avatar-card__icon,
.ia-sales-page .ia-sales .include-card i {
  color: var(--pf-signal);
}

.ia-sales-page .ia-sales .program-item__num,
.ia-sales-page .ia-sales .delivery-item__step,
.ia-sales-page .ia-sales .bono-card__num {
  font-family: var(--pf-display);
  color: var(--pf-signal);
}

.ia-sales-page .ia-sales .tool-chip {
  border-radius: 999px;
  border-color: var(--pf-line);
  background: var(--pf-surface);
  color: var(--pf-mute);
}

.ia-sales-page .ia-sales .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.ia-sales-page .ia-sales .ia-faq__item {
  background: var(--pf-panel);
  border: 1px solid var(--pf-line);
  border-radius: 14px;
  margin-bottom: 0.65rem;
}

.ia-sales-page .ia-sales .ia-faq__q {
  font-family: var(--pf-body);
  font-weight: 700;
  color: var(--pf-text);
}

.ia-sales-page .ia-sales .btn {
  /* legacy hooks: prefer pf-btn en plantilla */
  border-radius: 999px;
}

@media (max-width: 640px) {
  .ia-sales-page .pf-hero__title {
    max-width: none;
  }
}
