/* ============================================================
   DealWise - Hero Section
   ============================================================ */

.deal-hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #f5f5f7 0%, #e8eaed 100%);
  overflow: hidden;
  position: relative;
}

.deal-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(230, 57, 70, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.deal-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.deal-hero__content {
  max-width: 520px;
}

.deal-hero__title {
  font-size: 52px;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.12;
  margin: 0 0 24px;
  letter-spacing: -1px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.deal-hero__dash {
  display: inline-block;
  width: 50px;
  height: 4px;
  background: #dca804;
  margin-top: 22px;
  flex-shrink: 0;
  border-radius: 2px;
}

.deal-hero__desc {
  font-size: 16px;
  color: #5a5a6e;
  line-height: 1.7;
  margin: 0 0 40px;
  max-width: 480px;
}

.deal-hero__buttons {
  display: flex;
  gap: 16px;
}

.deal-hero__btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 16px 36px;
  background: #dca804;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(230, 57, 70, 0.3);
}

.deal-hero__btn-primary:hover {
  background: #88b60c;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(230, 57, 70, 0.4);
}

.deal-hero__btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 16px 36px;
  background: transparent;
  color: #1a1a2e;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid #d0d0d5;
  transition: all 0.3s ease;
}

.deal-hero__btn-secondary:hover {
  border-color: #1a1a2e;
  text-decoration: none;
  background: #1a1a2e;
  color: #fff;
}

.deal-hero__visual {
  position: relative;
}

.deal-hero__visual > img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

/* Floating Info Cards */
.deal-hero__card {
  position: absolute;
  background: #fff;
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: floatCard 4s ease-in-out infinite;
}

.deal-hero__card--price {
  top: 30px;
  right: -30px;
  animation-delay: 0s;
}

.deal-hero__price {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a2e;
}

.deal-hero__location {
  font-size: 13px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 4px;
}

.deal-hero__card--details {
  bottom: 30px;
  left: -40px;
  animation-delay: 2s;
}

.deal-hero__card--details h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
}

.deal-hero__spec {
  font-size: 13px;
  color: #888;
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Responsive */
@media (max-width: 991px) {
  .deal-hero {
    padding: 60px 0;
  }

  .deal-hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .deal-hero__visual {
    order: -1;
  }

  .deal-hero__title {
    font-size: 40px;
  }

  .deal-hero__card--price {
    right: 10px;
  }

  .deal-hero__card--details {
    left: 10px;
  }
}

@media (max-width: 639px) {
  .deal-hero__title {
    font-size: 30px;
  }

  .deal-hero__dash {
    width: 30px;
    margin-top: 16px;
  }

  .deal-hero__desc {
    font-size: 15px;
  }

  .deal-hero__buttons {
    flex-wrap: wrap;
  }

  .deal-hero__btn-primary,
  .deal-hero__btn-secondary {
    padding: 14px 28px;
    font-size: 14px;
  }

  .deal-hero__card--price {
    top: 20px;
    right: 5px;
    padding: 12px 16px;
  }

  .deal-hero__price {
    font-size: 16px;
  }

  .deal-hero__card--details {
    bottom: 15px;
    left: 5px;
    padding: 12px 16px;
  }

  .deal-hero__card--details h3 {
    font-size: 14px;
  }
}