:root {
  --hdw-primary: 211, 95%, 42%;
  --hdw-primary-hover: 211, 100%, 34%;
  --hdw-accent: 40, 70%, 40%;
  --hdw-charcoal: 220, 9%, 14%;
  --hdw-charcoal-light: 220, 6%, 38%;
  --hdw-muted: 220, 6%, 38%;
  --hdw-border: 211, 20%, 86%;
  --hdw-cream: 30, 12%, 96%;
}

.hero-dw {
  font-family: inherit;
}

.hero-dw__section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, hsl(30, 12%, 96%), hsl(30, 10%, 92%));
}

.hero-dw__bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: 
    linear-gradient(to right, hsl(var(--hdw-border)) 1px, transparent 1px),
    linear-gradient(to bottom, hsl(var(--hdw-border)) 1px, transparent 1px);
  background-size: 20px 20px;
}

.hero-dw__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

.hero-dw__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  min-height: 70vh;
  padding: 3rem 0;
}
@media (min-width: 1024px) {
  .hero-dw__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
}

/* Left Column */
@keyframes hdw-slide-up {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero-dw__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: hdw-slide-up 0.5s ease-out both;
}

.hero-dw__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-dw__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: hsla(var(--hdw-primary), 0.1);
  border: 1px solid hsla(var(--hdw-primary), 0.2);
  border-radius: 9999px;
}

.hero-dw__badge-icon {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--hdw-primary));
}

.hero-dw__badge-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--hdw-primary));
}

.hero-dw__heading {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
  color: hsl(var(--hdw-charcoal));
  margin: 0;
}
@media (min-width: 768px) { .hero-dw__heading { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-dw__heading { font-size: 3.75rem; line-height: 1; } }

.hero-dw__heading-highlight {
  display: block;
  color: hsl(var(--hdw-primary));
  margin-top: 0.5rem;
}

.hero-dw__description {
  font-size: 1.125rem;
  color: hsl(var(--hdw-muted));
  line-height: 1.625;
  margin: 0;
}

.hero-dw__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-dw__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3rem;
  padding: 0 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  border: none;
  white-space: nowrap;
}

.hero-dw__btn--primary {
  background-color: hsl(var(--hdw-primary));
  color: #ffffff;
  box-shadow: 0 4px 6px -1px hsla(var(--hdw-charcoal), 0.1), 0 2px 4px -1px hsla(var(--hdw-charcoal), 0.06);
}
.hero-dw__btn--primary:hover {
  background-color: hsl(var(--hdw-primary-hover));
  box-shadow: 0 10px 15px -3px hsla(var(--hdw-charcoal), 0.1), 0 4px 6px -2px hsla(var(--hdw-charcoal), 0.05);
}
.hero-dw__btn--primary .hero-dw__btn-icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}
.hero-dw__btn--primary:hover .hero-dw__btn-icon {
  transform: translateX(4px);
}

.hero-dw__btn--glass {
  background-color: hsla(0, 0%, 100%, 0.95);
  backdrop-filter: blur(4px);
  color: hsl(var(--hdw-charcoal));
  border: 1px solid hsla(var(--hdw-primary), 0.2);
}
.hero-dw__btn--glass:hover {
  background-color: #ffffff;
  box-shadow: 0 4px 6px -1px hsla(var(--hdw-charcoal), 0.1), 0 2px 4px -1px hsla(var(--hdw-charcoal), 0.06);
}

.hero-dw__features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1rem;
}

.hero-dw__feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-dw__feature-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--hdw-primary));
}

.hero-dw__feature-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--hdw-charcoal));
}

/* Right Column */
@keyframes hdw-scale {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

.hero-dw__visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: hdw-scale 0.5s ease-out both;
  animation-delay: 0.2s;
}

.hero-dw__image-wrapper {
  position: relative;
  height: 380px;
}
@media (min-width: 1024px) {
  .hero-dw__image-wrapper { height: 420px; }
}

.hero-dw__reviews {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  background-color: hsla(0, 0%, 100%, 0.95);
  backdrop-filter: blur(4px);
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
  box-shadow: 0 10px 15px -3px hsla(var(--hdw-charcoal), 0.1), 0 4px 6px -2px hsla(var(--hdw-charcoal), 0.05);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  cursor: pointer;
}
.hero-dw__reviews:hover {
  box-shadow: 0 20px 25px -5px hsla(var(--hdw-charcoal), 0.1), 0 10px 10px -5px hsla(var(--hdw-charcoal), 0.04);
}

.hero-dw__reviews-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-dw__stars {
  display: flex;
  gap: 0.25rem;
  position: relative;
}

.hero-dw__star-container {
  position: relative;
  display: flex;
}

.hero-dw__star {
  width: 1rem;
  height: 1rem;
}

.hero-dw__star--full {
  fill: hsl(var(--hdw-accent));
  color: hsl(var(--hdw-accent));
}

.hero-dw__star--empty {
  fill: #ffffff;
  stroke: hsl(var(--hdw-accent));
  color: hsl(var(--hdw-accent));
}

.hero-dw__star-partial-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: 85%;
}

.hero-dw__reviews-rating {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--hdw-charcoal));
}

.hero-dw__reviews-count {
  font-size: 0.75rem;
  color: hsl(var(--hdw-muted));
}

.hero-dw__reviews-link {
  font-size: 0.75rem;
  color: hsl(var(--hdw-primary));
  margin-top: 0.25rem;
}
.hero-dw__reviews:hover .hero-dw__reviews-link {
  text-decoration: underline;
}

.hero-dw__image-inner {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 20px 80px;
  box-shadow: 0 25px 50px -12px hsla(var(--hdw-charcoal), 0.25);
}

.hero-dw__image-frame {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-dw__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-dw__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsla(0, 0%, 100%, 0.1), transparent, transparent);
}

.hero-dw__image-tags {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 85%;
}

.hero-dw__image-tag {
  background-color: hsla(0, 0%, 100%, 0.95);
  backdrop-filter: blur(4px);
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  box-shadow: 0 10px 15px -3px hsla(var(--hdw-charcoal), 0.1), 0 4px 6px -2px hsla(var(--hdw-charcoal), 0.05);
}

.hero-dw__image-border {
  position: absolute;
  inset: 0;
  border: 2px solid hsla(var(--hdw-primary), 0.1);
  border-radius: 20px 80px;
  pointer-events: none;
}

.hero-dw__blob {
  position: absolute;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  filter: blur(24px);
  z-index: -1;
}

.hero-dw__blob--bottom-right {
  bottom: -1.5rem;
  right: -1.5rem;
  background-color: hsla(var(--hdw-primary), 0.05);
}

.hero-dw__blob--top-left {
  top: -1.5rem;
  left: -1.5rem;
  background-color: hsla(var(--hdw-primary), 0.05); /* Same as bg-glass/5 since glass handles whites/blues */
}

/* Trust Badges under Image */
.hero-dw__trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 0.5rem;
}

.hero-dw__trust-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: hsl(var(--hdw-muted));
  margin: 0;
}

.hero-dw__trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
@media (min-width: 768px) { .hero-dw__trust-logos { gap: 3.5rem; } }

.hero-dw__trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero-dw__trust-img {
  height: 3rem;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.hero-dw__trust-item:hover .hero-dw__trust-img {
  opacity: 1;
}

.hero-dw__trust-text {
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(var(--hdw-charcoal-light));
}
