:root {
  /* Palette verde: identità visiva */
  --green-dark: #3f5416;
  --green-olive: #56721f;
  --green-sage: #788c4f;
  --green-light: #b7c88f;
  --green-pale: #eef4e3;
  /* Uso */
  --bg: #fafbf9;
  --bg-soft: #ffffff;
  --accent: #56721f;
  --accent-strong: #3f5416;
  --accent-soft: rgba(86, 114, 31, 0.12);
  --text: #1a2616;
  --muted: #53623a;
  --border-subtle: #e0e8db;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 12px 32px rgba(63, 84, 22, 0.08);
  --transition: 0.25s ease;
}

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

/* Animazioni e movimento */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes gradientShift {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 8px 24px rgba(63, 84, 22, 0.15); }
  50% { box-shadow: 0 12px 36px rgba(63, 84, 22, 0.25); }
}

.section__header {
  overflow-wrap: anywhere;
}
.section .section__header { animation: fadeInUp 0.6s ease forwards; }
.section .grid { animation: fadeInUp 0.6s 0.2s ease both; }
.section .grid .card,
.section .grid .review-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.section .grid .card:hover,
.section .grid .review-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 48px rgba(63, 84, 22, 0.2);
}
.product-card__image img { transition: transform 0.5s ease; }
.card:hover .product-card__image img { transform: scale(1.08); }
.benefit-card .card__icon { transition: transform 0.3s ease; }
.benefit-card:hover .card__icon { transform: scale(1.15) rotate(5deg); }
.card--elevated:hover { animation: pulseGlow 2s ease-in-out infinite; }
.review-card:hover { border-color: var(--green-light); }

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

/* LAYOUT BASE */

.shell {
  width: min(1120px, 100%);
  margin-inline: auto;
  padding-inline: max(16px, env(safe-area-inset-left, 0px))
    max(16px, env(safe-area-inset-right, 0px));
}

/* NAVBAR */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8);
  padding-top: env(safe-area-inset-top, 0px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  gap: 18px;
}

/* BRAND */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand__logo {
  height: 60px;
  width: auto;
  display: block;
}

.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  background: var(--accent);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand__tagline {
  font-size: 11px;
  color: var(--muted);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.nav__links a {
  text-decoration: none;
  color: var(--muted);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.nav__links a:hover {
  color: var(--text);
  border-color: var(--accent-soft);
}

/* Menu a tendina: Cucitrici e accessori (desktop) */
.nav__dropdown {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.nav__dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0 0 2px;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  font: inherit;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.nav__dropdown-btn:hover,
.nav__dropdown-btn:focus-visible {
  color: var(--text);
  border-color: var(--accent-soft);
  outline: none;
}

.nav__dropdown-chevron {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.75;
  transition: transform 0.2s ease;
}

.nav__dropdown:hover .nav__dropdown-chevron,
.nav__dropdown:focus-within .nav__dropdown-chevron,
.nav__dropdown.is-open .nav__dropdown-chevron {
  transform: rotate(180deg);
}

.nav__dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  /* niente margin-top: crea un “buco” tra trigger e pannello e il menu si chiude
     prima di raggiungere le voci (:hover perso, click fuori area) */
  margin-top: 0;
  min-width: 220px;
  padding: 12px 8px 8px;
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

/* Ponte invisibile: mantiene hover/clic tra barra e tendina (subpixel, bordi arrotondati) */
.nav__dropdown-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -8px;
  height: 8px;
}

.nav__dropdown-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  border-bottom: none;
}

.nav__dropdown-panel a:hover {
  background: var(--green-pale);
  color: var(--accent-strong);
}

.nav__dropdown:hover .nav__dropdown-panel,
.nav__dropdown:focus-within .nav__dropdown-panel,
.nav__dropdown.is-open .nav__dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Sottomenu mobile */
.nav__mobile-dropdown {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav__mobile-dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border: none;
  border-radius: var(--radius-md);
  background: transparent;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease;
}

.nav__mobile-dropdown-btn:hover {
  background: var(--green-pale);
}

.nav__mobile-dropdown-chevron {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--muted);
  flex-shrink: 0;
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.nav__mobile-dropdown-btn[aria-expanded="true"] .nav__mobile-dropdown-chevron {
  transform: rotate(180deg);
}

.nav__mobile-dropdown-panel {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 0 10px 8px;
  margin: 0 0 4px 12px;
  border-left: 2px solid var(--green-light);
}

.nav__mobile-dropdown-panel[hidden] {
  display: none !important;
}

.nav__mobile-dropdown-panel a {
  padding: 10px 14px;
  font-size: 15px;
  color: var(--muted);
}

.nav__mobile-dropdown-panel a:hover {
  color: var(--text);
  background: var(--green-pale);
}

.nav__cta {
  font-size: 13px;
}

/* Hamburger: nascosto su desktop */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s ease;
}
.nav__toggle:hover {
  background: var(--accent-soft);
}
.nav__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.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);
}

