.ceadi-home {
    --violet: #5b3fa3;
    --violet-dark: #4a3287;
    --violet-soft: #efe9ff;
    --violet-soft-2: #f7f4ff;
    --text: #1f2330;
    --muted: #667085;
    --border: #e6e2f3;
    --white: #ffffff;
    --success-bg: #e8f7ea;
    --success-text: #1f8f45;

    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    padding: 40px 20px 56px;
    background:
      radial-gradient(circle at top left, rgba(91, 63, 163, 0.08), transparent 28%),
      radial-gradient(circle at top right, rgba(91, 63, 163, 0.06), transparent 24%),
      #f7f7fb;
  }

  .ceadi-home * {
    box-sizing: border-box;
  }

  .ceadi-home .wrap {
    max-width: 1120px;
    margin: 0 auto;
  }
  
  

  .ceadi-home .hero {
    background: linear-gradient(135deg, #5b3fa3 0%, #6d4fc0 100%);
    color: #fff;
    border-radius: 28px;
    padding: 42px 34px;
    box-shadow: 0 18px 45px rgba(62, 39, 121, 0.18);
    position: relative;
    overflow: hidden;
    margin-bottom: 28px;
  }

  .ceadi-home .hero::before,
  .ceadi-home .hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
  }

  .ceadi-home .hero::before {
    width: 220px;
    height: 220px;
    top: -70px;
    right: -60px;
  }

  .ceadi-home .hero::after {
    width: 140px;
    height: 140px;
    bottom: -40px;
    right: 140px;
  }

  /* agregado para el logo */
  .ceadi-home .hero-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
  }

  .ceadi-home .hero-logo {
    display: block;
    width: 180px;
    max-width: 42vw;
    height: auto;
    object-fit: contain;
    flex: 0 0 auto;
  }

  .ceadi-home .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    margin-bottom: 18px;
    backdrop-filter: blur(4px);
  }

  .ceadi-home .hero h1 {
    margin: 0 0 12px;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
  }

  .ceadi-home .hero p {
    margin: 0;
    max-width: 720px;
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255,255,255,0.9);
    position: relative;
    z-index: 1;
  }

  .ceadi-home .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
  }

  .ceadi-home .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    transition: .22s ease;
  }

  .ceadi-home .btn-primary {
    background: #fff;
    color: var(--violet);
  }

  .ceadi-home .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  }

  .ceadi-home .btn-secondary {
    color: #fff;
    border: 1px solid rgba(255,255,255,0.22);
    background: rgba(255,255,255,0.08);
  }

  .ceadi-home .btn-secondary:hover {
    background: rgba(255,255,255,0.14);
    transform: translateY(-2px);
  }

  .ceadi-home .mini-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 28px;
  }

  .ceadi-home .mini-card {
    background: rgba(255,255,255,0.78);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 18px;
  }

  .ceadi-home .mini-card strong {
    display: block;
    font-size: 15px;
    margin-bottom: 6px;
  }

  .ceadi-home .mini-card span {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
  }

  .ceadi-home .section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
  }

  .ceadi-home .section-head h2 {
    margin: 0;
    font-size: 28px;
    letter-spacing: -0.02em;
  }

  .ceadi-home .section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
  }

  .ceadi-home .cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .ceadi-home .card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(22, 25, 35, 0.05);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    position: relative;
    overflow: hidden;
  }

  .ceadi-home .card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--violet), #8c6ae6);
  }

  .ceadi-home .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(34, 24, 72, 0.10);
    border-color: #d7cff0;
  }

  .ceadi-home .icon-box {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--violet-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--violet);
    margin-bottom: 18px;
  }

  .ceadi-home .card h3 {
    margin: 0 0 10px;
    font-size: 26px;
    letter-spacing: -0.02em;
  }

  .ceadi-home .card p {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.65;
    font-size: 15px;
    max-width: 48ch;
  }

  .ceadi-home .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
  }

  .ceadi-home .pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--violet-soft-2);
    color: var(--violet);
    font-size: 13px;
    font-weight: 700;
    border: 1px solid #e4dbff;
  }

  .ceadi-home .pill.success {
    background: var(--success-bg);
    color: var(--success-text);
    border-color: #ccefd2;
  }

  .ceadi-home .card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--violet);
    font-weight: 800;
    font-size: 15px;
    transition: gap .2s ease, color .2s ease;
  }

  .ceadi-home .card-link:hover {
    gap: 12px;
    color: var(--violet-dark);
  }

  .ceadi-home .bottom {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 20px;
    margin-top: 30px;
  }

  .ceadi-home .panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(22, 25, 35, 0.04);
  }

  .ceadi-home .panel h3 {
    margin: 0 0 10px;
    font-size: 22px;
  }

  .ceadi-home .panel p {
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.65;
    font-size: 15px;
  }

  .ceadi-home .quick-links {
    display: grid;
    gap: 12px;
  }

  .ceadi-home .quick-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    background: #faf9fe;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 16px;
    transition: .2s ease;
    font-weight: 600;
  }

  .ceadi-home .quick-links a:hover {
    border-color: #d2c7f3;
    background: #f6f2ff;
    transform: translateY(-2px);
  }

  .ceadi-home .quick-links small {
    color: var(--muted);
    font-weight: 500;
  }

  .ceadi-home .footer-note {
    text-align: center;
    margin-top: 22px;
    color: var(--muted);
    font-size: 14px;
  }

  @media (max-width: 900px) {
    .ceadi-home .mini-grid,
    .ceadi-home .cards,
    .ceadi-home .bottom {
      grid-template-columns: 1fr;
    }

    .ceadi-home .hero {
      padding: 30px 22px;
      border-radius: 22px;
    }

    .ceadi-home .card {
      padding: 22px;
    }

    .ceadi-home .hero-logo {
      width: 160px;
      max-width: 55%;
    }
  }

  @media (max-width: 560px) {
    .ceadi-home {
      padding: 22px 14px 34px;
    }

    .ceadi-home .hero h1 {
      font-size: 30px;
      line-height: 1.15;
    }

    .ceadi-home .section-head {
      flex-direction: column;
      align-items: start;
    }

    .ceadi-home .btn {
      width: 100%;
    }

    .ceadi-home .hero-top {
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
    }

    .ceadi-home .hero-logo {
      width: 140px;
      max-width: 70%;
    }

    .ceadi-home .hero {
      padding: 26px 18px;
    }

    .ceadi-home .hero p {
      font-size: 15px;
    }

    .ceadi-home .card {
      padding: 18px;
      border-radius: 20px;
    }

    .ceadi-home .icon-box {
      width: 48px;
      height: 48px;
    }

    .ceadi-home .mini-card {
      padding: 16px;
    }


  }

@media (max-width: 900px) {
  .ceadi-home .cards,
  .ceadi-home .bottom,
  .ceadi-home .mini-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ceadi-home { padding: 22px 14px 34px; }
  .ceadi-home .wrap { width: 100%; }
  .ceadi-home .hero { padding: 26px 18px; border-radius: 22px; }
  .ceadi-home .hero-top { margin-bottom: 14px; }
  .ceadi-home .hero-logo { width: 150px; max-width: 58vw; }
  .ceadi-home .hero h1 { font-size: 32px; line-height: 1.12; }
  .ceadi-home .hero p { font-size: 15px; line-height: 1.55; }
  .ceadi-home .hero-actions { flex-direction: column; }
  .ceadi-home .btn { width: 100%; }
  .ceadi-home .section-head { flex-direction: column; align-items: start; }
  .ceadi-home .card,
  .ceadi-home .panel,
  .ceadi-home .mini-card { padding: 18px; border-radius: 20px; }
  .ceadi-home .quick-links a { flex-direction: column; align-items: flex-start; }
}
