:root {
  --bg: #ffffff;
  --cream: #f5f3ef;
  --text: #2f2f2f;
  --muted: #6f6f6f;
  --accent: #4ea6a0;
  --onAccent: #ffffff;
  --teal: #4ea6a0;
  --brand-blue: #3e9995;
  --surface: #ffffff;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  --radius: 24px;
  --line: #e8e5df;
  --product-sticky-top: -10px;
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PT Serif", serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1240px, 92%);
  margin: 0 auto;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.section {
  padding: clamp(56px, 7.5vw, 100px) 0;
  scroll-margin-top: 84px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-kicker {
  margin: 0 0 10px;
  font-family: "Marcellus", serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: var(--muted);
}

.section-heading h2 {
  margin: 0;
  font-family: "Marcellus", serif;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.04;
  color: var(--text);
}

.section-heading p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 11px 20px;
  font-family: "Marcellus", serif;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #3f928d;
  box-shadow: 0 10px 18px rgba(78, 166, 160, 0.28);
}

.btn-ghost {
  background: #fff;
  color: var(--text);
  border-color: var(--line);
}

/* Hero block styles kept intact */
.page-hero {
  --hero-parallax: 0px;
  position: relative;
  overflow: hidden;
  min-height: clamp(420px, 62vh, 760px);
  display: grid;
  align-items: center;
  border-bottom: 1px solid #d9d6d0;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: translate3d(0, var(--hero-parallax), 0) scale(1.09);
  will-change: transform;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(24, 23, 22, 0.74), rgba(62, 153, 149, 0.38));
}

.page-hero > .container {
  position: relative;
  z-index: 2;
  color: #fff;
  animation: heroIn 0.95s var(--ease-out) both;
}

.home-hero::before {
  background-image: url("assets/imagen-portada-optimized.jpg");
  background-position: center center;
  transform: translate3d(0, var(--hero-parallax), 0) scale(1.14);
}

.home-hero::after {
  background:
    linear-gradient(120deg, rgba(15, 15, 15, 0.64), rgba(62, 153, 149, 0.32)),
    radial-gradient(circle at center, rgba(0, 0, 0, 0), rgba(18, 16, 14, 0.26));
}

.blog-hero::before {
  background-image: url("assets/foto-producto-1.jpg");
}

.contact-hero::before {
  background-image: url("assets/foto-fallas-vinitto.jpg");
}

.home-hero {
  min-height: 100vh;
  min-height: 100svh;
}

.home-hero > .container {
  width: min(1240px, 94%);
  display: grid;
  justify-items: center;
  text-align: center;
}

.home-hero .hero-title {
  max-width: 16ch;
  margin: 0;
  font-family: "Marcellus", serif;
  font-size: clamp(2.5rem, 7.6vw, 5.4rem);
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.home-hero .hero-subtitle {
  margin-top: 14px;
  font-family: "Marcellus", serif;
  font-size: clamp(1.25rem, 3.1vw, 2rem);
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.anchor-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(62, 153, 149, 0.96);
  backdrop-filter: blur(9px);
  transition: background-color 0.24s ease, border-color 0.24s ease, backdrop-filter 0.24s ease;
}

.home-page .anchor-header.is-over-hero {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}

.home-page .anchor-header.is-scrolled {
  background: rgba(62, 153, 149, 0.96);
  border-bottom-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(9px);
}

.anchor-header__inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 10px;
}

.anchor-header__brand {
  display: inline-flex;
  align-items: center;
}

.anchor-header__brand img {
  width: clamp(126px, 14vw, 178px);
  height: auto;
  filter: brightness(0) invert(1);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.main-nav a {
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  font-family: "Marcellus", serif;
  font-size: 0.95rem;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.8);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 6px 12px;
  font-size: 0.88rem;
  line-height: 1;
  font-family: "Marcellus", serif;
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--brand-blue);
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.nav-wrap {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-mark {
  width: clamp(126px, 14vw, 178px);
  height: auto;
  filter: brightness(0) invert(1);
}

.brand-header-page .main-nav a {
  color: rgba(255, 255, 255, 0.9);
}

.brand-header-page .main-nav a:hover,
.brand-header-page .main-nav a.is-active {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.8);
}

