/* Vibe Vilafranca — proposta Renoveia
   Paleta mostrejada dels seus propis assets (Canva/IG):
   fúcsia #E523C5 (5,07:1 sobre #0A0A0C · 4,62:1 sobre #16161A → AA text normal)
   groc #FEEB35 (16,15:1 / 14,74:1) · taronja #F94804→#FA970D només en botons (text negre) */

:root {
  --negre: #0A0A0C;
  --panell: #16161A;
  --text: #F5F5F2;
  --secundari: #9A9AA2;
  --fucsia: #E523C5;
  --groc: #FEEB35;
  --grad: linear-gradient(135deg, #F94804, #FA970D);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--negre);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

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

h1, h2, .wordmark, .score-num {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .02em;
}

section[id] { scroll-margin-top: 96px; }

.wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.center { text-align: center; }

/* ─── Motiu damer (identitat pròpia, CSS pur) ─── */
.checker {
  height: 14px;
  background: repeating-conic-gradient(var(--fucsia) 0% 25%, var(--negre) 0% 50%) 0 0 / 14px 14px;
}

/* ─── Cinta ─── */
.ribbon {
  background: var(--fucsia);
  color: var(--negre);
  font-size: .8rem;
  font-weight: 600;
  text-align: center;
  padding: .45rem .75rem;
}

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 12, .82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: .7rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  font-size: 1.7rem;
  color: var(--fucsia);
  text-decoration: none;
  text-shadow: 0 0 14px rgba(229, 35, 197, .55);
}

.burger {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid rgba(229, 35, 197, .55);
  border-radius: 8px;
  padding: 9px 8px;
  cursor: pointer;
}

.burger span {
  width: 20px;
  height: 2px;
  background: var(--text);
}

.nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--negre);
  border-bottom: 1px solid rgba(229, 35, 197, .35);
  padding: .75rem 1.25rem 1.25rem;
  flex-direction: column;
  gap: .35rem;
}

.nav.open { display: flex; }

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  padding: .55rem 0;
}

.nav a:hover { color: var(--fucsia); }

.nav .btn-primary,
.nav .btn-primary:hover { color: var(--negre); }

/* ─── Botons ─── */
.btn {
  display: inline-block;
  border-radius: 999px;
  padding: .85rem 1.7rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: var(--grad);
  color: var(--negre);
}

.btn-primary:hover { filter: brightness(1.12); }

.btn-ghost {
  border: 1px solid var(--fucsia);
  color: var(--fucsia);
}

.btn-ghost:hover {
  background: rgba(229, 35, 197, .12);
}

.btn-nav {
  padding: .55rem 1.3rem;
  margin-top: .5rem;
  align-self: flex-start;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.8rem;
}

.cta-row.center { justify-content: center; }

/* ─── Hero ─── */
.hero {
  max-width: 1060px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.kicker {
  color: var(--groc);
  font-weight: 600;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.7rem, 9vw, 5rem);
  line-height: 1.02;
  margin-bottom: 1.1rem;
}

.hero-sub {
  color: var(--secundari);
  font-size: 1.15rem;
  max-width: 34rem;
}

.hero-art img {
  width: min(100%, 440px);   /* mai per sobre dels 676 px naturals */
  margin: 0 auto;
  filter: drop-shadow(0 0 24px rgba(229, 35, 197, .25));
}

/* ─── Seccions ─── */
.panel { background: var(--panell); }
.dark { background: var(--negre); }

h2 {
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  margin-bottom: 2rem;
}

/* ─── Carta ─── */
.carta-grid {
  display: grid;
  gap: 1.4rem;
}

.card {
  background: var(--panell);
  border: 1px solid rgba(229, 35, 197, .55);
  border-radius: 14px;
  padding: 1.6rem 1.4rem;
}

.card h3 {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.35rem;
  color: var(--fucsia);
  margin-bottom: 1.1rem;
}

.menu-list { list-style: none; }

.menu-list li {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  padding: .42rem 0;
}

.dish { max-width: 70%; }

.dots {
  flex: 1;
  border-bottom: 2px dotted #3A3A44;
  transform: translateY(-4px);
  min-width: 1rem;
}

