/* ═══════════════════════════════════════════════════════
   RG ROVISCO GARCIA — Main Stylesheet
   Clean single-source-of-truth, no patches.
   ═══════════════════════════════════════════════════════ */

/* ── Variables ──────────────────────────────────────────── */
:root {
  --cream:        #f5f0e8;
  --warm-white:   #faf7f2;
  --off-white:    #eee8da;
  --olive:        #4a5240;
  --olive-light:  #6b7260;
  --olive-dark:   #2d3128;
  --gold:         #b8960c;
  --gold-light:   #d4ae3a;
  --dark:         #140e06;
  --text:         #2a2218;
  --text-light:   #5a4e3a;
  --text-muted:   #8a7e6e;
  --border:       rgba(74,82,64,.12);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-serif:   'EB Garamond', Georgia, serif;
  --font-sans:    'Montserrat', system-ui, sans-serif;
  --nav-h:        72px;
  --max-w:        1140px;
  --ease:         cubic-bezier(.16,1,.3,1);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-serif);
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-h); /* compensates for fixed navbar */
}
img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
::selection { background: rgba(184,150,12,.22); color: var(--dark); }

/* ── Age gate ───────────────────────────────────────────── */
.age-gate {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
}
.age-gate__box {
  background: var(--cream); max-width: 460px; width: 90%;
  padding: 4rem 3.5rem; text-align: center;
  border-top: 3px solid var(--gold);
}
.age-gate__logo    { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--olive-dark); letter-spacing: .12em; }
.age-gate__tagline { font-family: var(--font-sans); font-size: .58rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin: .5rem 0 2.5rem; }
.age-gate__heading { font-family: var(--font-display); font-size: 1.5rem; color: var(--dark); margin-bottom: .75rem; }
.age-gate__text    { font-family: var(--font-serif); font-size: 1.05rem; color: var(--text-light); line-height: 1.75; margin-bottom: 2.5rem; }
.age-gate__buttons { display: flex; gap: 1rem; justify-content: center; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-sans); font-size: .58rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  padding: .9rem 2.5rem; border: none; cursor: pointer;
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--dark         { background: var(--olive-dark); color: var(--cream); }
.btn--dark:hover   { background: var(--gold); color: var(--dark); }
.btn--outline      { background: transparent; border: 1px solid var(--olive); color: var(--olive); }
.btn--outline:hover{ background: var(--olive); color: var(--cream); }
.btn--outline-light{ background: transparent; border: 1px solid rgba(255,255,255,.55); color: #fff; }
.btn--outline-light:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }

/* ── Navbar ─────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 100;
  background: rgba(18,12,4,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184,150,12,.15);
  transition: height .3s var(--ease), background .3s;
}
.navbar--scrolled { height: 58px; background: rgba(12,8,2,.98); }

.navbar__inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 2rem;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
.navbar__logo { flex-shrink: 0; line-height: 0; }
.navbar__logo-img {
  height: 44px; width: auto;
  transition: height .3s var(--ease), opacity .2s;
}
.navbar--scrolled .navbar__logo-img { height: 36px; }
.navbar__logo-img:hover { opacity: .8; }

/* Desktop menu — all items stretch full navbar height, links centered within */
.navbar__menu {
  display: flex; align-items: stretch; flex-wrap: nowrap; gap: 0;
  height: 100%;
}

.navbar__menu > li {
  display: flex; align-items: center;
}

.navbar__link {
  font-family: var(--font-sans); font-size: .56rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  padding: 0 .8rem;
  display: flex; align-items: center;
  height: 100%;
  position: relative; white-space: nowrap;
  transition: color .2s;
}
.navbar__link::after {
  content: ''; position: absolute; bottom: 0; left: .8rem; right: .8rem;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transition: transform .25s var(--ease);
}
.navbar__link:hover,
.navbar__link--active { color: #fff; }
.navbar__link:hover::after,
.navbar__link--active::after { transform: scaleX(1); }

.navbar__arrow { font-size: 7px; margin-left: 3px; opacity: .45; transition: transform .2s; }
.navbar__item--dropdown { position: relative; }
.navbar__item--dropdown:hover .navbar__arrow { transform: rotate(180deg); }

.navbar__dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 240px;
  background: rgba(10,6,2,.97);
  border: 1px solid rgba(184,150,12,.18);
  border-top: 2px solid var(--gold);
  opacity: 0; visibility: hidden;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  pointer-events: none;
}
.navbar__item--dropdown:hover .navbar__dropdown,
.navbar__item--dropdown:focus-within .navbar__dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.navbar__dropdown-link {
  display: block; padding: .8rem 1.4rem;
  font-family: var(--font-sans); font-size: .55rem;
  font-weight: 400; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: color .15s, padding-left .15s, background .15s;
}
.navbar__dropdown-link:last-child { border: none; }
.navbar__dropdown-link:hover { color: var(--gold); background: rgba(184,150,12,.06); padding-left: 1.8rem; }