.brand-header-page .menu-toggle {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.product-section {
  background: var(--bg);
  overflow: visible;
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(48px, 6vw, 96px);
}

.product-section__container {
  width: min(1240px, 100%);
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: 28px;
  overflow: visible;
}

.product-feature {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
  min-height: 0;
  margin-bottom: 0;
  overflow: visible;
}

.product-feature__copy {
  display: flex;
  flex-direction: column;
  max-width: 680px;
  width: 100%;
  margin-inline: auto;
  color: #2f2f2f;
}

.product-feature__copy h2 {
  margin: 0;
  font-family: "Marcellus", serif;
  font-size: clamp(2.55rem, 5.2vw, 4.8rem);
  line-height: 1.02;
  color: #2f2f2f;
}

.product-feature__lead {
  margin: 16px 0 0;
  color: #6f6f6f;
  font-size: clamp(1.12rem, 1.55vw, 1.42rem);
  line-height: 1.72;
  max-width: 58ch;
}

.product-feature__list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.product-feature__list li {
  padding: 14px 0 15px;
  border-top: 1px solid var(--line);
}

.product-feature__list li:last-child {
  border-bottom: 1px solid var(--line);
}

.product-feature__list h3 {
  margin: 0;
  font-family: "Marcellus", serif;
  font-size: clamp(1.45rem, 2.05vw, 2rem);
  color: #4ea6a0;
}

.product-feature__list p {
  margin: 7px 0 0;
  color: #6f6f6f;
  font-size: clamp(1.02rem, 1.12vw, 1.14rem);
  line-height: 1.66;
}

.product-feature .btn {
  margin-top: 20px;
}

.product__media {
  width: 100%;
  min-width: 0;
  max-width: none;
  align-self: start;
  background: transparent;
  overflow: visible;
}

.product__sticky {
  position: sticky;
  top: 0;
  z-index: 5;
  align-self: start;
  width: 100%;
  max-width: none;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: transparent;
  overflow: visible;
}

.product__bottle {
  height: clamp(720px, 82vh, 980px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  transform-origin: center 82%;
  will-change: transform;
}

.product__sticky::after {
  content: none;
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: clamp(180px, 22vw, 290px);
  height: 28px;
  transform: translateX(-50%) scale(0.86);
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(78, 166, 160, 0.36), rgba(78, 166, 160, 0));
  opacity: 0;
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  pointer-events: none;
}

.product-section.is-animated .product__sticky::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.product-feature__list li {
  transition:
    opacity 0.62s var(--ease-out),
    transform 0.62s var(--ease-out),
    border-color 0.28s ease,
    background-color 0.28s ease,
    box-shadow 0.28s ease;
}

.product-feature__list li.stagger-item:not(.is-visible) {
  opacity: 0;
  transform: translateY(18px);
}

.product-feature__list li.stagger-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.product-feature__list li.is-step-active {
  opacity: 1;
  border-color: rgba(78, 166, 160, 0.46);
  background: linear-gradient(90deg, rgba(78, 166, 160, 0.12), rgba(78, 166, 160, 0));
  box-shadow: inset 4px 0 0 rgba(78, 166, 160, 0.38);
  transform: translateX(8px);
}

.product-feature__list li:hover {
  border-color: rgba(78, 166, 160, 0.35);
  background: linear-gradient(90deg, rgba(78, 166, 160, 0.08), rgba(78, 166, 160, 0));
}

.product-feature.reveal.is-visible .product-feature__copy .btn {
  animation: productCtaIn 0.65s var(--ease-out) both;
  animation-delay: 180ms;
}

@media (min-width: 981px) {
  .product-section {
    padding-top: clamp(56px, 6vw, 90px);
    padding-bottom: clamp(24px, 3.4vw, 56px);
  }

  .product-feature {
    min-height: clamp(980px, 138vh, 1280px);
    grid-template-columns: 0.9fr 1.1fr;
  }

  .product-feature__copy {
    padding-top: clamp(6px, 2vh, 20px);
  }

  .product-feature__list li {
    min-height: clamp(145px, 20vh, 220px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .product__media {
    position: relative;
    align-self: stretch;
    min-height: 100%;
  }

  .product__sticky {
    position: sticky;
    top: var(--product-sticky-top);
    height: auto;
    align-items: flex-start;
  }

  .product__bottle {
    height: min(1220px, calc(100vh - var(--product-sticky-top) + 6px));
    max-height: calc(100vh - var(--product-sticky-top) + 6px);
    margin-top: 0;
  }
}

.measure {
  width: 100%;
  background: var(--cream);
  padding: 72px 0 64px;
  overflow: hidden;
}

.measure__inner {
  position: relative;
}

.measure__arc {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1360px, 110%);
  height: 340px;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.measure__arc-track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: measureArcLoop 24s linear infinite;
}

.measure__arc-svg {
  width: 1400px;
  height: 340px;
  flex: 0 0 auto;
}

.measure__arc-text {
  fill: var(--teal);
  font-family: "Marcellus", serif;
  font-size: clamp(1.8rem, 3.1vw, 2.6rem);
  letter-spacing: 0.22em;
}

.measure__grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.4fr) minmax(0, 0.9fr);
  grid-template-areas: "left center right";
  align-items: center;
  gap: clamp(18px, 4vw, 64px);
  min-height: 740px;
}

