/* Community Manager — full-bleed, compact, alineado al resto del sitio */
.community-manager-section {
  --cm-gold: #e8c44a;
  --cm-gold-2: #ffb020;
  --cm-ink: #0c0d12;
  --cm-paper: #f6f4ef;
  --cm-white: #fbfaf8;
  --cm-muted: #5c5a56;
  --cm-line: rgba(12, 13, 18, 0.1);
  --cm-ok: #0f7a5a;
  --cm-max: 1120px;
  --section-gap: clamp(0.5rem, 1.8vh, 1.15rem);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #1c1917;
  background: var(--cm-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.community-manager-section *,
.community-manager-section *::before,
.community-manager-section *::after {
  box-sizing: border-box;
}

.community-manager-section h1,
.community-manager-section h2,
.community-manager-section h3 {
  font-family: inherit !important;
  text-transform: none !important;
  letter-spacing: -0.035em;
  color: inherit;
  background: none !important;
}

.cm-container {
  width: min(100%, var(--cm-max));
  margin: 0 auto;
  padding: 0 1.15rem;
}

/* ——— Hero: fondo de punta a punta; el offset va DENTRO, no en .l-m blanco ——— */
.cm-hero {
  position: relative;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(232, 196, 74, 0.18), transparent 42%),
    radial-gradient(ellipse at 12% 90%, rgba(255, 176, 32, 0.08), transparent 40%),
    linear-gradient(165deg, #12141c 0%, #0c0d12 55%, #15120c 100%);
  padding: calc(var(--header-offset, 6.5rem) + 1.25rem) 0 clamp(2rem, 4.5vw, 3.25rem);
  overflow: hidden;
  height: auto;
  min-height: 0;
}

.cm-hero-content {
  position: relative;
  z-index: 1;
}

.cm-eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.28rem 0.75rem;
  border: 1px solid rgba(232, 196, 74, 0.35);
  border-radius: 999px;
  color: var(--cm-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cm-hero h1 {
  margin: 0 auto 0.85rem;
  max-width: 18ch;
  font-size: clamp(1.85rem, 5.4vw, 3.35rem);
  font-weight: 800;
  line-height: 1.05;
  text-wrap: balance;
  color: #fff;
}

.cm-hero h1 span {
  display: block;
  background: linear-gradient(135deg, var(--cm-gold), var(--cm-gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cm-hero-lead {
  margin: 0 auto 1.35rem;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  line-height: 1.65;
}

.cm-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.cm-cta-button,
.cm-secondary-button,
.cm-plan-button,
.cm-package-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  text-wrap: balance;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.cm-cta-button:hover,
.cm-secondary-button:hover,
.cm-plan-button:hover,
.cm-package-button:hover {
  transform: translateY(-1px);
}

.cm-cta-button {
  background: linear-gradient(135deg, var(--cm-gold), var(--cm-gold-2));
  color: #111 !important;
}

.cm-secondary-button {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.cm-trust-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 1.15rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 600;
}

.cm-trust-line li {
  position: relative;
}

.cm-trust-line li + li::before {
  content: "·";
  position: absolute;
  left: -0.7rem;
  color: var(--cm-gold);
}

/* ——— Stats ——— */
.cm-stats {
  background: var(--cm-white);
  padding: clamp(1.5rem, 4vw, 2.5rem) 0;
  border-bottom: 1px solid var(--cm-line);
}

.cm-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.cm-stat-item {
  padding: 1rem 0.9rem;
  border: 1px solid var(--cm-line);
  border-radius: 14px;
  background: #fff;
}

.cm-stat-item h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--cm-ink);
}

.cm-stat-item p {
  margin: 0;
  color: var(--cm-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

/* ——— Plans ——— */
.cm-plans {
  background: var(--cm-paper);
  padding: clamp(2rem, 5vw, 3.25rem) 0;
}

.cm-section-title {
  text-align: center;
  margin: 0 auto 1.35rem;
  max-width: 40rem;
}

.cm-section-title h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  font-weight: 800;
  line-height: 1.15;
  text-wrap: balance;
  color: var(--cm-ink);
}

.cm-section-title p {
  margin: 0;
  color: var(--cm-muted);
  font-size: 0.98rem;
}

.cm-pricing-note {
  margin: 0 auto 1.5rem;
  max-width: 42rem;
  text-align: center;
  color: var(--cm-muted);
  font-size: 0.85rem;
}

.cm-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: stretch;
}

.cm-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--cm-line);
  border-radius: 18px;
  overflow: hidden;
}

.cm-plan-card.featured {
  border-color: #c4a35a;
  box-shadow: 0 12px 36px rgba(12, 13, 18, 0.08);
}

.cm-plan-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: var(--cm-ink);
  color: var(--cm-gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.cm-plan-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.35rem 1.2rem 1.2rem;
}

.cm-plan-name {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.cm-plan-price {
  margin: 0 0 0.35rem;
  font-size: clamp(1.7rem, 3vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--cm-ink);
}

.cm-plan-price span {
  margin-left: 0.15rem;
  color: var(--cm-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.cm-plan-promo {
  margin: 0 0 0.45rem;
  color: var(--cm-ok);
  font-size: 0.88rem;
  font-weight: 800;
}

.cm-plan-description {
  margin: 0 0 0.85rem;
  color: var(--cm-muted);
  font-size: 0.9rem;
}

.cm-plan-features {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  flex: 1;
}

.cm-plan-features li {
  position: relative;
  padding: 0.32rem 0 0.32rem 1.15rem;
  border-top: 1px solid var(--cm-line);
  font-size: 0.86rem;
  line-height: 1.4;
}

.cm-plan-features li:first-child {
  border-top: 0;
}

.cm-plan-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--cm-gold);
}

.cm-pay-note {
  margin: 0 0 0.9rem;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  background: rgba(232, 196, 74, 0.14);
  font-size: 0.82rem;
  color: #3f3a32;
}

.cm-pay-note-on-dark {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
}

.cm-plan-button {
  width: 100%;
  background: var(--cm-ink);
  color: #fff !important;
}

.cm-plan-card.featured .cm-plan-button {
  background: linear-gradient(135deg, var(--cm-gold), var(--cm-gold-2));
  color: #111 !important;
}

/* Identidad visual */
.cm-special-package {
  margin-top: 1.15rem;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, #171920, #0c0d12);
}

.cm-special-package h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
}

.cm-package-price {
  margin: 0.35rem 0;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--cm-gold);
}

.cm-package-description {
  margin: 0 0 0.65rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.cm-special-package ul {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.15rem 1.25rem;
}

.cm-special-package li {
  position: relative;
  padding: 0.28rem 0 0.28rem 1rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.86);
}

.cm-special-package li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--cm-gold);
}

