:root {
  --wine: #2c1218;
  --wine-soft: #3d1f28;
  --gold: #c4a35a;
  --gold-muted: rgba(196, 163, 90, 0.35);
  --paper: #f7f4ef;
  --paper-deeper: #ebe6dd;
  --hero-bg: #e9e7e4;
  --text: #2a2624;
  --text-soft: #5c5652;
  --space: clamp(2.5rem, 6vw, 5rem);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.08rem);
}

.preview-banner {
  display: none;
}

/* --- Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 15;
  background: rgba(247, 244, 239, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gold-muted);
}

.nav-inner {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0.75rem clamp(1.25rem, 5vw, 2rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  display: block;
  height: clamp(2.4rem, 5.8vw, 3.4rem);
  width: auto;
  max-width: min(52vw, 220px);
  transition: opacity 0.2s ease;
}

.logo:hover img {
  opacity: 0.85;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.9rem;
  justify-content: flex-end;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-soft);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 400;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--wine);
}

.site-nav a.is-active {
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

.site-nav a.nav-shop {
  color: #fff;
  background: #1a5fb4;
  padding: 0.55rem 1rem;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.site-nav a.nav-shop:hover {
  color: #fff;
  background: #0d3f82;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.lang-btn {
  font-family: "Outfit", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--gold-muted);
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.lang-btn:hover {
  color: var(--wine);
  border-color: var(--gold);
}

.lang-btn.is-active {
  color: var(--wine);
  background: rgba(196, 163, 90, 0.15);
  border-color: var(--gold);
}

/* --- Home: video loop sotto menu --- */
.home-hero-video {
  width: 100%;
  background: var(--hero-bg);
  line-height: 0;
}

.home-hero-video__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: 100vh;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  vertical-align: top;
  background: var(--paper-deeper);
}

@media (min-width: 1200px) {
  .home-hero-video__media {
    height: 100vh;
  }
}

/* --- Hero --- */
.hero {
  min-height: 85vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space) clamp(1.25rem, 5vw, 4rem) calc(var(--space) * 1.1);
  background: var(--hero-bg);
  color: var(--text);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero--compact {
  min-height: 48vh;
}

.hero-brand {
  margin-bottom: 1.25rem;
}

.hero-brand img {
  height: clamp(5.8rem, 14vw, 9rem);
  width: auto;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
}

.hero-brand p {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.9;
}

.hero--home {
  justify-content: center;
  background-color: var(--hero-bg);
  color: var(--text);
}

/* Profilo montagna: stesso tratto home e pagine compatte, dietro al contenuto */
.hero--home::before,
.hero--compact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("images/graphics/hero-mountains-from-logo.png");
  background-repeat: no-repeat;
  background-position: center calc(50% + 1.5cm);
  background-size: min(109vw, 52rem) auto;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.hero--home .wrap {
  max-width: 44rem;
  position: relative;
  z-index: 2;
}

.hero--home .hero-brand {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 3;
  isolation: isolate;
}

.hero--home .hero-brand img {
  height: clamp(13.5rem, 38vw, 26rem);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 6px 16px rgba(44, 18, 24, 0.12));
}

.hero--home .hero-brand p {
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  letter-spacing: 0.02em;
  opacity: 1;
  color: var(--text-soft);
  text-shadow: none;
}

.hero--home kicker {
  text-align: center;
  opacity: 1;
  color: var(--text-soft);
  text-shadow: none;
}

.hero--home h1 {
  max-width: 100%;
  text-align: center;
  font-size: clamp(1.125rem, 2.75vw, 1.85rem);
  color: var(--wine);
  text-shadow: none;
}

.hero--home p.tag {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero--home .hero-cta {
  justify-content: center;
  margin-top: 2rem;
  gap: 0.5rem 2.25rem;
}

/* Home CTAs: linea sottile e tipografia, nessun rettangolo */
.hero--home .hero-cta .btn {
  border: none;
  background: transparent;
  padding: 0.55rem 0.15rem;
  color: var(--wine);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  font-weight: 400;
  position: relative;
}

.hero--home .hero-cta .btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15rem;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(196, 163, 90, 0.25) 12%,
    var(--gold) 50%,
    rgba(196, 163, 90, 0.25) 88%,
    transparent 100%
  );
  opacity: 0.95;
  transition: opacity 0.2s ease, transform 0.25s ease;
  transform-origin: center;
}

.hero--home .hero-cta .btn:hover {
  background: transparent;
  color: var(--gold);
}

.hero--home .hero-cta .btn:hover::after {
  opacity: 1;
  transform: scaleX(1.06);
}

.hero--home .hero-cta .btn--gold {
  background: transparent;
  border: none;
  color: var(--gold);
}

.hero--home .hero-cta .btn--gold::after {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(196, 163, 90, 0.2) 20%,
    var(--gold) 50%,
    rgba(196, 163, 90, 0.2) 80%,
    transparent 100%
  );
  opacity: 0.85;
}

.hero--home .hero-cta .btn--gold:hover {
  background: transparent;
  color: var(--wine-soft);
}

.hero--home .hero-cta .btn--gold:hover::after {
  opacity: 1;
}

.hero kicker {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-soft);
  opacity: 1;
  display: block;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 6.5vw, 3.6rem);
  line-height: 1.08;
  max-width: 16ch;
  letter-spacing: -0.02em;
  color: var(--wine);
}

.hero p.tag {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  max-width: 38ch;
  color: var(--text-soft);
  opacity: 1;
  font-weight: 400;
}

.hero-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

/* --- Layout --- */
.wrap {
  max-width: 34rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2rem);
}

.wrap--wide {
  max-width: 48rem;
}