.measure__claims {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 36px;
  min-height: clamp(560px, 68vh, 720px);
  align-content: center;
}

.measure__claims--left {
  grid-area: left;
  justify-items: end;
  text-align: right;
}

.measure__claims--right {
  grid-area: right;
  justify-items: start;
  text-align: left;
}

.measure__claim {
  position: relative;
  display: inline-block;
  padding-bottom: 7px;
  color: var(--teal);
  font-family: "Marcellus", serif;
  font-size: clamp(1.32rem, 2.05vw, 2rem);
  line-height: 1.12;
}

.measure__claim::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(78, 166, 160, 0.86);
}

.measure__center {
  grid-area: center;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 740px;
  z-index: 5;
}

.measure__bottle {
  height: clamp(560px, 68vh, 720px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.measure__bottom {
  margin: 20px 0 0;
  text-align: center;
  color: var(--text);
  font-family: "Marcellus", serif;
  font-size: clamp(44px, 5vw, 80px);
  line-height: 1;
}

.values-section {
  background: var(--accent);
  color: var(--onAccent);
  padding: 96px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 72px);
}

.value-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  text-align: center;
}

.value-card__icon {
  display: none;
}

.value-card__icon::after {
  content: none;
}

.values-section .section-heading {
  max-width: none;
  margin: 0 auto clamp(36px, 4vw, 58px);
  text-align: center;
}

.values-section .section-kicker {
  color: rgba(255, 255, 255, 0.86);
}

.values-section .section-heading h2 {
  color: var(--onAccent);
  max-width: 18ch;
  margin-inline: auto;
}

.value-card h3 {
  margin: 0;
  font-family: "Marcellus", serif;
  color: var(--onAccent);
  font-size: clamp(2rem, 2.35vw, 2.8rem);
  font-weight: 500;
  line-height: 1.12;
}

.value-card p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.12rem, 1.35vw, 1.24rem);
  line-height: 1.8;
  max-width: 34ch;
  margin-inline: auto;
}

.history-editorial {
  background: var(--cream);
}

.history-editorial__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}

.history-editorial__heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(16px, 2.2vw, 30px);
  align-items: start;
}

.history-editorial__title {
  margin: 0;
  font-family: "Marcellus", serif;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(3.8rem, 7vw, 6.6rem);
  line-height: 0.86;
  color: var(--text);
}

.history-editorial__subtitle {
  margin: 0 0 14px;
  font-family: "Marcellus", serif;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  color: var(--accent);
  letter-spacing: 0.03em;
}

.history-editorial__copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
}

.history-editorial__copy p + p {
  margin-top: 15px;
}

.history-editorial__visual {
  position: relative;
  min-height: clamp(490px, 72vh, 820px);
  padding: clamp(18px, 2.2vw, 24px);
}

.history-editorial__bg,
.history-editorial__main {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
}

.history-editorial__bg {
  width: 100%;
  height: 100%;
  min-height: clamp(460px, 68vh, 760px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.1);
}

.history-editorial__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.history-editorial__main {
  position: absolute;
  right: clamp(0px, 1.8vw, 16px);
  bottom: clamp(-24px, -1.6vw, -10px);
  width: min(62%, 400px);
  aspect-ratio: 4 / 5;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
}

.history-editorial__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.blog-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 14px;
  display: grid;
  gap: 10px;
}

