/* ===========================================================
   MURMUI · Gelato Mediterráneo — Paguera
   Design system
   =========================================================== */

:root {
  /* Brand palette (from logo) */
  --wine:        #6e1330;
  --wine-deep:   #520d24;
  --wine-soft:   #7d2440;
  --cream:       #f6ece0;   /* warm sand page bg */
  --cream-2:     #efe2d2;   /* slightly deeper band */
  --card:        #fcf6ec;   /* card surface */
  --ink:         #3b2228;   /* warm dark text on cream */
  --ink-soft:    #6f5a58;   /* secondary text */
  --gold:        #c6894b;
  --gold-deep:   #a96f37;
  --rose:        #a85a6c;   /* dusty rose accent */
  --rose-soft:   #c98a98;

  /* Flavour dots */
  --f-pistacho:  #9bab63;
  --f-fresa:     #d4677d;
  --f-mango:     #e0a73c;
  --f-choco:     #6e4630;

  --maxw: 1180px;
  --r:    18px;
  --r-sm: 12px;

  --shadow:    0 22px 48px -28px rgba(82, 13, 36, .42);
  --shadow-sm: 0 10px 26px -18px rgba(82, 13, 36, .40);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --mono:  ui-monospace, "SFMono-Regular", "Menlo", monospace;
  --wordmark: "Quicksand", "Hanken Grotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.04; }

p { margin: 0; }

.wrap {
  width: min(var(--maxw), 92vw);
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: .7em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
  opacity: .6;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .01em;
  padding: .92em 1.5em;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s, color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold      { background: var(--gold); color: #fff; box-shadow: 0 12px 24px -14px rgba(169,111,55,.9); }
.btn--gold:hover{ background: var(--gold-deep); }

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

.btn--ghost     { background: transparent; color: var(--cream); border-color: rgba(246,236,224,.45); }
.btn--ghost:hover { background: rgba(246,236,224,.10); border-color: var(--cream); }

.btn--ink       { background: transparent; color: var(--ink); border-color: rgba(59,34,40,.25); }
.btn--ink:hover { background: rgba(59,34,40,.05); border-color: var(--ink); }

.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ===========================================================
   NAV
   =========================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.1rem clamp(1rem, 4vw, 2.4rem);
  transition: background .4s, box-shadow .4s, padding .4s;
}
.nav__brand {
  display: flex; align-items: center; gap: .65rem;
  font-family: var(--wordmark);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--cream);
  transition: color .4s;
}
.nav__brand img {
  width: 38px; height: 38px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 6px 16px -8px rgba(0,0,0,.5);
}
.nav__links {
  display: flex; align-items: center; gap: 1.9rem;
}
.nav__links a {
  font-size: .92rem;
  font-weight: 500;
  color: rgba(246,236,224,.86);
  letter-spacing: .01em;
  position: relative;
  transition: color .3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1.5px; background: var(--gold);
  transition: width .3s;
}
.nav__links a:hover { color: var(--cream); }
.nav__links a:hover::after { width: 100%; }

.nav__right { display: flex; align-items: center; gap: 1rem; }

/* language switcher */
.lang {
  display: inline-flex;
  border: 1px solid rgba(246,236,224,.32);
  border-radius: 999px;
  overflow: hidden;
  transition: border-color .4s;
}
.lang button {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .42em .72em;
  background: transparent;
  color: rgba(246,236,224,.7);
  border: none;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.lang button.active { background: var(--gold); color: #fff; }
.lang button:not(.active):hover { color: var(--cream); }

.ig-link { display: inline-flex; color: rgba(246,236,224,.85); transition: color .3s, transform .3s; }
.ig-link:hover { color: var(--cream); transform: translateY(-2px); }

/* scrolled state */
.nav.scrolled {
  background: rgba(252,246,236,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -22px rgba(82,13,36,.5);
  padding-top: .8rem; padding-bottom: .8rem;
}
.nav.scrolled .nav__brand { color: var(--wine); }
.nav.scrolled .nav__links a { color: rgba(59,34,40,.72); }
.nav.scrolled .nav__links a:hover { color: var(--wine); }
.nav.scrolled .lang { border-color: rgba(59,34,40,.22); }
.nav.scrolled .lang button { color: rgba(59,34,40,.6); }
.nav.scrolled .lang button.active { color: #fff; }
.nav.scrolled .ig-link { color: var(--wine); }

.nav__menu-btn { display: none; }

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--cream);
  background:
    radial-gradient(120% 90% at 50% -10%, #87234a 0%, var(--wine) 42%, var(--wine-deep) 100%);
  overflow: hidden;
  padding: 7rem 1rem 4rem;
}
/* grain + warm glow */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: .05;
  mix-blend-mode: overlay;
  pointer-events: none;
}
/* sun rays motif */
.hero__rays {
  position: absolute;
  top: -34vh; left: 50%;
  width: 130vh; height: 130vh;
  transform: translateX(-50%);
  background: conic-gradient(from 0deg,
    transparent 0deg, rgba(198,137,75,.10) 2deg, transparent 6deg);
  opacity: .55;
  pointer-events: none;
  animation: spin 120s linear infinite;
}
@keyframes spin { to { transform: translateX(-50%) rotate(360deg); } }

.hero__inner { position: relative; z-index: 2; max-width: 880px; }

.hero__logo {
  width: 92px; height: 92px;
  border-radius: 22px;
  margin: 0 auto 1.7rem;
  object-fit: cover;
  border: 1px solid rgba(246,236,224,.35);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.65), 0 0 0 8px rgba(246,236,224,.06);
}

.hero__eyebrow { color: var(--gold); margin-bottom: 1.4rem; }

.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 5.4vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero__sub {
  margin: 1.9rem auto 0;
  max-width: 540px;
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  line-height: 1.6;
  color: rgba(246,236,224,.82);
}
.hero__cta {
  margin-top: 2.4rem;
  display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap;
}

/* flavour scoop dots */
.scoops {
  margin-top: 3rem;
  display: flex; align-items: center; justify-content: center; gap: .55rem;
}
.scoops span {
  width: 13px; height: 13px; border-radius: 50%;
  box-shadow: 0 3px 8px -3px rgba(0,0,0,.5);
}
.scoops small {
  margin-left: .7rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(246,236,224,.6);
}

.scroll-cue {
  position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%);
  z-index: 2;
  font-family: var(--mono);
  font-size: .66rem; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(246,236,224,.5);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.scroll-cue::after {
  content: ""; width: 1px; height: 30px;
  background: linear-gradient(rgba(246,236,224,.6), transparent);
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue { 0%,100%{opacity:.3; transform:scaleY(.6);} 50%{opacity:1; transform:scaleY(1);} }

/* ===========================================================
   SECTION SCAFFOLD
   =========================================================== */
.section { padding: clamp(5rem, 11vw, 8.5rem) 0; }
.section--alt { background: var(--cream-2); }

.section__head {
  max-width: 640px;
  margin-bottom: 3.4rem;
}
.section__head.center { margin-inline: auto; text-align: center; }
.section__head h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  color: var(--wine);
  margin-top: .9rem;
  letter-spacing: -.01em;
}
.section__head p {
  margin-top: 1.1rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 52ch;
}
.section__head.center p { margin-inline: auto; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ===========================================================
   PRODUCTS
   =========================================================== */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.pcard {
  background: var(--card);
  border-radius: var(--r);
  border: 1px solid rgba(110,19,48,.07);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
  display: flex; flex-direction: column;
}
.pcard:hover { transform: translateY(-7px); box-shadow: var(--shadow); }

.pcard__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--cream-2);
}
.pcard__media image-slot { width: 100%; height: 100%; }
.pcard__dot {
  position: absolute; top: 14px; left: 14px;
  width: 16px; height: 16px; border-radius: 50%;
  box-shadow: 0 3px 8px -2px rgba(0,0,0,.35), inset 0 0 0 3px rgba(255,255,255,.5);
  z-index: 3;
}
.pcard__body { padding: 1.5rem 1.5rem 1.7rem; }
.pcard__body h3 {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--wine);
}
.pcard__body p {
  margin-top: .55rem;
  font-size: .98rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ===========================================================
   BAND (artisan statement)
   =========================================================== */
.band {
  background:
    radial-gradient(140% 120% at 100% 0%, #87234a 0%, var(--wine) 50%, var(--wine-deep) 100%);
  color: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.band .wrap { position: relative; z-index: 2; padding-block: clamp(4.5rem,9vw,7rem); }
.band h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.12;
  max-width: 22ch;
  margin-inline: auto;
  text-wrap: balance;
}
.band h2 em { font-style: italic; color: var(--gold); }
.band p {
  margin: 2.2rem auto 0; max-width: 560px;
  font-size: 1.12rem; line-height: 1.65;
  color: rgba(246,236,224,.82);
}
.band .num {
  font-family: var(--serif);
  font-weight: 700;
  display: inline-block;
}

/* ===========================================================
   REVIEWS
   =========================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.4rem;
}
.review {
  background: var(--card);
  border-radius: var(--r);
  padding: 2.2rem 2.2rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(110,19,48,.07);
  display: flex; flex-direction: column;
}
.review--feature {
  grid-row: span 2;
  background: linear-gradient(165deg, #fcf6ec, #f7ecdd);
  justify-content: space-between;
}
.review__stars { color: var(--gold); font-size: 1.05rem; letter-spacing: .12em; }
.review__quote {
  font-family: var(--serif);
  margin-top: 1.1rem;
  color: var(--ink);
}
.review--feature .review__quote { font-size: 1.7rem; line-height: 1.34; }
.review__quote-sm { font-size: 1.16rem; line-height: 1.5; }
.review__mark {
  font-family: var(--serif);
  font-size: 4rem; line-height: .4; color: var(--rose-soft);
  height: .45em; display: block;
}
.review__by {
  margin-top: 1.6rem;
  display: flex; align-items: center; gap: .7rem;
  font-size: .9rem;
}
.review__avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 1.1rem;
  color: #fff;
}
.review__name { font-weight: 600; color: var(--ink); }
.review__src { color: var(--ink-soft); font-size: .82rem; }

/* ===========================================================
   LOCATION
   =========================================================== */
.loc-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 1.6rem;
  align-items: stretch;
}
.loc-card {
  background: var(--wine);
  color: var(--cream);
  border-radius: var(--r);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
}
.loc-card h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  line-height: 1.08;
}
.loc-card .eyebrow { color: var(--gold); margin-bottom: 1rem; }
.loc-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.4rem; }
.loc-item { display: flex; gap: 1rem; }
.loc-item__icon {
  flex: 0 0 auto; width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(246,236,224,.12);
  display: grid; place-items: center;
  color: var(--gold);
}
.loc-item__label {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(246,236,224,.6);
}
.loc-item__val { margin-top: .25rem; font-size: 1.05rem; line-height: 1.45; color: var(--cream); }
.season-badge {
  display: inline-flex; align-items: center; gap: .5em;
  margin-top: .45rem;
  font-size: .82rem; font-weight: 600;
  padding: .35em .85em; border-radius: 999px;
  background: rgba(198,137,75,.2); color: #f0c690;
  border: 1px solid rgba(198,137,75,.4);
}
.season-badge::before { content:""; width:7px; height:7px; border-radius:50%; background:#8fd19e; box-shadow:0 0 0 3px rgba(143,209,158,.25); }
.loc-card__cta { margin-top: auto; padding-top: 2.2rem; display: flex; gap: .8rem; flex-wrap: wrap; }

.loc-map {
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(110,19,48,.1);
  min-height: 420px;
  position: relative;
  background: var(--cream-2);
}
.loc-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: saturate(.92) contrast(1.02); }

