/* =============================================
   IL POLENTIERE — Stile principale
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

/* === VARIABILI === */
:root {
  --brown-dark:    #3D2008;
  --brown-primary: #5C3317;
  --brown-medium:  #8B5E3C;
  --brown-light:   #B8895A;
  --gold:          #C8860A;
  --gold-light:    #E8C46A;
  --gold-pale:     #F7E9BB;
  --cream:         #FBF5E6;
  --cream-dark:    #F0E2C4;
  --text-dark:     #2D1B00;
  --text-medium:   #6B4C2A;
  --white:         #FFFDF7;
  --shadow-sm:     0 2px 8px rgba(61,32,8,0.12);
  --shadow-md:     0 6px 24px rgba(61,32,8,0.18);
  --shadow-lg:     0 12px 40px rgba(61,32,8,0.22);
  --radius:        10px;
  --radius-lg:     18px;
  --font-head:     'Playfair Display', Georgia, serif;
  --font-body:     'Lato', system-ui, sans-serif;
  --transition:    0.25s ease;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* === TIPOGRAFIA === */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--brown-dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--text-medium); }

/* === UTILITY === */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.text-center { text-align: center; }
.section { padding: 5rem 0; }
.section-alt { background-color: var(--cream-dark); }

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  text-align: center;
  color: var(--text-medium);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}
.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0.75rem auto 1.5rem;
  border-radius: 2px;
}

/* === BOTTONI === */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  letter-spacing: 0.03em;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--brown-primary);
  border-color: var(--brown-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--brown-primary);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--brown-primary);
  color: var(--white);
  border-color: var(--brown-primary);
}
.btn-dark:hover {
  background: var(--brown-dark);
  border-color: var(--brown-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--brown-dark);
  box-shadow: var(--shadow-md);
  transition: background var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.logo-img-clip {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  transform: scale(1.85);
  transform-origin: 50% 48%;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-name {
  font-family: 'Amatic SC', cursive;
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--white);
  letter-spacing: 0.08em;
}
.logo-tagline {
  font-family: 'Amatic SC', cursive;
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--gold-light);
  letter-spacing: 0.1em;
}

.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.main-nav a {
  color: rgba(255,253,247,0.85);
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  font-size: 0.93rem;
  font-weight: 400;
  transition: all var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--gold-light);
  background: rgba(255,255,255,0.07);
}
.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  margin-left: 0.5rem;
  padding: 0.5rem 1.2rem !important;
}
.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--brown-dark) !important;
}

/* === HAMBURGER === */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(20,8,0,0.72) 0%, rgba(40,16,2,0.50) 50%, rgba(20,8,0,0.65) 100%),
    url('/images/FullSizeRender-_1_.png');
  background-color: var(--brown-dark);
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  padding: 8rem 1.25rem 5rem;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(200,134,10,0.18) 0%, transparent 60%);
}
.hero-content { position: relative; z-index: 1; max-width: 750px; }
.hero-badge {
  display: inline-block;
  background: rgba(232,196,106,0.2);
  border: 1px solid var(--gold-light);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero-tagline {
  font-family: var(--font-head);
  font-style: italic;
  color: var(--gold-light);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  margin-bottom: 1.25rem;
}
.hero p {
  color: rgba(255,253,247,0.82);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-info {
  margin-top: 3rem;
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-info-item {
  color: rgba(255,253,247,0.7);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-info-item .icon { font-size: 1rem; }

/* === HIGHLIGHTS (Home) === */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.highlight-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--gold);
}
.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.highlight-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.highlight-card h3 { margin-bottom: 0.5rem; }
.highlight-card p { font-size: 0.93rem; }

/* === RATINGS (Home) === */
.ratings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.rating-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.rating-platform { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-medium); margin-bottom: 0.5rem; }
.rating-score { font-family: var(--font-head); font-size: 3rem; font-weight: 700; color: var(--gold); line-height: 1; }
.rating-max { font-size: 0.85rem; color: var(--text-medium); }
.rating-stars { font-size: 1.1rem; margin: 0.4rem 0; letter-spacing: 2px; }
.rating-count { font-size: 0.82rem; color: var(--text-medium); }
.rating-badge { margin-top: 0.6rem; font-size: 0.78rem; background: var(--gold-pale); color: var(--gold); padding: 0.2rem 0.7rem; border-radius: 50px; display: inline-block; font-weight: 700; }

/* === REVIEWS STRIP === */
.reviews-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
}
.review-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 0.5rem; }
.review-text { font-size: 0.92rem; font-style: italic; color: var(--text-medium); margin-bottom: 0.75rem; }
.review-author { font-size: 0.82rem; font-weight: 700; color: var(--brown-medium); }