.blog-card__media {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #efeae6;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__tag {
  margin: 2px 0 0;
  font-family: "Marcellus", serif;
  color: var(--teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.blog-card h3 {
  margin: 0;
  font-family: "Marcellus", serif;
  font-size: 1.45rem;
  line-height: 1.2;
}

.blog-card a {
  color: var(--accent);
  font-family: "Marcellus", serif;
  border-bottom: 1px solid rgba(78, 166, 160, 0.42);
  justify-self: start;
}

.blog-page main {
  background: var(--cream);
}

.blog-page .blog-section {
  background: transparent;
  padding-top: clamp(48px, 7vw, 90px);
}

.blog-page .blog-grid {
  gap: clamp(16px, 2.3vw, 24px);
}

.blog-page .blog-card {
  padding: clamp(14px, 2.1vw, 20px);
}

.blog-page .blog-card h3 {
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
}

.blog-page__cta {
  margin-top: 26px;
}

.blog-page__cta .btn {
  margin-right: 10px;
}

.faq-section {
  background: #fff;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: clamp(18px, 2.4vw, 26px);
}

.faq-item h3 {
  margin: 0;
  font-family: "Marcellus", serif;
  font-size: 1.35rem;
  line-height: 1.24;
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.68;
}

.trust-section {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 88px 0;
}

.trust-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 34px;
}

.trust-heading .section-kicker,
.trust-heading h2 {
  text-align: center;
}

.trust-showcase {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.trust-showcase img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.contact-section {
  background: #fff;
}

.contact-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(22px, 3.4vw, 42px);
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.contact-copy h2 {
  margin: 0;
  font-family: "Marcellus", serif;
  font-size: clamp(2rem, 3.6vw, 3rem);
}

.contact-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.contact-mail {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  font-family: "Marcellus", serif;
  font-size: 1.2rem;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form label {
  font-family: "Marcellus", serif;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(78, 166, 160, 0.55);
  box-shadow: 0 0 0 3px rgba(78, 166, 160, 0.2);
}

.contact-page main {
  background: var(--cream);
  padding-bottom: clamp(44px, 7vw, 90px);
}

.contact-page__intro {
  padding: clamp(44px, 7vw, 88px) 0 24px;
}

.contact-page__intro .section-heading {
  max-width: 820px;
  margin-bottom: 0;
}

.contact-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(16px, 2.4vw, 30px);
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: clamp(18px, 2.8vw, 32px);
}

.contact-card h2 {
  margin: 0;
  font-family: "Marcellus", serif;
  font-size: clamp(1.8rem, 2.9vw, 2.7rem);
  line-height: 1.1;
}

.contact-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-card__list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.contact-card__list li {
  color: var(--muted);
  line-height: 1.65;
}

.contact-card__mail {
  display: inline-block;
  margin-top: 14px;
  color: var(--accent);
  font-family: "Marcellus", serif;
  font-size: 1.14rem;
}

.contact-card__social {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-card__social a {
  color: var(--muted);
  font-family: "Marcellus", serif;
}

.contact-card__social a:hover {
  color: var(--accent);
}

.contact-card--form .contact-form {
  gap: 12px;
}

.contact-card--form .btn {
  width: fit-content;
}

.form-status {
  margin: 4px 0 0;
  color: var(--accent);
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f7f5f2;
  padding: 42px 0 18px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr) minmax(0, 0.8fr);
  gap: clamp(18px, 3.2vw, 34px);
  align-items: start;
}

.footer-brand img {
  width: clamp(130px, 16vw, 184px);
  height: auto;
}

.footer-brand p {
  margin: 14px 0 0;
  max-width: 42ch;
  line-height: 1.68;
  color: var(--muted);
}

.footer-support h3 {
  margin: 0;
  font-family: "Marcellus", serif;
  font-size: 1.28rem;
}

.footer-support a {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent);
  font-family: "Marcellus", serif;
}

.footer-social {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-social a {
  color: var(--muted);
  font-family: "Marcellus", serif;
}

.footer-social a:hover {
  color: var(--accent);
}

.footer-cookie-btn {
  margin-top: 14px;
}

.footer-legal {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.footer-legal a {
  color: var(--muted);
  font-family: "Marcellus", serif;
}

.footer-legal a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
}

.footer-bottom a {
  color: var(--accent);
}

.legal-page {
  padding: 26px 0 70px;
}

.legal-content {
  max-width: 920px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: clamp(20px, 3.8vw, 44px);
}

.legal-content h1,
.legal-content h2 {
  font-family: "Marcellus", serif;
}

.legal-content h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal-content h2 {
  margin: 26px 0 10px;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  line-height: 1.72;
}

.legal-content ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.contact-layout {
  grid-template-columns: 1fr 1fr;
}

.footer-grid {
  min-height: 128px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: 22px 0;
}

.footer-title {
  margin: 0 0 8px;
  font-family: "Marcellus", serif;
  color: var(--text);
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.footer-list a,
.social-links a {
  color: var(--muted);
}

.footer-list a:hover,
.social-links a:hover {
  color: var(--accent);
}

.social-links {
  margin-top: 10px;
  display: flex;
  gap: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: var(--stagger-delay, 0ms);
}

.stagger-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner {
  position: fixed;
  left: 50%;
  top: clamp(74px, 9vh, 102px);
  transform: translate(-50%, -12px);
  z-index: 140;
  width: min(980px, 94vw);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.cookie-banner__title {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
  font-family: "Marcellus", serif;
  font-size: 1.02rem;
}

.cookie-banner a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  gap: 8px;
}

@media (max-width: 1100px) {
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .product-section {
    padding-top: clamp(32px, 5vw, 56px);
    padding-bottom: clamp(32px, 5vw, 56px);
  }

  .product-feature {
    grid-template-columns: 1fr;
    gap: clamp(24px, 5vw, 40px);
    min-height: 0;
  }

  .product__media {
    order: -1;
  }

  .product__sticky {
    position: static;
    top: auto;
    z-index: auto;
    min-height: 0;
  }

  .product-feature__copy {
    order: 1;
    margin-inline: 0;
  }

  .product__bottle {
    height: clamp(420px, 60vh, 720px);
    max-height: none;
    min-height: 0;
  }
}

@media (max-width: 920px) {
  .home-hero .hero-title {
    max-width: 12ch;
  }

  .measure {
    padding: 56px 0 48px;
  }

  .measure__arc {
    width: min(1380px, 240vw);
    height: 250px;
    top: -8px;
  }

  .measure__arc-svg {
    width: 1400px;
    height: 250px;
  }

  .measure__arc-text {
    font-size: clamp(1.35rem, 4.8vw, 1.95rem);
    letter-spacing: 0.16em;
  }

  .measure__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "center center"
      "left right";
    gap: 14px 20px;
    min-height: 0;
  }

  .measure__center {
    min-height: 0;
    margin-bottom: 8px;
  }

  .measure__bottle {
    height: clamp(440px, 72vw, 600px);
  }

  .measure__claims {
    min-height: 0;
    gap: 14px;
    align-content: start;
  }

  .measure__claims--left,
  .measure__claims--right {
    justify-items: center;
    text-align: center;
  }

  .measure__claim {
    font-size: clamp(1.1rem, 3.7vw, 1.55rem);
  }

  .contact-shell {
    grid-template-columns: 1fr;
  }

  .contact-page__layout {
    grid-template-columns: 1fr;
  }

  .history-editorial__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .history-editorial__heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .history-editorial__title {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: clamp(3rem, 10vw, 4.6rem);
    line-height: 0.94;
    letter-spacing: 0.05em;
  }

  .history-editorial__visual {
    min-height: clamp(360px, 72vw, 540px);
    padding: 0;
  }

  .history-editorial__bg {
    min-height: clamp(300px, 60vw, 480px);
  }

  .history-editorial__main {
    position: static;
    width: min(72%, 360px);
    margin: 14px 0 0 auto;
  }
}

@media (max-width: 760px) {
  .values-section {
    padding: 64px 0;
  }

  .trust-section {
    padding: 64px 0;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .anchor-header__inner,
  .nav-wrap {
    min-height: 60px;
    padding-block: 8px;
    gap: 10px;
  }

  .anchor-header__brand img,
  .brand-mark {
    width: clamp(106px, 30vw, 144px);
  }

  .menu-toggle {
    padding: 5px 10px;
    font-size: 0.82rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    right: 4%;
    left: auto;
    top: calc(100% - 2px);
    width: min(280px, 92vw);
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 14px;
    background: rgba(62, 153, 149, 0.98);
    box-shadow: var(--shadow);
    padding: 9px 11px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .measure__arc {
    width: min(1400px, 290vw);
    height: 210px;
  }

  .measure__arc-svg {
    height: 210px;
  }

  .measure__arc-text {
    font-size: clamp(1.05rem, 6.2vw, 1.38rem);
    letter-spacing: 0.14em;
  }

  .measure__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "center"
      "left"
      "right";
    gap: 12px;
  }

  .measure__bottle {
    height: clamp(360px, 86vw, 500px);
  }

  .measure__claims {
    justify-items: center;
    text-align: center;
  }

  .measure__bottom {
    font-size: clamp(2.2rem, 11vw, 3.3rem);
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .history-editorial__title {
    font-size: clamp(2.4rem, 12vw, 3.1rem);
  }

  .history-editorial__subtitle {
    font-size: clamp(1.25rem, 6.5vw, 1.7rem);
  }

  .history-editorial__main {
    width: min(84%, 320px);
    margin-top: 10px;
  }

  .contact-layout,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner {
    top: 72px;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    justify-content: flex-end;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .stagger-item {
    opacity: 1 !important;
    transform: none !important;
  }

  .measure__arc-track {
    animation: none !important;
  }
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes measureArcLoop {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes productCtaIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Model Home Clone (Vinitto) ===== */
.model-home {
  --model-bg: #f3efe6;
  --model-paper: #fffef8;
  --model-ink: #121212;
  --model-muted: #4f4a43;
  --model-accent: #a58a56;
  --model-line: rgba(18, 18, 18, 0.12);
  background: var(--model-bg);
  color: var(--model-ink);
}

.model-home .section {
  padding: clamp(70px, 9vw, 130px) 0;
}

.model-home .model-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 130;
  border-bottom: 1px solid transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.model-home .model-header.is-scrolled {
  background: rgba(250, 246, 238, 0.95);
  border-color: var(--model-line);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.model-home .model-header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.model-home .model-brand img {
  display: block;
  width: clamp(118px, 11vw, 162px);
  height: auto;
}

.model-home .model-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.1vw, 26px);
}

.model-home .model-nav a,
.model-home .model-drawer__nav a {
  position: relative;
  color: var(--model-ink);
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Marcellus", serif;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  padding-bottom: 5px;
}

.model-home .model-nav a::after,
.model-home .model-drawer__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--model-ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.model-home .model-nav a:hover::after,
.model-home .model-nav a.is-active::after,
.model-home .model-drawer__nav a:hover::after,
.model-home .model-drawer__nav a.is-active::after {
  transform: scaleX(1);
}

.model-home .model-menu-toggle {
  display: none;
}

.model-home .model-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  z-index: 134;
  transition: opacity 0.24s ease;
}

.model-home .model-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 90vw);
  height: 100vh;
  background: #f7f3ea;
  padding: 22px 24px;
  z-index: 135;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  border-left: 1px solid var(--model-line);
}

.model-home .model-drawer.is-open {
  transform: translateX(0);
}

.model-home.menu-open {
  overflow: hidden;
}

.model-home.menu-open .model-drawer-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.model-home .model-drawer__close {
  display: block;
  margin-left: auto;
  margin-bottom: 26px;
  border: 0;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  color: var(--model-ink);
}

.model-home .model-drawer__nav {
  display: grid;
  gap: 16px;
}

.model-home .model-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-top: clamp(100px, 12vw, 150px);
  padding-bottom: clamp(70px, 8vw, 120px);
}

.model-home .model-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: translateY(var(--parallax-shift, 0px)) scale(1.06);
  will-change: transform;
}

.model-home .model-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0.26) 55%, rgba(10, 10, 10, 0.12));
}