/* ===========================================================
   GALLERY
   =========================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 188px;
  gap: 14px;
}
.g-tile {
  position: relative;
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--cream-2);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.g-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.g-tile image-slot { width: 100%; height: 100%; }
.g-tile--big { grid-column: span 2; grid-row: span 2; }

.gallery-more {
  margin-top: 2.4rem;
  text-align: center;
}
.gallery-more a {
  display: inline-flex; align-items: center; gap: .55em;
  font-weight: 600; color: var(--wine);
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
  transition: color .25s, gap .25s;
}
.gallery-more a:hover { color: var(--gold-deep); gap: .85em; }

@media (max-width: 640px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .g-tile--big { grid-column: span 2; grid-row: span 2; }
}

/* ===========================================================
   FOOTER
   =========================================================== */
.footer {
  background: var(--wine-deep);
  color: rgba(246,236,224,.8);
  padding: 4rem 0 2.4rem;
}
.footer__top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 2rem; flex-wrap: wrap;
  padding-bottom: 2.6rem;
  border-bottom: 1px solid rgba(246,236,224,.14);
}
.footer__brand { display: flex; align-items: center; gap: .9rem; }
.footer__brand img { width: 52px; height: 52px; border-radius: 13px; }
.footer__brand .t {
  font-family: var(--wordmark); font-size: 1.45rem; font-weight: 700;
  letter-spacing: .22em; color: var(--cream);
}
.footer__brand .s { font-size: .85rem; color: rgba(246,236,224,.6); }
.footer__cols { display: flex; gap: 3.4rem; flex-wrap: wrap; }
.footer__col h4 {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 .9rem;
}
.footer__col a, .footer__col p { display: block; font-size: .95rem; line-height: 1.7; color: rgba(246,236,224,.82); }
.footer__col a:hover { color: var(--cream); }
.footer__bottom {
  margin-top: 2rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .82rem; color: rgba(246,236,224,.55);
}
.footer__bottom .ig { display: inline-flex; align-items: center; gap: .5em; color: rgba(246,236,224,.8); }
.footer__bottom .ig:hover { color: var(--cream); }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 940px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .review--feature { grid-row: auto; }
  .loc-grid { grid-template-columns: 1fr; }
  .nav__links { display: none; }
}
@media (max-width: 600px) {
  .products { grid-template-columns: 1fr; }
  .nav__right .lang { display: inline-flex; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .footer__top { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__rays, .scroll-cue::after { animation: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
