/* ===================================================
   RoMimatic — Design System (Apple-inspired)
   =================================================== */

:root {
  --bg:        #ffffff;
  --bg-2:      #fdf8f7;
  --bg-3:      #f0e8e6;
  --text:      #1d1d1f;
  --text-2:    #6e6e73;
  --text-3:    #757575;
  --accent:    #9b0b01;
  --accent-2:  #6F4E37;
  --border:    #d2d2d7;
  --font:      -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --nav-h:     64px;
  --topbar-h:  36px;
  --r:         12px;
  --r-lg:      20px;
  --t:         0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow:    0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
  --max:       1200px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font); }

/* ── Skip link (accessibilità) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  z-index: 10000;
  font-size: 15px;
  font-weight: 500;
  border-radius: 0 0 8px 0;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ── Focus visibile (WCAG 2.1) ── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible,
.nav-link:focus-visible,
.dropdown-link:focus-visible,
.card-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ── Nav ── */
/* Sticky applicato a #nav-root (figlio diretto di <body>): l'intero header
   — barra contatti + navbar — resta fisso in cima durante lo scroll.
   Nota: lo sticky NON va sulla .navbar perché il suo genitore la avvolge
   esattamente e lo scroll se la porterebbe via. */
#nav-root {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ── Barra contatti (sopra la navbar) ── */
.topbar {
  background: var(--accent);
  color: #fff;
  height: var(--topbar-h);
  font-size: 13px;
}
.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 26px;
}
.topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-weight: 500;
  transition: opacity var(--t);
}
.topbar-link:hover { opacity: 0.82; }
.topbar-link:focus-visible { outline-color: #fff; }
.topbar-link svg { width: 15px; height: 15px; flex-shrink: 0; }

.navbar {
  height: var(--nav-h);
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img { height: 30px; }
.nav-logo-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 7px 11px;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text);
  border-radius: 8px;
  transition: background var(--t);
  white-space: nowrap;
  cursor: pointer;
}
.nav-link:hover { background: var(--bg-2); }
.nav-link .chev {
  font-size: 9px;
  transition: transform var(--t);
  opacity: 0.6;
}
.nav-item:hover > .nav-link .chev { transform: rotate(180deg); }
.nav-link.external { color: var(--accent); }

/* Ponte invisibile che colma il gap tra nav-link e dropdown */
.nav-item > .nav-link::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

/* Level 2 dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--r);
  min-width: 210px;
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: 100;
}
.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown { display: block; }

/* Level 3 dropdown */
.dropdown-item { position: relative; }
.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  font-size: 13.5px;
  color: var(--text);
  border-radius: 8px;
  transition: background var(--t);
  white-space: nowrap;
}
.dropdown-link:hover { background: var(--bg-2); }
.dropdown-link .chev-r {
  font-size: 10px;
  opacity: 0.5;
}
/* Ponte per il sottomenù di terzo livello */
.dropdown-item > .dropdown-link::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  right: -8px;
  width: 8px;
}
.dropdown-sub {
  display: none;
  position: absolute;
  top: -6px;
  left: calc(100% + 2px);
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--r);
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: 101;
}
.dropdown-item:hover > .dropdown-sub,
.dropdown-item:focus-within > .dropdown-sub { display: block; }

/* ── Hamburger ── */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}