.model-home .model-hero__content {
  position: relative;
  z-index: 2;
  max-width: min(760px, 90vw);
  color: #fff;
}

.model-home .model-kicker {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  opacity: 0.9;
}

.model-home .model-hero h1 {
  margin: 0;
  font-family: "Marcellus", serif;
  font-size: clamp(2.1rem, 6.4vw, 5.2rem);
  line-height: 1.06;
  max-width: 18ch;
}

.model-home .model-hero__lead {
  margin: 24px 0 0;
  font-size: clamp(1.02rem, 1.45vw, 1.28rem);
  line-height: 1.68;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.92);
}

.model-home .model-hero__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.model-home .model-section {
  position: relative;
}

.model-home .model-products {
  background: linear-gradient(180deg, #f3efe6 0%, #f8f3ea 100%);
}

.model-home .model-carousel__actions {
  margin: 18px 0 24px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.model-home .model-product-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.model-home .model-product-track::-webkit-scrollbar {
  height: 8px;
}

.model-home .model-product-track::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 999px;
}

.model-home .model-product-card {
  scroll-snap-align: start;
  background: var(--model-paper);
  border: 1px solid var(--model-line);
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 12px;
  box-shadow: 0 10px 24px rgba(18, 18, 18, 0.08);
}

.model-home .model-product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  margin: 0;
}

