/* ============================================
   Origine Cucina Condivisa — Michelin Aesthetic
   ============================================ */

:root {
  --bg-deep: #0a0908;
  --bg-card: #141210;
  --bg-elevated: #1c1916;
  --text-primary: #f5f0e8;
  --text-muted: #a89f92;
  --accent: #c9a962;
  --accent-light: #e8d5a3;
  --accent-dim: rgba(201, 169, 98, 0.15);
  --border: rgba(201, 169, 98, 0.2);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 80px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

/* ---- Loader ---- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
}

.loader-logo {
  height: 150px;
  width: auto;
  max-width: min(200px, 55vw);
  margin: 0 auto 2rem;
  display: block;
  animation: pulse 2s ease-in-out infinite;
}

.loader-bar {
  width: 120px;
  height: 1px;
  background: var(--border);
  margin: 0 auto;
  overflow: hidden;
}

.loader-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  animation: loadBar 1.2s var(--ease-out-expo) forwards;
}

@keyframes loadBar {
  to { width: 100%; }
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1); }
}

/* ---- Cursor glow ---- */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  opacity: 0;
}

body:hover .cursor-glow {
  opacity: 1;
}

/* ---- Typography ---- */
.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.section-title em {
  font-style: italic;
  color: var(--accent-light);
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 540px;
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background 0.5s var(--ease-out-expo), backdrop-filter 0.5s;
}

.header.scrolled {
  background: rgba(10, 9, 8, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo img {
  height: 58px;
  width: auto;
  display: block;
  border-radius: 3px;
  transition: transform 0.4s var(--ease-out-expo);
}

.nav-logo:hover img {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out-expo);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.6rem 1.4rem !important;
  border: 1px solid var(--accent) !important;
  color: var(--accent) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--accent);
  color: var(--bg-deep) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text-primary);
  transition: transform 0.4s var(--ease-out-expo), opacity 0.3s;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-deep);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201, 169, 98, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(245, 240, 232, 0.3);
}

.btn-ghost:hover {
  border-color: var(--text-primary);
  background: rgba(245, 240, 232, 0.05);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--bg-deep);
}

.btn-full {
  width: 100%;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-bottom: 6.5rem;
  box-sizing: border-box;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 20s var(--ease-in-out) infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1.15); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 9, 8, 0.4) 0%,
    rgba(10, 9, 8, 0.6) 50%,
    rgba(10, 9, 8, 0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: var(--header-h);
  padding-bottom: 2rem;
  max-width: 100%;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.hero-title .line {
  display: block;
}

.hero-title .accent {
  font-style: italic;
  color: var(--accent-light);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 1;
  pointer-events: none;
}

.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---- Sections ---- */
.section {
  padding: 8rem 0;
  position: relative;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* ---- Filosofia ---- */
.filosofia {
  background: var(--bg-deep);
}

.filosofia p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.filosofia strong {
  color: var(--accent-light);
  font-weight: 500;
}

.stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--accent);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.5rem;
  display: block;
}

.image-stack {
  position: relative;
}

.stack-img {
  border-radius: 2px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.stack-1 {
  width: 85%;
  position: relative;
  z-index: 1;
}

.stack-2 {
  position: absolute;
  bottom: -2rem;
  right: 0;
  width: 60%;
  z-index: 2;
  border: 4px solid var(--bg-deep);
}

.pull-quote {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--accent-light);
  margin-top: 3rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--accent);
}

/* ---- Davis e Djulya ---- */
.team {
  background: var(--bg-card);
  overflow: hidden;
  position: relative;
}

.team-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: clamp(12rem, 25vw, 22rem);
  font-weight: 700;
  color: rgba(201, 169, 98, 0.03);
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}

.team-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.team-intro {
  margin-left: auto;
  margin-right: auto;
}

.team-gallery {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

.team-card {
  margin: 0;
}

.team-card-frame {
  overflow: hidden;
  border: 1px solid var(--border);
}

.team-card-frame img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  filter: grayscale(25%);
  transition: transform 0.8s var(--ease-out-expo), filter 0.8s;
}

.team-card-featured .team-card-frame img {
  aspect-ratio: 3/4;
}

