/* =========================================
   HARMONIA HOMEPAGE
   ========================================= */

.ht-home {
  --ht-night: #000410;
  --ht-night-soft: #07111b;
  --ht-gold: #f5c28f;
  --ht-gold-light: #ffd28e;
  --ht-cream: #fffaf3;
  --ht-teal: #77aeb0;
  --ht-text: #ffffff;

  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background-color: var(--ht-night);
  color: var(--ht-text);
  font-family: "Open Sans", sans-serif;
}

.ht-home *,
.ht-home *::before,
.ht-home *::after {
  box-sizing: border-box;
}

/* =========================================
   ELEMENTI CONDIVISI
   ========================================= */

.ht-home-eyebrow {
  margin: 0 0 16px;
  color: var(--ht-gold);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.ht-home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 24px;
  border: 2px solid var(--ht-gold);
  background-color: var(--ht-gold);
  color: var(--ht-night) !important;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.ht-home-button:hover,
.ht-home-button:focus {
  background-color: transparent;
  color: var(--ht-gold) !important;
  transform: translateY(-2px);
}

.ht-home-wave {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  color: var(--ht-cream);
  pointer-events: none;
}

.ht-home-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* =========================================
   HERO — MOBILE FIRST
   ========================================= */

.ht-home-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 760px;
  padding: 70px 22px 135px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 78% 58%,
      rgba(74, 157, 162, 0.16),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      #000410 0%,
      #07111b 58%,
      #020811 100%
    );
}

.ht-home-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
}

.ht-home-hero__title {
  margin: 0;
  color: var(--ht-gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 14vw, 68px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -2px;
}

.ht-home-hero__product-name {
  margin: 24px 0 0;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.15;
}

.ht-home-hero__description {
  max-width: 520px;
  margin: 20px 0 30px;
  color: rgba(255, 255, 255, 0.87);
  font-size: 17px;
  line-height: 1.65;
}

.ht-home-hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 360px;
  padding-top: 35px;
}

.ht-home-hero__image-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(300px, 78vw);
  aspect-ratio: 4 / 5;
  border: 1px dashed rgba(245, 194, 143, 0.55);
  border-radius: 36px;
  background:
    radial-gradient(
      circle at center,
      rgba(105, 184, 184, 0.10),
      transparent 58%
    );
  color: var(--ht-gold);
  font-weight: 700;
  text-align: center;
}

/* =========================================
   VALORI
   ========================================= */

.ht-home-values {
  position: relative;
  z-index: 2;
  padding: 55px 22px 70px;
  background-color: var(--ht-cream);
  color: var(--ht-night);
}

.ht-home-values__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.ht-home-value {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 20px;
  align-items: center;
  margin: 0;
}

.ht-home-value__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 68px;
  height: 68px;
  color: var(--ht-night);
  font-size: 38px;
  line-height: 1;
}

.ht-home-value h2 {
  margin: 0;
  color: var(--ht-night);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* =========================================
   RITUALE
   ========================================= */

.ht-home-ritual {
  display: grid;
  grid-template-columns: 1fr;
  background-color: var(--ht-night);
}

.ht-home-ritual__visual {
  min-height: 430px;
  padding: 24px;
}

.ht-home-ritual__image-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 390px;
  border-radius: 0 0 80px 0;
  background:
    linear-gradient(
      rgba(0, 4, 16, 0.15),
      rgba(0, 4, 16, 0.65)
    ),
    radial-gradient(
      circle at center,
      #315e62,
      #081218 68%
    );
  color: var(--ht-gold);
  font-weight: 700;
}

.ht-home-ritual__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 55px 24px 80px;
}

.ht-home-ritual__title {
  margin: 0;
  color: var(--ht-gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 43px;
  line-height: 1.05;
}

.ht-home-ritual__content > p:not(.ht-home-eyebrow) {
  max-width: 570px;
  margin: 24px 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.7;
}

.ht-home-text-link {
  align-self: flex-start;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--ht-gold);
  color: var(--ht-gold) !important;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none !important;
}

.ht-home-text-link:hover,
.ht-home-text-link:focus {
  color: #ffffff !important;
}

/* =========================================
   TABLET
   ========================================= */

@media screen and (min-width: 768px) {

  .ht-home-hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    align-items: center;
    min-height: 720px;
    padding: 90px 7vw 145px;
  }

  .ht-home-hero__title {
    font-size: clamp(62px, 7vw, 96px);
  }

  .ht-home-hero__visual {
    min-height: 520px;
    padding-top: 0;
  }

  .ht-home-hero__image-placeholder {
    width: min(410px, 38vw);
  }

  .ht-home-values__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
  }

  .ht-home-value {
    grid-template-columns: 60px 1fr;
    gap: 17px;
  }

  .ht-home-value__icon {
    width: 60px;
  }

  .ht-home-value h2 {
    font-size: 15px;
  }

  .ht-home-ritual {
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  }

  .ht-home-ritual__visual {
    min-height: 610px;
    padding: 40px 0 40px 40px;
  }

  .ht-home-ritual__image-placeholder {
    min-height: 530px;
    border-radius: 0 90px 90px 0;
  }

  .ht-home-ritual__content {
    padding: 80px 7vw;
  }

  .ht-home-ritual__title {
    font-size: clamp(50px, 5vw, 76px);
  }
}

/* =========================================
   DESKTOP
   ========================================= */

@media screen and (min-width: 1200px) {

  .ht-home-hero {
    min-height: 780px;
    padding-right: 9vw;
    padding-left: 9vw;
    margin-top: 9rem;
  }

  .ht-home-values {
    padding-top: 65px;
    padding-bottom: 85px;
  }

  .ht-home-value {
    justify-content: center;
  }

  .ht-home-value h2 {
    font-size: 17px;
  }
}