/* Menu mobile: overlay a schermo intero */
.nav__mobile {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 18;
  background: var(--bg-soft);
  padding: calc(88px + env(safe-area-inset-top, 0px))
    max(24px, env(safe-area-inset-right, 0px)) max(24px, env(safe-area-inset-bottom, 0px))
    max(24px, env(safe-area-inset-left, 0px));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  overflow-y: auto;
}
.nav__mobile.is-open {
  opacity: 1;
  visibility: visible;
}
.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nav__mobile-links a {
  display: block;
  padding: 14px 16px;
  font-size: 16px;
  text-decoration: none;
  color: var(--text);
  border-radius: var(--radius-md);
  transition: background 0.2s ease;
}
.nav__mobile-links a:not(.nav__mobile-cta):hover {
  background: var(--green-pale);
}
.nav__mobile-cta {
  margin-top: 16px;
  text-align: center;
  justify-content: center;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background-color 0.16s ease,
    color 0.16s ease,
    border-color 0.16s ease;
}

.btn--primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.22);
}

/* Pulsante più scuro per staccare dallo sfondo verde (es. sezione modelli) */
.btn--dark {
  background: var(--green-dark);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}
.btn--dark:hover {
  background: #2e3f10;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--text);
}

.btn--ghost:hover {
  background: #f9fafb;
  border-color: var(--accent-strong);
}

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

.btn--small {
  padding: 7px 16px;
  font-size: 13px;
}

/* HERO */

.hero {
  padding: 56px 0 72px;
}

.hero--with-bg {
  position: relative;
  overflow: hidden;
}

.hero--with-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("immagini/sfondo.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero--with-bg .shell {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero--centered .hero__grid {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}
.hero--centered .hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 640px;
}
.hero--centered .hero__subtitle {
  margin-left: auto;
  margin-right: auto;
}
.hero--centered .hero__actions {
  justify-content: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pill--soft {
  background: var(--green-pale);
  border: 1px solid var(--green-light);
  color: var(--accent-strong);
}

.hero__title {
  font-size: clamp(34px, 4.4vw, 46px);
  line-height: 1.05;
  margin: 16px 0 14px;
  overflow-wrap: anywhere;
}

.hero__title-highlight {
  color: var(--accent-strong);
}

.hero__subtitle {
  margin: 0 0 24px;
  font-size: 15px;
  color: var(--muted);
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 26px;
}

.hero__meta {
  display: grid;
  gap: 10px;
  font-size: 13px;
}

.meta-item__label {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.meta-item__value {
  display: block;
}

/* HERO VISUAL */

.hero__visual {
  position: relative;
  min-height: 280px;
}

.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-soft);
  box-shadow: var(--shadow-soft);
}

.card--glass {
  background: var(--bg-soft);
  backdrop-filter: none;
}

.card--elevated {
  background: var(--bg-soft);
}

.card--soft {
  background: var(--bg-soft);
}

.hero-card {
  padding: 16px 16px 14px;
  position: relative;
  overflow: hidden;
}

.hero-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(6, 9, 14, 0.85);
  border: 1px solid rgba(158, 210, 106, 0.6);
  color: #e3ffbf;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-card__image {
  border-radius: 16px;
  overflow: hidden;
  height: 220px;
  margin-bottom: 12px;
}

.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  background: #f9fafb;
  border: 1px dashed var(--border-subtle);
}

.hero-card__body {
  position: relative;
  z-index: 1;
}

.hero-card__title {
  margin: 0 0 4px;
  font-size: 18px;
}

.hero-card__text {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--muted);
}

.hero-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.stat {
  min-width: 80px;
}

.stat__value {
  display: block;
  font-size: 16px;
  font-weight: 600;
}

