/*
Theme Name: Provocando Mentes (Astra Child)
Template: astra
Description: Child theme de Astra para provocandomentes.com — aplica la paleta y tipografía del Kit de Marca.
Version: 1.0.0
*/

:root {
  --pm-coral: #FC8088;
  --pm-black: #000000;
  --pm-white: #FFFFFF;
  --pm-wine: #BD545B;
  --pm-font-heading: 'Anton', sans-serif;
  --pm-font-body: 'Poppins', sans-serif;
}

/* Red de seguridad: evita que la web desborde horizontalmente en móvil
   (útil sobre todo en secciones de Elementor con anchos fijos en px). */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

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

@media (max-width: 900px) {
  .e-heading-base,
  .e-paragraph-base,
  .e-paragraph-link-base,
  .e-div-block-base,
  [class*="e-con"] {
    width: auto !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Footer pegado abajo: si el contenido no llena la pantalla, el hueco
   restante lo absorbe #content en vez de dejar ver el fondo negro general. */
#page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#content {
  flex: 1 0 auto;
}

.pm-word-piel {
  display: inline-block;
  color: var(--pm-coral);
  background-image: radial-gradient(circle at 30% 30%, var(--pm-coral) 0%, var(--pm-wine) 60%, var(--pm-coral) 100%);
  background-size: 200% 200%;
  background-position: 0% 0%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 0.6s ease, color 0.6s ease;
}

.pm-word-piel:hover {
  background-position: 100% 100%;
}

@supports not (background-clip: text) {
  .pm-word-piel {
    -webkit-text-fill-color: initial;
    color: var(--pm-coral);
  }
}

.pm-piel-title {
  font-family: var(--pm-font-heading);
  color: var(--pm-coral);
  font-size: clamp(2.2rem, 8vw, 79px);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.1;
  text-align: center;
  margin: 0;
}

.pm-typewriter {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: bottom;
}

@supports (animation-name: pm-typing) {
  .pm-typewriter {
    max-width: 0;
    border-right: 3px solid var(--pm-coral);
    animation:
      pm-typing 2.5s steps(24, end) forwards,
      pm-caret 0.75s step-end infinite;
  }
}

@keyframes pm-typing {
  from {
    max-width: 0;
  }
  to {
    max-width: 1200px;
  }
}

@keyframes pm-caret {
  50% {
    border-color: transparent;
  }
}

.pm-code-frag {
  font-family: 'Courier New', monospace;
  color: #8a8a8a;
  font-size: 0.55em;
  vertical-align: middle;
  letter-spacing: 0;
}

.pm-code-attr {
  color: #a9a9a9;
}

.pm-code-str {
  color: #6fae6f;
}

.pm-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 20px 60px 100px;
  background-color: var(--pm-black);
}

.pm-pillars__item {
  position: relative;
  flex: 1;
  min-width: 240px;
  padding-bottom: 50px;
}

.pm-pillars__title {
  font-family: var(--pm-font-heading);
  color: var(--pm-coral);
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 16px;
}

.pm-pillars__text {
  font-family: var(--pm-font-body);
  color: var(--pm-white);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.pm-pillars__link {
  position: absolute;
  left: 0;
  bottom: 0;
  font-family: var(--pm-font-body);
  color: var(--pm-white);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.pm-pillars__link:hover {
  color: var(--pm-coral);
}

@media (max-width: 782px) {
  .pm-pillars {
    padding: 20px 24px 60px;
  }
}

.pm-detail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 60px;
  padding: 20px 60px 100px;
  background-color: var(--pm-black);
}

.pm-detail__title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--pm-font-heading);
  color: var(--pm-white);
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  text-transform: uppercase;
  margin: 0 0 18px;
}

.pm-detail__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--pm-coral);
  color: var(--pm-coral);
  font-size: 1rem;
  flex-shrink: 0;
}

.pm-detail__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pm-detail__list li {
  font-family: var(--pm-font-body);
  color: var(--pm-white);
  font-size: 0.9rem;
  line-height: 1.7;
  padding-left: 18px;
  position: relative;
}

.pm-detail__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--pm-coral);
}

@media (max-width: 782px) {
  .pm-detail {
    grid-template-columns: 1fr;
    padding: 20px 24px 60px;
  }
}

