/* =====================================================================
   Anno Mille — nuovo stile (avorio, bordeaux, oro antico)
   Titoli: Cormorant Garamond · Testi: Montserrat
   ===================================================================== */
/* Caratteri ospitati sul sito (niente Google Fonts: meglio per la privacy). Licenza SIL OFL 1.1, vedi fonts/am/ */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/am/cormorant-garamond-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/am/cormorant-garamond-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url(../fonts/am/cormorant-garamond-latin-500-italic.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/am/montserrat-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/am/montserrat-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/am/montserrat-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/am/montserrat-latin-700-normal.woff2) format("woff2"); }

:root {
  --am-avorio: #f7f1e6;
  --am-avorio-2: #efe6d6;
  --am-carta: #fbf8f2;
  --am-bordeaux: #6e1a24;
  --am-bordeaux-scuro: #521219;
  --am-oro: #b08d57;
  --am-antracite: #2b2626;
  --am-testo: #4a4242;
  --am-bianco: #ffffff;
  --am-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --am-sans: "Montserrat", Arial, sans-serif;
  --am-header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.am {
  margin: 0;
  background: var(--am-avorio);
  color: var(--am-testo);
  font-family: var(--am-sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased; }
img { height: auto; }
.am img { max-width: 100%; display: block; }
.am a { color: var(--am-bordeaux); text-decoration: none; }
.am a:hover { color: var(--am-bordeaux-scuro); }
.am h1, .am h2, .am h3 { font-family: var(--am-serif); color: var(--am-antracite); font-weight: 500; margin: 0; }
.am-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* Etichetta maiuscola spaziata con filetti oro ai lati */
.am-kicker {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  font-family: var(--am-sans); font-size: 14px; font-weight: 600;
  letter-spacing: 6px; text-transform: uppercase; color: var(--am-antracite);
  margin: 0 0 18px 0; }
.am-kicker:before, .am-kicker:after {
  content: ""; height: 1px; width: 90px; background: var(--am-oro); }

/* Pulsanti */
.am-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 3px;
  font-family: var(--am-sans); font-size: 12px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.am-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.am .am-btn-primary { background: var(--am-bordeaux); color: var(--am-bianco); border-color: var(--am-bordeaux); }
.am .am-btn-primary:hover { background: var(--am-bordeaux-scuro); color: var(--am-bianco); }
.am .am-btn-ghost { background: transparent; color: var(--am-bianco); border-color: rgba(255,255,255,.85); }
.am .am-btn-ghost:hover { background: rgba(255,255,255,.12); color: var(--am-bianco); }
.am .am-btn-line { background: transparent; color: var(--am-bordeaux); border-color: var(--am-bordeaux); }
.am .am-btn-line:hover { background: var(--am-bordeaux); color: var(--am-bianco); }
.am .am-link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--am-bordeaux); padding-bottom: 4px; border-bottom: 1px solid var(--am-oro); }
.am-link-arrow svg { width: 14px; height: 14px; transition: transform .2s; }
.am-link-arrow:hover svg { transform: translateX(4px); }

/* ---------------- Header ---------------- */
.am-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--am-header-h);
  background: rgba(251, 248, 242, .97);
  border-bottom: 1px solid rgba(176, 141, 87, .25);
  transition: box-shadow .25s, height .25s; }
.am-header.is-scrolled { box-shadow: 0 6px 24px rgba(43, 38, 38, .10); }
.am-header .am-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1320px; }
.am-brand { display: flex; align-items: center; gap: 12px; color: var(--am-antracite); flex-shrink: 0; white-space: nowrap; }
.am-brand img { width: 52px; height: auto; }
.am-brand-text { font-family: var(--am-serif); line-height: 1; color: var(--am-antracite); }
.am-brand-text small { display: block; font-family: var(--am-sans); font-size: 11px; letter-spacing: 5px; color: var(--am-bordeaux); margin-bottom: 4px; }
.am-brand-text span { font-size: 27px; letter-spacing: .5px; }
.am-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.am-nav a {
  font-family: var(--am-serif); font-size: 18px; color: var(--am-antracite); white-space: nowrap;
  padding: 6px 0; border-bottom: 1px solid transparent; }