.navbar__lang {
  display: flex; gap: .5rem; padding-left: .75rem;
  margin-left: .5rem; border-left: 1px solid rgba(255,255,255,.1);
  align-items: center; flex-shrink: 0;
  height: 100%;
}
.navbar__lang-active { font-family: var(--font-sans); font-size: .56rem; font-weight: 600; letter-spacing: .18em; color: var(--gold); }
.navbar__lang-other  { font-family: var(--font-sans); font-size: .56rem; letter-spacing: .18em; color: rgba(255,255,255,.3); cursor: pointer; transition: color .2s; }
.navbar__lang-other:hover { color: rgba(255,255,255,.7); }

/* ── Hamburger (mobile only) ────────────────────────────── */
.navbar__hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: .5rem; margin-left: .5rem;
  flex-direction: column; justify-content: center; gap: 5px;
}
.navbar__hamburger span {
  display: block; width: 24px; height: 2px;
  background: rgba(255,255,255,.75);
  transition: transform .3s var(--ease), opacity .25s, width .3s var(--ease);
  transform-origin: center;
}
.navbar__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.navbar__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile nav drawer ──────────────────────────────────── */
.navbar__mobile {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: rgba(10,5,1,.97);
  overflow-y: auto; z-index: 99;
  flex-direction: column;
  padding: 1rem 0 3rem;
}
.navbar__mobile.is-open { display: flex; }

.navbar__mobile-link {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-sans); font-size: .65rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
  padding: 1.1rem 1.75rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: color .2s, padding-left .2s;
}
.navbar__mobile-link:hover,
.navbar__mobile-link--active { color: #fff; padding-left: 2.25rem; }
.navbar__mobile-link--active { color: var(--gold); }

.navbar__mobile-arrow {
  font-size: 8px; opacity: .3;
  transition: transform .25s var(--ease);
}
.navbar__mobile-item.is-open .navbar__mobile-arrow { transform: rotate(90deg); opacity: .6; }

.navbar__mobile-sub { display: none; }
.navbar__mobile-item.is-open .navbar__mobile-sub { display: block; }

.navbar__mobile-sub-link {
  display: block; padding: .75rem 1.75rem .75rem 3rem;
  font-family: var(--font-sans); font-size: .58rem; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(255,255,255,.3);
  border-bottom: 1px solid rgba(255,255,255,.03);
  transition: color .15s, padding-left .15s;
}
.navbar__mobile-sub-link:hover { color: var(--gold); padding-left: 3.4rem; }

.navbar__mobile-lang {
  display: flex; gap: 1.25rem;
  padding: 2rem 1.75rem 1rem;
  border-top: 1px solid rgba(255,255,255,.07);
  margin-top: 1.5rem;
}
.navbar__mobile-lang span {
  font-family: var(--font-sans); font-size: .6rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  cursor: pointer; transition: color .2s;
}
.navbar__mobile-lang .active { color: var(--gold); }
.navbar__mobile-lang .other  { color: rgba(255,255,255,.3); }
.navbar__mobile-lang .other:hover { color: rgba(255,255,255,.6); }

/* ── Hero slider (home only) ────────────────────────────── */
.hero {
  height: calc(100vh - var(--nav-h));
  min-height: 540px; position: relative; overflow: hidden;
  background: var(--dark);
}
.hero__slider { position: absolute; inset: 0; }

/* Cinematic crossfade with depth */
.slide { position: absolute; inset: 0; opacity: 0; z-index: 1;
  transition: opacity 2.4s cubic-bezier(0.4, 0, 0.2, 1); }
.slide--active { opacity: 1; z-index: 2; }
.slide--leaving { opacity: 0; z-index: 3;
  transition: opacity 2.4s cubic-bezier(0.4, 0, 0.2, 1); }
.slide img { width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06); will-change: transform;
  transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.slide--active img { transform: scale(1); }
.slide--leaving img { transform: scale(0.97);
  transition: transform 2.4s cubic-bezier(0.4, 0, 0.2, 1); }

/* Progress bar */
.slider__progress {
  position: absolute; bottom: 0; left: 0; z-index: 5;
  height: 2px; width: 0%;
  background: var(--gold);
  transition: width linear;
}

.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20,14,6,.1) 0%, transparent 30%, rgba(20,14,6,.55) 75%, rgba(20,14,6,.75) 100%);
}
.hero__content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 2rem 5rem;
}
@keyframes fade-up { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.hero__eyebrow {
  font-family: var(--font-sans); font-size: .58rem; letter-spacing: .4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.5rem;
  animation: fade-up .9s .1s var(--ease) both;
}
.hero__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(3rem, 6.5vw, 6rem); color: #fff;
  letter-spacing: .04em; line-height: 1.1;
  animation: fade-up .9s .25s var(--ease) both;
}
.hero__subtitle {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1rem, 2vw, 1.4rem); color: rgba(255,255,255,.75);
  max-width: 520px; line-height: 1.75; margin: 1.5rem 0 2.5rem;
  animation: fade-up .9s .4s var(--ease) both;
}
.hero__cta { animation: fade-up .9s .55s var(--ease) both; }
.hero__tagline {
  font-family: var(--font-sans); font-size: .58rem; letter-spacing: .35em; text-transform: uppercase;
  color: rgba(255,255,255,.4); margin-top: 1rem;
  animation: fade-up .9s .65s var(--ease) both;
}