.pm-reviews {
  padding: 40px 60px 20px;
  background-color: var(--pm-black);
}

.pm-reviews__layout {
  display: flex;
  align-items: center;
  gap: 28px;
}

.pm-reviews__intro {
  flex: 0 0 400px;
  text-align: left;
}

.pm-reviews__title {
  font-family: var(--pm-font-heading);
  color: var(--pm-coral);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.1;
  margin: 0 0 20px;
  padding-top: 40px;
  border-top: 1px solid var(--pm-white);
}

.pm-reviews__intro-text {
  font-family: var(--pm-font-body);
  color: var(--pm-white);
  opacity: 0.8;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 32px;
  max-width: 420px;
}

.pm-reviews__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 0 0 32px;
}

.pm-reviews__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pm-reviews__stat-number {
  font-family: var(--pm-font-heading);
  color: var(--pm-white);
  font-weight: 400;
  font-size: 2rem;
}

.pm-reviews__stat-unit {
  color: var(--pm-coral);
}

.pm-reviews__stat-label {
  font-family: var(--pm-font-body);
  color: var(--pm-white);
  opacity: 0.65;
  font-size: 0.8rem;
}

.pm-reviews__image {
  flex: 1;
  max-width: 420px;
  width: 100%;
  height: 260px;
  border: 1px dashed var(--pm-coral);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pm-reviews__image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pm-reviews__carousel {
  flex: 1;
  max-width: 420px;
  position: relative;
  min-width: 0;
}

.pm-reviews__arrow {
  position: absolute;
  top: 95px;
  z-index: 2;
  width: auto;
  height: auto;
  border-radius: 0;
  border: none;
  background-color: transparent;
  color: var(--pm-coral);
  font-size: 1.6rem;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}

.pm-reviews__arrow--prev {
  left: -20px;
}

.pm-reviews__arrow--next {
  right: -36px;
}

.pm-reviews__arrow:hover {
  transform: scale(1.2);
}

.pm-reviews__track {
  width: 100%;
  min-width: 0;
  height: 260px;
}

.pm-reviews__card {
  display: none;
  background-color: #111111;
  border: 1px solid #262626;
  border-radius: 8px;
  padding: 16px 28px;
  flex-direction: column;
  text-align: left;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.pm-reviews__card.is-active {
  display: flex;
  animation: pm-reviews-fade 0.4s ease;
}

@keyframes pm-reviews-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.pm-reviews__stars {
  color: var(--pm-coral);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.pm-reviews__text {
  font-family: var(--pm-font-body);
  color: var(--pm-white);
  font-size: 0.78rem;
  line-height: 1.45;
  margin: 0 0 8px;
}

.pm-reviews__name {
  font-family: var(--pm-font-body);
  font-weight: 700;
  color: #999999;
  font-size: 0.85rem;
  margin: auto 0 0;
}

.pm-reviews__cta {
  position: absolute;
  right: -44px;
  bottom: 0;
  transform: translateX(100%);
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--pm-coral);
  color: var(--pm-coral);
  font-family: var(--pm-font-body);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.75rem;
  white-space: nowrap;
}

.pm-reviews__cta:hover {
  background-color: var(--pm-coral);
  color: var(--pm-black);
}

@media (max-width: 900px) {
  .pm-reviews__layout {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .pm-reviews__intro {
    flex: none;
  }

  .pm-reviews__cta {
    position: static;
    display: inline-block;
    transform: none;
    margin-top: 16px;
  }
}

@media (max-width: 782px) {
  .pm-reviews {
    padding: 60px 24px 20px;
  }

  .pm-reviews__arrow {
    font-size: 1.3rem;
  }

  .pm-reviews__arrow--prev {
    left: -24px;
  }

  .pm-reviews__arrow--next {
    right: -24px;
  }
}

html,
body {
  background-color: var(--pm-black) !important;
}

.pm-clients {
  background-color: var(--pm-white);
  padding: 5px 0;
  overflow: hidden;
}

.pm-clients__track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: pm-clients-scroll 40s linear infinite;
}

.pm-clients__track:hover {
  animation-play-state: paused;
}

.pm-clients__track img {
  object-fit: contain;
  flex-shrink: 0;
}

@keyframes pm-clients-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 782px) {
  .pm-clients {
    padding: 20px 24px;
  }
}

.pm-header {
  position: relative;
  z-index: 10;
}

.pm-header__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  background-color: var(--pm-white);
  padding: 40px 40px;
}

