/* ================================================================
   Ristorante Velluto — Stylesheet
   Palette: bianco sporco / beige / nero / verde bosco / bordeaux
   Typo:    Cormorant Garamond (display) + Inter (body)
================================================================ */

:root {
  --c-bg:        #faf7f2;
  --c-bg-alt:    #f1ece3;
  --c-ink:       #1a1a1a;
  --c-ink-soft:  #4a4a4a;
  --c-muted:     #8a8a8a;
  --c-line:      #e6e0d4;
  --c-dark:      #101512;
  --c-dark-2:    #1a211d;
  --c-accent:    #2f4a3a;      /* verde bosco */
  --c-accent-2:  #6b1f2a;      /* bordeaux (uso parsimonioso) */
  --c-gold:      #b8935a;

  --f-display: "Cormorant Garamond", "Times New Roman", serif;
  --f-body:    "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --r-sm: 4px;
  --r-md: 10px;

  --container: 1200px;
  --pad-x: clamp(20px, 4vw, 40px);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 500; letter-spacing: -0.01em; }
p  { margin: 0 0 1em; }
ul { list-style: none; padding: 0; margin: 0; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}
.section { padding: clamp(64px, 10vw, 130px) 0; }
.section--dark {
  background: var(--c-dark);
  color: #e7e4dd;
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 500;
  margin: 0 0 18px;
}
.eyebrow--light { color: var(--c-gold); }

.section__head {
  max-width: 680px;
  margin: 0 auto clamp(40px, 5vw, 70px);
  text-align: center;
}
.section__head h2 {
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.08;
  margin-bottom: 18px;
}
.section__lead {
  color: var(--c-ink-soft);
  font-size: 17px;
}
.section--dark .section__lead { color: #bdbab2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  transition: all .3s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--c-accent);
  color: #fff;
}
.btn--primary:hover {
  background: #24372c;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -12px rgba(47,74,58,.55);
}
.btn--ghost {
  border: 1px solid currentColor;
  padding: 10px 20px;
  font-size: 12.5px;
}
.btn--ghost:hover { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.btn--link {
  padding: 14px 4px;
  font-size: 14px;
  letter-spacing: .06em;
  border-bottom: 1px solid rgba(255,255,255,.4);
  border-radius: 0;
  color: #fff;
}
.btn--link:hover { border-color: #fff; }
.btn--block { width: 100%; }

/* ================================================================
   NAVBAR
================================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
  color: #fff;
}
.nav.is-scrolled {
  background: rgba(250, 247, 242, .96);
  backdrop-filter: saturate(1.2) blur(8px);
  color: var(--c-ink);
  box-shadow: 0 1px 0 var(--c-line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .02em;
}
.nav__logo-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 600;
}
.nav__links {
  display: flex;
  gap: clamp(18px, 2.4vw, 34px);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .04em;
}
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right .3s var(--ease);
}
.nav__links a:hover::after { right: 0; }
.nav__cta { display: inline-flex; }

.nav__toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

/* ================================================================
   HERO
================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0; z-index: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: slow-zoom 14s ease-out forwards;
}
@keyframes slow-zoom { to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.35) 40%, rgba(10,10,10,.75) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  max-width: 780px;
  padding-top: 80px;
}
.hero h1 {
  font-size: clamp(46px, 7.5vw, 96px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  color: var(--c-gold);
  font-weight: 400;
}
.hero__sub {
  max-width: 560px;
  font-size: clamp(16px, 1.4vw, 18px);
  color: #dfdcd4;
  margin-bottom: 40px;
}
.hero__cta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll span {
  display: block;
  width: 1px; height: 48px;
  background: linear-gradient(180deg, transparent, #fff);
  animation: scroll-pulse 2s var(--ease) infinite;
}
@keyframes scroll-pulse {
  0%,100% { opacity: .2; transform: scaleY(.6); }
  50%     { opacity: 1;  transform: scaleY(1);   }
}

/* ================================================================
   ABOUT
================================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.about__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r-sm);
}
.about__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.about__media:hover img { transform: scale(1.04); }
.about__badge {
  position: absolute;
  right: -24px; bottom: 40px;
  background: var(--c-bg);
  color: var(--c-ink);
  padding: 22px 28px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.25);
  border-left: 3px solid var(--c-accent);
}
.about__badge strong {
  font-family: var(--f-display);
  font-size: 44px;
  line-height: 1;
  color: var(--c-accent);
}
.about__badge span {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}

.about__text h2 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08;
  margin-bottom: 24px;
}
.about__text p {
  color: var(--c-ink-soft);
  font-size: 17px;
  max-width: 52ch;
}
.about__pillars {
  margin-top: 36px;
  display: grid;
  gap: 22px;
  padding-top: 28px;
  border-top: 1px solid var(--c-line);
}
.about__pillars h4 {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--c-ink);
}
.about__pillars p {
  margin: 0;
  font-size: 15px;
  color: var(--c-ink-soft);
}

/* ================================================================
   MENU
================================================================ */
.menu__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(40px, 5vw, 80px) clamp(40px, 7vw, 120px);
}
.menu__cat {
  font-size: 30px;
  padding-bottom: 14px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.18);
  color: var(--c-gold);
  font-style: italic;
  font-weight: 500;
}
.dish { padding: 16px 0; }
.dish__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}
.dish__head h4 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  color: #fff;
}
.dish__dots {
  flex: 1;
  border-bottom: 1px dotted rgba(255,255,255,.25);
  transform: translateY(-4px);
}
.dish__price {
  font-family: var(--f-display);
  font-size: 20px;
  color: var(--c-gold);
  font-weight: 500;
}
.dish p {
  margin: 0;
  font-size: 14.5px;
  color: #b7b4ac;
  max-width: 52ch;
}
.menu__note {
  text-align: center;
  margin-top: clamp(40px, 5vw, 70px);
  font-size: 13.5px;
  color: #9a968d;
  font-style: italic;
}