.am-nav a:hover, .am-nav a.is-active { color: var(--am-bordeaux); border-bottom-color: var(--am-bordeaux); }
.am-header .am-btn { padding: 12px 22px; border-radius: 30px; white-space: nowrap; flex-shrink: 0; }
.am-burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.am-burger span { display: block; width: 24px; height: 2px; background: var(--am-antracite); margin: 5px 0; transition: transform .2s, opacity .2s; }
.am-header.nav-open .am-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.am-header.nav-open .am-burger span:nth-child(2) { opacity: 0; }
.am-header.nav-open .am-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.am-hero {
  position: relative; min-height: 88vh; min-height: min(88vh, 860px); display: flex; align-items: center;
  padding: calc(var(--am-header-h) + 40px) 0 80px;
  background: #2b2626 url(../images/hero-carne-brace.jpg) center / cover no-repeat; color: var(--am-bianco); }
@media (max-width: 767px) { .am-hero { background-image: url(../images/hero-carne-brace-960.jpg); } }
.am-hero:before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,12,10,.88) 0%, rgba(20,12,10,.62) 45%, rgba(20,12,10,.15) 100%); }
.am-hero .am-wrap { position: relative; }
.am-hero-text { max-width: 560px; }
.am-hero h1 { color: var(--am-bianco); font-size: 78px; line-height: .95; font-weight: 500; }
.am-hero h1 small {
  display: block; font-family: var(--am-sans); font-size: 18px; font-weight: 500;
  letter-spacing: 12px; color: var(--am-oro); margin-bottom: 18px; }
.am-hero-rule { width: 64px; height: 2px; background: var(--am-oro); margin: 28px 0; }
.am-hero-tagline { font-family: var(--am-serif); font-style: italic; font-size: 27px; line-height: 1.35; margin: 0 0 18px 0; }
.am-hero-sub { font-size: 14px; letter-spacing: 1px; color: rgba(255,255,255,.85); margin: 0 0 34px 0; }
.am-hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }
.am .am-scroll, .am .am-scroll:hover { color: rgba(255,255,255,.8); }
.am-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 10px; letter-spacing: 3px; color: rgba(255,255,255,.8); }
.am-scroll i { width: 18px; height: 28px; border: 1.5px solid rgba(255,255,255,.8); border-radius: 10px; position: relative; }
.am-scroll i:after { content: ""; position: absolute; left: 50%; top: 6px; width: 2px; height: 6px; margin-left: -1px; background: #fff; border-radius: 2px; animation: am-wheel 1.6s infinite; }
@keyframes am-wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(8px); } }

/* ---------------- Sezioni ---------------- */
.am-section { padding: 80px 0; }
.am-intro { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.am-intro h2 { font-size: 30px; margin-bottom: 12px; }

/* Tre modi */
.am-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.am-card { background: var(--am-carta); border: 1px solid rgba(176,141,87,.25); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.am-card-img { position: relative; height: 260px; overflow: hidden; }
.am-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.am-card:hover .am-card-img img { transform: scale(1.04); }
.am-card-img:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(20,12,10,.78) 100%); }
.am-card-title { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 1; text-align: center; color: #fff; }
.am-card-title h3 { color: #fff; font-size: 38px; letter-spacing: 1px; text-transform: uppercase; line-height: 1; }
.am-card-title p { margin: 4px 0 0; font-family: var(--am-serif); font-style: italic; font-size: 22px; }
.am-card-body { padding: 24px 26px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; flex: 1; }
.am-card-body p { margin: 0; flex: 1; }

/* Storia: 30 anni */
.am-story { display: grid; grid-template-columns: 1fr 1fr 1fr; min-height: 470px; background: var(--am-carta); }
.am-story-img { background-size: cover; background-position: center; min-height: 320px; }
.am-story-img.is-old { filter: grayscale(1) contrast(1.05); }
.am-story-text { padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; }
.am-story-text .am-label { font-size: 12px; font-weight: 600; letter-spacing: 5px; color: var(--am-bordeaux); text-transform: uppercase; margin-bottom: 18px; }
.am-story-text h2 { font-size: 64px; line-height: .95; color: var(--am-bordeaux); text-transform: uppercase; }
.am-story-text h2 em { display: block; font-size: 26px; text-transform: none; color: var(--am-antracite); margin-top: 10px; }
.am-story-text p { margin: 22px 0 28px; }
.am-story-text .am-btn { align-self: flex-start; }

/* Piatti */
.am-dishes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.am-dishes a { display: block; position: relative; aspect-ratio: 4 / 3.2; overflow: hidden; }
.am-dishes img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.am-dishes a:hover img { transform: scale(1.06); }
.am-dishes span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(20,12,10,.75));
  color: #fff; font-family: var(--am-serif); font-style: italic; font-size: 18px; text-align: center;
  opacity: 0; transition: opacity .3s; }