.pm-header__logo {
  font-family: var(--pm-font-body);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: var(--pm-black);
  text-decoration: none;
  text-transform: none;
  margin-left: 180px;
}

.pm-header__logo::selection {
  background-color: var(--pm-coral);
  color: var(--pm-black);
}

.pm-header__logo:visited {
  color: var(--pm-black);
}

.pm-header__logo:hover,
.pm-header__logo:focus,
.pm-header__logo:active {
  color: var(--pm-coral);
}

.pm-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.pm-header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--pm-black);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.pm-header__toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.pm-header__toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.pm-header__toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.pm-header__menu {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 28px;
}

.pm-header__menu a {
  font-family: var(--pm-font-body);
  font-weight: 400;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--pm-coral);
  text-decoration: none;
}

.pm-header__menu a:hover,
.pm-header__menu .current-menu-item > a {
  text-decoration: underline;
}

.pm-header__menu li {
  position: relative;
}

.pm-header__menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 20px 0 12px;
  min-width: 180px;
  background-color: var(--pm-black);
  border: 1px solid var(--pm-coral);
  z-index: 20;
}

.pm-header__menu li:hover > .sub-menu {
  display: flex;
}

.pm-header__menu .sub-menu a {
  color: var(--pm-white);
  padding: 8px 20px;
  display: block;
  white-space: nowrap;
}

.pm-header__menu .sub-menu a:hover {
  color: var(--pm-coral);
  text-decoration: none;
}

.pm-header__social {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  background-color: var(--pm-black);
  padding: 14px 40px;
}

.pm-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--pm-white);
  text-decoration: none;
}

.pm-social-icon svg {
  width: 100%;
  height: 100%;
}

.pm-social-icon:hover {
  color: var(--pm-coral);
}

@media (max-width: 782px) {
  .pm-header__top,
  .pm-header__social {
    padding-left: 24px;
    padding-right: 24px;
  }

  .pm-header__logo {
    margin-left: 0;
  }

  .pm-header__toggle {
    display: flex;
  }

  .pm-header__nav {
    display: none;
    width: 100%;
    order: 3;
  }

  .pm-header__nav.is-open {
    display: block;
  }

  .pm-header__menu {
    flex-direction: column;
    gap: 0;
    padding-top: 20px;
  }

  .pm-header__menu li {
    border-top: 1px solid #eeeeee;
  }

  .pm-header__menu a {
    display: block;
    padding: 14px 0;
  }

  .pm-header__menu .sub-menu {
    position: static;
    display: none;
    border: none;
    padding: 0 0 8px 16px;
  }

  .pm-header__menu li:hover > .sub-menu {
    display: flex;
  }
}

/* Astra pone .ast-container en flex-row (para sidebar); forzamos columna
   en la portada para que .pm-hero y .pm-quotes-grid se apilen siempre. */
.ast-container:has(.pm-hero) {
  display: block;
}

.pm-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 60px;
  padding: 100px 60px;
  background-color: var(--pm-black);
  position: relative;
}

.pm-hero__left {
  max-width: 700px;
}

.pm-hero__title {
  font-family: var(--pm-font-heading);
  color: var(--pm-coral);
  font-size: clamp(2.2rem, 9vw, 119px);
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 0.97;
  margin: 0;
}

.pm-hero__text {
  display: block;
  font-family: var(--pm-font-body);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.4vw, 33px);
  letter-spacing: -1px;
  line-height: 1.05;
  max-width: 420px;
  min-width: 0;
  text-decoration: none;
}

.pm-hero__ig {
  display: inline-flex;
  width: 22px;
  height: 22px;
  color: var(--pm-coral);
  flex-shrink: 0;
}

.pm-hero__ig svg {
  width: 100%;
  height: 100%;
}

.pm-hero__ig:hover {
  color: var(--pm-white);
}

/* Portátiles (783–1300px): título+left y texto+text más compactos para
   que quepan siempre en la misma fila, sin saltar de línea. */
