/*
 * Estilos propios de Lovely EC.
 */

:root {
  --lovely-purple: #975699;
  --lovely-green: #7d8a6f;
  --lovely-dark: #34463a;
  --lovely-cream: #f7f3ee;
  --lovely-white: #ffffff;
  --lovely-text: #2c2c2c;
  --lovely-radius: 22px;
  --lovely-shadow: 0 14px 38px rgba(52, 70, 58, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(52, 70, 58, 0.1);
}

.site-header__inner {
  min-height: 78px;
}

.hero-lovely {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(80px, 12vw, 150px) 24px;
  background:
    linear-gradient(rgba(52, 70, 58, 0.72), rgba(52, 70, 58, 0.72)),
    var(--hero-image, none);
  background-color: var(--lovely-green);
  background-size: cover;
  background-position: center;
}

.hero-lovely__eyebrow {
  margin-bottom: 8px;
}

.section {
  padding: clamp(64px, 8vw, 112px) 24px;
}

.card {
  height: 100%;
  padding: 28px;
  background: var(--lovely-white);
  border-radius: var(--lovely-radius);
  box-shadow: var(--lovely-shadow);
}

.wp-block-button__link {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.wp-block-button__link:hover,
.wp-block-button__link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(151, 86, 153, 0.25);
}

.site-footer a {
  color: inherit;
}

@media (max-width: 781px) {
  .site-header__inner {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .section {
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