.stat__label {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

.hero-card__note {
  margin: 10px 0 0;
  font-size: 11px;
  color: var(--muted);
}

.floating-label {
  position: absolute;
  right: 12px;
  bottom: -10px;
  padding: 10px 14px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  font-size: 11px;
}

.floating-label__title {
  display: block;
  font-weight: 500;
}

.floating-label__subtitle {
  display: block;
  color: var(--muted);
}

/* SEZIONI GENERALI */

.section {
  padding: 40px 0 64px;
}

.section--light {
  background: #ffffff;
  color: var(--text);
}

.section--light .section__subtitle,
.section--light .card__text,
.section--light .stats__label { color: var(--muted); }
.section--light .eyebrow { color: var(--green-olive); }

/* Sezioni colorate: niente più bianco/grigio anonimo */
.section--green-pale {
  background: linear-gradient(160deg, var(--green-pale) 0%, #f0f5ec 100%);
  color: var(--text);
}
.section--green-pale .card { background: #fff; border-color: var(--green-light); box-shadow: 0 8px 24px rgba(63, 84, 22, 0.1); }
.section--green-pale .eyebrow { color: var(--green-olive); }

/* Chi siamo: testi meno scuri per migliore leggibilità */
.section--green-pale.section--split .section--split__copy {
  color: var(--muted);
}
.section--green-pale.section--split .section__title {
  color: var(--green-olive);
}
.section--green-pale.section--split .meta-item__value,
.section--green-pale.section--split .stats__label {
  color: var(--muted);
}
.section--green-pale.section--split .stats__value {
  color: var(--green-olive);
}

.section--green-light {
  background: linear-gradient(180deg, var(--green-light) 0%, var(--green-sage) 100%);
  color: var(--green-dark);
}
.section--green-light .section__title,
.section--green-light .card__title { color: var(--green-dark); }
.section--green-light .section__subtitle,
.section--green-light .card__text { color: rgba(63, 84, 22, 0.85); }
.section--green-light .eyebrow { color: var(--green-dark); opacity: 0.9; }
.section--green-light .card { background: rgba(255,255,255,0.95); border: none; box-shadow: 0 12px 32px rgba(0,0,0,0.12); }

.section--sage {
  background: var(--green-sage);
  color: #fff;
}
.section--sage .section__title,
.section--sage .card__title { color: #fff; }
.section--sage .section__subtitle,
.section--sage .card__text,
.section--sage .review-card__text { color: rgba(255,255,255,0.9); }
.section--sage .eyebrow { color: rgba(255,255,255,0.8); }
.section--sage .review-card { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); backdrop-filter: blur(8px); }
.section--sage .review-card__author { color: rgba(255,255,255,0.85); }

.section--gradient {
  background: linear-gradient(135deg, var(--green-olive) 0%, var(--green-dark) 50%, var(--green-olive) 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  color: #fff;
}
.section--gradient .section__title,
.section--gradient .card__title { color: #fff; }
.section--gradient .section__subtitle,
.section--gradient .card__text { color: rgba(255,255,255,0.9); }
.section--gradient .eyebrow { color: rgba(255,255,255,0.85); }
.section--gradient .card { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); backdrop-filter: blur(10px); }
.section--gradient .card__text { color: rgba(255,255,255,0.95); }
.section--gradient .card__icon { background: rgba(255,255,255,0.2); }
.section--gradient .card__icon svg { stroke: #fff; }
.section--gradient .btn--primary { background: #fff; color: var(--green-dark); }
.section--gradient .btn--primary:hover { background: var(--green-pale); }

/* Sezione Casa ed elettrodomestici: sfondo casa + overlay per leggibilità */
.section--categorie {
  background-image: url("immagini/casa.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text);
  position: relative;
  overflow: hidden;
}
.section--categorie::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(250, 251, 249, 0.92) 0%, rgba(232, 239, 227, 0.88) 100%);
  z-index: 0;
}
.section--categorie .shell,
.section--categorie .categorie__accent {
  position: relative;
  z-index: 1;
}
.section--categorie .section__title { color: var(--green-dark); }
.section--categorie .section__subtitle { color: var(--muted); max-width: 560px; margin: 12px auto 0; }
.section--categorie .eyebrow { color: var(--green-olive); font-weight: 600; }

.categorie__accent {
  display: none;
}

.categorie-grid {
  margin-top: 8px;
}

.categorie-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 24px 20px;
  background: #fff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(63, 84, 22, 0.06);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.3s ease;
}
.categorie-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-light), var(--green-sage));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.categorie-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(63, 84, 22, 0.15);
  border-color: var(--green-light);
}
.categorie-card:hover::before {
  transform: scaleX(1);
}
.categorie-card:hover .categorie-card__icon {
  transform: scale(1.15) rotate(8deg);
  background: var(--green-pale);
  color: var(--accent-strong);
}
.categorie-card:hover .categorie-card__arrow {
  transform: translateX(6px);
  opacity: 1;
}

.categorie-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--green-pale);
  color: var(--accent-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: transform 0.35s ease, background 0.3s ease, color 0.3s ease;
}
.categorie-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.categorie-card .card__title {
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--green-dark);
}
.categorie-card .card__text {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 12px;
  flex: 1;
}
.categorie-card__arrow {
  font-size: 20px;
  color: var(--green-olive);
  font-weight: 600;
  opacity: 0.7;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.section--categorie .btn--categorie {
  background: var(--green-olive);
  color: #fff;
}
.section--categorie .btn--categorie:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(63, 84, 22, 0.3);
}