.am-dishes a:hover span, .am-dishes a:focus span { opacity: 1; }
.am-dishes-cta { text-align: center; margin-top: 34px; }

/* Vieni a trovarci */
.am-visit { display: grid; grid-template-columns: 1.1fr 3fr auto; gap: 0; align-items: stretch; }
.am-visit-map {
  position: relative; min-height: 190px; border-radius: 4px; overflow: hidden;
  background:
    linear-gradient(0deg, rgba(247,241,230,.35), rgba(247,241,230,.35)),
    repeating-linear-gradient(35deg, transparent 0 26px, rgba(176,141,87,.22) 26px 28px),
    repeating-linear-gradient(-55deg, transparent 0 40px, rgba(176,141,87,.18) 40px 42px),
    var(--am-avorio-2);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.am-visit-map svg { width: 38px; height: 38px; color: var(--am-bordeaux); }
.am-visit-map strong { font-family: var(--am-serif); font-style: italic; font-weight: 500; font-size: 26px; color: var(--am-antracite); }
.am-visit-places { display: grid; grid-template-columns: repeat(3, 1fr); }
.am-place { text-align: center; padding: 18px 16px; border-left: 1px solid rgba(176,141,87,.35); }
.am-place:last-child { border-right: 1px solid rgba(176,141,87,.35); }
.am-place svg { width: 34px; height: 34px; color: var(--am-bordeaux); margin: 0 auto 10px; display: block; }
.am-place h3 { font-family: var(--am-sans); font-size: 14px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 6px; }
.am-place p { margin: 0; font-size: 14px; line-height: 1.55; }
.am-place a.am-place-tel { display: inline-block; margin-top: 6px; font-weight: 600; }
.am-visit-cta { display: flex; align-items: center; padding-left: 28px; }

/* Fascia contatti bordeaux */
.am-band { background: var(--am-bordeaux); color: #fff; }
.am-band .am-wrap { display: grid; grid-template-columns: repeat(3, 1fr) 1.1fr; align-items: center; }
.am-band a { display: flex; align-items: center; gap: 18px; color: #fff; padding: 26px 20px; border-right: 1px solid rgba(255,255,255,.25); }
.am-band a:hover { background: var(--am-bordeaux-scuro); color: #fff; }
.am-band svg { width: 32px; height: 32px; flex-shrink: 0; }
.am-band b { display: block; font-size: 13px; letter-spacing: 3px; font-weight: 600; }
.am-band small { font-size: 14px; opacity: .9; }
.am-band-sign { font-family: var(--am-serif); font-style: italic; font-size: 34px; text-align: center; transform: rotate(-6deg); color: #fff; }

/* Footer */
.am-footer { background: var(--am-antracite); color: rgba(255,255,255,.75); padding: 56px 0 30px; font-size: 13px; }
.am-footer .am-wrap { text-align: center; }
.am-footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 36px; }
.am-footer h4, .am-footer .am-footer-h { font-family: var(--am-sans); color: #fff; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; margin: 0 0 14px; font-weight: 600; line-height: 1.4; }
.am-footer ul { list-style: none; margin: 0; padding: 0; }
.am-footer li { margin-bottom: 6px; }
.am-footer a { color: rgba(255,255,255,.85); }
.am-footer a:hover { color: var(--am-oro); }
.am-footer-legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; line-height: 1.8; }

/* Barra azioni fissa in basso (solo telefono) */
.am-mobilebar { display: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1320px) {
  .am-nav ul { gap: 20px; }
  .am-nav a { font-size: 17px; }
  .am-brand-text span { font-size: 24px; }
}
@media (max-width: 1100px) {
  .am-nav ul { gap: 18px; }
  .am-nav a { font-size: 16px; }
  .am-hero h1 { font-size: 64px; }
  .am-story { grid-template-columns: 1fr 1.2fr; }
  .am-story-img.is-new { display: none; }
  .am-visit { grid-template-columns: 1fr; gap: 24px; }
  .am-visit-cta { justify-content: center; padding: 0; }
  .am-band .am-wrap { grid-template-columns: repeat(3, 1fr); }
  .am-band-sign { display: none; }
}
@media (max-width: 1200px) {
  .am-burger { display: block; }
  .am-header .am-wrap { justify-content: flex-start; }
  .am-header .am-btn-primary { margin-left: auto; }
  .am-nav {
    position: fixed; top: var(--am-header-h); left: 0; right: 0;
    background: var(--am-carta); border-bottom: 1px solid rgba(176,141,87,.3);
    max-height: 0; overflow: hidden; transition: max-height .3s; }
  .am-header.nav-open .am-nav { max-height: 80vh; overflow-y: auto; }
  .am-nav ul { flex-direction: column; gap: 0; padding: 10px 24px 20px; }
  .am-nav a { display: block; font-size: 22px; padding: 10px 0; border-bottom: 1px solid rgba(176,141,87,.2); }
}
@media (max-width: 900px) {
  :root { --am-header-h: 70px; }
  .am-header .am-btn-primary { display: none; }
  .am-burger { margin-left: auto; }
  .am-cards { grid-template-columns: 1fr; }
  .am-dishes { grid-template-columns: repeat(2, 1fr); }
  .am-dishes a:last-child { grid-column: span 2; aspect-ratio: 8 / 3.2; }
  .am-dishes span { opacity: 1; }
}
@media (max-width: 700px) {
  body.am { padding-bottom: 64px; }
  .am-brand img { width: 42px; }
  .am-brand-text span { font-size: 22px; }
  .am-hero { min-height: 80vh; min-height: min(80vh, 700px); padding-bottom: 70px; }
  .am-hero:before { background: linear-gradient(180deg, rgba(20,12,10,.55) 0%, rgba(20,12,10,.85) 100%); }
  .am-hero h1 { font-size: 50px; }
  .am-hero h1 small { font-size: 14px; letter-spacing: 8px; }
  .am-hero-tagline { font-size: 22px; }
  .am-scroll { display: none; }
  .am-section { padding: 56px 0; }
  .am-kicker { gap: 12px; letter-spacing: 4px; font-size: 12px; text-align: center; }
  .am-kicker:before, .am-kicker:after { width: 30px; }
  .am-story { grid-template-columns: 1fr; }
  .am-story-img.is-old { min-height: 260px; }
  .am-story-text { padding: 40px 24px; }
  .am-story-text h2 { font-size: 48px; }
  .am-visit-places { grid-template-columns: 1fr; }
  .am-place, .am-place:last-child { border: 0; border-bottom: 1px solid rgba(176,141,87,.35); }
  .am-band { display: none; }
  .am-footer-cols { grid-template-columns: 1fr; }
  .am-mobilebar {
    display: grid; grid-template-columns: repeat(3, 1fr);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: var(--am-bordeaux); box-shadow: 0 -4px 16px rgba(0,0,0,.18); }
  .am-mobilebar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px 10px; color: #fff; font-size: 11px; font-weight: 600; letter-spacing: 1.5px; border-right: 1px solid rgba(255,255,255,.2); }
  .am-mobilebar a:last-child { border-right: 0; }
  .am-mobilebar svg { width: 22px; height: 22px; }
}

/* Foto della hero: la carne è sulla destra, su telefono la teniamo inquadrata */
@media (max-width: 700px) {
  .am-hero { background-position: 72% center; }
}

/* Gruppo a destra dell'header: selettore lingua + PRENOTA */
.am-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.am .am-lang {
  font-family: var(--am-sans); font-size: 12px; font-weight: 600; letter-spacing: 2px;
  color: var(--am-antracite); border: 1px solid rgba(43,38,38,.35); border-radius: 20px;
  padding: 6px 11px; line-height: 1; }
.am .am-lang:hover { color: var(--am-bordeaux); border-color: var(--am-bordeaux); }
@media (max-width: 1200px) {
  .am-header .am-actions { margin-left: auto; }
  .am-header .am-btn-primary { margin-left: 0; }
}
@media (max-width: 900px) {
  .am-burger { margin-left: 10px; }
}
/* Link nel testo: sottolineati, non solo colorati (accessibilità) */
.am-intro a { text-decoration: underline; text-decoration-color: var(--am-oro); text-underline-offset: 3px; }
/* Homepage: riga descrittiva dentro l'H1, didascalie dei piatti, tipo di locale nelle sedi */
.am-hero h1 .am-hero-sub { display: block; font-family: var(--am-sans); font-size: 14px; font-weight: 400; line-height: 1.5; letter-spacing: 1px; color: rgba(255,255,255,.85); margin: 22px 0 0; }
.am-hero-tagline + .am-hero-cta { margin-top: 30px; }
.am-dishes span small { display: block; font-family: var(--am-sans); font-style: normal; font-size: 12px; line-height: 1.4; letter-spacing: .3px; margin-top: 4px; opacity: .9; }
.am-place p.am-place-tipo { font-family: var(--am-serif); font-style: italic; font-size: 17px; line-height: 1.35; color: var(--am-bordeaux); margin: 0 0 8px; }