.cm-special-package-promo {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(232, 196, 74, 0.14);
  color: #fff7c8;
  font-size: 0.9rem;
}

.cm-package-button {
  background: linear-gradient(135deg, var(--cm-gold), var(--cm-gold-2));
  color: #111 !important;
}

/* ——— Services / process / expect ——— */
.cm-services,
.cm-process {
  background: var(--cm-white);
  padding: clamp(2rem, 5vw, 3rem) 0;
}

.cm-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.cm-card {
  padding: 1.15rem 1.1rem 1.2rem;
  border: 1px solid var(--cm-line);
  border-radius: 16px;
  background: #fff;
}

.cm-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  font-weight: 800;
}

.cm-card p {
  margin: 0 0 0.7rem;
  color: var(--cm-muted);
  font-size: 0.9rem;
}

.cm-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cm-card li {
  padding: 0.22rem 0;
  font-size: 0.86rem;
  color: #2d2a26;
}

.cm-testimonials {
  background: var(--cm-paper);
  padding: clamp(2rem, 5vw, 3rem) 0;
}

.cm-expect-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.cm-expect-card {
  padding: 1.2rem 1.15rem;
  border-left: 3px solid var(--cm-gold);
  border-radius: 0 14px 14px 0;
  background: #fff;
}

.cm-expect-num {
  margin: 0 0 0.35rem;
  color: var(--cm-gold-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.cm-expect-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.cm-expect-card p {
  margin: 0;
  color: var(--cm-muted);
  font-size: 0.92rem;
}

.cm-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  text-align: center;
}

.cm-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 0.7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cm-gold), var(--cm-gold-2));
  color: #111;
  font-weight: 800;
}

.cm-steps h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.cm-steps p {
  margin: 0;
  color: var(--cm-muted);
  font-size: 0.88rem;
}

/* Insights */
.cm-insights {
  background: var(--cm-paper);
  padding: clamp(2rem, 5vw, 2.75rem) 0;
}