@media (min-width: 783px) and (max-width: 1300px) {
  .pm-hero {
    gap: 40px;
  }

  .pm-hero__left {
    max-width: 480px;
  }

  .pm-hero__title {
    font-size: clamp(2.2rem, 7vw, 70px);
  }

  .pm-hero__text {
    max-width: 340px;
    font-size: clamp(1rem, 1.8vw, 22px);
  }
}

@media (max-width: 782px) {
  .pm-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 24px;
    gap: 24px;
  }
}

.pm-home-ig {
  padding: 0 60px 24px;
  background-color: var(--pm-black);
}

.pm-home-ig a {
  display: inline-flex;
  width: 26px;
  height: 26px;
  color: var(--pm-coral);
}

.pm-home-ig a svg {
  width: 100%;
  height: 100%;
}

.pm-home-ig a:hover {
  color: var(--pm-white);
}

@media (max-width: 782px) {
  .pm-home-ig {
    padding: 0 24px 24px;
  }
}

.pm-quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background-color: var(--pm-black);
  padding: 0 60px;
}

.pm-quotes-grid__item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  background-color: var(--pm-white);
  color: var(--pm-coral);
  font-family: var(--pm-font-body);
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 33px);
  letter-spacing: -1px;
  line-height: 1.05;
  padding: 24px 20px 24px 40px;
  min-height: 220px;
  text-decoration: none;
}

.pm-quotes-grid__item:visited {
  color: var(--pm-coral);
}

.pm-quotes-grid__item:hover,
.pm-quotes-grid__item:focus,
.pm-quotes-grid__item:active {
  color: #000000;
}

@media (max-width: 900px) {
  .pm-quotes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pm-quotes-grid {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }

  .pm-quotes-grid__item {
    min-height: 140px;
    padding: 20px 20px 20px 24px;
    letter-spacing: 0;
  }
}

.pm-linkedin {
  padding: 60px 60px 100px;
  background-color: var(--pm-black);
}

.pm-linkedin__title {
  font-family: var(--pm-font-heading);
  color: var(--pm-coral);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: none;
  margin: 0 0 40px;
  padding-top: 40px;
  border-top: 1px solid var(--pm-white);
}

.pm-linkedin__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pm-linkedin__item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 160px;
  padding: 30px;
  border: 1px solid var(--pm-white);
  color: var(--pm-white);
  font-family: var(--pm-font-body);
  font-size: 1rem;
  line-height: 1.5;
  text-decoration: none;
}

.pm-linkedin__item:hover {
  border-color: var(--pm-coral);
  color: var(--pm-coral);
}

