/* ============================================================
   Pizzería Artesanal v1 — Colores Italianos
   Paleta tricolore: verde Italia, bianco, rojo Nápoles
   ============================================================ */

:root {
  color-scheme: dark;

  --rosso: #c81d25;
  --rosso-hover: #e63946;
  --verde: #3d8b3d;
  --verde-hover: #4c9e4c;
  --verde-deep: #1f5e2a;
  --verde-btn: #2e7d32;
  --verde-text: #4c9e4c;
  --flag-white: #ffffff;
  --oro: #e8b04b;

  --bg: #17110c;
  --bg-alt: #1e1710;
  --surface: #241b12;
  --surface-2: #2c2116;
  --border: rgba(248, 242, 234, 0.1);
  --border-strong: rgba(248, 242, 234, 0.18);

  --text: #f8f2ea;
  --text-muted: #b8a890;
  --text-soft: #8f7f68;

  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.3);

  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --container: 1120px;
  --section-pad: clamp(4rem, 9vw, 6.5rem);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html[data-theme='light'] {
  color-scheme: light;

  --rosso: #a41e23;
  --rosso-hover: #c81d25;
  --verde: #2f7a3d;
  --verde-hover: #3d8b3d;
  --verde-deep: #1f5e2a;
  --verde-btn: #256e30;
  --verde-text: #2f7a3d;
  --flag-white: #ffffff;
  --oro: #a8751f;

  --bg: #faf6ef;
  --bg-alt: #f4ede0;
  --surface: #ffffff;
  --surface-2: #f9f4e9;
  --border: rgba(43, 29, 18, 0.12);
  --border-strong: rgba(43, 29, 18, 0.22);

  --text: #2b1d12;
  --text-muted: #6d5b45;
  --text-soft: #8f7f68;

  --shadow: 0 18px 50px rgba(90, 60, 30, 0.14);
  --shadow-sm: 0 6px 18px rgba(90, 60, 30, 0.1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  line-height: 1.2;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 1000;
  padding: 0.6rem 1.1rem;
  background: var(--rosso);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 3px solid var(--oro);
  outline-offset: 2px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(23, 17, 12, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}

html[data-theme='light'] .site-header {
  background: rgba(250, 246, 239, 0.88);
}

.nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  white-space: nowrap;
}

.nav-logo-icon {
  width: 34px;
  height: 34px;
  color: var(--rosso);
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--verde), var(--flag-white), var(--rosso));
  border-radius: 2px;
  transition: width 0.3s;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link:hover::after {
  width: 100%;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), border-color 0.2s, color var(--transition);
}

.theme-toggle:hover {
  border-color: var(--oro);
  color: var(--oro);
}

.theme-toggle svg {
  width: 19px;
  height: 19px;
}

.theme-toggle .icon-sun {
  display: none;
}

.theme-toggle .icon-moon {
  display: block;
}

html[data-theme='light'] .theme-toggle .icon-sun {
  display: block;
}

html[data-theme='light'] .theme-toggle .icon-moon {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0 10px;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded='true'] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded='true'] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Eyebrow / section helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.tricolore-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.tricolore-dot--green { background: var(--verde); }
.tricolore-dot--white { background: var(--flag-white); }
.tricolore-dot--red   { background: var(--rosso); }