.team-card:hover .team-card-frame img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.team-card figcaption {
  margin-top: 1rem;
  text-align: center;
}

.team-card figcaption strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.team-card figcaption span {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.team-story {
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.team-block h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.team-block p {
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  line-height: 1.8;
}

.team-highlights {
  list-style: none;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.team-highlights li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.team-highlights li::before {
  content: '—';
  color: var(--accent);
}

.team-cta {
  text-align: center;
}

/* ---- Menu ---- */
.menu {
  background: var(--bg-deep);
}

.menu-header {
  text-align: center;
  margin-bottom: 3rem;
}

.menu-header .section-lead,
.menu-intro {
  margin: 0 auto;
  max-width: 680px;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.85;
  font-style: italic;
}

.menu-intro {
  margin-top: 1rem;
}

.menu-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.menu-tab {
  padding: 1rem 2rem;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
}

.menu-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out-expo);
}

.menu-tab.active,
.menu-tab:hover {
  color: var(--accent);
}

.menu-tab.active::after {
  transform: scaleX(1);
}

.menu-panel {
  display: none;
  animation: fadeUp 0.6s var(--ease-out-expo);
}

.menu-panel.active {
  display: block;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.menu-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.menu-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem;
  position: relative;
  transition: transform 0.5s var(--ease-out-expo), border-color 0.5s, box-shadow 0.5s;
}

.menu-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.menu-card.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(201, 169, 98, 0.08) 100%);
}

.menu-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: var(--accent);
  padding: 0.3rem 0.8rem;
}

.menu-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
}

.menu-card-header h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
}

.price {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--accent);
}

.menu-card-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.menu-items {
  list-style: none;
}

.menu-items li {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
  gap: 0.25rem;
}

.menu-items li span:first-child {
  font-weight: 500;
  font-size: 0.9rem;
}

.menu-items li span:last-child {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.menu-note {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--accent);
  font-style: italic;
}

/* Menu list */
.menu-list {
  max-width: 760px;
  margin: 0 auto;
}

.menu-category {
  margin-bottom: 3rem;
}

.menu-category h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.menu-row {
  display: flex;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.menu-row .dots {
  flex: 1;
  border-bottom: 1px dotted var(--border);
  margin: 0 1rem;
  min-width: 2rem;
}

.menu-row span:last-child {
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

/* Wine */
.wine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.wine-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.5s var(--ease-out-expo);
}

.wine-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}

.wine-card h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.wine-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.wine-price {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--accent);
}

/* Tapas menu dishes */
.menu-list-wide {
  max-width: 860px;
}

.menu-dish {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}

.menu-dish-head h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.menu-dish-ing {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0.6rem 0 0.4rem;
  line-height: 1.7;
}

.menu-dish-note {
  color: var(--accent-light);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
}

.menu-dish .tag {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border);
  padding: 0.2rem 0.55rem;
}

.menu-dish .tag.vegan {
  color: #7a9a72;
  border-color: rgba(122, 154, 114, 0.4);
}

.menu-section-sub {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--accent);
  text-align: center;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.menu-footer {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.menu-footer p + p {
  margin-top: 0.75rem;
}

.menu-allergy {
  font-style: italic;
  color: var(--accent-light);
}

.menu-allergy strong {
  color: var(--accent);
  font-style: normal;
}

/* ---- Esperienza ---- */
.esperienza {
  background: var(--bg-card);
}

.esperienza .section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.esperienza .section-label {
  display: block;
  text-align: center;
}

.sale-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.sale-card {
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.6s var(--ease-out-expo);
}

.sale-card:hover {
  transform: translateY(-8px);
}

.sale-card-img {
  overflow: hidden;
  aspect-ratio: 16/10;
}

.sale-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.sale-card:hover .sale-card-img img {
  transform: scale(1.06);
}

.sale-card-body {
  padding: 2rem;
}

.sale-card-body h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.sale-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---- Gallery ---- */
.galleria {
  padding-bottom: 4rem;
}

.galleria .section-label,
.galleria .section-title {
  text-align: center;
}

.galleria .section-title {
  margin-bottom: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 4px;
  width: 100%;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-tall {
  grid-row: span 2;
}

.gallery-wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 8, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--accent-light);
  transform: translateY(10px);
  transition: transform 0.5s var(--ease-out-expo);
}

