/* Páginas de servicio (whatsapp-business-api, software-call-center, precios) */

.lp-hero {
  padding: calc(var(--header) + 56px) 0 56px;
  background: linear-gradient(180deg, var(--sand), var(--bg));
}

.lp-hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.lp-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.12;
  margin-bottom: 16px;
}

.lp-hero p.lead {
  color: var(--ink-2);
  font-size: 1.12rem;
  max-width: 40rem;
  margin: 0 0 28px;
}

.lp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.breadcrumb {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--orange-deep);
}

.lp-grid {
  display: grid;
  gap: 18px;
}

.lp-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.lp-card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.lp-card p {
  color: var(--ink-2);
  font-size: 0.97rem;
}

.lp-prose {
  max-width: 760px;
  margin-inline: auto;
}

.lp-prose p,
.lp-prose li {
  color: var(--ink-2);
  font-size: 1.02rem;
}

.lp-prose p {
  margin-bottom: 14px;
}

.lp-prose ul,
.lp-prose ol {
  padding-left: 1.2rem;
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
}

.lp-prose h3 {
  font-size: 1.2rem;
  margin: 24px 0 10px;
}

.lp-prose a {
  color: var(--orange-deep);
  text-decoration: underline;
}

.lp-alt {
  background: var(--soft);
}

.lp-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.lp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 560px;
}

.lp-table th,
.lp-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.lp-table thead th {
  background: var(--sand);
  font-family: var(--display);
}

.lp-table tr:last-child td {
  border-bottom: 0;
}

.lp-related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* Fotos y burbujas */
.lp-photo {
  position: relative;
  margin: 0;
  max-width: 460px;
  justify-self: center;
  width: 100%;
}

.lp-hero-grid.is-wide .lp-photo {
  max-width: 620px;
}

.lp-photo img,
.lp-advisor img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.lp-bubble {
  position: absolute;
  display: grid;
  gap: 2px;
  max-width: 250px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
  font-size: 0.88rem;
  line-height: 1.35;
  animation: lp-float 5s ease-in-out infinite;
}

.lp-bubble strong {
  font-size: 0.76rem;
  color: var(--muted);
}

.lp-bubble.in {
  top: 8%;
  left: -6%;
  border-bottom-left-radius: 4px;
}

.lp-bubble.in.low {
  top: auto;
  bottom: 10%;
}

.lp-bubble.out {
  bottom: 18%;
  right: -6%;
  background: #dcf8c6;
  border-bottom-right-radius: 4px;
  animation-delay: 1.2s;
}

.lp-bubble.chip {
  top: -14px;
  right: 8%;
  padding: 8px 14px;
  border-radius: var(--pill);
  grid-auto-flow: column;
  gap: 8px;
  align-items: center;
  animation-delay: 2.4s;
}

.lp-bubble.chip strong {
  color: var(--ok);
}

.lp-bubble.call strong {
  color: #d92d20;
}

@keyframes lp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (prefers-reduced-motion: reduce) {
  .lp-bubble { animation: none; }
}

.lp-band {
  padding: 0 0 24px;
}

.lp-band-split {
  display: grid;
  gap: 28px;
  align-items: center;
}

.lp-band-split figure {
  margin: 0;
  max-width: 380px;
  justify-self: center;
  width: 100%;
}

.lp-band-split img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.lp-band-split h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 10px;
}

.lp-band-split a {
  color: var(--orange-deep);
  text-decoration: underline;
}

.lp-band-split p {
  color: var(--ink-2);
  font-size: 1.05rem;
  max-width: 34rem;
}

.lp-band-split.is-wide figure {
  max-width: 680px;
}

@media (min-width: 720px) {
  .lp-band-split {
    grid-template-columns: 340px 1fr;
    gap: 48px;
  }

  .lp-band-split.is-wide {
    grid-template-columns: 1.4fr 1fr;
  }
}

.lp-advisor-wrap {
  padding-bottom: 24px;
}

.lp-advisor {
  display: grid;
  gap: 28px;
  align-items: center;
  background: var(--peach);
  border-radius: 28px;
  padding: 28px;
}

.lp-advisor figure {
  margin: 0;
  max-width: 280px;
}

.lp-advisor h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 10px;
}

.lp-advisor p {
  color: var(--ink-2);
  margin-bottom: 20px;
}

@media (max-width: 719px) {
  .lp-bubble.in { left: 8px; }
  .lp-bubble.out { right: 8px; }
}

@media (min-width: 720px) {
  .lp-advisor {
    grid-template-columns: 240px 1fr;
    padding: 36px;
  }
}

@media (min-width: 980px) {
  .lp-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

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

@media (min-width: 720px) {
  .lp-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Blog */
.blog-hero {
  padding-bottom: 32px;
}

.blog-wrap {
  max-width: 780px;
}

.blog-hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
}

.blog-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.blog-article {
  padding-top: 24px;
}

.blog-article h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  margin: 36px 0 12px;
}

.blog-article .lp-table-wrap {
  margin: 8px 0 20px;
}

.blog-note {
  background: var(--peach);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 20px 0;
}

.blog-card h2 {
  font-size: 1.25rem;
  margin: 4px 0 8px;
}

.blog-card h2 a:hover,
.blog-more {
  color: var(--orange-deep);
}

.blog-more {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
}