@media (max-width: 900px) {
  .pm-linkedin__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 782px) {
  .pm-linkedin {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.pm-service-hero {
  padding: 100px 60px 40px;
  background-color: var(--pm-black);
}

.pm-service-hero__title {
  font-family: var(--pm-font-heading);
  color: var(--pm-coral);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 20px;
}

.pm-service-hero__tagline {
  font-family: var(--pm-font-body);
  color: var(--pm-white);
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.4;
  max-width: 600px;
  margin: 0;
}

.pm-service-list {
  padding: 20px 60px 100px;
  background-color: var(--pm-black);
}

.pm-service-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 700px;
}

.pm-service-list li {
  font-family: var(--pm-font-body);
  color: var(--pm-white);
  font-size: 1.1rem;
  padding: 18px 0;
  border-top: 1px solid var(--pm-wine);
}

.pm-service-list li:last-child {
  border-bottom: 1px solid var(--pm-wine);
}

@media (max-width: 782px) {
  .pm-service-hero,
  .pm-service-list {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.pm-footer__whatsapp {
  position: absolute;
  top: 0;
  right: 60px;
  transform: translateY(-50%);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--pm-coral);
  color: var(--pm-black);
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.pm-footer__whatsapp svg {
  width: 30px;
  height: 30px;
}

.pm-footer__whatsapp:hover {
  transform: translateY(-50%) scale(1.08);
  background-color: var(--pm-wine);
  color: var(--pm-white);
}

.pm-footer {
  position: relative;
  background-color: var(--pm-white);
  border-top: 1px solid var(--pm-wine);
}

.pm-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 60px;
}

.pm-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
}

.pm-footer__tagline {
  font-family: var(--pm-font-body);
  color: #777777;
  font-size: 0.9rem;
  margin: 0;
}

.pm-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.pm-footer__contact a {
  font-family: var(--pm-font-body);
  font-size: 0.9rem;
  color: var(--pm-coral);
  text-decoration: none;
}

.pm-footer__bottom {
  padding: 14px 60px;
  border-top: 1px solid #e5e5e5;
}

.pm-footer__bottom p {
  font-family: var(--pm-font-body);
  color: var(--pm-black);
  opacity: 0.5;
  font-size: 0.75rem;
  margin: 0;
}

@media (max-width: 782px) {
  .pm-footer__top,
  .pm-footer__bottom {
    padding-left: 24px;
    padding-right: 24px;
  }

  .pm-footer__top {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
  }
}

/* Caja de contacto flotante (tarjeta + formulario) */
.pm-contact-box {
  position: fixed;
  right: 28px;
  bottom: 0;
  z-index: 9999;
  width: 240px;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
  pointer-events: none;
}

.pm-contact-box.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.pm-contact-box__close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background-color: var(--pm-black);
  color: var(--pm-white);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.pm-contact-box__close:hover {
  background-color: var(--pm-coral);
}

.pm-contact-box__flip {
  position: relative;
  width: 100%;
  aspect-ratio: 624 / 964;
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.4, 0.2, 0.2, 1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

.pm-contact-box.is-flipped .pm-contact-box__flip {
  transform: rotateY(180deg);
}

.pm-contact-box__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
}

.pm-contact-box__face--front {
  background-color: var(--pm-white);
}

.pm-contact-box__card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pm-contact-box__face--back {
  transform: rotateY(180deg);
  background-color: var(--pm-white);
  padding: 20px 18px;
}

.pm-contact-box__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.pm-contact-box__title {
  font-family: var(--pm-font-heading);
  color: var(--pm-coral);
  font-weight: 400;
  font-size: 1.1rem;
  text-transform: uppercase;
  margin: 0 0 4px;
}

.pm-contact-box__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--pm-font-body);
  font-size: 0.75rem;
  color: var(--pm-black);
}

.pm-contact-box__field input,
.pm-contact-box__field textarea {
  font-family: var(--pm-font-body);
  font-size: 0.85rem;
  color: var(--pm-black);
  background-color: transparent;
  border: 1px solid var(--pm-coral);
  border-radius: 4px;
  padding: 6px 8px;
  resize: none;
}

.pm-contact-box__field input:focus,
.pm-contact-box__field textarea:focus {
  outline: none;
  border-color: var(--pm-black);
}

.pm-contact-box__submit {
  margin-top: auto;
  font-family: var(--pm-font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--pm-black);
  background-color: var(--pm-coral);
  border: none;
  border-radius: 4px;
  padding: 9px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.pm-contact-box__submit:hover:not(:disabled) {
  background-color: var(--pm-white);
}

.pm-contact-box__submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.pm-contact-box__feedback {
  font-family: var(--pm-font-body);
  font-size: 0.75rem;
  color: var(--pm-black);
  margin: 0;
  min-height: 1.2em;
}

.pm-contact-box__feedback.is-success {
  color: var(--pm-coral);
}

.pm-contact-box__feedback.is-error {
  color: var(--pm-wine);
}

@media (max-width: 600px) {
  .pm-contact-box {
    width: 180px;
    right: 16px;
  }

  .pm-contact-box__face--back {
    padding: 14px 12px;
  }
}

@media (max-width: 600px) {
  .pm-footer__whatsapp-row {
    padding: 0 24px 20px;
  }
}

/* Tres tarjetas de servicios, justo encima de las reseñas, solo en Inicio */
.pm-services-teaser {
  padding: 80px 60px 20px;
  background-color: var(--pm-black);
}

.pm-services-teaser__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pm-process {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  aspect-ratio: 1221 / 647;
}

.pm-process__path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.pm-process__path path {
  fill: none;
  stroke: var(--pm-coral);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 2 12;
}

.pm-process__step {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: clamp(200px, 26vw, 320px);
  text-decoration: none;
  transition: transform 0.2s ease;
}

.pm-process__step:hover {
  transform: translateY(-4px);
}

.pm-process__step--1 {
  left: 8.68%;
  top: 12.2%;
}

.pm-process__step--2 {
  left: 35.3%;
  top: 53.8%;
}

.pm-process__step--3 {
  left: 65.8%;
  top: 23.5%;
}

.pm-process__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: clamp(70px, 8vw, 106px);
  height: clamp(70px, 8vw, 106px);
  border-radius: 50%;
  background-color: var(--pm-white);
  border: 3px solid var(--pm-coral);
  color: var(--pm-coral);
  margin-bottom: 18px;
}