/* === MENU PAGE === */
.menu-intro {
  background: var(--brown-dark);
  color: var(--white);
  text-align: center;
  padding: 8rem 1.25rem 4rem;
}
.menu-intro h1 { color: var(--white); }
.menu-intro p { color: rgba(255,253,247,0.8); max-width: 600px; margin: 1rem auto 0; }

.menu-section { padding: 4rem 0; }
.menu-section:nth-child(even) { background: var(--cream-dark); }

.menu-category-title {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--brown-dark);
  margin-bottom: 0.25rem;
}
.menu-category-sub {
  color: var(--text-medium);
  font-size: 0.92rem;
  margin-bottom: 2rem;
}

.condimenti-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.condimento-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}
.condimento-item:hover { transform: translateX(4px); }
.condimento-icon { font-size: 1.4rem; flex-shrink: 0; }
.condimento-name { font-weight: 700; font-size: 0.92rem; color: var(--text-dark); }
.condimento-tag { font-size: 0.72rem; color: var(--text-medium); }

.tris-box {
  background: linear-gradient(135deg, var(--brown-primary), var(--brown-dark));
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--white);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.tris-box h3 { color: var(--gold-light); font-size: 2rem; margin-bottom: 0.5rem; }
.tris-box p { color: rgba(255,253,247,0.85); }
.tris-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.polenta-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.polenta-type {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 5px solid var(--gold);
}
.polenta-type.taragna { border-color: var(--brown-primary); }
.polenta-type .icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.polenta-type h3 { margin-bottom: 0.5rem; }

.dolci-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
}
.dolce-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.dolce-icon { font-size: 1.8rem; }
.dolce-name { font-weight: 700; color: var(--text-dark); }
.dolce-note { font-size: 0.8rem; color: var(--text-medium); }

.prodotti-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.prodotto-tag {
  background: var(--cream-dark);
  border: 1px solid var(--brown-light);
  color: var(--brown-primary);
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
}

.menu-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-top: 1rem;
}
.menu-note .note-icon { font-size: 1.4rem; flex-shrink: 0; }
.menu-note p { font-size: 0.9rem; margin: 0; }

/* === CHI SIAMO === */
.about-hero {
  background: linear-gradient(160deg, var(--brown-dark), var(--brown-primary));
  color: var(--white);
  text-align: center;
  padding: 8rem 1.25rem 4rem;
}
.about-hero h1 { color: var(--white); }
.about-hero p { color: rgba(255,253,247,0.8); max-width: 600px; margin: 1rem auto 0; }