/* ================================================================
   TRUST
================================================================ */
.trust { background: var(--c-bg-alt); }

.trust__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: clamp(50px, 6vw, 80px);
  padding: 34px clamp(24px, 4vw, 40px);
  background: #fff;
  border-radius: var(--r-sm);
  box-shadow: 0 20px 50px -30px rgba(0,0,0,.2);
}
.trust__stats > div {
  text-align: center;
  border-right: 1px solid var(--c-line);
  padding: 8px 12px;
}
.trust__stats > div:last-child { border-right: 0; }
.trust__stats strong {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(28px, 3vw, 40px);
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 8px;
  font-weight: 500;
}
.trust__stats span {
  font-size: 12.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}

.trust__reviews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.review {
  margin: 0;
  padding: 34px 32px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.review:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.2);
}
.review__stars {
  color: var(--c-gold);
  letter-spacing: .15em;
  margin-bottom: 14px;
  font-size: 15px;
}
.review blockquote {
  margin: 0 0 18px;
  font-family: var(--f-display);
  font-size: 20px;
  line-height: 1.5;
  color: var(--c-ink);
  font-weight: 400;
}
.review figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  color: var(--c-muted);
  letter-spacing: .04em;
}
.review figcaption strong {
  color: var(--c-ink);
  font-weight: 600;
}

.trust__awards {
  margin-top: clamp(40px, 5vw, 70px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(20px, 4vw, 60px);
  padding: 28px 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  font-family: var(--f-display);
  font-size: 17px;
  font-style: italic;
  color: var(--c-ink-soft);
}
.trust__awards li { position: relative; }

/* ================================================================
   GALLERY
================================================================ */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 14px;
}
.gallery__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-sm);
  background: var(--c-bg-alt);
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter .4s var(--ease);
}
.gallery__item:hover img {
  transform: scale(1.06);
  filter: brightness(1.05);
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* ================================================================
   CONTACT
================================================================ */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.contact__info h2 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08;
  margin-bottom: 20px;
}
.contact__lead {
  color: #bdbab2;
  max-width: 46ch;
  margin-bottom: 36px;
}
.contact__list {
  display: grid;
  gap: 24px;
}
.contact__list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 15px;
  color: #dfdcd4;
}
.contact__label {
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-gold);
  padding-top: 4px;
}
.contact__list a:hover { color: var(--c-gold); }

/* Form */
.contact__form {
  background: #fff;
  color: var(--c-ink);
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--r-sm);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.5);
}
.contact__form h3 {
  font-size: 28px;
  margin-bottom: 24px;
}
.field { margin-bottom: 18px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field label {
  display: block;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  margin-bottom: 8px;
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  background: var(--c-bg);
  font-family: inherit;
  font-size: 15px;
  color: var(--c-ink);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  background: #fff;
}
.contact__sent {
  margin-top: 16px;
  padding: 14px 16px;
  background: #eef3ee;
  color: var(--c-accent);
  border-radius: var(--r-sm);
  font-size: 14px;
}

/* ================================================================
   FOOTER
================================================================ */
.footer {
  background: #0a0d0b;
  color: #8a8781;
  padding: 60px 0 30px;
}
.footer__inner {
  display: grid;
  gap: 18px;
  text-align: center;
  justify-items: center;
}
.footer__brand {
  display: flex; align-items: center; gap: 10px;
  color: #fff;
  font-family: var(--f-display);
  font-size: 22px;
}
.footer__tag {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin: 0;
}
.footer__links {
  display: flex;
  gap: clamp(18px, 3vw, 32px);
  font-size: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__links a:hover { color: #fff; }
.footer__copy {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: #55534e;
}

/* ================================================================
   REVEAL ANIMATIONS
================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media img { animation: none; }
  .hero__scroll span { animation: none; }
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 960px) {
  .about__grid,
  .contact__grid { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 4/3; max-height: 520px; }
  .about__badge { right: 20px; bottom: 20px; }

  .menu__grid { grid-template-columns: 1fr; gap: 50px; }
  .trust__stats { grid-template-columns: repeat(2, 1fr); }
  .trust__stats > div:nth-child(2) { border-right: 0; }
  .trust__reviews { grid-template-columns: 1fr; }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: auto; }
}

@media (max-width: 760px) {
  .nav__links,
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }

  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--c-bg);
    color: var(--c-ink);
    padding: 20px var(--pad-x) 28px;
    border-top: 1px solid var(--c-line);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.15);
  }
  .nav__links.is-open a {
    padding: 12px 0;
    border-bottom: 1px solid var(--c-line);
    font-size: 16px;
  }

  .hero__cta { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero__cta .btn { width: 100%; }

  .trust__stats {
    grid-template-columns: 1fr 1fr;
    padding: 24px;
    gap: 16px;
  }
  .trust__stats > div { border-right: 0 !important; border-bottom: 1px solid var(--c-line); padding-bottom: 14px; }
  .trust__stats > div:nth-last-child(-n+2) { border-bottom: 0; padding-bottom: 0; }

  .field-row { grid-template-columns: 1fr; }
  .contact__list li { grid-template-columns: 1fr; gap: 6px; }

  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery__item--wide,
  .gallery__item--tall { grid-column: auto; grid-row: auto; }
}