.gallery-item:hover .gallery-overlay span {
  transform: translateY(0);
}

.gallery-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ---- Prenotazione ---- */
.prenota {
  position: relative;
  background: var(--bg-deep);
  overflow: hidden;
}

.prenota-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, var(--accent-dim) 0%, transparent 60%);
  pointer-events: none;
}

.prenota-cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.prenota-cta-inner .section-label {
  display: block;
}

.prenota-cta-inner .section-lead {
  margin: 0 auto 2.5rem;
}

.btn-prenota {
  padding: 1.25rem 3rem;
  font-size: 0.8rem;
}

.prenota-cta-note {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.prenota-cta-note a {
  color: var(--accent-light);
  transition: color 0.3s;
}

.prenota-cta-note a:hover {
  color: var(--accent);
}

/* ---- Location / Mappa ---- */
.location {
  background: var(--bg-card);
}

.location .section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.location .section-label {
  display: block;
  text-align: center;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.location-info .section-lead {
  margin-bottom: 2rem;
}

.location-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color 0.3s;
}

.location-link:hover {
  color: var(--accent-light);
}

.phone-link {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--accent-light);
  transition: color 0.3s;
}

.phone-link:hover {
  color: var(--accent);
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.location-map {
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-elevated);
}

.location-map-frame {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
  filter: grayscale(30%) contrast(1.05);
}

.location-map-caption {
  display: block;
  padding: 0.85rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  transition: color 0.3s, background 0.3s;
}

.location-map-caption:hover {
  color: var(--accent);
  background: var(--accent-dim);
}

.footer-contact p,
.footer-contact a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0.35rem 0;
  transition: color 0.3s, transform 0.3s;
}

.footer-contact a:hover {
  color: var(--accent-light);
  transform: translateX(4px);
}

.contact-details {
  margin-top: 2.5rem;
}

.contact-item {
  margin-bottom: 1.5rem;
}

.contact-item strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.contact-item p,
.contact-item a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: var(--accent-light);
}

.prenota-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2.5rem;
  position: relative;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeUp 0.5s var(--ease-out-expo);
}

.form-step h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.form-progress {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.3s, transform 0.3s;
}

.progress-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

.form-success {
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  width: 64px;
  height: 64px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  margin: 0 auto 1.5rem;
  animation: successPop 0.6s var(--ease-out-expo);
}

@keyframes successPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.form-success h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.form-success p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.form-success .btn-full {
  margin-bottom: 1rem;
}

/* ---- Footer ---- */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand img {
  width: 160px;
  height: auto;
  display: block;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.footer-links a,
.footer-social a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0.4rem 0;
  transition: color 0.3s, transform 0.3s;
}

.footer-links a:hover,
.footer-social a:hover {
  color: var(--accent-light);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---- Reveal animations ---- */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.reveal {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .menu-cards,
  .wine-grid {
    grid-template-columns: 1fr;
  }

  .sale-cards {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 220px;
  }

  .gallery-tall {
    grid-row: span 1;
  }

  .gallery-wide {
    grid-column: span 2;
  }

  .team-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .team-card-featured {
    grid-column: span 2;
  }

  .team-card-featured .team-card-frame img {
    aspect-ratio: 16/9;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .location-map-frame {
    height: 300px;
  }

  .location-actions {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-deep);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out-expo);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .section {
    padding: 5rem 0;
  }

  .team-gallery {
    grid-template-columns: 1fr;
  }

  .team-card-featured {
    grid-column: span 1;
  }

  .team-card-featured .team-card-frame img,
  .team-card-frame img {
    aspect-ratio: 4/5;
  }

  .stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .menu-tabs {
    flex-direction: column;
    border-bottom: none;
  }

  .menu-tab::after {
    display: none;
  }

  .menu-tab.active {
    border-left: 2px solid var(--accent);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-bottom: 7.5rem;
  }

  .hero-content {
    padding-bottom: 3rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-scroll {
    left: auto;
    right: 1.25rem;
    bottom: 1.25rem;
    transform: none;
  }
}
