/* JANADENT - Fix escritorio
   Solo corrige pantallas grandes.
   No afecta móvil.
*/

@media (min-width: 769px) {
  .hero-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr) !important;
    align-items: center !important;
    gap: 60px !important;
  }

  .hero-card {
    position: relative !important;
    min-height: 560px !important;
    padding: 28px !important;
    border-radius: 36px !important;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)) !important;
    box-shadow: var(--shadow-soft) !important;
    overflow: visible !important;
  }

  .hero-card .hero-photo-frame {
    position: absolute !important;
    top: 28px !important;
    left: 28px !important;
    right: 28px !important;
    bottom: 150px !important;
    border-radius: 26px !important;
    overflow: hidden !important;
  }

  .hero-card .hero-photo-frame::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, transparent 55%, rgba(52, 32, 111, 0.16)) !important;
    pointer-events: none !important;
  }

  .hero-card .hero-photo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  .hero-card .floating-card {
    position: absolute !important;
    left: 50% !important;
    bottom: -22px !important;
    transform: translateX(-50%) !important;
    width: min(76%, 360px) !important;
    max-width: 360px !important;
    padding: 30px !important;
    border-radius: 30px !important;
    background: #f4f6ff !important;
    box-shadow: 0 24px 60px rgba(52, 32, 111, 0.18) !important;
    z-index: 3 !important;
  }

  .hero-card .floating-card h2 {
    font-size: clamp(2rem, 2.8vw, 3rem) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.045em !important;
    margin-bottom: 16px !important;
  }

  .hero-card .floating-card p {
    font-size: 1rem !important;
    line-height: 1.5 !important;
  }

  .services-grid,
  .process-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }

  .trust-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  .service-card,
  .process-step,
  .trust-item {
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid rgba(85, 50, 117, 0.14) !important;
    border-radius: 24px !important;
    background:
      radial-gradient(circle at top right, rgba(255, 179, 128, 0.14), transparent 34%),
      #ffffff !important;
    box-shadow: 0 18px 48px rgba(85, 50, 117, 0.08) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
  }

  .service-card:hover,
  .process-step:hover,
  .trust-item:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(255, 179, 128, 0.55) !important;
    box-shadow: 0 26px 64px rgba(85, 50, 117, 0.14) !important;
  }

  .service-card::before,
  .process-step::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 24px !important;
    width: 5px !important;
    height: 46px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, var(--color-primary), var(--color-accent)) !important;
  }

  .service-card h3,
  .process-step h3,
  .trust-item h3 {
    color: var(--color-primary-dark) !important;
  }

  .booking-help {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr) !important;
    align-items: stretch !important;
    gap: 0 !important;
    border-radius: 32px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    border: 1px solid rgba(85, 50, 117, 0.14) !important;
    box-shadow: 0 24px 64px rgba(85, 50, 117, 0.1) !important;
  }

  .booking-help-content {
    padding: 40px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  .booking-help .whatsapp-box {
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  .booking-help .contact-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
    margin-top: 18px !important;
  }

  .booking-help .contact-actions .btn {
    width: auto !important;
    min-width: 220px !important;
  }

  .booking-help-visual {
    display: block !important;
    min-height: 360px !important;
    overflow: hidden !important;
  }

  .booking-help-image {
    width: 100% !important;
    height: 100% !important;
    min-height: 360px !important;
    object-fit: cover !important;
    display: block !important;
  }
}