/* ── Page hero banner (general pages) ──────────────────── */
.page-hero {
  height: 50vh; min-height: 300px;
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
}
.page-hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.page-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,14,6,.75) 0%, rgba(20,14,6,.08) 60%);
}
.page-hero__content {
  position: relative; z-index: 1;
  padding: 2.5rem 3rem;
}
.page-hero__title {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem);
  font-style: italic; font-weight: 400; color: #fff; line-height: 1.15;
}
.page-hero__rule { width: 48px; height: 2px; background: var(--gold); margin-top: .9rem; }

/* ── Layout helpers ─────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }

.section { padding: 5rem 0; }
.section--sm { padding: 3.5rem 0; }

.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}
.two-col--center { align-items: center; }
.two-col--flip > :first-child { order: 2; }
.two-col--flip > :last-child  { order: 1; }

.divider {
  border: none; border-top: 1px solid var(--border);
  margin: 4rem 0;
}

/* ── Typography ─────────────────────────────────────────── */
.label {
  display: block; font-family: var(--font-sans); font-size: .57rem;
  font-weight: 500; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .6rem;
}
.title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--olive-dark); line-height: 1.2; margin-bottom: 1.5rem;
}
.body {
  font-family: var(--font-serif); font-size: 1.1rem;
  line-height: 1.95; color: var(--text-light);
}
.body p + p { margin-top: 1em; }
.body em { font-style: italic; }

.rule { display: block; width: 52px; height: 2px; background: var(--gold); }
.rule--center { margin-left: auto; margin-right: auto; }

/* ── Images ─────────────────────────────────────────────── */
.img-pair { display: flex; flex-direction: column; gap: .75rem; }
.img-pair img { width: 100%; height: 210px; object-fit: cover; }

.img-cover { width: 100%; height: 420px; object-fit: cover; }

.img-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.img-grid-2 img { width: 100%; height: 190px; object-fit: cover; }
.img-grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.img-grid-4 img { width: 100%; height: 190px; object-fit: cover; }

/* ── Parallax quote ─────────────────────────────────────── */
.parallax-quote {
  height: 280px; position: relative; overflow: hidden;
  background-attachment: fixed; background-size: cover; background-position: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.parallax-quote__overlay {
  position: absolute; inset: 0;
  background: rgba(20,14,6,.58);
}
.parallax-quote__label {
  position: relative; z-index: 1;
  font-family: var(--font-sans); font-size: .56rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.25rem;
}
.parallax-quote__text {
  position: relative; z-index: 1;
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.25rem, 2.8vw, 1.9rem);
  color: #fff; text-align: center; max-width: 700px; padding: 0 2rem; line-height: 1.55;
}