.section--with-bg {
  background: var(--green-olive);
  color: #fff;
}
.section--with-bg .section__subtitle,
.section--with-bg .card__text,
.section--with-bg .eyebrow { color: rgba(255,255,255,0.9); }
.section--with-bg .section__title { color: #fff; }
.section--with-bg .card { background: rgba(255,255,255,0.95); color: var(--text); border-color: rgba(255,255,255,0.5); }
.section--with-bg .card__text { color: var(--muted); }
.section--with-bg .product-card__badge { background: var(--accent-soft); color: var(--accent-strong); }

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 26px;
}

.section__header--left {
  text-align: left;
  margin: 0 0 26px;
}

.section__title {
  margin: 6px 0 10px;
  font-size: 24px;
  letter-spacing: -0.01em;
}

.section__subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* EYEBROW */

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* GRID */

.grid {
  display: grid;
  gap: 20px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* CARDS */

.card__title {
  margin: 0 0 4px;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.card__text {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.card__tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 11px;
  margin-bottom: 8px;
}

.card--with-icon {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card__header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card__icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #f3f4f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-strong);
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefit-card .card__icon { background: var(--green-pale); }
.benefit-card .card__icon svg { stroke: var(--accent); }

/* Card cucitrici: immagine a tutta larghezza, angoli allineati alla card */
.product-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.product-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Card come colonna: immagine sopra, testo sotto allineato */
#modelli-cucitrici .card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.15);
}

#modelli-cucitrici .product-card__image {
  flex-shrink: 0;
}

#modelli-cucitrici .product-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 18px 20px;
}

#modelli-cucitrici .product-card__body .card__title {
  margin: 0 0 6px;
}

#modelli-cucitrici .product-card__body .card__text {
  flex: 1;
  margin: 0;
}

#modelli-cucitrici .product-card__btn {
  margin-top: 14px;
  align-self: flex-start;
  text-decoration: none;
}

.product-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 11px;
  margin-bottom: 6px;
}

/* Pagina Cucitrici: scheda prodotto */
.page-main { padding: 24px 0 48px; }
.product-list { display: flex; flex-direction: column; gap: 32px; }
/* Allineamento preciso allo scroll da link con hash (navbar sticky) */
#cucitrice-mp82,
#cucitrice-mp73,
#cucitrice-olivia-secam,
#elettrodomestici,
#pelletteria-e-bigiotteria,
#casa {
  scroll-margin-top: 6.5rem;
}

/* Titoli categoria nel catalogo casa (riga intera nella griglia) */
.casa-vetrina-cat {
  grid-column: 1 / -1;
  margin: 1.25rem 0 0.35rem;
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}
.casa-vetrina-cat:first-child {
  margin-top: 0;
}