.section-head {
  max-width: 680px;
  margin: 0 auto 3.25rem;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

.section-head h2 em {
  font-style: italic;
  color: var(--rosso);
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
}

section {
  padding: var(--section-pad) 0;
}

.section-alt {
  background: var(--bg-alt);
  transition: background var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4rem);
  background:
    radial-gradient(ellipse 60% 50% at 85% 15%, rgba(200, 29, 37, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 90%, rgba(61, 139, 61, 0.12), transparent 60%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.hero-copy h1 em {
  font-style: italic;
  color: var(--rosso);
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.08rem;
  margin-bottom: 2rem;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.pizza-svg {
  width: min(420px, 100%);
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

.hero-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-badge--fire {
  top: 8%;
  left: 0;
  color: var(--rosso);
}

.hero-badge--fresh {
  bottom: 14%;
  right: 0;
  color: var(--verde-text);
}

.tricolore-strip {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}

.tricolore-strip span {
  display: block;
}

.tricolore-strip--green { background: var(--verde); }
.tricolore-strip--white { background: var(--flag-white); }
.tricolore-strip--red   { background: var(--rosso); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
  touch-action: manipulation;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--rosso);
  color: #fff;
  box-shadow: 0 10px 26px rgba(200, 29, 37, 0.35);
}

.btn--primary:hover {
  background: var(--rosso-hover);
  box-shadow: 0 14px 32px rgba(200, 29, 37, 0.45);
}

.btn--whatsapp {
  background: var(--verde-btn);
  color: #fff;
  box-shadow: 0 10px 26px rgba(61, 139, 61, 0.35);
}

.btn--whatsapp:hover {
  background: var(--verde-hover);
  box-shadow: 0 14px 32px rgba(61, 139, 61, 0.45);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn--ghost:hover {
  border-color: var(--verde);
  color: var(--verde);
}

.btn--block {
  width: 100%;
}

.btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-icon--red {
  background: rgba(200, 29, 37, 0.14);
  color: var(--rosso);
}

.feature-icon--green {
  background: rgba(61, 139, 61, 0.14);
  color: var(--verde);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* ---------- Menu ---------- */
.menu-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.menu-filter {
  padding: 0.5rem 1.3rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
  touch-action: manipulation;
}

.menu-filter:hover {
  border-color: var(--verde);
  color: var(--text);
}

.menu-filter.is-active {
  background: var(--rosso);
  border-color: var(--rosso);
  color: #fff;
  box-shadow: 0 8px 20px rgba(200, 29, 37, 0.3);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.pizza-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.6rem 1.4rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), opacity 0.35s, scale 0.35s;
}

.pizza-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--verde), var(--flag-white), var(--rosso));
  opacity: 0;
  transition: opacity 0.3s;
}

.pizza-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.pizza-card:hover::before {
  opacity: 1;
}

.pizza-card.is-hidden {
  display: none;
}

.pizza-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.pizza-card h3 {
  font-size: 1.2rem;
}

.pizza-price {
  font-weight: 700;
  color: var(--rosso);
  font-size: 1.05rem;
  white-space: nowrap;
}

.pizza-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.pizza-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--verde);
  background: rgba(61, 139, 61, 0.12);
  border: 1px solid rgba(61, 139, 61, 0.25);
  padding: 0.22rem 0.7rem;
  border-radius: var(--radius-full);
}

.menu-note {
  margin-top: 1.75rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ---------- Process ---------- */
.process-list {
  list-style: none;
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

.process-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.8rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.process-item:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.process-num {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--verde), var(--verde-deep));
  box-shadow: 0 8px 18px rgba(61, 139, 61, 0.3);
}

.process-item:nth-child(2) .process-num { background: linear-gradient(135deg, var(--oro), #a8751f); box-shadow: 0 8px 18px rgba(232, 176, 75, 0.3); }
.process-item:nth-child(3) .process-num { background: linear-gradient(135deg, var(--rosso), #7d141a); box-shadow: 0 8px 18px rgba(200, 29, 37, 0.3); }
.process-item:nth-child(4) .process-num { background: linear-gradient(135deg, var(--verde-hover), var(--verde-deep)); }

.process-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.process-item p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* ---------- Testimonials slider ---------- */
.slider {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.slider-track {
  display: flex;
  overflow: hidden;
}

.testimonial {
  flex: 0 0 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.75rem;
  text-align: center;
  transition: opacity 0.5s, visibility 0.5s;
}

.testimonial.is-hidden {
  display: none;
}

.testimonial blockquote p {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.testimonial-name {
  font-weight: 700;
  color: var(--text);
}

.testimonial-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--oro);
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  touch-action: manipulation;
}

.slider-btn:hover {
  background: var(--rosso);
  border-color: var(--rosso);
  color: #fff;
}

.slider-btn--prev { left: -16px; }
.slider-btn--next { right: -16px; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
}

.slider-dot {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background 0.25s, transform 0.25s;
}

.slider-dot::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--border-strong);
  transition: background 0.25s, transform 0.25s;
}

.slider-dot.is-active::after {
  background: var(--rosso);
  transform: scale(1.3);
}

.slider-dot:focus-visible {
  outline: none;
}

.slider-dot:focus-visible::after {
  outline: 3px solid var(--oro);
  outline-offset: 2px;
}

/* ---------- Hours ---------- */
.hours-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.hours-head {
  margin: 0;
  text-align: left;
}

.hours-cards {
  display: grid;
  gap: 1.25rem;
}

.hours-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
}

.hours-card h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.hours-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px dashed var(--border);
  font-size: 0.93rem;
  color: var(--text-muted);
}

