body {
    background-color: #f7f7f7;
    color: #1f2937;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #4b5563;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.service-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 16px;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.imss-actions .btn {
    flex: 1 1 auto;
}

.service-img {
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

    .carousel-box {
      background: white;
      border-radius: 18px;
      box-shadow: 0 8px 28px rgba(0,0,0,0.08);
      overflow: hidden;
    }

    .carousel-slide-content {
      min-height: 450px;
      padding: 1.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      background: #fff;
    }

    .video-wrapper iframe {
      width: 100%;
      min-height: 340px;
      border-radius: 14px;
    }

    .comparison-card {
      border-radius: 16px;
      padding: 1rem;
      color: #111827;
      background: #f9fafb;
      border: 1px solid #e5e7eb;
      height: 100%;
      box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    }

    .comparison-thumb {
      width: 100%;
      height: 155px;
      object-fit: cover;
      border-radius: 14px;
      margin-top: 0.75rem;
      border: 1px solid #e5e7eb;
    }

    .news-card {
      border-radius: 16px;
      border: 1px solid #e5e7eb;
      padding: 1rem;
      background: #ffffff;
      height: 100%;
    }

    .news-thumb {
      width: 100%;
      height: 145px;
      object-fit: cover;
      border-radius: 12px;
      margin-bottom: 0.9rem;
    }

    .simulator-card,
    .chart-card {
      background: #fff;
      border-radius: 18px;
      box-shadow: 0 8px 28px rgba(0,0,0,0.07);
    }

    .legal-note {
      font-size: 0.95rem;
      color: #4b5563;
      background: #f9fafb;
      border-left: 4px solid #2563eb;
      padding: 1rem;
      border-radius: 10px;
    }

    .result-highlight {
      background: linear-gradient(135deg, #eff6ff, #ffffff);
      border: 1px solid #bfdbfe;
      border-radius: 16px;
      padding: 1.2rem;
    }

    .result-amount {
      font-size: 2rem;
      font-weight: 800;
      color: #111827;
      line-height: 1.1;
    }

    .result-caption {
      color: #6b7280;
      font-size: 0.95rem;
    }

    .floating-whatsapp {
      position: fixed;
      right: 20px;
      bottom: 20px;
      z-index: 1050;
      border-radius: 999px;
      padding: 0.9rem 1.1rem;
      font-weight: 600;
      box-shadow: 0 8px 20px rgba(0,0,0,0.18);
    }

    .modal-service-img {
      width: 100%;
      max-height: 260px;
      object-fit: cover;
      border-radius: 14px;
      margin-bottom: 1rem;
    }

    .small-note {
      font-size: 0.92rem;
      color: #6b7280;
    }

    .navbar {
      background: rgba(255,255,255,0.94);
      backdrop-filter: blur(8px);
    }

    .chart-wrapper {
      min-height: 360px;
    }

    @media (max-width: 768px) {
      .hero-title {
        font-size: 2.2rem;
      }

      .carousel-slide-content {
        min-height: auto;
      }

      .video-wrapper iframe {
        min-height: 220px;
      }

      .comparison-thumb,
      .news-thumb {
        height: 130px;
      }

      .result-amount {
        font-size: 1.5rem;
      }
    }

    #resultadoM40 .card {
      border-radius: 20px;
    }
    
    #resultadoM40 .rounded-4 {
      border-radius: 16px !important;
    }
    
    #resultadoM40 .badge {
      letter-spacing: 0.3px;
    }