/* ── Block quote (inline) ───────────────────────────────── */
.blockquote {
  border-left: 3px solid var(--gold);
  padding: .9rem 1.5rem;
  background: var(--warm-white);
  margin-bottom: 2rem;
}
.blockquote__text {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.1rem; color: var(--olive-dark); display: block; line-height: 1.6;
}
.blockquote__cite {
  font-family: var(--font-sans); font-size: .56rem; letter-spacing: .15em;
  color: var(--text-muted); display: block; margin-top: .4rem; font-style: normal;
}

/* ── Info box ───────────────────────────────────────────── */
.info-box {
  background: var(--warm-white); border: 1px solid var(--border);
  border-left: 3px solid var(--olive-light);
  padding: 2rem 2.5rem;
}

/* ── Sobre Nós — family / team ──────────────────────────── */
.family-photo { overflow: hidden; }
.family-photo img { width: 100%; max-height: 460px; object-fit: cover; object-position: center top; }

.team-intro {
  max-width: 620px; margin: 1rem auto 2.5rem;
  font-style: italic; text-align: center;
}
.team-grids { display: flex; flex-direction: column; gap: 1.5rem; }
.team-grids img { width: 100%; height: auto; }

/* ── Bottle showcase ────────────────────────────────────── */
.bottle-showcase {
  display: flex; align-items: center; justify-content: center;
  background: var(--warm-white); padding: 3rem 2rem; min-height: 380px;
}
.bottle-showcase img { max-height: 340px; width: auto; transition: transform .4s var(--ease); }
.bottle-showcase img:hover { transform: scale(1.03) rotate(-1deg); }

/* ── Wine grid ──────────────────────────────────────────── */
.wine-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 1.25rem; }
.wine-card {
  display: block; border: 1px solid var(--border); background: var(--warm-white);
  padding: 1.75rem 1.25rem 1.25rem; text-align: center;
  transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.wine-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 10px 28px rgba(20,14,6,.1); }
.wine-card__img { height: 200px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; }
.wine-card__img img { max-height: 200px; width: auto; }
.wine-card__name { font-family: var(--font-display); font-size: 1rem; color: var(--olive-dark); margin-bottom: .25rem; }
.wine-card__type { font-family: var(--font-sans); font-size: .54rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }

/* ── Wine detail ────────────────────────────────────────── */
.back-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-sans); font-size: .56rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--olive-light); margin-bottom: 2.5rem; transition: color .2s, gap .2s;
}
.back-link:hover { color: var(--gold); gap: .6rem; }

.wine-layout { display: grid; grid-template-columns: 1fr 240px; gap: 4rem; align-items: start; }
.wine-year {
  font-family: var(--font-display); font-size: 1.6rem; color: var(--olive-dark);
  margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}
.wine-bottle { position: sticky; top: calc(var(--nav-h) + 1.5rem); text-align: center; }
.wine-bottle img { max-height: 480px; width: auto; margin: 0 auto; }

.spec-table { display: grid; grid-template-columns: 170px 1fr; }
.spec-row { display: contents; }
.spec-row > * { padding: .6rem 0; border-bottom: 1px solid var(--border); }
.spec-label { font-family: var(--font-sans); font-size: .55rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--olive-light); }
.spec-value { font-family: var(--font-serif); font-size: 1rem; color: var(--text); line-height: 1.6; padding-left: 1rem; }
.spec-value p { margin: 0; }

.tasting-note { margin-top: 1.75rem; padding: 1.4rem 1.75rem; border-left: 2px solid var(--gold); background: var(--warm-white); }
.tasting-note__label { font-family: var(--font-sans); font-size: .56rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }
.tasting-note__text { font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; line-height: 1.85; color: var(--text-light); }

/* ── Contact ────────────────────────────────────────────── */
.contact-name    { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; color: var(--olive-dark); }
.contact-company { font-family: var(--font-serif); font-style: italic; font-size: 1rem; color: var(--text-light); margin: .2rem 0 .5rem; }
.contact-address { font-family: var(--font-serif); font-size: 1rem; color: var(--text-light); line-height: 1.75; }

