/* ============================================
   GlutenFreeBeers.it — Main Stylesheet v1.7
   Palette chiara ad alto contrasto
   ============================================ */

/* --- VARIABILI --- */
:root {
  --bg:        #ffffff;
  --bg2:       #f7f4ef;
  --bg3:       #ede8df;
  --amber:     #b8720a;
  --amber-l:   #d4890f;
  --amber-p:   #fcb040;
  --foam:      #1a1208;
  --text:      #2c2010;
  --muted:     #6b5c3e;
  --border:    #ddd5c0;
  --green:     #5a8a1a;
  --green-l:   #6fa020;
  --green-bg:  rgba(90,138,26,0.08);
  --green-border: rgba(90,138,26,0.3);
  --red-wgfba: #991b1e;
}

/* --- RESET --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- TIPOGRAFIA --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--foam);
  line-height: 1.1;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
em { font-style: italic; color: var(--amber-l); }

/* --- UTILITY --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section    { padding: 5rem 2rem; }
.section--dark { background: var(--bg2); }
.section--mid  { background: var(--bg3); }

.eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 1.8rem;
  height: 1px;
  background: var(--green);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 1.2rem;
}
.section-title    { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--foam); }
.section-title-en { font-size: 0.8rem; color: var(--muted); font-style: italic; margin-top: 0.25rem; }
.see-all {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  transition: color 0.2s;
}
.see-all:hover { color: var(--amber-l); }

/* --- BUTTONS --- */
.btn-primary {
  display: inline-block;
  background: var(--amber);
  color: #ffffff;
  padding: 0.85rem 2rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
}
.btn-primary:hover { background: var(--amber-l); transform: translateY(-2px); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--amber);
  padding: 0.85rem 2rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid var(--amber);
  cursor: pointer;
  transition: all 0.25s;
}
.btn-ghost:hover { background: var(--amber); color: #fff; transform: translateY(-2px); }

/* --- BADGES --- */
.badge {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  padding: 0.18rem 0.55rem;
  display: inline-block;
}
.badge--medal { background: rgba(184,114,10,0.1); color: var(--amber); border: 1px solid rgba(184,114,10,0.3); }
.badge--gf    { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); }
.badge--aic   { background: rgba(90,138,26,0.08); color: var(--green); border: 1px solid var(--green-border); }

