.hero {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
  background-color: var(--color-ivory);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(197, 216, 232, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
}

.hero__content {
  max-width: 60ch;
}

.hero__title {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  margin-bottom: var(--space-6);
  color: var(--color-taupe-dark);
  line-height: var(--line-tight);
}

.hero__text {
  font-size: var(--text-lg);
  line-height: var(--line-relaxed);
  color: var(--color-taupe);
  margin-bottom: var(--space-8);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero__media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hero__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero__media:hover .hero__image {
  transform: scale(1.02);
}

.section {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
  background-color: var(--color-background);
}

.section--alternate {
  background-color: var(--color-cream);
}

.section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 768px) {
  .section__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
  }
  
  .section__grid--reversed .section__content {
    order: 2;
  }
  
  .section__grid--reversed .section__media {
    order: 1;
  }
}

.section__content {
  max-width: 55ch;
}

.section__title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  margin-bottom: var(--space-5);
  color: var(--color-taupe-dark);
}

.section__text {
  font-size: var(--text-base);
  line-height: var(--line-relaxed);
  color: var(--color-taupe);
  margin-bottom: var(--space-6);
}

.section__media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.section__image {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.section__media:hover .section__image {
  transform: scale(1.03);
}

.newsletter {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
  background-color: var(--color-powder-blue);
  background-image: linear-gradient(135deg, var(--color-powder-blue) 0%, var(--color-mint) 100%);
}

.newsletter__content {
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.newsletter__title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  margin-bottom: var(--space-4);
  color: var(--color-taupe-dark);
}

.newsletter__text {
  font-size: var(--text-lg);
  line-height: var(--line-relaxed);
  color: var(--color-taupe-dark);
  margin-bottom: var(--space-8);
  opacity: 0.9;
}

.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-4);
}

@media (min-width: 640px) {
  .newsletter__form {
    flex-direction: row;
  }
}

.newsletter__input {
  flex: 1;
  background-color: var(--color-surface);
  border-color: rgba(255, 255, 255, 0.5);
}

.newsletter__input:focus {
  border-color: var(--color-taupe-dark);
  box-shadow: 0 0 0 3px rgba(74, 64, 58, 0.1);
}

.newsletter__btn {
  white-space: nowrap;
}

.newsletter__privacy {
  font-size: var(--text-sm);
  color: var(--color-taupe);
  margin-bottom: 0;
}

.newsletter__privacy a {
  color: var(--color-taupe-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.newsletter__privacy a:hover {
  color: var(--color-taupe);
}

@media (prefers-reduced-motion: reduce) {
  .hero__image,
  .section__image {
    transition: none;
  }
  
  .hero__media:hover .hero__image,
  .section__media:hover .section__image {
    transform: none;
  }
}