.storia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.storia-text h2 { margin-bottom: 1rem; }
.storia-text p { margin-bottom: 1rem; }
.storia-visual {
  background: linear-gradient(135deg, var(--brown-primary), var(--brown-dark));
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.storia-visual .big-icon { font-size: 5rem; margin-bottom: 1rem; }
.storia-visual h3 { color: var(--gold-light); font-size: 1.4rem; margin-bottom: 0.5rem; }
.storia-visual p { color: rgba(255,253,247,0.8); font-size: 0.92rem; }

.valori-grid {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.valore-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  box-shadow: var(--shadow-sm);
}
.valore-icon { font-size: 2.2rem; margin-bottom: 0.75rem; }
.valore-item h4 { color: var(--brown-dark); font-size: 1rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.team-avatar {
  background: linear-gradient(135deg, var(--gold), var(--brown-primary));
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.team-info { padding: 1.25rem; }
.team-info h4 { color: var(--brown-dark); margin-bottom: 0.2rem; }
.team-role { font-size: 0.82rem; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.team-desc { font-size: 0.88rem; color: var(--text-medium); margin-top: 0.5rem; }

.tech-box {
  background: linear-gradient(135deg, var(--brown-dark), #1a0a00);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.tech-box h2 { color: var(--gold-light); margin-bottom: 0.5rem; }
.tech-box .divider { background: var(--gold); margin: 0.75rem 0 1.5rem; }
.tech-box p { color: rgba(255,253,247,0.8); margin-bottom: 1.5rem; }
.tech-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.tech-item {
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,0.1);
}
.tech-item .icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.tech-item h4 { color: var(--gold-light); margin-bottom: 0.25rem; }
.tech-item p { color: rgba(255,253,247,0.7); font-size: 0.85rem; }

/* === ORDINA === */
.ordina-hero {
  background: linear-gradient(160deg, var(--brown-dark), var(--gold));
  color: var(--white);
  text-align: center;
  padding: 8rem 1.25rem 4rem;
}
.ordina-hero h1 { color: var(--white); }
.ordina-hero p { color: rgba(255,253,247,0.85); max-width: 550px; margin: 1rem auto 0; }

.order-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
  align-items: flex-start;
}
.order-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.order-sidebar {
  position: sticky;
  top: 90px;
}
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.25rem;
}
.sidebar-card h4 { color: var(--brown-dark); margin-bottom: 0.75rem; border-bottom: 2px solid var(--gold-pale); padding-bottom: 0.5rem; }
.sidebar-info-item { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.88rem; color: var(--text-medium); margin-bottom: 0.5rem; }
.sidebar-info-item .icon { font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem; }

/* Form elements */
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--brown-dark);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.form-group label .required { color: var(--gold); }
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--text-dark);
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,134,10,0.12);
  background: var(--white);
}
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0l6 8 6-8z' fill='%235C3317'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.polenta-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.choice-btn {
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--cream);
}
.choice-btn input[type="radio"] { display: none; }
.choice-btn:has(input:checked),
.choice-btn.selected {
  border-color: var(--gold);
  background: var(--gold-pale);
}
.choice-btn .icon { font-size: 1.6rem; display: block; margin-bottom: 0.4rem; }
.choice-btn .name { font-weight: 700; font-size: 0.88rem; color: var(--brown-dark); }
.choice-btn .desc { font-size: 0.78rem; color: var(--text-medium); }

.condimenti-choices {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.5rem;
}
.condimento-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.85rem;
  background: var(--cream);
}
.condimento-check:hover { border-color: var(--gold); }
.condimento-check input { width: 16px; height: 16px; accent-color: var(--gold); cursor: pointer; flex-shrink: 0; }
.condimento-check span { color: var(--text-dark); }

.form-section-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--brown-dark);
  margin-bottom: 1rem;
  padding-top: 0.5rem;
  border-top: 2px solid var(--cream-dark);
}
.form-section-title:first-child { border-top: none; padding-top: 0; }

.tris-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--gold-pale);
  border: 2px solid var(--gold-light);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--brown-dark);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.tris-toggle input { width: 18px; height: 18px; accent-color: var(--gold); cursor: pointer; }

.orario-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0.5rem; }
.orario-slot {
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 0.6rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--cream);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
}
.orario-slot input { display: none; }
.orario-slot:has(input:checked),
.orario-slot.selected {
  border-color: var(--gold);
  background: var(--gold-pale);
  color: var(--brown-primary);
}
.orario-slot:hover { border-color: var(--brown-light); }