/* Evidenziazione scheda in arrivo da link con hash (ombra che appare e scompare) */
@keyframes landingHighlight {
  0% {
    box-shadow: 0 0 0 3px rgba(86, 114, 31, 0.5), 0 24px 56px rgba(0, 0, 0, 0.28);
  }
  25% {
    box-shadow: 0 0 0 4px rgba(86, 114, 31, 0.35), 0 28px 64px rgba(0, 0, 0, 0.22);
  }
  100% {
    box-shadow: 0 8px 24px rgba(63, 84, 22, 0.1);
  }
}
.product-detail.card--landing {
  animation: landingHighlight 2s ease-out forwards;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
  gap: 28px;
  align-items: start;
  padding: 20px;
}
.product-detail__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--green-pale);
}
.product-detail__image img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  display: block;
}
.product-detail__body { display: flex; flex-direction: column; gap: 10px; }
.product-detail__title { margin: 0; font-size: 20px; }
.product-specs {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--muted);
}
.product-kit-title { font-size: 14px; font-weight: 600; color: var(--muted); margin: 20px 0 6px; text-transform: uppercase; letter-spacing: 0.04em; }
@media (max-width: 720px) {
  .product-detail { grid-template-columns: 1fr; }
  .product-detail__image img { max-height: 220px; }
}

/* HIGHLIGHT STRIP */

.highlight-strip {
  margin-top: 32px;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  background: #edf2e7;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.section--light .highlight-strip {
  background: #edf2e7;
}

.highlight-strip__block h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.highlight-strip__block p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* SPLIT SECTION */

.section--split {
  position: relative;
}

.section--split__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.section--split__copy p {
  font-size: 14px;
  color: var(--muted);
}

.section--split__copy .section__subtitle {
  margin-bottom: 12px;
}

/* Chi siamo: foto intera (niente taglio), senza cornice/box chiaro */
.section--split__visual .photo-card {
  height: auto;
  border-radius: var(--radius-lg);
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  display: block;
  padding: 0;
}
.section--split__visual .photo-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* STATS */

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
}

.stats__item {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
}

.stats__value {
  display: block;
  font-size: 18px;
  font-weight: 600;
}

.stats__label {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.about-meta {
  margin-top: 18px;
  display: grid;
  gap: 8px;
  font-size: 13px;
}

/* CONTACT */

.section--contact {
  padding-bottom: 72px;
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: flex-start;
}

.contact__info .info-block + .info-block {
  margin-top: 16px;
}

.contact__info h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.contact__info p {
  margin: 0;
  font-size: 13px;
}

.contact__info a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.contact__form {
  padding: 18px 18px 20px;
}

/* Form contatti: campi verdini invece di neri */
.section--contact input,
.section--contact textarea {
  background: rgba(63, 84, 22, 0.12);
  border-color: rgba(63, 84, 22, 0.25);
  color: var(--text);
}
.section--contact input::placeholder,
.section--contact textarea::placeholder {
  color: rgba(63, 84, 22, 0.5);
}
.section--contact input:focus,
.section--contact textarea:focus {
  background: rgba(63, 84, 22, 0.18);
  border-color: var(--green-olive);
  box-shadow: 0 0 0 1px rgba(86, 114, 31, 0.4);
}
.section--contact label {
  color: rgba(63, 84, 22, 0.85);
}

/* FORM */

.form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Honeypot anti-spam (lasciare vuoto) */
.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form__row {
  display: flex;
  gap: 12px;
}

.form__field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-size: 12px;
  color: var(--muted);
}

input,
textarea {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(4, 5, 7, 0.9);
  padding: 9px 11px;
  color: var(--text);
  font: inherit;
  outline: none;
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    background-color 0.16s ease;
}

.section--light input,
.section--light textarea {
  background: #f9fafb;
  color: #111217;
  border-color: #d1d5db;
}

input::placeholder,
textarea::placeholder {
  color: rgba(158, 164, 182, 0.7);
}

input:focus,
textarea:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 1px rgba(158, 210, 106, 0.7);
  background: rgba(7, 8, 11, 0.96);
}

.section--light input:focus,
.section--light textarea:focus {
  background: #ffffff;
}

.form__note {
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--muted);
}

.form__feedback {
  display: none;
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.45;
}
.form__feedback.is-visible {
  display: block;
}
.form__feedback--success {
  background: rgba(86, 114, 31, 0.2);
  border: 1px solid rgba(86, 114, 31, 0.45);
  color: var(--green-dark);
}
.section--contact .form__feedback--success {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(63, 84, 22, 0.35);
}
.form__feedback--error {
  background: rgba(185, 48, 48, 0.12);
  border: 1px solid rgba(185, 48, 48, 0.4);
  color: #7a1f1f;
}

/* RECENSIONI */
.review-card {
  margin: 0;
  padding: 20px 18px;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(63, 84, 22, 0.12);
}
.review-card__text { font-size: 14px; color: var(--text); margin: 0 0 10px; line-height: 1.5; }
.review-card__author { font-size: 12px; color: var(--muted); }