.price {
  font-weight: 600;
  color: var(--groc);
  white-space: nowrap;
}

.burgers .price { min-width: 3.1rem; text-align: right; }

.cols-head {
  display: flex;
  justify-content: flex-end;
  gap: .55rem;
  color: var(--secundari);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.cols-head span { min-width: 3.1rem; text-align: right; }

.menu-note {
  color: var(--secundari);
  font-size: .9rem;
  margin-top: 1.4rem;
}

.menu-note.center { text-align: center; }

/* ─── Com demanar ─── */
.order-grid {
  display: grid;
  gap: 1.2rem;
}

.order-card {
  background: var(--panell);
  border-radius: 14px;
  padding: 1.6rem 1.4rem;
}

.order-card .icon {
  width: 44px;
  height: 44px;
  color: var(--fucsia);
  margin-bottom: .9rem;
}

.order-card h3 {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.2rem;
  margin-bottom: .3rem;
}

.order-card p { color: var(--secundari); }

/* ─── Opinions ─── */
.opinions {
  background:
    repeating-conic-gradient(rgba(229, 35, 197, .06) 0% 25%, transparent 0% 50%) 0 0 / 28px 28px,
    var(--negre);
}

.score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
}

.score-num {
  font-size: clamp(4.5rem, 14vw, 7rem);
  color: var(--fucsia);
  line-height: 1;
  text-shadow: 0 0 22px rgba(229, 35, 197, .4);
}

.star { width: clamp(2.6rem, 7vw, 4rem); height: auto; }

.score-sub {
  color: var(--secundari);
  margin-top: .6rem;
}

.quote {
  margin-top: 2.2rem;
}

.quote p {
  font-size: clamp(1.25rem, 3.5vw, 1.7rem);
  font-weight: 600;
  max-width: 36rem;
  margin: 0 auto;
}

.quote footer {
  color: var(--secundari);
  font-size: .85rem;
  margin-top: .7rem;
}

/* ─── On som ─── */
.place-grid {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.address { font-size: 1.15rem; font-weight: 600; }

.phone a {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.9rem, 6vw, 2.6rem);
  color: var(--groc);
  text-decoration: none;
  letter-spacing: .03em;
}

.phone a:hover { color: var(--fucsia); }

.phone { margin: .7rem 0 1.4rem; }

.hours {
  list-style: none;
  max-width: 26rem;
}

.hours li {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  padding: .3rem 0;
}

.hours li span:last-child { white-space: nowrap; }

.ig { margin-top: 1.3rem; }

.ig a {
  color: var(--fucsia);
  font-weight: 600;
  text-decoration: none;
}

.ig a:hover { text-decoration: underline; }

.place-photo img {
  width: min(100%, 440px);   /* mai per sobre dels 640 px naturals */
  border-radius: 14px;
  border: 1px solid rgba(229, 35, 197, .35);
}

/* ─── Footer ─── */
.site-footer {
  background: var(--negre);
  text-align: center;
  padding: 2.2rem 1.25rem 2.6rem;
  color: var(--secundari);
  font-size: .92rem;
}

.site-footer a {
  color: var(--secundari);
  text-decoration: underline;
}

.site-footer a:hover { color: var(--fucsia); }

.credit { margin-top: .4rem; }

/* ─── Escriptori ─── */
@media (min-width: 840px) {
  .burger { display: none; }

  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.6rem;
    background: none;
    border: 0;
    padding: 0;
  }

  .nav a { padding: 0; }

  .btn-nav { margin-top: 0; align-self: auto; }

  .hero {
    flex-direction: row;
    align-items: center;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .hero-text { flex: 1.15; }
  .hero-art { flex: .85; }

  .carta-grid { grid-template-columns: 1fr 1fr; align-items: start; }

  .order-grid { grid-template-columns: repeat(3, 1fr); }

  .place-grid {
    flex-direction: row;
    align-items: center;
  }

  .place-info { flex: 1; }
  .place-photo { flex: 1; display: flex; justify-content: flex-end; }
}
