/* ============================================
       CRM AUTOMATIZACIONES — Page-specific Styles
       ============================================ */

    /* ─── Hero ──────────────────────────────────── */
    .crm-hero {
      background: var(--black);
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding: 120px 0 80px;
      position: relative;
      overflow: hidden;
    }

    .crm-hero::before {
      content: '';
      position: absolute;
      top: -160px;
      right: -120px;
      width: 620px;
      height: 620px;
      background: radial-gradient(circle, rgba(242, 106, 27, 0.12) 0%, transparent 68%);
      pointer-events: none;
    }

    .crm-hero::after {
      content: '';
      position: absolute;
      bottom: -80px;
      left: -80px;
      width: 420px;
      height: 420px;
      background: radial-gradient(circle, rgba(242, 106, 27, 0.05) 0%, transparent 70%);
      pointer-events: none;
    }

    .crm-hero-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 72px;
      align-items: center;
      position: relative;
      z-index: 1;
    }

    .crm-hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: rgba(255, 255, 255, 0.65);
      font-size: 0.77rem;
      font-weight: 600;
      letter-spacing: 0.09em;
      text-transform: uppercase;
      padding: 6px 16px;
      border-radius: 100px;
      margin-bottom: 26px;
    }

    .crm-live-dot {
      width: 8px;
      height: 8px;
      background: #25D366;
      border-radius: 50%;
      animation: livePulse 2s infinite;
    }

    @keyframes livePulse {

      0%,
      100% {
        opacity: 1;
      }

      50% {
        opacity: 0.3;
      }
    }

    .crm-hero h1 {
      color: var(--white);
      font-size: clamp(2.3rem, 4.8vw, 3.7rem);
      line-height: 1.08;
      margin-bottom: 22px;
    }

    .crm-hero h1 span {
      color: var(--orange);
    }

    .crm-hero-lead {
      color: rgba(255, 255, 255, 0.58);
      font-size: 1.08rem;
      line-height: 1.75;
      margin-bottom: 36px;
      max-width: 530px;
    }

    .crm-hero-actions {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
      margin-bottom: 38px;
    }

    .crm-hero-proof {
      display: flex;
      align-items: center;
      gap: 14px;
      color: rgba(255, 255, 255, 0.45);
      font-size: 0.84rem;
    }

    .crm-proof-dots {
      display: flex;
    }

    .crm-proof-dots span {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--graphite);
      border: 2px solid var(--black);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.64rem;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.65);
      margin-left: -8px;
    }

    .crm-proof-dots span:first-child {
      margin-left: 0;
    }

    .crm-hero-proof p {
      margin: 0;
      font-size: 0.84rem;
      color: rgba(255, 255, 255, 0.45);
    }

    .crm-hero-proof strong {
      color: rgba(255, 255, 255, 0.8);
    }

    /* ─── Hero Dashboard Visual ───────────────── */
    .crm-dashboard {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .crm-dash-header {
      background: rgba(242, 106, 27, 0.1);
      border: 1px solid rgba(242, 106, 27, 0.25);
      border-radius: 14px;
      padding: 14px 18px;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .crm-dash-icon {
      width: 40px;
      height: 40px;
      background: rgba(255,255,255,0.07);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 10px;
      backdrop-filter: blur(8px);
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 4px 12px rgba(0,0,0,0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
      flex-shrink: 0;
      color: var(--orange);
    }

    .crm-dash-header h4 {
      color: var(--white);
      font-size: 0.88rem;
    }

    .crm-dash-header p {
      color: rgba(255, 255, 255, 0.45);
      font-size: 0.75rem;
    }

    .crm-dash-live {
      margin-left: auto;
      display: flex;
      align-items: center;
      gap: 6px;
      color: var(--orange);
      font-size: 0.72rem;
      font-weight: 600;
    }

    /* Pipeline columns */
    .crm-pipeline {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
    }

    .crm-pipe-col {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 10px;
      padding: 10px 8px;
    }

    .crm-pipe-label {
      font-size: 0.62rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: rgba(255, 255, 255, 0.4);
      margin-bottom: 8px;
      text-align: center;
    }

    .crm-pipe-count {
      font-size: 0.58rem;
      color: rgba(255, 255, 255, 0.3);
      text-align: center;
      margin-bottom: 6px;
    }

    .crm-pipe-card {
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 8px;
      padding: 8px;
      margin-bottom: 6px;
    }

    .crm-pipe-card:last-child {
      margin-bottom: 0;
    }

    .crm-pipe-name {
      font-size: 0.7rem;
      font-weight: 600;
      color: rgba(255, 255, 255, 0.75);
      margin-bottom: 3px;
    }

    .crm-pipe-source {
      font-size: 0.58rem;
      color: rgba(255, 255, 255, 0.35);
    }

    .crm-pipe-value {
      font-size: 0.62rem;
      font-weight: 700;
      color: var(--orange);
      margin-top: 4px;
    }

    /* Activity feed */
    .crm-activity {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 10px;
      padding: 12px 14px;
    }

    .crm-activity-title {
      font-size: 0.68rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: rgba(255, 255, 255, 0.4);
      margin-bottom: 10px;
    }

    .crm-activity-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 6px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .crm-activity-item:last-child {
      border-bottom: none;
    }

    .crm-act-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      flex-shrink: 0;
    }

    .crm-act-dot.green {
      background: #22c55e;
    }

    .crm-act-dot.blue {
      background: #3b82f6;
    }

    .crm-act-dot.orange {
      background: var(--orange);
    }

    .crm-act-dot.purple {
      background: #a855f7;
    }

    .crm-act-text {
      font-size: 0.68rem;
      color: rgba(255, 255, 255, 0.55);
      flex: 1;
    }

    .crm-act-text strong {
      color: rgba(255, 255, 255, 0.8);
    }

    .crm-act-time {
      font-size: 0.6rem;
      color: rgba(255, 255, 255, 0.3);
      flex-shrink: 0;
    }

    /* ─── Stats Bar ───────────────────────────── */
    .crm-stats-bar {
      background: var(--white);
      border-bottom: 1px solid var(--border);
      padding: 40px 0;
    }

    .crm-stats-inner {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 32px;
      text-align: center;
    }

    .crm-stat-item {
      padding: 0 16px;
    }

    .crm-stat-num {
      font-size: clamp(1.8rem, 3vw, 2.6rem);
      font-weight: 900;
      color: var(--orange);
      line-height: 1;
      margin-bottom: 8px;
    }

    .crm-stat-lbl {
      font-size: 0.82rem;
      color: var(--text-muted);
      line-height: 1.4;
    }

    /* ─── Problem Cards ───────────────────────── */
    .crm-problems {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      margin-top: 48px;
    }

    .crm-problem-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 28px 22px;
      text-align: center;
      transition: var(--transition);
      box-shadow: var(--shadow-sm);
    }

    .crm-problem-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
    }

    .crm-problem-icon {
      width: 52px;
      height: 52px;
      background: rgba(239, 68, 68, 0.1);
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
      margin: 0 auto 16px;
    }

    .crm-problem-card h4 {
      font-size: 0.95rem;
      margin-bottom: 8px;
      color: var(--text);
    }

    .crm-problem-card p {
      font-size: 0.82rem;
      color: var(--text-muted);
      line-height: 1.55;
    }

    /* ─── Solution Pillars ────────────────────── */
    .crm-pillars {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-top: 48px;
    }

    .crm-pillar {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 36px 28px;
      text-align: center;
      transition: var(--transition);
      box-shadow: var(--shadow-sm);
      position: relative;
      overflow: hidden;
    }

    .crm-pillar::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: var(--orange);
      opacity: 0;
      transition: var(--transition);
    }

    .crm-pillar:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
      border-color: var(--orange-border);
    }

    .crm-pillar:hover::before {
      opacity: 1;
    }

    .crm-pillar-icon {
      width: 60px;
      height: 60px;
      background: rgba(242, 106, 27, 0.1);
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      margin: 0 auto 20px;
      color: var(--orange);
    }

    .crm-pillar h3 {
      font-size: 1.15rem;
      margin-bottom: 10px;
      color: var(--text);
    }

    .crm-pillar p {
      font-size: 0.88rem;
      color: var(--text-muted);
      line-height: 1.65;
    }

    /* ─── Feature Grid ────────────────────────── */
    .crm-features {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-top: 48px;
    }

    .crm-feature {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 28px 22px;
      transition: var(--transition);
      box-shadow: var(--shadow-sm);
    }

    .crm-feature:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
      border-color: var(--orange-border);
    }

    .crm-feature-icon {
      width: 44px;
      height: 44px;
      background: rgba(242, 106, 27, 0.1);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.15rem;
      margin-bottom: 16px;
      color: var(--orange);
    }

    .crm-feature h4 {
      font-size: 0.98rem;
      margin-bottom: 8px;
      color: var(--text);
    }

    .crm-feature p {
      font-size: 0.84rem;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* ─── Campaign Integration Callout ────────── */
    .crm-campaigns {
      background: var(--black);
      border-radius: 24px;
      padding: 56px 48px;
      margin-top: 48px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 56px;
      align-items: center;
    }

    .crm-campaigns h3 {
      color: var(--white);
      font-size: clamp(1.5rem, 2.5vw, 2rem);
      line-height: 1.15;
      margin-bottom: 18px;
    }

    .crm-campaigns h3 span {
      color: var(--orange);
    }

    .crm-campaigns>div>p {
      color: rgba(255, 255, 255, 0.55);
      font-size: 0.95rem;
      line-height: 1.7;
      margin-bottom: 28px;
    }

    .crm-camp-platforms {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .crm-camp-pill {
      display: flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 100px;
      padding: 10px 18px;
      color: rgba(255, 255, 255, 0.7);
      font-size: 0.82rem;
      font-weight: 600;
    }

    .crm-camp-benefits {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .crm-camp-benefit {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 12px;
      padding: 16px;
    }

    .crm-camp-check {
      width: 24px;
      height: 24px;
      background: rgba(242, 106, 27, 0.2);
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--orange);
      font-size: 0.75rem;
      font-weight: 800;
      flex-shrink: 0;
      margin-top: 1px;
    }

    .crm-camp-benefit h5 {
      color: rgba(255, 255, 255, 0.85);
      font-size: 0.88rem;
      margin-bottom: 3px;
    }

    .crm-camp-benefit p {
      color: rgba(255, 255, 255, 0.4);
      font-size: 0.78rem;
      line-height: 1.5;
    }

    /* ─── Process Steps ───────────────────────── */
    .crm-process {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      margin-top: 48px;
      position: relative;
    }

    .crm-process::before {
      content: '';
      position: absolute;
      top: 40px;
      left: 12.5%;
      right: 12.5%;
      height: 2px;
      background: var(--orange);
      opacity: 0.35;
      z-index: 0;
    }

    .crm-step {
      text-align: center;
      position: relative;
      z-index: 1;
    }

    .crm-step-num {
      width: 56px;
      height: 56px;
      background: var(--bg);
      border: 2px solid var(--orange);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.1rem;
      font-weight: 800;
      color: var(--orange);
      margin: 0 auto 20px;
      box-shadow: 0 0 0 6px var(--bg);
    }

    .crm-step:last-child .crm-step-num {
      border-color: #22c55e;
      color: #22c55e;
    }

    .crm-step h4 {
      font-size: 0.95rem;
      margin-bottom: 8px;
      color: var(--text);
    }

    .crm-step p {
      font-size: 0.82rem;
      color: var(--text-muted);
      line-height: 1.55;
    }

    /* ─── Comparison Table ────────────────────── */
    .crm-compare {
      margin-top: 48px;
      border-radius: 20px;
      overflow: hidden;
      border: 1px solid var(--border);
      box-shadow: var(--shadow-sm);
    }

    .crm-compare table {
      width: 100%;
      border-collapse: collapse;
    }

    .crm-compare thead {
      background: var(--black);
    }

    .crm-compare th {
      padding: 18px 24px;
      font-size: 0.82rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: rgba(255, 255, 255, 0.7);
      text-align: left;
    }

    .crm-compare th:last-child {
      color: var(--orange);
    }

    .crm-compare td {
      padding: 14px 24px;
      font-size: 0.88rem;
      border-bottom: 1px solid var(--border);
    }

    .crm-compare tr:last-child td {
      border-bottom: none;
    }

    .crm-compare tbody tr {
      background: var(--white);
      transition: var(--transition);
    }

    .crm-compare tbody tr:hover {
      background: rgba(242, 106, 27, 0.03);
    }

    .crm-compare td:first-child {
      font-weight: 600;
      color: var(--text);
    }

    .crm-compare td:nth-child(2) {
      color: var(--text-muted);
    }

    .crm-compare td:last-child {
      color: var(--orange);
      font-weight: 600;
    }

    /* ─── Testimonials ────────────────────────── */
    .crm-testimonials {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
      margin-top: 48px;
    }

    .crm-testimonial {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 32px 28px;
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
    }

    .crm-testimonial:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-2px);
    }

    .crm-test-stars {
      color: var(--orange);
      font-size: 0.9rem;
      letter-spacing: 2px;
      margin-bottom: 16px;
    }

    .crm-test-text {
      font-size: 0.92rem;
      color: var(--text);
      line-height: 1.7;
      margin-bottom: 20px;
      font-style: italic;
    }

    .crm-test-author {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .crm-test-avatar {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      background: rgba(242, 106, 27, 0.12);
      color: var(--orange);
      font-weight: 700;
      font-size: 0.82rem;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .crm-test-name {
      font-weight: 700;
      font-size: 0.88rem;
      color: var(--text);
    }

    .crm-test-biz {
      font-size: 0.78rem;
      color: var(--text-muted);
    }

    /* ─── CTA Card ────────────────────────────── */
    .crm-cta-card {
      background: var(--black);
      border-radius: 24px;
      padding: 56px 48px;
      text-align: center;
      margin-top: 48px;
      position: relative;
      overflow: hidden;
    }

    .crm-cta-card::before {
      content: '';
      position: absolute;
      top: -60px;
      right: -60px;
      width: 300px;
      height: 300px;
      background: radial-gradient(circle, rgba(242, 106, 27, 0.15) 0%, transparent 70%);
      pointer-events: none;
    }

    .crm-cta-card h3 {
      color: var(--white);
      font-size: clamp(1.5rem, 2.8vw, 2.1rem);
      margin-bottom: 14px;
      position: relative;
    }

    .crm-cta-card h3 span {
      color: var(--orange);
    }

    .crm-cta-card p {
      color: rgba(255, 255, 255, 0.55);
      font-size: 0.95rem;
      line-height: 1.65;
      max-width: 560px;
      margin: 0 auto 28px;
      position: relative;
    }

    .crm-cta-card .btn {
      position: relative;
    }

    /* ─── FAQ ─────────────────────────────────── */
    .crm-faq-list {
      margin-top: 40px;
    }

    .crm-faq-list details {
      border: 1px solid var(--border);
      border-radius: 14px;
      margin-bottom: 12px;
      overflow: hidden;
      transition: var(--transition);
      background: var(--white);
    }

    .crm-faq-list details:hover {
      border-color: var(--orange-border);
    }

    .crm-faq-list details[open] {
      border-color: var(--orange-border);
      box-shadow: 0 0 0 1px rgba(242, 106, 27, 0.1);
    }

    .crm-faq-list summary {
      padding: 18px 24px;
      font-weight: 600;
      font-size: 0.95rem;
      color: var(--text);
      cursor: pointer;
      list-style: none;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .crm-faq-list summary::-webkit-details-marker {
      display: none;
    }

    .crm-faq-list summary::after {
      content: '+';
      font-size: 1.3rem;
      color: var(--orange);
      font-weight: 300;
      transition: transform 0.3s ease;
      flex-shrink: 0;
    }

    .crm-faq-list details[open] summary::after {
      transform: rotate(45deg);
    }

    .crm-faq-body {
      padding: 0 24px 20px;
      font-size: 0.88rem;
      color: var(--text-muted);
      line-height: 1.7;
    }

    /* ─── CTA Final ───────────────────────────── */
    .crm-cta-final {
      background: var(--black);
      padding: 100px 0;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .crm-cta-final::before {
      content: '';
      position: absolute;
      top: -100px;
      left: 50%;
      transform: translateX(-50%);
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(242, 106, 27, 0.1) 0%, transparent 65%);
      pointer-events: none;
    }

    .crm-cta-final .section-label {
      background: rgba(255, 255, 255, 0.06);
      border-color: rgba(255, 255, 255, 0.15);
      color: rgba(255, 255, 255, 0.65);
    }

    .crm-cta-final h2 {
      color: var(--white);
      font-size: clamp(2rem, 4vw, 3.2rem);
      line-height: 1.1;
      margin: 24px auto 20px;
      max-width: 700px;
    }

    .crm-cta-final h2 span {
      color: var(--orange);
    }

    .crm-cta-final>.container>p {
      color: rgba(255, 255, 255, 0.55);
      font-size: 1.05rem;
      line-height: 1.7;
      max-width: 560px;
      margin: 0 auto 36px;
    }

    .crm-cta-actions {
      display: flex;
      gap: 14px;
      justify-content: center;
      flex-wrap: wrap;
      margin-bottom: 20px;
    }

    .crm-cta-micro {
      font-size: 0.81rem !important;
      color: rgba(255, 255, 255, 0.28) !important;
      margin-top: 20px;
      position: relative;
      z-index: 1;
    }

    /* ─── Responsive ──────────────────────────── */
    @media (max-width: 1024px) {
      .crm-hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
      }

      .crm-pipeline {
        grid-template-columns: repeat(2, 1fr);
      }

      .crm-problems {
        grid-template-columns: repeat(2, 1fr);
      }

      .crm-pillars {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-inline: auto;
      }

      .crm-features {
        grid-template-columns: repeat(2, 1fr);
      }

      .crm-campaigns {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 40px 28px;
      }

      .crm-process::before {
        display: none;
      }

      .crm-process {
        grid-template-columns: repeat(2, 1fr);
      }

      .crm-testimonials {
        grid-template-columns: 1fr;
        max-width: 540px;
        margin-inline: auto;
      }
    }

    @media (max-width: 768px) {
      .crm-hero {
        padding: 100px 0 60px;
        min-height: auto;
      }

      .crm-stats-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
      }

      .crm-problems {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-inline: auto;
      }

      .crm-features {
        grid-template-columns: 1fr;
      }

      .crm-process {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-inline: auto;
      }

      .crm-compare {
        overflow-x: auto;
      }

      .crm-compare table {
        min-width: 600px;
      }

      .crm-cta-card {
        padding: 40px 24px;
      }
    }

    @media (max-width: 480px) {
      .crm-hero h1 {
        font-size: 2rem;
      }

      .crm-pipeline {
        grid-template-columns: 1fr 1fr;
      }

      .crm-stats-inner {
        grid-template-columns: 1fr 1fr;
      }

      .crm-hero-actions {
        flex-direction: column;
      }

      .crm-hero-actions .btn {
        width: 100%;
        text-align: center;
      }

      .crm-cta-actions {
        flex-direction: column;
        align-items: center;
      }

      .crm-cta-actions .btn {
        width: 100%;
        text-align: center;
      }
    }