/* FOOTER */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--green-dark);
  color: #e8ebe6;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 0 20px;
  font-size: 13px;
}

.footer__brand { max-width: 300px; }

.footer .brand__logo { height: 56px; }

.footer__brand p {
  margin: 10px 0 0;
  color: rgba(255,255,255,0.8);
  font-size: 13px;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.footer__col h4 {
  margin: 0 0 10px;
  font-size: 13px;
  color: #fff;
}

.footer__col a,
.footer__col span {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  margin-bottom: 6px;
}

.footer__col a:hover { color: #fff; }

.footer__social { font-size: 11px; opacity: 0.9; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 12px 0 20px;
  font-size: 11px;
  color: rgba(255,255,255,0.7);
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }

  .section--split__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section--split__visual {
    order: -1;
  }
}

@media (max-width: 820px) {
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__toggle {
    display: flex;
  }
  body.nav-open {
    overflow: hidden;
  }
  body.nav-open .nav__mobile {
    opacity: 1;
    visibility: visible;
  }

  .hero {
    padding-top: 30px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__visual {
    order: -1;
  }

  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__top {
    flex-direction: column;
  }

  .footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .footer__cols {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .page-main {
    padding: 16px 0 40px;
  }
  .btn {
    min-height: 44px;
  }
  .section--contact input,
  .section--contact textarea {
    font-size: 16px;
  }
  .footer__col a {
    padding-block: 10px;
  }
  .section {
    padding: 32px 0 48px;
  }
  .section__title {
    font-size: 20px;
  }
  .hero__title {
    font-size: clamp(26px, 7vw, 34px);
  }
  .hero__subtitle {
    font-size: 14px;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .grid--3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid--2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .form__row {
    flex-direction: column;
  }
  .footer__cols {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .highlight-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .float-actions {
    bottom: max(16px, calc(env(safe-area-inset-bottom, 0px) + 8px));
    right: max(16px, env(safe-area-inset-right, 0px));
  }
  .float-actions__btn {
    width: 48px;
    height: 48px;
  }
  .float-actions__btn svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 24px 0 40px;
  }
  .section__title {
    font-size: 18px;
  }
  .brand__logo {
    height: 48px;
  }
  .float-actions {
    bottom: max(12px, calc(env(safe-area-inset-bottom, 0px) + 6px));
    right: max(12px, env(safe-area-inset-right, 0px));
    gap: 8px;
  }
}

/* Nessun hover “appiccicoso” su touch; meno salto layout */
@media (hover: none) {
  .section .grid .card:hover,
  .section .grid .review-card:hover {
    transform: none;
    box-shadow: var(--shadow-soft);
  }
  .review-card:hover {
    transform: none;
    box-shadow: var(--shadow-soft);
  }
  .card:hover .product-card__image img {
    transform: none;
  }
  .categorie-card:hover {
    transform: none;
    box-shadow: 0 4px 20px rgba(63, 84, 22, 0.06);
    border-color: var(--border-subtle);
  }
  .categorie-card:hover::before {
    transform: scaleX(0);
  }
  .categorie-card:hover .categorie-card__icon,
  .categorie-card:hover .categorie-card__arrow {
    transform: none;
  }
  .btn--primary:hover,
  .float-actions__btn:hover {
    transform: none;
  }
  .benefit-card:hover .card__icon {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section .grid .card,
  .section .grid .review-card,
  .card,
  .categorie-card,
  .btn,
  .float-actions__btn {
    transition: none;
  }
  .section .section__header,
  .section .grid {
    animation: none;
  }
  .cookie-banner {
    animation: none;
  }
}

/* Lightbox per zoom immagini cucitrici */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px)
    env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  box-sizing: border-box;
  background: rgba(26, 38, 22, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
}
.lightbox__content {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
}
.lightbox__content:active {
  cursor: grabbing;
}
.lightbox__img-wrap {
  transform-origin: center center;
  transition: transform 0.15s ease-out;
  max-width: 95vw;
  max-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__img {
  max-width: 100%;
  max-height: 95vh;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}
.lightbox__close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top, 0px));
  right: max(12px, env(safe-area-inset-right, 0px));
  z-index: 10;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}
.lightbox__zoom-controls {
  position: absolute;
  bottom: max(20px, calc(env(safe-area-inset-bottom, 0px) + 12px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 12px;
  border-radius: var(--radius-pill);
}
.lightbox__zoom-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lightbox__zoom-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}
.lightbox__zoom-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  min-width: 48px;
  text-align: center;
}
/* Immagini cliccabili per lightbox */
.img-zoomable {
  cursor: zoom-in;
}
.product-card__image .img-zoomable,
.product-detail__image .img-zoomable,
.hero-card__image .img-zoomable {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.product-detail__image .img-zoomable {
  object-fit: contain;
}

/* Card prodotti (casa/elettrodomestici): testo compatto e bottone centrato */
.product-card__body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.product-card__body .card__title {
  margin: 0;
  text-align: center;
}
.product-card__body .btn {
  align-self: center;
}

.section--casa-vetrina .product-card__body--only-cta {
  padding: 12px 14px 16px;
  gap: 0;
}

.cucitrici-vetrina__group-head {
  margin-bottom: 4px;
}

.cucitrici-vetrina__group-head:not(:first-of-type) {
  margin-top: 2rem;
}

.cucitrici-vetrina__group-title {
  margin: 0;
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  font-weight: 600;
  color: var(--green-dark);
}

/* Pulsanti fissi in basso a destra: Torna su + WhatsApp (sopra al banner cookie) */
.float-actions {
  position: fixed;
  bottom: max(24px, calc(env(safe-area-inset-bottom, 0px) + 8px));
  right: max(24px, env(safe-area-inset-right, 0px));
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.float-actions__btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: #fff;
}
.float-actions__btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}
.float-actions__back-top {
  background: var(--green-dark);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.float-actions__back-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.float-actions__whatsapp {
  background: #25D366;
}
.float-actions__whatsapp svg {
  display: block;
}

/* Pagina Privacy / testi legali */
.legal-doc-section {
  padding-top: 8px;
}

.legal-doc {
  max-width: 720px;
  margin-inline: auto;
}

.legal-doc__title {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 4vw, 2rem);
  color: var(--green-dark);
}

.legal-doc__h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-strong);
}