.hours-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hours-list li span:last-child {
  color: var(--text);
  font-weight: 600;
}

.hours-list .hours-closed {
  color: var(--rosso) !important;
}

.hours-address {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.hours-card .btn {
  margin-right: 0.6rem;
  margin-bottom: 0.6rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s;
}

.faq-item[open] {
  border-color: var(--verde);
}

.faq-item summary {
  cursor: pointer;
  padding: 1.15rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--verde);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1rem;
}

.contact-info .section-sub {
  margin-bottom: 1.75rem;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: color 0.25s, border-color 0.25s, transform 0.25s;
}

.contact-list a:hover {
  color: var(--text);
  border-color: var(--verde);
  transform: translateX(4px);
}

.contact-list svg {
  width: 20px;
  height: 20px;
  color: var(--verde);
  flex-shrink: 0;
}

.contact-list a:first-child svg {
  color: var(--verde);
}

/* ---------- Form ---------- */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.contact-form h3 {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(61, 139, 61, 0.18);
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--rosso);
  box-shadow: 0 0 0 3px rgba(200, 29, 37, 0.15);
}

.form-group .error-msg {
  display: none;
  color: var(--rosso);
  font-size: 0.78rem;
  margin-top: 0.35rem;
}

.form-group.has-error .error-msg {
  display: block;
}

.form-feedback {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 1.4em;
  text-align: center;
}

.form-feedback.is-success {
  color: var(--verde);
}

.form-feedback.is-error {
  color: var(--rosso);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-credit a {
  color: var(--verde-text);
  text-decoration: none;
  font-weight: 600;
}

.footer-credit a:hover {
  text-decoration: underline;
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s, box-shadow 0.25s;
  touch-action: manipulation;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.5);
}

/* ---------- Animations on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 0;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .hours-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hours-head {
    text-align: center;
  }

  .pizza-svg {
    width: min(320px, 80%);
  }

  .hero-badge--fire { left: 5%; }
  .hero-badge--fresh { right: 5%; }
}

@media (max-width: 720px) {
  .nav {
    height: 60px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 24px 1rem;
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  }

  html[data-theme='light'] .nav-menu {
    background: var(--bg);
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-menu li {
    width: 100%;
    padding: 0.45rem 0;
  }

  .nav-link {
    display: block;
    padding: 0.5rem 0;
    font-size: 1rem;
  }

  .nav-link::after {
    display: none;
  }

  .theme-toggle {
    margin-top: 0.4rem;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .process-item {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .testimonial {
    padding: 2rem 1.5rem;
  }

  .testimonial blockquote p {
    font-size: 1rem;
  }

  .slider-btn--prev { left: 4px; }
  .slider-btn--next { right: 4px; }

  .hero-badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.7rem;
  }

  .pizza-svg {
    width: 240px;
  }

  .hero-badge--fire { top: 4%; left: 0; }
  .hero-badge--fresh { bottom: 6%; right: 0; }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 18px;
    right: 18px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .pizza-svg {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
