/* VERO Cucina e Pizza — elegante tradizione italiana, mobile-first */
:root {
  --cream: #FBF7F0;
  --cream-dark: #F0E8DC;
  --cream-deep: #E6D9C8;
  --terracotta: #B85A2A;
  --terracotta-dark: #8F4320;
  --terracotta-soft: #D4784A;
  --brown: #2F1B12;
  --brown-mid: #4A2E1F;
  --brown-soft: #5C3D2E;
  --ink: #241610;
  --muted: #6E5545;
  --gold: #C9A06C;
  --gold-soft: #E8D0A8;
  --white: #FFFFFF;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 10px 28px rgba(47, 27, 18, 0.10);
  --shadow-soft: 0 4px 14px rgba(47, 27, 18, 0.07);
  --max: 1100px;
  --font: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.175rem;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(201, 160, 108, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(184, 90, 42, 0.05) 0%, transparent 45%);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--terracotta-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--brown); }

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--brown);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.15rem, 5.5vw, 3.25rem); margin: 0 0 0.5em; font-weight: 600; }
h2 { font-size: clamp(1.65rem, 3.8vw, 2.2rem); margin: 0 0 0.5em; }
h3 { font-size: 1.35rem; margin: 0 0 0.4em; font-weight: 600; }

/* Decorative thin rule under section titles */
.section-title,
h2.decorated {
  position: relative;
  padding-bottom: 0.55em;
  margin-bottom: 0.85em;
}
.section-title::after,
h2.decorated::after {
  content: "";
  display: block;
  width: 3.25rem;
  height: 1.5px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
  margin-top: 0.65rem;
  border-radius: 1px;
}
.text-center.section-title::after,
.text-center.decorated::after,
h2.text-center.decorated::after {
  margin-inline: auto;
}

p { margin: 0 0 1em; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  background: linear-gradient(180deg, var(--brown) 0%, #271610 100%);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.28);
  border-bottom: 1px solid rgba(201, 160, 108, 0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  position: relative;
}

.logo {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.08em;
  line-height: 1.1;
}
.logo span {
  display: block;
  font-size: 0.68rem;
  font-family: var(--font);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: 0.2rem;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(245,240,232,0.28);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--cream);
  border-radius: 1px;
}

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--brown);
  border-top: 1px solid rgba(201, 160, 108, 0.18);
  padding: 0.5rem 1rem 1.1rem;
  box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}
.site-nav.is-open { display: block; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.site-nav a {
  display: block;
  padding: 0.75rem 0.9rem;
  color: var(--cream);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 1.08rem;
  font-weight: 500;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(184, 90, 42, 0.38);
  color: #fff;
}

.header-cta {
  display: none;
}

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: block;
    position: static;
    border: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }
  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.1rem;
  }
  .site-nav a {
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
  }
  .header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--terracotta);
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1.15rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.98rem;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(184, 90, 42, 0.35);
    transition: background 0.15s, transform 0.15s;
  }
  .header-cta:hover {
    background: var(--terracotta-dark);
    color: #fff;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.55rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.05rem;
  font-family: var(--font);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 4px 14px rgba(184, 90, 42, 0.28);
}
.btn-primary:hover {
  background: var(--terracotta-dark);
  color: #fff;
  box-shadow: 0 6px 18px rgba(143, 67, 32, 0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--brown);
  border-color: var(--brown-soft);
}
.btn-secondary:hover {
  background: var(--brown);
  color: var(--cream);
  border-color: var(--brown);
}
.btn-light {
  background: rgba(251, 247, 240, 0.95);
  color: var(--brown);
  border-color: rgba(251, 247, 240, 0.95);
}
.btn-light:hover {
  background: #fff;
  color: var(--brown);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245, 240, 232, 0.45);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.65);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.65rem;
}

/* Hero */
.hero {
  position: relative;
  background:
    linear-gradient(160deg, rgba(47,27,18,0.94) 0%, rgba(74,46,31,0.88) 42%, rgba(143,67,32,0.82) 100%),
    radial-gradient(ellipse at 70% 20%, rgba(201,160,108,0.25) 0%, transparent 55%),
    var(--brown);
  color: var(--cream);
  padding: 4.25rem 0 4.5rem;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(255,255,255,0.015) 3px,
      rgba(255,255,255,0.015) 4px
    );
  pointer-events: none;
  opacity: 0.7;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  color: #fff;
  margin-bottom: 0.35em;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.hero .eyebrow {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(201, 160, 108, 0.45);
}
.hero .tagline {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 500;
  font-style: italic;
  max-width: 22em;
  margin: 0 auto 0.75em;
  color: #F8EEE2;
  line-height: 1.35;
}
.hero .place {
  color: var(--gold-soft);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
  font-weight: 500;
}
.hero .btn-row {
  margin-top: 2rem;
  justify-content: center;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}