.legal-doc__h2:not(:first-of-type) {
  margin-top: 0;
}

.legal-doc p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
}

.legal-doc__block {
  margin: 0 0 12px;
  padding: 14px 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.6;
}

.legal-doc__block a {
  color: var(--accent);
  font-weight: 500;
}

.legal-doc__list {
  margin: 0 0 12px;
  padding-left: 1.25rem;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
}

.legal-doc__list li {
  margin-bottom: 6px;
}

.legal-doc__rule {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 28px 0 24px;
}

.legal-doc strong {
  color: var(--text);
}

.legal-doc__back {
  margin-top: 32px;
}

.legal-doc__back--row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.legal-doc__h3 {
  margin: 20px 0 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.legal-doc__rule--sub {
  margin: 20px 0 18px;
  opacity: 0.85;
}

.legal-doc a:not(.btn) {
  color: var(--accent);
  font-weight: 500;
}

/* Banner consenso cookie (inietto da script.js) */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  padding: 14px 0 max(14px, env(safe-area-inset-bottom, 0px));
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.93);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18);
  animation: cookieBannerIn 0.35s ease-out;
}

@keyframes cookieBannerIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-banner__inner.shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-inline-end: max(16px, calc(env(safe-area-inset-right, 0px) + 4.75rem));
}

.cookie-banner__text {
  margin: 0;
  flex: 1 1 220px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.cookie-banner__text a {
  color: #fff;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner__text a:hover {
  color: var(--green-pale);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner .btn {
  min-height: 44px;
  font-size: 13px;
}

.cookie-banner .btn--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: transparent;
}

.cookie-banner .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  transform: none;
}

.cookie-banner .btn--primary {
  background: #fff;
  color: var(--green-dark);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.cookie-banner .btn--primary:hover {
  background: var(--green-pale);
  color: var(--green-dark);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .cookie-banner__inner.shell {
    flex-direction: column;
    align-items: stretch;
    padding-inline-end: max(16px, env(safe-area-inset-right, 0px));
    padding-bottom: max(4px, env(safe-area-inset-bottom, 0px));
  }

  .cookie-banner__actions {
    flex-direction: column;
    width: 100%;
  }

  .cookie-banner__actions .btn {
    width: 100%;
  }
}