/* ============================================
   NAVIGAZIONE
   ============================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.site-nav__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--amber);
}
.site-nav__logo span { color: var(--foam); }
.site-nav__links { display: flex; gap: 2rem; }
.site-nav__links a {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
  font-weight: 500;
}
.site-nav__links a:hover,
.site-nav__links a.current { color: var(--amber); }
.site-nav__lang {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  color: var(--muted);
  display: flex;
  gap: 0.3rem;
  align-items: center;
}
.site-nav__lang a { transition: color 0.2s; }
.site-nav__lang a.active,
.site-nav__lang a:hover { color: var(--amber); }
.site-nav__lang span { color: var(--border); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--muted); transition: all 0.3s; }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 2rem 4rem;
  background: linear-gradient(135deg, #fff 60%, #f7f0e2 100%);
  border-bottom: 1px solid var(--border);
}
.hero__content { position: relative; z-index: 2; max-width: 640px; }
.hero__sub    { font-size: 1.05rem; color: var(--muted); line-height: 1.75; margin-bottom: 0.5rem; max-width: 480px; }
.hero__sub-en { font-size: 0.88rem; color: #b0a080; font-style: italic; margin-bottom: 2.5rem; }
.hero__ctas   { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Bicchiere hero */
.hero__visual {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.beer-glass-wrap {
  width: 160px; height: 290px;
  margin: 0 auto;
  position: relative;
  clip-path: polygon(8% 0%, 92% 0%, 100% 100%, 0% 100%);
  background: linear-gradient(135deg,
    rgba(252,176,64,0.08),
    rgba(252,176,64,0.3),
    rgba(252,176,64,0.5),
    rgba(252,176,64,0.25),
    rgba(252,176,64,0.1)
  );
  border: 1px solid rgba(184,114,10,0.2);
  overflow: hidden;
}
.beer-liquid {
  position: absolute; bottom: 0; left: 0; right: 0; height: 78%;
  background: linear-gradient(180deg, rgba(252,176,64,0.7) 0%, rgba(184,114,10,0.9) 100%);
  animation: liquidWave 4s ease-in-out infinite;
}
.beer-foam {
  position: absolute; top: 20%; left: 0; right: 0; height: 24px;
  background: linear-gradient(180deg, rgba(255,250,240,0.95), rgba(255,250,240,0.4));
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.beer-shine {
  position: absolute; top: 8%; left: 12%; width: 18%; height: 65%;
  background: linear-gradient(180deg, rgba(255,255,255,0.4), transparent);
  border-radius: 50%; transform: skewX(-5deg);
}
.beer-bubble {
  position: absolute; border-radius: 50%;
  background: rgba(184,114,10,0.3);
  animation: bubbleUp var(--dur, 3s) ease-in infinite;
  animation-delay: var(--delay, 0s);
}
.gf-badge {
  position: absolute; bottom: -15px; right: -15px;
  width: 70px; height: 70px;
  background: var(--amber); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  animation: slowSpin 20s linear infinite; text-align: center;
  box-shadow: 0 2px 12px rgba(184,114,10,0.3);
}
.gf-badge__big { font-family: 'DM Mono', monospace; font-size: 1rem; font-weight: 700; color: #fff; display: block; }
.gf-badge__sub { font-family: 'DM Mono', monospace; font-size: 0.52rem; color: #fff; letter-spacing: 0.03em; line-height: 1.3; }

/* ============================================
   BEER CARD
   ============================================ */
.beer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border);
}
.beer-card {
  background: var(--bg);
  padding: 1.4rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.beer-card:hover { background: var(--bg2); box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.beer-card::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 3px; background: var(--amber);
  transition: width 0.38s ease;
}
.beer-card:hover::after { width: 100%; }
.beer-card__img {
  width: 100%; height: 200px; object-fit: cover;
  margin-bottom: 1rem;
  background: var(--bg2);
  display: flex; align-items: center; justify-content: center; font-size: 3.8rem;
}
.beer-card__img img { width: 100%; height: 100%; object-fit: cover; }
.beer-card__brewery {
  font-family: 'DM Mono', monospace; font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 0.35rem; font-weight: 500;
}
.beer-card__name {
  font-family: 'Playfair Display', serif; font-size: 1.15rem;
  font-weight: 700; color: var(--foam); margin-bottom: 0.25rem; line-height: 1.2;
}
.beer-card__style { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.8rem; }
.beer-card__meta {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border); padding-top: 0.6rem; margin-top: auto;
}
.beer-card__abv { font-family: 'DM Mono', monospace; font-size: 0.82rem; color: var(--amber); font-weight: 500; }
.beer-card__wgfba { margin-top: 0.45rem; }

/* ============================================
   CATEGORIE
   ============================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1px; background: var(--border);
}
.cat-card {
  background: var(--bg); padding: 2rem 1.2rem;
  text-align: center; cursor: pointer; transition: background 0.25s; display: block;
}
.cat-card:hover { background: var(--bg2); }
.cat-card__icon { font-size: 2.2rem; margin-bottom: 0.7rem; display: block; }
.cat-card__name { font-family: 'Playfair Display', serif; font-size: 0.95rem; color: var(--foam); margin-bottom: 0.2rem; }
.cat-card__count { font-family: 'DM Mono', monospace; font-size: 0.65rem; color: var(--muted); letter-spacing: 0.1em; }

/* ============================================
   BANNER WGFBA
   ============================================ */
.wgfba-banner {
  background: linear-gradient(135deg, rgba(184,114,10,0.06) 0%, transparent 55%), var(--bg2);
  border-top: 2px solid var(--amber-p);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2rem;
}
.wgfba-banner__inner {
  display: flex; align-items: center; gap: 3.5rem;
  max-width: 900px; margin: 0 auto;
}
.wgfba-emblem {
  flex-shrink: 0; width: 110px; height: 110px;
  border: 2px solid var(--amber); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; text-align: center; padding: 0.8rem;
  box-shadow: 0 0 0 4px var(--green-bg);
}
.wgfba-emblem__year { font-family: 'DM Mono', monospace; font-size: 0.58rem; color: var(--amber); letter-spacing: 0.1em; text-transform: uppercase; display: block; }
.wgfba-emblem__title { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--foam); line-height: 1.2; }
.wgfba-banner__text h2 { margin-bottom: 0.7rem; }
.wgfba-banner__text p { color: var(--muted); font-size: 0.92rem; line-height: 1.75; margin-bottom: 0.4rem; }
.wgfba-banner__text .en { font-style: italic; font-size: 0.84rem; color: #b0a080; margin-bottom: 1.4rem; }

/* ============================================
   ABOUT + STATS
   ============================================ */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-text p { color: var(--muted); line-height: 1.85; margin-bottom: 0.5rem; font-size: 0.95rem; }
.about-text .en { font-style: italic; font-size: 0.85rem; color: #b0a080; margin-bottom: 1.5rem; }
.about-text h2 { margin-bottom: 1rem; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
.stat-box { background: var(--bg2); padding: 2rem; text-align: center; }
.stat-box__num { font-family: 'Playfair Display', serif; font-size: 2.6rem; font-weight: 900; color: var(--amber); display: block; margin-bottom: 0.25rem; }
.stat-box__label { font-size: 0.78rem; color: var(--muted); font-weight: 500; }

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter { text-align: center; padding: 4.5rem 2rem; background: var(--bg2); border-top: 1px solid var(--border); }
.newsletter h2 { margin-bottom: 0.5rem; }
.newsletter p { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.3rem; }
.newsletter .en { font-style: italic; font-size: 0.82rem; color: #b0a080; margin-bottom: 1.8rem; }
.newsletter__form { display: flex; max-width: 420px; margin: 0 auto; }
.newsletter__input {
  flex: 1; background: var(--bg);
  border: 2px solid var(--border); border-right: none;
  color: var(--text); padding: 0.8rem 1rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; outline: none;
}
.newsletter__input:focus { border-color: var(--amber); }
.newsletter__input::placeholder { color: var(--muted); }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--foam); padding: 2.5rem 2rem; border-top: 1px solid var(--border); }
.site-footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.2rem; margin-bottom: 1.5rem; }
.site-footer__logo { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--amber-p); }
.site-footer__links { display: flex; gap: 1.8rem; }
.site-footer__links a { color: rgba(255,255,255,0.6); font-size: 0.78rem; letter-spacing: 0.04em; transition: color 0.2s; }
.site-footer__links a:hover { color: var(--amber-p); }
.site-footer__copy { color: rgba(255,255,255,0.4); font-size: 0.72rem; text-align: center; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.site-footer__copy a { color: var(--amber-p); }

/* ============================================
   ARCHIVIO BIRRE
   ============================================ */
.archive-header { padding: 7rem 2rem 2.5rem; background: var(--bg2); border-bottom: 1px solid var(--border); }
.archive-header h1 { margin-bottom: 0.4rem; }
.archive-header p { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.2rem; }
.search-bar { display: flex; max-width: 460px; }
.search-bar input {
  flex: 1; background: var(--bg);
  border: 2px solid var(--border); border-right: none;
  color: var(--text); padding: 0.75rem 1rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.88rem; outline: none;
}
.search-bar input:focus { border-color: var(--amber); }
.search-bar input::placeholder { color: var(--muted); }
.results-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.8rem 2rem; border-bottom: 1px solid var(--border);
  background: var(--bg); gap: 1rem; flex-wrap: wrap;
}
.results-count { font-family: 'DM Mono', monospace; font-size: 0.72rem; color: var(--muted); }
.results-count strong { color: var(--amber); }
.sort-select {
  background: var(--bg); border: 1px solid var(--border);
  color: var(--text); padding: 0.4rem 0.8rem;
  font-family: 'DM Mono', monospace; font-size: 0.72rem; outline: none; cursor: pointer;
}
.active-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.active-tag {
  background: rgba(184,114,10,0.08); color: var(--amber);
  border: 1px solid rgba(184,114,10,0.25);
  padding: 0.2rem 0.6rem; font-family: 'DM Mono', monospace;
  font-size: 0.62rem; cursor: pointer; transition: background 0.2s;
}
.active-tag:hover { background: rgba(184,114,10,0.15); }
.archive-layout { display: grid; grid-template-columns: 220px 1fr; min-height: 70vh; }
.filters-sidebar {
  background: var(--bg2); border-right: 1px solid var(--border);
  padding: 1.8rem 1.2rem; position: sticky; top: 64px;
  height: calc(100vh - 64px); overflow-y: auto;
}
.filter-group { margin-bottom: 1.6rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--border); }
.filter-group:last-of-type { border-bottom: none; }
.filter-group__label {
  font-family: 'DM Mono', monospace; font-size: 0.65rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--green); display: block; margin-bottom: 0.8rem; font-weight: 600;
}
.filter-option { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; padding: 0.3rem 0; }
.filter-option__check {
  width: 14px; height: 14px; border: 2px solid var(--border);
  background: var(--bg); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; font-size: 9px; color: #fff;
}
.filter-option__check.is-checked { background: var(--amber); border-color: var(--amber); }
.filter-option__label { font-size: 0.82rem; color: var(--muted); transition: color 0.2s; }
.filter-option:hover .filter-option__label { color: var(--foam); }
.filter-option__count { font-family: 'DM Mono', monospace; font-size: 0.65rem; color: var(--border); margin-left: auto; }
.filter-abv-btn {
  display: block; width: 100%; background: var(--bg);
  border: 1px solid var(--border); color: var(--muted);
  padding: 0.38rem 0.7rem; font-family: 'DM Mono', monospace;
  font-size: 0.72rem; cursor: pointer; text-align: left;
  margin-bottom: 0.4rem; transition: all 0.2s;
}
.filter-abv-btn:hover,
.filter-abv-btn.is-active { background: rgba(184,114,10,0.08); border-color: rgba(184,114,10,0.3); color: var(--amber); }
.btn-reset-filters {
  width: 100%; background: transparent; border: 1px solid var(--border);
  color: var(--muted); padding: 0.5rem;
  font-family: 'DM Mono', monospace; font-size: 0.65rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; transition: all 0.2s; margin-top: 0.5rem;
}
.btn-reset-filters:hover { border-color: var(--amber); color: var(--amber); }
.archive-results { padding: 1.8rem 2rem; }
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.page-num {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: var(--bg); border: 1px solid var(--border);
  font-family: 'DM Mono', monospace; font-size: 0.75rem; color: var(--muted);
  cursor: pointer; transition: all 0.2s;
}
.page-num:hover,
.page-num.is-active { background: var(--amber); border-color: var(--amber); color: #fff; }

/* ============================================
   SCHEDA SINGOLA BIRRA
   ============================================ */
.single-birra { padding-top: 64px; }
.single-birra__hero {
  display: grid; grid-template-columns: 360px 1fr; gap: 0;
  min-height: 500px; border-bottom: 1px solid var(--border);
}
.single-birra__gallery {
  background: var(--bg2); border-right: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  padding: 3rem; font-size: 8rem;
}
.single-birra__gallery img { width: 100%; height: 100%; object-fit: cover; max-height: 480px; }
.single-birra__info { padding: 3rem; background: var(--bg); }
.single-birra__breadcrumb {
  font-family: 'DM Mono', monospace; font-size: 0.68rem;
  color: var(--muted); letter-spacing: 0.08em;
  margin-bottom: 1.5rem; display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap;
}
.single-birra__breadcrumb a { color: var(--amber); }
.single-birra__breadcrumb span { color: var(--border); }
.single-birra__brew {
  font-family: 'DM Mono', monospace; font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 0.5rem; font-weight: 600;
}
.single-birra__brew a { color: var(--amber); border-bottom: 1px solid rgba(184,114,10,0.3); }
.single-birra__brew a:hover { border-bottom-color: var(--amber); }
.single-birra__title { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 900; color: var(--foam); margin-bottom: 0.4rem; line-height: 1.05; }
.single-birra__style { font-size: 0.88rem; color: var(--muted); margin-bottom: 1.5rem; font-weight: 500; }
.single-birra__specs {
  display: flex; gap: 1px; background: var(--border);
  margin-bottom: 1.5rem; max-width: 400px;
}
.spec-box { background: var(--bg2); padding: 1.2rem 1.5rem; text-align: center; flex: 1; }
.spec-box__val { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--amber); display: block; }
.spec-box__label { font-family: 'DM Mono', monospace; font-size: 0.62rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.single-birra__badges { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.single-birra__desc { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.single-birra__desc p { color: var(--muted); line-height: 1.85; font-size: 0.93rem; margin-bottom: 0.8rem; }

/* ============================================
   BIRRIFICIO
   ============================================ */
.birrificio-hero {
  display: grid; grid-template-columns: 280px 1fr; gap: 0;
  min-height: 380px; border-bottom: 1px solid var(--border); padding-top: 64px;
}
.birrificio-hero__logo {
  background: var(--bg2); border-right: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  padding: 3rem; font-size: 6rem;
}
.birrificio-hero__logo img { max-width: 180px; max-height: 180px; object-fit: contain; }
.birrificio-hero__info { padding: 3rem; background: var(--bg); }
.birrificio-hero__paese {
  font-family: 'DM Mono', monospace; font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green); margin-bottom: 0.5rem; font-weight: 600;
}
.birrificio-hero__name {
  font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; color: var(--foam); line-height: 1.05; margin-bottom: 1rem;
}
.birrificio-specs { display: flex; gap: 1px; background: var(--border); margin-bottom: 2rem; max-width: 480px; }
.birrificio-specs .spec-box { flex: 1; }
.birrificio-desc p { color: var(--muted); line-height: 1.85; margin-bottom: 0.8rem; font-size: 0.92rem; }
.birrificio-links { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.8rem; }

.birrifici-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; background: var(--border); }
.birrificio-card {
  background: var(--bg); padding: 1.4rem; cursor: pointer;
  position: relative; overflow: hidden; transition: background 0.25s; display: flex; flex-direction: column;
}
.birrificio-card:hover { background: var(--bg2); }
.birrificio-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; background: var(--amber); transition: width 0.38s; }
.birrificio-card:hover::after { width: 100%; }
.birrificio-card__logo { width: 100%; height: 120px; display: flex; align-items: center; justify-content: center; background: var(--bg2); margin-bottom: 1rem; font-size: 3rem; }
.birrificio-card__logo img { max-width: 100px; max-height: 80px; object-fit: contain; }
.birrificio-card__paese { font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin-bottom: 0.3rem; font-weight: 600; }
.birrificio-card__name { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--foam); line-height: 1.2; margin-bottom: 0.2rem; flex: 1; }
.birrificio-card__anno { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.7rem; }
.birrificio-card__meta { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 0.55rem; }
.birrificio-card__count { font-family: 'DM Mono', monospace; font-size: 0.72rem; color: var(--amber); font-weight: 500; }