.model-home .model-product-card h3 {
  margin: 0;
  font-family: "Marcellus", serif;
  font-size: 1.3rem;
}

.model-home .model-product-card p {
  margin: 0;
  color: var(--model-muted);
  line-height: 1.6;
}

.model-home .model-history {
  background: #161411;
  color: #f7f0e3;
}

.model-home .model-history__grid {
  display: grid;
  gap: clamp(22px, 4vw, 56px);
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.model-home .model-history .section-kicker,
.model-home .model-history p {
  color: rgba(247, 240, 227, 0.9);
}

.model-home .model-history h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.9rem, 3.7vw, 3.2rem);
}

.model-home .model-history__copy p {
  margin: 14px 0 0;
  line-height: 1.7;
}

.model-home .model-history__visual {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: translateY(var(--parallax-shift, 0px));
}

.model-home .model-history__visual img {
  margin: 0;
  width: 100%;
  height: 100%;
  min-height: clamp(320px, 42vw, 540px);
  object-fit: cover;
}

.model-home .model-services {
  background: #f9f5ee;
}

.model-home .model-services__grid {
  margin-top: 24px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.model-home .model-service-card {
  background: var(--model-paper);
  border: 1px solid var(--model-line);
  border-radius: 14px;
  padding: 24px;
}

.model-home .model-service-card h3 {
  margin: 0;
  font-family: "Marcellus", serif;
  font-size: 1.45rem;
}

.model-home .model-service-card p {
  margin: 14px 0 0;
  color: var(--model-muted);
  line-height: 1.62;
}

.model-home .model-blog {
  background: #ede5d8;
}

.model-home .model-blog__grid {
  margin-top: 24px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.model-home .model-blog-card {
  background: var(--model-paper);
  border: 1px solid var(--model-line);
  border-radius: 14px;
  overflow: hidden;
}

.model-home .model-blog-card img {
  width: 100%;
  height: clamp(210px, 24vw, 290px);
  object-fit: cover;
  margin: 0;
}

.model-home .model-blog-card__tag,
.model-home .model-blog-card h3,
.model-home .model-blog-card a {
  margin-left: 16px;
  margin-right: 16px;
}

.model-home .model-blog-card__tag {
  margin-top: 14px;
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--model-accent);
  font-size: 0.77rem;
}

.model-home .model-blog-card h3 {
  margin-top: 8px;
  margin-bottom: 14px;
  font-family: "Marcellus", serif;
  font-size: clamp(1.23rem, 2vw, 1.5rem);
  line-height: 1.35;
}

.model-home .model-blog-card a {
  display: inline-block;
  margin-bottom: 18px;
  color: #202020;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.model-home .model-contact {
  background: #111;
  color: #f4eee0;
}

.model-home .model-contact .section-kicker,
.model-home .model-contact p,
.model-home .model-contact h2,
.model-home .model-contact a,
.model-home .model-contact label {
  color: #f4eee0;
}

.model-home .model-contact__shell {
  display: grid;
  gap: clamp(24px, 4vw, 60px);
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.model-home .model-contact .contact-form input,
.model-home .model-contact .contact-form textarea {
  color: #f4eee0;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.07);
}

.model-home .model-contact .contact-form input:focus,
.model-home .model-contact .contact-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}

.model-home .model-footer {
  background: #f6f0e4;
  border-top: 1px solid var(--model-line);
}

.model-home .model-float-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 128;
  border-radius: 999px;
  background: #0f0f0f;
  color: #fff;
  text-decoration: none;
  padding: 11px 18px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

@media (max-width: 1080px) {
  .model-home .model-history__grid,
  .model-home .model-contact__shell {
    grid-template-columns: 1fr;
  }

  .model-home .model-services__grid,
  .model-home .model-blog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .model-home .model-nav {
    display: none;
  }

  .model-home .model-menu-toggle {
    display: inline-flex;
  }

  .model-home .model-services__grid,
  .model-home .model-blog__grid {
    grid-template-columns: 1fr;
  }

  .model-home .model-hero__actions {
    width: 100%;
  }

  .model-home .model-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .model-home .model-header,
  .model-home .model-drawer,
  .model-home .model-drawer-backdrop,
  .model-home .model-hero__bg,
  .model-home .model-history__visual {
    transition: none !important;
    transform: none !important;
  }
}