.contact-row { display: flex; gap: .75rem; align-items: baseline; margin-bottom: .3rem; }
.contact-row__label { font-family: var(--font-sans); font-size: .55rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: var(--olive-light); min-width: 38px; }
.contact-row__val { font-family: var(--font-serif); font-size: 1rem; color: var(--text-light); }
.contact-link { color: var(--gold); transition: opacity .2s; }
.contact-link:hover { opacity: .75; }
.contact-social { display: block; font-family: var(--font-serif); font-size: .95rem; color: var(--gold); margin-top: .25rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-form__field { display: flex; flex-direction: column; gap: .35rem; }
.contact-form__field label { font-family: var(--font-sans); font-size: .55rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--olive-light); }
.contact-form__field input,
.contact-form__field textarea {
  font-family: var(--font-serif); font-size: 1rem;
  padding: .8rem 1rem; border: 1px solid var(--border);
  background: var(--warm-white); color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  appearance: none; resize: none;
}
.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,150,12,.1);
}

/* ── Footer ─────────────────────────────────────────────── */
.footer { background: var(--dark); color: #fff; }

.footer__main {
  display: flex; flex-direction: column; align-items: center;
  padding: 3.5rem 2rem 2.5rem; text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.06);
  gap: 1.5rem;
}
.footer__logo { height: 56px; width: auto; opacity: .87; }

.footer__tagline { font-family: var(--font-sans); font-size: .56rem; letter-spacing: .36em; text-transform: uppercase; color: var(--gold); }

.footer__social { display: flex; gap: 1.25rem; }
.footer__social-link { color: rgba(255,255,255,.38); transition: color .2s, transform .2s; }
.footer__social-link:hover { color: var(--gold); transform: translateY(-2px); }
.footer__social-link svg { display: block; }

.footer__links { display: flex; align-items: center; gap: .85rem; }
.footer__link { font-family: var(--font-sans); font-size: .55rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.3); transition: color .2s; }
.footer__link:hover { color: rgba(255,255,255,.65); }
.footer__sep { color: rgba(255,255,255,.15); }

.footer__copy { font-family: var(--font-sans); font-size: .57rem; color: rgba(255,255,255,.18); letter-spacing: .08em; }

.footer__funding {
  display: flex; flex-direction: column; align-items: center;
  padding: 2rem 2rem 2.5rem; gap: .65rem;
}
.footer__funding-label { font-family: var(--font-sans); font-size: .55rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.25); }
.footer__funding-img { max-width: 500px; width: 90%; opacity: .68; }

/* ── Responsive ─────────────────────────────────────────── */
/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 960px) {
  /* Hide desktop menu, show hamburger */
  .navbar__menu { display: none; }
  .navbar__hamburger { display: flex; }
}

@media (max-width: 860px) {
  .two-col, .two-col--flip { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col--flip > :first-child, .two-col--flip > :last-child { order: unset; }
  .wine-layout { grid-template-columns: 1fr; }
  .wine-bottle { position: static; max-width: 180px; margin: 0 auto 2rem; }
}

@media (max-width: 640px) {
  :root { --nav-h: 60px; }
  .navbar__logo-img { height: 34px; }
  .wine-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero { height: 40vh; }
  .page-hero__content { padding: 1.5rem; }
  .section { padding: 3.5rem 0; }
  .container { padding: 0 1.25rem; }
}

/* ════════════════════════════════════════════════════════
   DESIGN GUIDE LAYOUTS
   ════════════════════════════════════════════════════════ */

/* ── Split Cinematográfico 55/45 ─────────────────────── */
.split-cinematic {
  display: grid;
  grid-template-columns: 1fr 45%;
  gap: 0;
  min-height: 520px;
  align-items: stretch;
}
.split-cinematic--flip {
  grid-template-columns: 45% 1fr;
}
.split-cinematic__text {
  padding: 4rem 4rem 4rem 0;
  display: flex; flex-direction: column; justify-content: center;
}
.split-cinematic--flip .split-cinematic__text {
  padding: 4rem 0 4rem 4rem;
}
.split-cinematic__image {
  position: relative; overflow: hidden;
}
.split-cinematic__image img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; min-height: 420px;
}
/* 2 images stacked inside split column */
.split-cinematic__image--stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: .5rem;
}
.split-cinematic__image--stack img {
  width: 100%; height: 100%; object-fit: cover; min-height: 0;
}

/* ── Stepped Duo (2 fotos escalonadas) ───────────────── */
.stepped-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.stepped-duo__images {
  position: relative;
  height: 440px;
}
.stepped-duo__img-primary {
  position: absolute; top: 0; left: 0;
  width: 76%; height: 76%;
  object-fit: cover; display: block;
}
.stepped-duo__img-secondary {
  position: absolute; bottom: 0; right: 0;
  width: 64%; height: 56%;
  object-fit: cover; display: block;
  border: 6px solid var(--cream);
  box-shadow: 0 8px 40px rgba(0,0,0,.18);
}