.section-alt {
  background: linear-gradient(180deg, var(--cream-dark) 0%, #EBE2D4 100%);
}
.section-brown {
  background:
    linear-gradient(135deg, var(--brown) 0%, var(--brown-mid) 100%);
  color: var(--cream);
}
.section-brown h2,
.section-brown h3 { color: #fff; }
.section-brown a { color: var(--gold-soft); }
.section-brown a:hover { color: #fff; }
.section-brown .section-title::after,
.section-brown h2.decorated::after {
  background: linear-gradient(90deg, var(--gold), var(--terracotta-soft));
}

.lead {
  font-size: 1.22rem;
  color: var(--brown-soft);
  max-width: 38em;
  line-height: 1.65;
}

.grid-2 {
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 2.25rem; }
}

.grid-3 {
  display: grid;
  gap: 1.35rem;
}
@media (min-width: 720px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.65rem 1.45rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(47, 27, 18, 0.07);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 14px 32px rgba(47, 27, 18, 0.12);
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: linear-gradient(145deg, var(--cream-dark), var(--cream-deep));
  border-radius: 50%;
  color: var(--terracotta);
  font-size: 1rem;
  margin-bottom: 0.9rem;
  border: 1px solid rgba(184, 90, 42, 0.15);
  box-shadow: var(--shadow-soft);
}

.panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(47, 27, 18, 0.07);
  height: 100%;
}

/* Hours table */
.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.08rem;
}
.hours th,
.hours td {
  text-align: left;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid rgba(47, 27, 18, 0.1);
  vertical-align: top;
}
.hours th {
  font-weight: 650;
  color: var(--brown);
  width: 38%;
  font-family: var(--serif);
  font-size: 1.15rem;
}
.hours td { color: var(--ink); }

.hours-dark th,
.hours-dark td {
  border-bottom-color: rgba(245,240,232,0.16);
}
.hours-dark th { color: var(--gold-soft); }
.hours-dark td { color: var(--cream); }

/* Menu sections */
.menu-section {
  margin-bottom: 2.5rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.25rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(47, 27, 18, 0.06);
}
.menu-section h2 {
  border-bottom: none;
  padding-bottom: 0.45rem;
  display: block;
  margin-bottom: 0.35rem;
  position: relative;
}
.menu-section h2::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 1.5px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
  margin-top: 0.55rem;
  border-radius: 1px;
}
.menu-section > p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.dish-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dish-list li {
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(47, 27, 18, 0.08);
}
.dish-list li:last-child { border-bottom: 0; }
.dish-name {
  font-weight: 650;
  color: var(--brown);
  font-size: 1.12rem;
  display: block;
  font-family: var(--serif);
  letter-spacing: 0.01em;
}
.dish-note {
  color: var(--muted);
  font-size: 1rem;
  display: block;
  margin-top: 0.25rem;
  line-height: 1.5;
}

.note-box {
  background: linear-gradient(135deg, var(--cream-dark), #EDE4D6);
  border-left: 4px solid var(--terracotta);
  padding: 1.2rem 1.35rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-soft);
}
.note-box p:last-child { margin-bottom: 0; }

.event-banner {
  background: var(--white);
  border: 1px solid rgba(184, 90, 42, 0.28);
  border-radius: var(--radius);
  padding: 2rem 1.65rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.event-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold), var(--terracotta));
}
.event-banner h2 {
  font-size: clamp(1.85rem, 4vw, 2.4rem);
  letter-spacing: 0.06em;
}
.event-meta {
  list-style: none;
  margin: 1.15rem 0 1.35rem;
  padding: 0;
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 0.35rem 1.1rem;
}
.event-meta li {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(47, 27, 18, 0.07);
  font-size: 1.05rem;
}
.event-meta li:last-child { border-bottom: 0; }
.event-meta strong { color: var(--brown); font-family: var(--serif); font-size: 1.08rem; }