.submit-area { margin-top: 2rem; text-align: center; }
.btn-submit {
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 1rem 3rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--transition);
  width: 100%;
  letter-spacing: 0.04em;
}
.btn-submit:hover {
  background: var(--brown-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.submit-note { font-size: 0.8rem; color: var(--text-medium); margin-top: 0.75rem; }

/* Conferma ordine */
.order-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}
.order-success .success-icon { font-size: 4rem; margin-bottom: 1rem; }
.order-success h3 { color: var(--brown-dark); margin-bottom: 0.75rem; }
.order-success p { color: var(--text-medium); }

/* === CONTATTI === */
.contatti-hero {
  background: linear-gradient(160deg, var(--brown-dark), var(--brown-primary));
  color: var(--white);
  text-align: center;
  padding: 8rem 1.25rem 4rem;
}
.contatti-hero h1 { color: var(--white); }
.contatti-hero p { color: rgba(255,253,247,0.8); max-width: 560px; margin: 1rem auto 0; }

.contatti-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-start;
}
.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}
.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  color: var(--brown-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.info-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
  font-size: 0.9rem;
  color: var(--text-medium);
}
.info-row .icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }
.info-row a:hover { color: var(--gold); }
.info-row strong { color: var(--text-dark); }

.orari-table { width: 100%; }
.orari-table tr { border-bottom: 1px solid var(--cream-dark); }
.orari-table tr:last-child { border-bottom: none; }
.orari-table td { padding: 0.5rem 0; font-size: 0.9rem; }
.orari-table td:first-child { color: var(--text-dark); font-weight: 700; width: 45%; }
.orari-table td:last-child { color: var(--text-medium); }
.orari-table .closed td { color: var(--brown-light); }
.orari-table .closed td:first-child { color: var(--brown-light); font-weight: 400; }

.social-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cream-dark);
  border: 1.5px solid var(--brown-light);
  color: var(--brown-primary);
  padding: 0.6rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--brown-primary);
  border-color: var(--brown-primary);
  color: var(--white);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
  background: var(--cream-dark);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cream-dark), var(--gold-pale));
  text-align: center;
  padding: 2rem;
}
.map-placeholder .icon { font-size: 3rem; margin-bottom: 1rem; }
.map-placeholder h4 { color: var(--brown-dark); margin-bottom: 0.5rem; }
.map-placeholder p { font-size: 0.88rem; color: var(--text-medium); margin-bottom: 1rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}
.service-item {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-dark);
  font-weight: 700;
}
.service-item .icon { font-size: 1.1rem; }

/* === FOOTER === */
.site-footer {
  background: var(--brown-dark);
  color: rgba(255,253,247,0.75);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand .logo { color: var(--white); margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.88rem; margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  font-size: 1.2rem;
  transition: background var(--transition);
  color: var(--white);
}
.footer-social a:hover { background: var(--gold); }
.footer-social a img { display: block; }

.footer-col h4 {
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-family: var(--font-body);
}
.footer-links { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-links a { font-size: 0.88rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold-light); }
.footer-contact-item { font-size: 0.85rem; margin-bottom: 0.5rem; display: flex; gap: 0.4rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom a { color: var(--gold-light); }

/* === BANNER CTA === */
.cta-banner {
  background: linear-gradient(135deg, var(--gold), var(--brown-primary));
  padding: 4rem 1.25rem;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,253,247,0.85); margin-bottom: 2rem; }
.cta-banner-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .storia-grid { grid-template-columns: 1fr; }
  .order-layout { grid-template-columns: 1fr; }
  .order-sidebar { position: static; }
  .contatti-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .main-nav { display: none; flex-direction: column; position: fixed; top: 70px; left: 0; right: 0; background: var(--brown-dark); padding: 1rem; gap: 0; box-shadow: var(--shadow-md); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.85rem 1rem; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-cta { margin-left: 0; border-radius: var(--radius) !important; margin-top: 0.5rem; }
  .nav-toggle { display: flex; }
  .hero {
    background-attachment: scroll;
    background-position: 20% center;
    background-size: cover;
  }
  .hero-buttons { flex-direction: column; align-items: center; }
  .polenta-types { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .polenta-choice { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-info { gap: 1rem; }
}