/* ── Hero ── */
.hero {
  min-height: calc(100vh - var(--nav-h) - var(--topbar-h));
  min-height: calc(100svh - var(--nav-h) - var(--topbar-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  background: linear-gradient(160deg, #faf9f7 0%, #f0ede8 50%, #ffffff 100%);
}
.hero-inner { max-width: 780px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(38px, 7vw, 78px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin-bottom: 24px;
  color: var(--text);
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.55;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 100px;
  transition: all var(--t);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-dark  { background: var(--text); color: #fff; }
.btn-dark:hover  { background: #3a3a3f; transform: scale(1.02); }
.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #6a3f24; transform: scale(1.02); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1da851; transform: scale(1.02); }
.btn-whatsapp svg { width: 20px; height: 20px; }

/* ── Tasto flottante WhatsApp (tutte le pagine) ── */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 998;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform var(--t), background var(--t);
}
.wa-float:hover { background: #1da851; transform: scale(1.07); }
.wa-float svg { width: 32px; height: 32px; }
@media (max-width: 600px) {
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .wa-float svg { width: 29px; height: 29px; }
}

/* ── Sections ── */
section { padding: 96px 24px; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-head { margin-bottom: 60px; }
.section-head.centered { text-align: center; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-head p {
  font-size: 18px;
  color: var(--text-2);
  max-width: 540px;
  line-height: 1.6;
}
.section-head.centered p { margin: 0 auto; }

/* ── Cards grid ── */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
/* Due sole card: colonne a larghezza contenuta e centrate nella riga */
.cards-2 { grid-template-columns: repeat(2, minmax(280px, 380px)); justify-content: center; }
.card {
  background: var(--bg-2);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  transition: transform var(--t), box-shadow var(--t);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon { font-size: 36px; margin-bottom: 18px; }
.card h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
.card p  { font-size: 15px; color: var(--text-2); line-height: 1.6; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  transition: gap var(--t);
}
.card-link:hover { gap: 10px; }

/* ── 2-col layout ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-text h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.split-text p { font-size: 17px; color: var(--text-2); line-height: 1.7; margin-bottom: 16px; }
.split-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  font-size: 14px;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }

/* ── Feature list ── */
.feature-list { display: flex; flex-direction: column; gap: 16px; margin: 28px 0; }
.feature-item { display: flex; align-items: flex-start; gap: 14px; }
.feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-item strong { display: block; font-size: 16px; margin-bottom: 4px; }
.feature-item span  { font-size: 14px; color: var(--text-2); }

/* ── BG variants ── */
.bg-2 { background: var(--bg-2); }
.bg-dark { background: var(--text); color: #fff; }
.bg-dark .section-head h2 { color: #fff; }
.bg-dark .section-head p { color: rgba(255,255,255,0.6); }
.bg-dark .eyebrow { color: var(--accent-2); }

/* ── CTA banner ── */
.cta-banner {
  text-align: center;
  padding: 100px 24px;
}
.cta-banner h2 {
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.cta-banner p {
  font-size: 18px;
  color: var(--text-2);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.bg-dark .cta-banner p { color: rgba(255,255,255,0.6); }

/* ── Page hero (inner pages) ── */
.page-hero {
  background: var(--bg-2);
  padding: 80px 24px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero .eyebrow,
.page-hero h1,
.page-hero p { position: relative; z-index: 1; }

/* Chicchi di caffè decorativi nelle pagine caffè */
.coffee-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.coffee-deco .bean { position: absolute; height: auto; }
.bean.b1  { width: 52px;  top:  4%; left:  -12px; opacity:.55; transform: rotate(-15deg); }
.bean.b2  { width: 44px;  top:  4%; right: -10px; opacity:.55; transform: rotate(20deg); }
.bean.b3  { width: 66px;  top: 35%; left:  -16px; opacity:.55; transform: rotate(8deg); }
.bean.b4  { width: 48px;  top: 62%; left:  -8px;  opacity:.55; transform: rotate(-30deg); }
.bean.b5  { width: 58px;  top: 80%; left:   2px;  opacity:.55; transform: rotate(12deg); }
.bean.b6  { width: 60px;  top: 18%; right: -14px; opacity:.55; transform: rotate(-18deg); }
.bean.b7  { width: 50px;  top: 48%; right: -10px; opacity:.55; transform: rotate(25deg); }
.bean.b8  { width: 70px;  top: 70%; right: -16px; opacity:.55; transform: rotate(-8deg); }
.bean.b9  { width: 38px;  top: 88%; left:   4px;  opacity:.55; transform: rotate(35deg); }
.bean.b10 { width: 42px;  top: 86%; right:  4px;  opacity:.55; transform: rotate(-20deg); }
.page-hero h1 {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ── Breadcrumb ── */
.breadcrumb {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-3);
}
.breadcrumb a { color: var(--text-3); transition: color var(--t); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { opacity: 0.5; }

/* ── Product cards ── */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.products-5col { grid-template-columns: repeat(5, 1fr); }
.products-3col { grid-template-columns: repeat(3, 1fr); }
/* 7 items: 4+3 con ultima riga centrata */
.products.products-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.products.products-flex .product-card { flex: 0 0 calc(25% - 18px); min-width: 0; }
.products.products-3-centered { display: flex; flex-wrap: wrap; justify-content: center; }
.products.products-3-centered .product-card { flex: 0 0 calc(33.333% - 16px); min-width: 260px; max-width: 360px; }
.product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card-img {
  aspect-ratio: 4/3;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  overflow: hidden;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}
.product-card-img.cover img {
  object-fit: cover;
  padding: 0;
}
.product-card-body { padding: 24px; }
.product-card-body h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.product-card-body p  { font-size: 14px; color: var(--text-2); line-height: 1.55; }
.product-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--bg-3);
  color: var(--text-2);
  margin-bottom: 10px;
}
.product-tag.hot { background: #fff3e0; color: #e65100; }

/* ── Contact form ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--text-2); }
.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(123,79,46,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── Blog ── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.blog-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--t), box-shadow var(--t);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-img {
  aspect-ratio: 16/9;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.blog-card-body { padding: 24px; }
.blog-meta { font-size: 13px; color: var(--text-3); margin-bottom: 10px; }
.blog-card-body h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
.blog-card-body p  { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ── Footer ── */
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 64px 24px 32px;
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-2);
  max-width: 260px;
  line-height: 1.6;
  margin-top: 14px;
}
.footer-zone { margin: 20px 0 4px; }
.footer-zone strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-3);
  margin-bottom: 8px;
}
.footer-zone ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.footer-zone ul li { font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 6px; }
.footer-zone ul li::before { content: "→"; color: var(--accent); font-size: 11px; flex-shrink: 0; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-3);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: background var(--t);
}
.footer-social a:hover { background: var(--accent); color: #fff; }
.footer-col h4 { font-size: 13px; font-weight: 600; margin-bottom: 14px; color: var(--text); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--text-2); transition: color var(--t); }
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-3);
}
.footer-bottom a { color: var(--text-3); transition: color var(--t); }
.footer-bottom a:hover { color: var(--text); }

/* ── Divider ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── Responsive ── */
@media (max-width: 860px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .products-5col { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  /* Hide desktop menu, show hamburger */
  .nav-menu { display: none; }
  .nav-hamburger { display: block; }

  /* backdrop-filter on the navbar creates a containing block for position:fixed
     descendants in iOS Safari, making the menu height collapse to zero.
     Remove it on mobile so the fixed overlay is sized against the viewport. */
  .navbar {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.97);
  }

  /* Mobile nav overlay */
  .nav-menu.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: fixed;
    top: calc(var(--topbar-h) + var(--nav-h));
    left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98);
    padding: 16px 0;
    overflow-y: auto;
    z-index: 999;
  }
  .nav-item { width: 100%; }
  .nav-link {
    padding: 14px 20px;
    font-size: 16px;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    justify-content: space-between;
  }
  .nav-link .chev { font-size: 12px; opacity: 0.5; }
  /* Mobile dropdown */
  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--bg-2);
    padding: 0;
    transform: none;
    left: auto;
  }
  .nav-item > .dropdown { display: none; }
  .nav-item.is-open > .dropdown { display: block; }
  .dropdown-link { padding: 12px 32px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .dropdown-sub {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--bg-3);
    left: auto;
    top: auto;
    padding: 0;
  }
  .dropdown-item > .dropdown-sub { display: none; }
  .dropdown-item.is-open > .dropdown-sub { display: block; }
  .dropdown-sub .dropdown-link { padding-left: 48px; }

  /* Layout */
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 960px) {
  /* Nasconde chicchi decorativi fino a tablet: evita sovrapposizione col testo hero */
  .coffee-deco { display: none; }

  section { padding: 60px 20px; }
  .hero { padding: 60px 20px; }
  .page-hero { padding: 60px 20px 48px; }
  .cards, .products, .blog-grid { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .products-5col, .products-3col { grid-template-columns: repeat(2, 1fr); }
  .products.products-flex .product-card { flex: 0 0 calc(50% - 12px); }
  .products.products-3-centered .product-card { flex: 0 0 100%; max-width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 600px) {
  .topbar { font-size: 12px; }
  .topbar-inner { gap: 18px; padding: 0 16px; }
  .topbar-link svg { width: 14px; height: 14px; }
}