.pm-process__badge svg {
  width: 36%;
  height: 36%;
}

.pm-process__title {
  font-family: var(--pm-font-body);
  font-weight: 700;
  color: var(--pm-white);
  font-size: 1.3rem;
  text-transform: uppercase;
  display: inline-block;
  border-bottom: 3px solid var(--pm-coral);
  padding-bottom: 6px;
  margin: 0 0 10px;
}

.pm-process__text {
  font-family: var(--pm-font-body);
  color: var(--pm-white);
  opacity: 0.8;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 12px;
}

.pm-process__link {
  display: inline-block;
  font-family: var(--pm-font-body);
  font-weight: 700;
  color: var(--pm-wine);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 900px) {
  .pm-process {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .pm-process__path {
    display: none;
  }

  .pm-process__step {
    position: static;
    width: 100%;
  }
}

@media (max-width: 782px) {
  .pm-services-teaser {
    padding: 60px 24px 20px;
  }
}

/* Titular de Estrategia de Marca, mismo estilo que el de Redes Sociales */
.pm-branding-hero {
  padding: 100px 60px 20px;
  background-color: var(--pm-black);
}

.pm-branding-hero__title {
  font-family: 'Anton', sans-serif;
  font-size: 119px;
  color: #FC8088;
  letter-spacing: 1px;
  line-height: 115px;
  font-weight: 700;
  margin: 0;
  text-align: left;
}

@media (max-width: 1200px) {
  .pm-branding-hero__title {
    font-size: clamp(2.5rem, 8vw, 119px);
    line-height: 1.1;
  }
}

@media (max-width: 782px) {
  .pm-branding-hero {
    padding: 60px 24px 20px;
  }

  .pm-branding-hero__title {
    font-size: clamp(2.2rem, 9vw, 119px);
    line-height: 0.97;
  }
}

/* Página del blog */
.pm-blog-hero {
  padding: 100px 60px 40px;
  background-color: var(--pm-black);
}

.pm-blog-hero__title {
  font-family: var(--pm-font-heading);
  color: var(--pm-coral);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 16px;
}

.pm-blog-hero__tagline {
  font-family: var(--pm-font-body);
  color: var(--pm-white);
  font-size: 1.1rem;
  margin: 0;
}

.pm-blog-section {
  padding: 20px 60px 100px;
  background-color: var(--pm-white);
}

.pm-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.pm-blog-card {
  display: flex;
  flex-direction: column;
}

.pm-blog-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
}

.pm-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pm-blog-card__media-fallback {
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--pm-coral);
}

.pm-blog-card:nth-child(3n+2) .pm-blog-card__media-fallback {
  background-color: var(--pm-wine);
}

.pm-blog-card:nth-child(3n+3) .pm-blog-card__media-fallback {
  background-color: var(--pm-black);
}

.pm-blog-card__category {
  font-family: var(--pm-font-body);
  font-weight: 700;
  color: var(--pm-wine);
  font-size: 0.8rem;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 8px;
}

.pm-blog-card__title {
  font-family: var(--pm-font-heading);
  color: var(--pm-black);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.2;
  margin: 0 0 10px;
}

.pm-blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.pm-blog-card__title a:hover {
  color: var(--pm-wine);
}

.pm-blog-card__meta {
  display: flex;
  gap: 8px;
  font-family: var(--pm-font-body);
  color: #777777;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.pm-blog-card__excerpt {
  font-family: var(--pm-font-body);
  color: #333333;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 16px;
}

.pm-blog-card__link {
  display: inline-block;
  align-self: flex-start;
  padding: 10px 22px;
  border-radius: 999px;
  background-color: var(--pm-coral);
  color: var(--pm-black);
  font-family: var(--pm-font-body);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.pm-blog-card__link:hover {
  background-color: var(--pm-wine);
  color: var(--pm-white);
}

.pm-blog-empty {
  font-family: var(--pm-font-body);
  color: var(--pm-black);
  font-size: 1rem;
}

.pm-blog-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
}