.premi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1px; background: var(--border); }
.premio-item { background: var(--bg); padding: 1.2rem 1.4rem; display: flex; gap: 1rem; align-items: flex-start; }
.premio-item__medal { font-size: 1.8rem; flex-shrink: 0; }
.premio-item__tipo { font-family: 'DM Mono', monospace; font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.3rem; }
.premio-item__birra { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--foam); margin-bottom: 0.2rem; }
.premio-item__birra a { color: inherit; transition: color 0.2s; }
.premio-item__birra a:hover { color: var(--amber); }
.premio-item__cat { font-size: 0.78rem; color: var(--muted); }

/* ============================================
   ABOUT — BIO layout foto + testo
   ============================================ */
.about-bio-layout { display: grid; grid-template-columns: 1fr 280px; gap: 3rem; align-items: start; max-width: 960px; }
.about-bio-text p { color: var(--muted); line-height: 1.85; margin-bottom: 0.9rem; font-size: 0.93rem; }
.about-bio-text strong { color: var(--foam); font-weight: 600; }
.about-bio-photo { position: relative; border: 1px solid var(--border); box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.about-bio-photo img { width: 100%; height: auto; display: block; object-fit: cover; max-height: 400px; }
.about-bio-photo__caption { background: var(--amber); padding: 0.6rem 1rem; font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; text-align: center; }
.about-bio-photo::before { content: ''; position: absolute; top: 0; left: -4px; width: 3px; height: 100%; background: var(--green); }

/* ============================================
   CONTATTI
   ============================================ */
.contact-page { padding-top: 64px; }
.contact-layout { display: grid; grid-template-columns: 1fr 420px; gap: 0; min-height: 80vh; }
.contact-info { padding: 5rem 3rem 5rem 2rem; background: var(--bg2); border-right: 1px solid var(--border); }
.contact-info h1 { margin-bottom: 0.5rem; }
.contact-info p { color: var(--muted); font-size: 0.9rem; line-height: 1.8; margin-bottom: 2.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-item__icon { font-size: 1.2rem; margin-top: 0.1rem; }
.contact-item__label { font-family: 'DM Mono', monospace; font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin-bottom: 0.2rem; font-weight: 600; }
.contact-item__val { font-size: 0.9rem; color: var(--text); }
.contact-item__val a { color: var(--amber); transition: color 0.2s; }
.contact-item__val a:hover { color: var(--amber-l); }
.contact-form-area { padding: 5rem 2rem; background: var(--bg); }
.contact-form-area h2 { margin-bottom: 2rem; }
.form-group { margin-bottom: 1.2rem; }
.form-label { display: block; font-family: 'DM Mono', monospace; font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); margin-bottom: 0.4rem; font-weight: 600; }
.form-input, .form-textarea, .form-select {
  width: 100%; background: var(--bg2); border: 2px solid var(--border);
  color: var(--text); padding: 0.75rem 1rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; outline: none; transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--amber); }