.price-list {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
}
.price-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px dashed rgba(47, 27, 18, 0.14);
  flex-wrap: wrap;
  font-size: 1.08rem;
}
.price-list .price {
  font-weight: 700;
  color: var(--terracotta-dark);
  white-space: nowrap;
  font-family: var(--serif);
  font-size: 1.25rem;
}

/* Contact */
.contact-block address {
  font-style: normal;
  margin-bottom: 1.35rem;
  font-size: 1.12rem;
  line-height: 1.7;
}
.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-list li {
  margin-bottom: 1rem;
}
.contact-list strong {
  display: block;
  color: var(--brown);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  font-weight: 650;
}

.map-link {
  display: inline-flex;
  margin-top: 0.65rem;
}

/* Page hero small */
.page-hero {
  background:
    linear-gradient(180deg, var(--cream-dark) 0%, var(--cream) 100%);
  padding: 2.6rem 0 2rem;
  border-bottom: 1px solid rgba(47, 27, 18, 0.07);
  position: relative;
}
.page-hero::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 1.5px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold));
  margin: 1.1rem 0 0;
  border-radius: 1px;
}
.page-hero .container::after { display: none; }
.page-hero h1 { margin-bottom: 0.35em; }
.page-hero p {
  color: var(--muted);
  margin: 0;
  max-width: 38em;
  font-size: 1.15rem;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #271610 0%, var(--brown) 100%);
  color: var(--gold-soft);
  padding: 3rem 0 1.75rem;
  margin-top: 0;
  font-size: 1.02rem;
  border-top: 1px solid rgba(201, 160, 108, 0.2);
}
.site-footer a {
  color: var(--cream);
  text-decoration: none;
}
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.25rem;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; }
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.65rem;
  letter-spacing: 0.04em;
}
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav li { margin-bottom: 0.45rem; }
.footer-bottom {
  border-top: 1px solid rgba(245,240,232,0.12);
  padding-top: 1.35rem;
  font-size: 0.95rem;
  color: #B89A82;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}
.social-links {
  color: #B89A82;
  font-size: 0.98rem;
  margin-top: 0.35rem;
}
.social-links a {
  color: inherit;
  text-decoration: none;
}
.social-links a:hover {
  color: #fff;
  text-decoration: underline;
}
.section-brown .social-links {
  color: var(--cream);
}
.section-brown .social-links a {
  color: var(--gold-soft);
}
.section-brown .social-links a:hover {
  color: #fff;
}


/* Photo gallery */
.photo-gallery {
  display: grid;
  gap: 1rem;
  margin: 1.75rem 0 0;
}
@media (min-width: 600px) {
  .photo-gallery { grid-template-columns: repeat(2, 1fr); gap: 1.15rem; }
}
@media (min-width: 900px) {
  .photo-gallery.gallery-3 { grid-template-columns: repeat(3, 1fr); }
}
.photo-gallery figure {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(47, 27, 18, 0.07);
}
.photo-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
@media (min-width: 720px) {
  .photo-gallery img { height: 240px; }
}
.photo-gallery figcaption {
  padding: 0.7rem 0.95rem 0.9rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.45;
}

.figure-inline {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(47, 27, 18, 0.07);
  background: var(--white);
}
.figure-inline img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 420px;
  object-fit: cover;
}
.figure-inline figcaption {
  padding: 0.75rem 1rem 0.95rem;
  font-size: 0.95rem;
  color: var(--muted);
}

/* Lunch formulas */
.formula-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
@media (min-width: 720px) {
  .formula-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
.formula-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.35rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(47, 27, 18, 0.08);
  border-top: 3px solid var(--terracotta);
}
.formula-card h3 {
  margin-top: 0;
  margin-bottom: 0.35em;
}
.formula-card .formula-lead {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 0.85rem;
}
.formula-card .price-list { margin-bottom: 0.5rem; }
.formula-note {
  font-size: 0.98rem;
  color: var(--muted);
  margin: 0.35rem 0 0;
}

.hero-with-photo {
  position: relative;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  z-index: 0;
}
.hero-with-photo .container { position: relative; z-index: 1; }

/* Story page */
.story-figure .note-box {
  min-height: 12rem;
  display: flex;
  align-items: center;
}
.timeline {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (min-width: 720px) {
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (min-width: 980px) {
  .timeline { grid-template-columns: repeat(4, 1fr); }
}
.timeline-card h3 { margin-bottom: 0.45rem; }
.timeline-card p:last-child { margin-bottom: 0; }
.timeline-year {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--terracotta);
  letter-spacing: 0.04em;
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