.cm-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.cm-insight-card {
  display: block;
  padding: 1.15rem 1.1rem 1.2rem;
  border: 1px solid var(--cm-line);
  border-radius: 16px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.cm-insight-card small {
  display: block;
  margin-bottom: 0.4rem;
  color: #9a6b12;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cm-insight-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.cm-insight-card p {
  margin: 0 0 0.7rem;
  color: var(--cm-muted);
  font-size: 0.88rem;
}

.cm-insight-card strong {
  color: var(--cm-ink);
  font-size: 0.86rem;
}

.cm-insight-card:hover {
  border-color: #c4a35a;
}

/* FAQ */
.cm-faq {
  background: var(--cm-white);
  padding: clamp(2rem, 5vw, 3rem) 0;
}

.cm-faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.cm-faq details {
  border-bottom: 1px solid var(--cm-line);
}

.cm-faq summary {
  cursor: pointer;
  padding: 0.9rem 0;
  font-weight: 700;
  font-size: 0.98rem;
  list-style: none;
}

.cm-faq summary::-webkit-details-marker {
  display: none;
}

.cm-faq details p {
  margin: 0 0 0.95rem;
  color: var(--cm-muted);
  font-size: 0.94rem;
}

/* CTA */
.cm-cta-final {
  background: linear-gradient(165deg, #12141c, #0c0d12);
  color: #fff;
  text-align: center;
  padding: clamp(2.25rem, 6vw, 3.5rem) 1.15rem;
}

.cm-cta-final h2 {
  margin: 0 auto 0.65rem;
  max-width: 18ch;
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  text-wrap: balance;
  color: #fff;
}

.cm-cta-final p {
  margin: 0 auto 1.15rem;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
}

.cm-cta-final .cm-cta-button {
  margin-bottom: 0.75rem;
}

.cm-cta-note {
  margin: 0 !important;
  font-size: 0.82rem !important;
  opacity: 0.7;
}

.cm-whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(18, 140, 126, 0.35);
}

.cm-whatsapp-float svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: currentColor;
}

@media (max-width: 960px) {
  .cm-stats-grid,
  .cm-plans-grid,
  .cm-cards,
  .cm-expect-grid,
  .cm-insights-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cm-steps,
  .cm-special-package ul {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .cm-hero {
    height: auto;
    min-height: 0;
    text-align: left;
    padding-top: calc(var(--header-offset, 6.5rem) + 1.5rem) !important;
    padding-bottom: 1.75rem;
    overflow: visible;
  }

  .cm-hero h1 {
    max-width: none;
  }

  .cm-hero-buttons {
    justify-content: stretch;
  }

  .cm-hero-buttons a {
    width: 100%;
  }

  .cm-trust-line {
    justify-content: flex-start;
    gap: 0.4rem 0;
  }

  .cm-trust-line li {
    width: 100%;
  }

  .cm-trust-line li + li::before {
    content: none;
  }
}

@media (max-width: 768px) and (max-height: 740px) {
  .community-manager-section {
    --section-gap: clamp(0.4rem, 1.4vh, 0.85rem);
  }

  .cm-hero {
    padding-bottom: 1.35rem;
  }
}

@media (max-width: 620px) {
  .cm-stats-grid,
  .cm-plans-grid,
  .cm-cards,
  .cm-expect-grid,
  .cm-insights-grid,
  .cm-steps,
  .cm-special-package ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .cm-container {
    padding: 0 0.85rem;
  }

  .cm-eyebrow {
    letter-spacing: 0.08em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .community-manager-section * {
    transition: none !important;
  }
}

/* Gana a la tipografía Webnode si el CSS externo llega tarde o se pisa */
html.dp-site-header .community-manager-section .cm-hero {
  color: #fff !important;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(232, 196, 74, 0.18), transparent 42%),
    radial-gradient(ellipse at 12% 90%, rgba(255, 176, 32, 0.08), transparent 40%),
    linear-gradient(165deg, #12141c 0%, #0c0d12 55%, #15120c 100%) !important;
  padding-top: calc(var(--header-offset, 6.5rem) + 1.5rem) !important;
}
html.dp-site-header .community-manager-section .cm-hero h1 {
  color: #fff !important;
  font-size: clamp(1.85rem, 5.4vw, 3.35rem) !important;
  font-weight: 800 !important;
  line-height: 1.08 !important;
  margin: 0 auto 0.85rem !important;
  max-width: 18ch !important;
}
html.dp-site-header .community-manager-section .cm-plans-grid,
html.dp-site-header .community-manager-section .cm-stats-grid,
html.dp-site-header .community-manager-section .cm-cards,
html.dp-site-header .community-manager-section .cm-expect-grid,
html.dp-site-header .community-manager-section .cm-insights-grid {
  display: grid !important;
}