.pm-blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid #dddddd;
  color: var(--pm-black);
  font-family: var(--pm-font-body);
  font-size: 0.9rem;
  text-decoration: none;
}

.pm-blog-pagination .page-numbers.current {
  background-color: var(--pm-coral);
  border-color: var(--pm-coral);
  color: var(--pm-black);
}

@media (max-width: 900px) {
  .pm-blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 782px) {
  .pm-blog-hero,
  .pm-blog-section {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Marketing y Publicidad: prueba de minúsculas para aligerar el peso visual,
   con la primera letra en mayúscula (estilo frase, no Cada Palabra). */
.page-id-34 .e-heading-base,
.page-id-34 .e-paragraph-base {
  text-transform: lowercase !important;
}

.page-id-34 .e-heading-base::first-letter,
.page-id-34 .e-paragraph-base::first-letter {
  text-transform: uppercase !important;
}

/* Oculta el cursor normal del sistema cuando el punto personalizado está activo */
html.pm-has-cursor-dot,
html.pm-has-cursor-dot * {
  cursor: none !important;
}

/* Punto de cursor: negro con brillo blanco, siempre igual */
.pm-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.9) 10%, rgba(255, 255, 255, 0) 16%),
    radial-gradient(circle at 34% 30%, #3a3a3a 0%, #1c1c1c 35%, #000000 70%);
  box-shadow: 0 0 6px 1px rgba(255, 255, 255, 0.5), inset -1px -1px 2px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.pm-cursor-dot.is-visible {
  opacity: 1;
}

/* Botón "volver arriba" de Astra, en coral en vez de azul */
#ast-scroll-top {
  background-color: var(--pm-coral) !important;
}

/* Astra pone .ast-container en flex-row (para sidebar); forzamos columna
   en las páginas con secciones propias hardcodeadas para que se apilen. */
.ast-container:has(.pm-ads-hero) {
  display: block;
}

/* Página Marketing y Publicidad */
.pm-ads-hero {
  padding: 100px 60px 60px;
  background-color: var(--pm-black);
}

.pm-ads-hero__title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.5rem, 8vw, 119px);
  color: #FC8088;
  letter-spacing: 1px;
  line-height: 1.1;
  font-weight: 700;
  margin: 0;
  text-align: left;
}

@media (max-width: 782px) {
  .pm-ads-hero__title {
    font-size: clamp(2.2rem, 9vw, 119px);
    line-height: 0.97;
  }
}

.pm-ads-intro {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  padding: 50px 60px 60px;
  background-color: var(--pm-white);
}

.pm-ads-intro__img {
  max-width: 675px;
  width: 45%;
  height: auto;
  display: block;
}

.pm-ads-intro__text {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.5rem, 7vw, 6.25rem);
  line-height: 0.95;
  color: #FC8088;
  margin: 0;
}

@media (max-width: 782px) {
  .pm-ads-hero {
    padding: 60px 24px 20px;
  }

  .pm-ads-intro {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 40px;
  }
}

/* Casillas de Publicidad: círculos con anillo degradado + etiqueta píldora */
.pm-ads-flow {
  padding: 100px 60px 120px;
  background-color: var(--pm-black);
}

.pm-ads-flow__list {
  position: relative;
  max-width: 560px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pm-ads-flow__list::before {
  content: '';
  position: absolute;
  left: 37px;
  top: 20px;
  bottom: 20px;
  border-left: 2px dashed rgba(252, 128, 136, 0.35);
}

.pm-ads-flow__item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 20px 0;
}