.form-textarea { min-height: 140px; resize: vertical; }

/* ============================================
   ANIMAZIONI
   ============================================ */
@keyframes liquidWave { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes bubbleUp { 0% { transform: translateY(100%) scale(0); opacity: 0; } 20% { opacity: 0.4; } 100% { transform: translateY(-200%) scale(1.3); opacity: 0; } }
@keyframes slowSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-up { animation: fadeUp 0.7s ease both; }
.animate-fade-up--d1 { animation-delay: 0.1s; }
.animate-fade-up--d2 { animation-delay: 0.2s; }
.animate-fade-up--d3 { animation-delay: 0.35s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about-layout, .single-birra__hero, .contact-layout, .birrificio-hero { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .archive-layout { grid-template-columns: 1fr; }
  .filters-sidebar { position: static; height: auto; }
}
@media (max-width: 768px) {
  .site-nav__links { display: none; }
  .nav-toggle { display: flex; }
  .site-nav__links.is-open {
    display: flex; flex-direction: column;
    position: fixed; top: 57px; left: 0; right: 0;
    background: rgba(255,255,255,0.98); padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border); gap: 1rem; z-index: 199;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }
  .beer-grid { grid-template-columns: 1fr 1fr; }
  .cat-grid  { grid-template-columns: repeat(3, 1fr); }
  .wgfba-banner__inner { flex-direction: column; gap: 2rem; text-align: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .single-birra__specs { grid-template-columns: 1fr 1fr; }
  .about-bio-layout { grid-template-columns: 1fr; }
  h1 { font-size: 2.2rem; }
}
@media (max-width: 480px) {
  .beer-grid { grid-template-columns: 1fr; }
  .cat-grid  { grid-template-columns: repeat(2, 1fr); }
  .hero__ctas { flex-direction: column; }
  .newsletter__form { flex-direction: column; }
  .newsletter__form .btn-primary { width: 100%; text-align: center; }
  .single-birra__hero { grid-template-columns: 1fr; }
  .single-birra__gallery { height: 280px; }
}