/* ── Mosaico Assimétrico (1 tall + 2 small) ──────────── */
.mosaic-asymmetric {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.mosaic-asymmetric__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: .75rem;
  height: 420px;
}
.mosaic-asymmetric__images img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.mosaic-asymmetric__images img:first-child {
  grid-row: 1 / 3;
}

/* ── Tira Fotográfica ─────────────────────────────────── */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  height: 240px;
  margin-bottom: 3rem;
}
.photo-strip--4 { grid-template-columns: repeat(4, 1fr); }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.strip-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* ── Family Hero com Legenda ──────────────────────────── */
.family-hero {
  position: relative; height: 480px; overflow: hidden;
  max-width: var(--max-w); margin: 0 auto;
}
.family-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.family-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,14,6,.82) 0%, rgba(20,14,6,.12) 55%, transparent 100%);
}
.family-hero__caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2.5rem 3rem;
}
.family-hero__caption .title { color: #fff; font-style: italic; margin-bottom: 0; }

/* ── Team Mosaic (fotos de grupo) ─────────────────────── */
.team-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.team-mosaic img {
  width: 100%; height: 240px; object-fit: cover;
  object-position: center top; display: block;
  transition: transform .35s var(--ease);
}
.team-mosaic img:hover { transform: scale(1.02); }

/* ── Gado Layout (stack com offset) ──────────────────── */
.gado-layout {
  display: grid;
  grid-template-columns: 1fr 42%;
  gap: 5rem;
  align-items: center;
}
.gado-layout__images { position: relative; }
.gado-layout__img-main {
  width: 100%; height: 320px; object-fit: cover; display: block;
}
.gado-layout__img-secondary {
  width: calc(100% - 2.5rem);
  height: 200px; object-fit: cover; display: block;
  margin-top: .75rem; margin-left: 2.5rem;
  border-top: 4px solid var(--gold);
}

/* ── Fauna Editorial ──────────────────────────────────── */
.fauna-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.fauna-editorial__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.fauna-editorial__images img {
  width: 100%; height: 180px; object-fit: cover; display: block;
}
.fauna-editorial__images img:first-child {
  grid-column: 1 / 3; height: 240px;
}

/* ── Responsive for new layouts ───────────────────────── */
@media (max-width: 860px) {
  .split-cinematic, .split-cinematic--flip {
    grid-template-columns: 1fr; min-height: auto;
  }
  .split-cinematic__text,
  .split-cinematic--flip .split-cinematic__text { padding: 2.5rem 0; }
  .split-cinematic__image img { min-height: 280px; }

  .stepped-duo { grid-template-columns: 1fr; gap: 2rem; }
  .stepped-duo__images { height: 320px; }

  .mosaic-asymmetric { grid-template-columns: 1fr; gap: 2rem; }
  .mosaic-asymmetric__images { height: 320px; }

  .gado-layout { grid-template-columns: 1fr; gap: 2rem; }
  .gado-layout__img-secondary { margin-left: 0; width: 100%; }

  .fauna-editorial { grid-template-columns: 1fr; gap: 2rem; }

  .strip-body { grid-template-columns: 1fr; gap: 2rem; }
  .photo-strip { height: 160px; }

  .family-hero { height: 360px; }
  .family-hero__caption { padding: 1.5rem; }
}

/* ── Certification logos ────────────────────────────────── */
.certifications-logos {
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.certifications-logos img {
  max-width: 340px; width: 100%; opacity: .85;
  filter: brightness(0) invert(0);  /* keep original colors */
}

/* ── Fauna photo grid (variable count, masonry-like) ────── */
.fauna-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem;
}
.fauna-grid img {
  width: 100%; height: 160px; object-fit: cover;
  transition: transform .35s var(--ease), filter .35s;
}
.fauna-grid img:hover { transform: scale(1.03); filter: brightness(1.06); }
/* First image of a section spans full width for impact */
.fauna-grid img:first-child {
  grid-column: 1 / -1; height: 240px;
}

/* ── Certification badge (Wildlife Estates, etc.) ───────── */
.certification-badge {
  display: inline-block;
  margin-top: 2rem; padding: 1rem 1.5rem;
  border: 1px solid var(--border);
  background: var(--warm-white);
}
.certification-badge img {
  height: 80px; width: auto; display: block;
}
