/* css/page-home.css */
/* "PASO FIRME" v18.8: Home Fusionado (SaaS Clean + Showcase Vertical) */

/* --- 1. HERO SECTION (Mantenido) --- */
.hero-section {
  padding: 100px 0;
  background: linear-gradient(180deg, rgba(239,246,255,0) 0%, rgba(239,246,255,1) 100%);
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
}
.hero-section h1 {
  font-weight: 800; font-size: 3.5rem; line-height: 1.1;
  color: var(--dark-text, #212529); margin-bottom: 1.5rem;
}
.hero-section p {
  font-size: 1.25rem; color: var(--secondary-color, #6c757d);
  margin-bottom: 2rem; line-height: 1.6;
}

/* --- 2. TARJETAS SAAS (Para secciones "Por qué elegirnos" y "Blog") --- */
.saas-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  z-index: 1;
  text-align: center;
}
.saas-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.08);
  border-color: transparent;
  z-index: 2;
}
.icon-bubble {
  width: 64px; height: 64px;
  background-color: #eff6ff; color: var(--primary-color, #0d6efd);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; margin: 0 auto 1.5rem auto;
  transition: all 0.3s ease;
}
.saas-card:hover .icon-bubble {
  background-color: var(--primary-color, #0d6efd); color: white;
  transform: scale(1.1) rotate(-3deg);
}

/* --- 3. NUEVO: TARJETAS DE SOLUCIÓN VERTICAL (Grid Principal) --- */
.solution-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex; flex-direction: column;
}
.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}
.solution-img-wrapper {
    height: 180px; background-color: #f8fafc;
    display: flex; align-items: center; justify-content: center;
    border-bottom: 1px solid #f1f5f9;
}
.solution-img-wrapper i {
    font-size: 4rem; color: #cbd5e1; transition: all 0.3s;
}
.solution-card:hover .solution-img-wrapper i {
    color: #3b82f6; transform: scale(1.1);
}
.solution-body {
    padding: 2rem; flex-grow: 1;
    display: flex; flex-direction: column; text-align: left;
}
.solution-badge {
    display: inline-block; padding: 4px 12px;
    border-radius: 50px; font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; margin-bottom: 1rem; width: fit-content;
}
.badge-med { background: #e0f2fe; color: #0284c7; }
.badge-rest { background: #ffedd5; color: #c2410c; }
.badge-corp { background: #f3e8ff; color: #7e22ce; }
.badge-store { background: #dcfce7; color: #15803d; }

.solution-features {
    list-style: none; padding: 0; margin: 1rem 0 1.5rem 0; flex-grow: 1;
}
.solution-features li {
    margin-bottom: 0.5rem; color: #64748b;
    font-size: 0.9rem; display: flex; align-items: center;
}
.solution-features li::before {
    content: '✓'; color: #3b82f6; font-weight: bold; margin-right: 8px;
}

/* --- 4. NUEVO: DASHBOARD MOCKUP (Prueba de Poder) --- */
.power-proof-section {
    padding: 80px 0; background-color: #fff; /* Cambio a blanco para contraste */
    border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0;
}
.dashboard-mockup {
    background: white; border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    overflow: hidden; position: relative;
}
.mockup-header {
    background: #f1f5f9; padding: 10px 15px;
    border-bottom: 1px solid #e2e8f0; display: flex; gap: 6px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #22c55e; }

/* --- 5. TESTIMONIOS (Mantenido) --- */
.testimonial-card {
  background-color: #f8fafc; padding: 3rem;
  border-radius: 20px; position: relative; text-align: center;
}
.testimonial-card blockquote p {
  font-size: 1.2rem; font-style: italic; color: #334155;
}
.testimonial-footer {
  color: #3b82f6; font-weight: 600; margin-top: 1rem; display: block;
}

/* --- 6. CTA FINAL (Mantenido) --- */
.cta-section {
  padding: 5rem 2rem; background-color: #001e51; color: #fff;
  border-radius: 24px; position: relative; overflow: hidden;
  box-shadow: 0 20px 40px -10px rgba(0, 30, 81, 0.3);
}
.cta-section::before {
  content: ''; position: absolute; top: -50%; left: -10%; 
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.05); border-radius: 50%;
}
.blog-card-link { text-decoration: none; color: inherit; display: block; height: 100%; }
.blog-card-link:hover h5 { color: #3b82f6; }