.pm-ads-flow__badge {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  padding: 6px;
  box-sizing: border-box;
  background: linear-gradient(135deg, var(--pm-grad-a), var(--pm-grad-b));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.pm-ads-flow__badge svg {
  width: 60%;
  height: 60%;
  background-color: var(--pm-white);
  border-radius: 50%;
  padding: 20%;
  box-sizing: content-box;
}

.pm-ads-flow__body {
  padding-top: 6px;
}

.pm-ads-flow__pill {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  color: var(--pm-white);
  font-family: var(--pm-font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
}

.pm-ads-flow__text {
  font-family: var(--pm-font-body);
  color: var(--pm-white);
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 560px;
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease, margin-top 0.35s ease;
}

.pm-ads-flow__item:hover .pm-ads-flow__text,
.pm-ads-flow__item:focus-within .pm-ads-flow__text {
  max-height: 220px;
  opacity: 0.75;
  margin-top: 12px;
}

@media (max-width: 600px) {
  .pm-ads-flow {
    padding: 60px 24px 60px;
  }

  .pm-ads-flow__list::before {
    left: 29px;
  }

  .pm-ads-flow__badge {
    width: 58px;
    height: 58px;
  }

  .pm-ads-flow__item {
    gap: 16px;
  }

  .pm-ads-flow__pill {
    font-size: 0.8rem;
    padding: 8px 16px;
  }
}

#ast-scroll-top:hover {
  background-color: var(--pm-wine) !important;
}

/* Astra pone .ast-container en flex-row (para sidebar); forzamos columna
   en las páginas con secciones propias hardcodeadas para que se apilen. */
.ast-container:has(.pm-redes-hero) {
  display: block;
}

/* Titular de Redes Sociales, mismo grosor que el de Estrategia de Marca */
.pm-redes-hero {
  padding: 100px 60px 20px;
  background-color: var(--pm-black);
}

.pm-redes-hero__title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.5rem, 8vw, 119px);
  color: #FC8088;
  letter-spacing: 1px;
  line-height: 1.1;
  font-weight: 700;
  margin: 0;
  text-align: left;
}

@media (max-width: 782px) {
  .pm-redes-hero {
    padding: 60px 24px 20px;
  }

  .pm-redes-hero__title {
    font-size: clamp(2.2rem, 9vw, 119px);
    line-height: 0.97;
  }
}

/* Objetivos para Redes Sociales: línea de tiempo vertical */
.pm-goals {
  padding: 100px 60px 120px;
  background-color: var(--pm-black);
}

.pm-goals__heading {
  display: block;
  width: fit-content;
  font-family: var(--pm-font-body);
  color: var(--pm-coral);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  text-align: center;
  border: 2px solid var(--pm-white);
  border-radius: 14px;
  padding: 16px 32px;
  margin: 0 auto 60px;
}

.pm-goals__timeline {
  position: relative;
  max-width: 620px;
  margin: 0;
  padding-left: 40px;
}

.pm-goals__timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='56' viewBox='0 0 22 56'%3E%3Cg fill='%23FC8088'%3E%3Cellipse cx='11' cy='8' rx='6' ry='7'/%3E%3Cpath d='M4 8 L0 6 L1 10 Z'/%3E%3Cpath d='M18 8 L22 6 L21 10 Z'/%3E%3Crect x='9' y='15' width='4' height='6' rx='1.5'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-y;
  background-position: top center;
}

.pm-goals__item {
  position: relative;
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: 24px;
  margin-bottom: 72px;
  text-align: left;
}

.pm-goals__item:last-child {
  margin-bottom: 0;
}

.pm-goals__badge {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--pm-black);
  border: 3px solid var(--pm-coral);
  color: var(--pm-coral);
}

.pm-goals__badge svg {
  width: 28px;
  height: 28px;
}

.pm-goals__body {
  max-width: 480px;
}

.pm-goals__title {
  font-family: var(--pm-font-body);
  font-weight: 700;
  color: var(--pm-white);
  text-transform: uppercase;
  font-size: 1.05rem;
  line-height: 1.3;
  margin: 0 0 8px;
}

.pm-goals__text {
  font-family: var(--pm-font-body);
  color: var(--pm-white);
  opacity: 0.7;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

.pm-goals__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pm-goals__list li {
  font-family: var(--pm-font-body);
  color: var(--pm-white);
  opacity: 0.75;
  font-size: 0.85rem;
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}

.pm-goals__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--pm-coral);
}

@media (max-width: 782px) {
  .pm-goals {
    padding: 60px 24px 60px;
  }

  .pm-goals__timeline {
    max-width: 100%;
    padding-left: 32px;
  }

  .pm-goals__timeline::before {
    left: 0;
  }

  .pm-goals__badge {
    width: 48px;
    height: 48px;
  }

  .pm-goals__badge svg {
    width: 22px;
    height: 22px;
  }

  .pm-goals__body {
    padding-left: 12px;
  }
}