.intro {
  padding: var(--space) 0 calc(var(--space) * 0.75);
}

.intro--tight {
  padding-top: 0;
}

.intro h2,
.prose h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  color: var(--wine);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.intro p + p,
.prose p + p {
  margin-top: 1rem;
}

.intro p,
.prose p {
  color: var(--text-soft);
}

.prose {
  padding: calc(var(--space) * 0.85) 0 var(--space);
}

.prose h2 {
  margin-top: calc(var(--space) * 0.65);
}

.prose h2:first-child {
  margin-top: 0;
}

/* --- Split / cards --- */
.split {
  display: grid;
  gap: calc(var(--space) * 0.9);
  padding: calc(var(--space) * 0.5) 0 calc(var(--space) * 1);
}

@media (min-width: 700px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 48rem;
    margin: 0 auto;
    padding-left: clamp(1.25rem, 5vw, 2rem);
    padding-right: clamp(1.25rem, 5vw, 2rem);
  }
}

.split-card h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  color: var(--wine);
  margin-bottom: 0.6rem;
}

.split-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* --- Full bleed image --- */
.fullbleed {
  width: 100%;
  height: min(55vh, 480px);
  object-fit: cover;
  display: block;
  border: none;
}

.fullbleed--family {
  margin: 1.5rem 0 1.75rem;
  border-radius: 4px;
}

/* --- CTA --- */
.cta-block {
  text-align: center;
  padding: calc(var(--space) * 1.1) clamp(1.25rem, 5vw, 2rem);
}

.cta-block h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  color: var(--wine);
  margin-bottom: 1rem;
}

.cta-block p {
  color: var(--text-soft);
  max-width: 28rem;
  margin: 0 auto 1.5rem;
}

.btn {
  display: inline-block;
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--wine);
  color: var(--wine);
  background: transparent;
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: var(--wine);
  color: #fff;
}

.btn--gold {
  border-color: var(--gold);
  color: var(--wine);
  background: rgba(196, 163, 90, 0.15);
}

.btn--gold:hover {
  background: var(--gold);
  color: var(--wine);
}

/* --- Wines --- */
.wine-list {
  padding: 0 clamp(1.25rem, 5vw, 2rem) var(--space);
  max-width: 62rem;
  margin: 0 auto;
}

.wine-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  align-items: center;
  padding-bottom: calc(var(--space) * 0.8);
}

.wine-item .bottle {
  width: min(100%, 560px);
  height: auto;
  display: block;
  margin: 0 auto;
  mix-blend-mode: multiply;
  border: none;
  outline: none;
  box-shadow: none;
  background: transparent;
}

.wine-copy h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.35rem, 3.2vw, 1.65rem);
  color: var(--wine);
  margin-top: 0;
  margin-bottom: 0.65rem;
  line-height: 1.2;
}

.wine-copy h2 .wine-meta {
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  font-size: 0.72em;
  color: var(--text-soft);
  display: block;
  margin-top: 0.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wine-copy p {
  color: var(--text-soft);
  font-size: 0.98rem;
}

@media (min-width: 900px) {
  .wine-item {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .wine-item--reverse {
    grid-template-columns: 1fr 1fr;
  }
}

.sustain {
  padding: calc(var(--space) * 1.1) 0 var(--space);
  border-top: 1px solid var(--gold-muted);
  margin: 0 clamp(1.25rem, 5vw, 2rem);
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.sustain h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 3.5vw, 1.9rem);
  color: var(--wine);
  margin-bottom: 1rem;
}

.sustain p {
  color: var(--text-soft);
  font-size: 0.98rem;
}

.sustain p + p {
  margin-top: 1rem;
}

.bee {
  color: var(--gold);
  font-weight: 500;
}

/* --- Sustainability page --- */
.eco-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-bottom: calc(var(--space) * 0.95);
}

@media (min-width: 760px) {
  .eco-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.eco-card {
  background: #fff;
  border: 1px solid var(--gold-muted);
  padding: 1.15rem 1.1rem 1.2rem;
}

.eco-icon {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--wine);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
  background: rgba(196, 163, 90, 0.08);
}

.eco-card h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  color: var(--wine);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 0.45rem;
}

.eco-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* --- Bag in box --- */
.bag-list {
  padding: 0 clamp(1.25rem, 5vw, 2rem) var(--space);
  max-width: 62rem;
  margin: 0 auto;
}

.bag-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  align-items: center;
  padding-bottom: calc(var(--space) * 0.8);
}

.bag-item img {
  width: min(100%, 560px);
  height: auto;
  display: block;
  margin: 0 auto;
  mix-blend-mode: multiply;
}

.bag-copy h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.45rem, 3.4vw, 1.9rem);
  color: var(--wine);
  margin-bottom: 0.6rem;
}

.bag-copy p {
  color: var(--text-soft);
}

@media (min-width: 900px) {
  .bag-item {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .bag-item--reverse {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Forms (mock) --- */
.form-block {
  padding: 0 0 var(--space);
}

.form-block label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.35rem;
  margin-top: 1rem;
}

.form-block label:first-of-type {
  margin-top: 0;
}

.form-block input,
.form-block textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--gold-muted);
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
}

.form-block textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-top: 1.25rem;
}

.map-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--wine);
}

.contact-subhead {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--wine);
  margin-bottom: 0.75rem;
}

footer {
  background: var(--wine);
  color: rgba(255, 255, 255, 0.86);
  padding: calc(var(--space) * 0.9) clamp(1.25rem, 5vw, 2rem);
  text-align: center;
  font-size: 0.88rem;
}

footer strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: #fff;
}

footer a {
  color: var(--gold);
  text-decoration: none;
}
