/* =====================================================================
   L'ESSENZIALE CARTOLERIA — style.css
   ---------------------------------------------------------------------
   BREAKPOINT SYSTEM (mobile-first, min-width)
     base   0 – 479 px    telefoni piccoli · 1 colonna, menu a panino
     sm     480 px        telefoni grandi · spaziature leggermente maggiori
     md     768 px        tablet verticale · nav orizzontale, griglie a 2 col
     lg     1024 px       tablet orizzontale / laptop · griglie a 3 col, hero XL
     xl     1280 px       desktop · tipografia e spaziature piene
     2xl    1440 px       schermi ampi · container fissato a 1240 px
   Ritocchi extra:
     max-width 380 px     hero e stat compattati per iPhone SE / mini
     (orientation: landscape) and (max-height: 520px)  → hero ridotto
     prefers-reduced-motion  → animazioni disattivate
   ===================================================================== */

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul { list-style: none; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
iframe { border: 0; }

/* ============ DESIGN TOKENS ============ */
:root {
  /* Colori dal logo */
  --c-teal:        #1b7f8e;
  --c-teal-deep:   #14616e;
  --c-teal-ink:    #123c43;
  --c-coral:       #ef6d89;
  --c-coral-deep:  #d9506e;
  --c-yellow:      #f4c14e;
  --c-mint:        #8ad6d1;
  --c-sky:         #7fb9e6;
  --c-lilac:       #c59ad6;

  --paper:         #fbf6ec;
  --paper-2:       #f4ecdd;
  --card:          #ffffff;
  --ink:           #26383c;
  --ink-soft:      #4d6167;
  --ink-faint:     #7c8b8f;
  --line:          #e4dccb;
  --line-strong:   #d3c8b0;

  --color-primary:      var(--c-teal-deep);
  --color-on-primary:   #ffffff;
  --color-accent:       var(--c-coral);

  --font-display: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --font-body:    "Nunito", "Segoe UI", system-ui, sans-serif;

  --container: 1240px;

  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 48px;
  --sp-6: 64px;
  --sp-7: 88px;
  --sp-8: 120px;

  --section-y: clamp(56px, 9vw, 112px);

  --radius:    18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 14px rgba(38, 56, 60, 0.08);
  --shadow-md: 0 14px 34px rgba(38, 56, 60, 0.12);
  --shadow-lg: 0 26px 60px rgba(38, 56, 60, 0.16);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);

  --header-h: 76px;
}

/* ============ BODY / TYPO BASE ============ */
body {
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(122, 165, 173, 0.10) 1px, transparent 1px);
  background-size: 100% 30px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  color: var(--c-teal-ink);
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
h3 { font-size: 1.25rem; }

p { text-wrap: pretty; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 56px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-coral-deep);
  margin-bottom: var(--sp-2);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--c-coral);
}
.eyebrow-light { color: #ffe0c2; }
.eyebrow-light::before { background: var(--c-yellow); }

.lead { font-size: 1.1rem; color: var(--ink-soft); }

.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-sub { color: var(--ink-soft); margin-top: var(--sp-2); }

.skip-link {
  position: absolute;
  left: -999px; top: 0;
  z-index: 1200;
  background: var(--c-teal-deep);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 12px 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--c-teal);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: transform 160ms var(--ease-back), background-color 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease), box-shadow 200ms var(--ease);
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }
.btn-large { padding: 16px 30px; font-size: 1.05rem; }

.btn-primary {
  background: var(--c-teal-deep);
  color: #fff;
  box-shadow: 0 8px 0 0 var(--c-teal-ink);
}
.btn-primary:hover { background: var(--c-teal); transform: translateY(-2px); box-shadow: 0 10px 0 0 var(--c-teal-ink); }
.btn-primary:active { transform: translateY(4px); box-shadow: 0 2px 0 0 var(--c-teal-ink); }

.btn-outline {
  background: #fff;
  color: var(--c-teal-deep);
  border-color: var(--c-teal-deep);
  box-shadow: 0 8px 0 0 rgba(20, 97, 110, 0.18);
}
.btn-outline:hover { background: var(--paper-2); transform: translateY(-2px); }
.btn-outline:active { transform: translateY(4px); box-shadow: 0 2px 0 0 rgba(20, 97, 110, 0.18); }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251, 246, 236, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid transparent;
  transition: border-color 240ms var(--ease), box-shadow 240ms var(--ease), background-color 240ms var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  min-height: var(--header-h);
  padding-block: 10px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(38, 56, 60, 0.18);
  transition: transform 400ms var(--ease-back);
}
.site-header.is-scrolled .brand-logo { transform: scale(0.92); }
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.04); }
.brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.16rem;
  line-height: 1.05;
  color: var(--c-teal-ink);
}
.brand-text em {
  font-style: normal;
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 3px;
}

.main-nav { display: flex; align-items: center; gap: var(--sp-3); }
.main-nav ul { display: flex; gap: var(--sp-3); }
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink-soft);
  padding: 6px 2px;
  position: relative;
}
.main-nav a.btn-nav-cta { color: #fff; padding: 13px 24px; }
.main-nav ul a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--c-coral);
  transition: right 240ms var(--ease);
}
.main-nav ul a:hover { color: var(--c-teal-ink); }
.main-nav ul a:hover::after { right: 0; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  border: 2px solid var(--line-strong);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  width: 22px; height: 2.5px;
  border-radius: 2px;
  background: var(--c-teal-ink);
  transition: transform 240ms var(--ease), opacity 200ms var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding-top: clamp(48px, 9vw, 96px);
  padding-bottom: clamp(72px, 12vw, 140px);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--paper));
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 780px; }

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.6rem);
  font-weight: 800;
  margin-bottom: var(--sp-3);
}
.hero-title .hl {
  position: relative;
  color: var(--c-coral-deep);
  white-space: nowrap;
}
.hero-title .hl::after {
  content: "";
  position: absolute;
  left: -4px; right: -4px; bottom: 6%;
  height: 0.34em;
  background: var(--c-yellow);
  opacity: 0.55;
  z-index: -1;
  border-radius: 4px;
  transform: rotate(-1.5deg);
}
.hero-lead {
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  color: var(--ink-soft);
  max-width: 60ch;
  margin-bottom: var(--sp-4);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
}
.hero-stats div { position: relative; }
.hero-stats dt {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  color: var(--c-teal-ink);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.hero-stats .unit { color: var(--c-yellow); }
.hero-stats dd { color: var(--ink-faint); font-size: 0.95rem; margin-top: 4px; }

/* Hero doodles */
.hero-decor { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.doodle { position: absolute; display: block; }
.doodle svg { width: 100%; height: 100%; }
.doodle-plane  { width: 68px; height: 68px; color: var(--c-teal);  top: 12%; right: 8%;  animation: floaty 7s var(--ease) infinite; }
.doodle-pencil { width: 76px; height: 76px; color: var(--c-coral); bottom: 20%; right: 14%; animation: floaty 9s var(--ease) infinite reverse; }
.doodle-clip   { width: 56px; height: 56px; color: var(--c-lilac); top: 20%;  left: 4%;  animation: floaty 8s var(--ease) 0.5s infinite; }
.doodle-star   { width: 52px; height: 52px; color: var(--c-yellow); bottom: 26%; left: 9%; animation: spinny 14s linear infinite; }
.doodle-blob {
  border-radius: 50% 50% 46% 54% / 55% 48% 52% 45%;
  opacity: 0.5;
}
.blob-1 { width: 320px; height: 320px; background: radial-gradient(circle at 35% 35%, var(--c-mint), transparent 70%); top: -8%; right: -6%; animation: morph 18s ease-in-out infinite; }
.blob-2 { width: 260px; height: 260px; background: radial-gradient(circle at 40% 40%, var(--c-sky), transparent 70%); bottom: 0; left: -8%; animation: morph 22s ease-in-out infinite reverse; }

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50%      { transform: translateY(-22px) rotate(6deg); }
}
@keyframes spinny { to { transform: rotate(360deg); } }
@keyframes morph {
  0%, 100% { border-radius: 50% 50% 46% 54% / 55% 48% 52% 45%; transform: translate(0,0) scale(1); }
  50%      { border-radius: 42% 58% 62% 38% / 46% 58% 42% 54%; transform: translate(14px,-18px) scale(1.06); }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.scroll-cue-dot {
  width: 24px; height: 38px;
  border: 2px solid var(--line-strong);
  border-radius: 14px;
  position: relative;
}
.scroll-cue-dot::after {
  content: "";
  position: absolute;
  left: 50%; top: 8px;
  width: 5px; height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--c-coral);
  animation: cue 1.7s var(--ease) infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* ============ TAPE / MARQUEE ============ */
.tape {
  background: var(--c-teal-deep);
  color: #fff;
  padding: 14px 0;
  overflow: hidden;
  display: flex;
  gap: 0;
  transform: rotate(-1.4deg);
  margin: 12px 0 -8px;
  box-shadow: var(--shadow-sm);
}
.tape-track {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  flex-shrink: 0;
  min-width: 100%;
  animation: marquee 32s linear infinite;
}
.tape-track span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  white-space: nowrap;
}
.tape-track span:nth-child(even) { color: var(--c-yellow); }
.tape:hover .tape-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ============ ABOUT ============ */
.about { padding-block: var(--section-y); }
.about-inner {
  display: grid;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
.about-media { position: relative; justify-self: center; max-width: 420px; width: 100%; }
.about-card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 4vw, 30px);
  box-shadow: var(--shadow-md);
  transform: rotate(-2deg);
  transition: transform 400ms var(--ease-back);
}
.about-media:hover .about-card { transform: rotate(0deg) scale(1.02); }
.about-card img { border-radius: 50%; width: 100%; }
.washi {
  position: absolute;
  width: 120px; height: 34px;
  border-radius: 3px;
  opacity: 0.9;
}
.washi-1 { background: var(--c-coral); top: -14px; left: 12%; transform: rotate(-8deg); }
.washi-2 { background: var(--c-mint); bottom: -12px; right: 8%; transform: rotate(6deg); }

.about-points { margin-top: var(--sp-4); display: grid; gap: 12px; }
.about-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--c-teal-ink);
}
.about-points svg {
  width: 26px; height: 26px;
  flex-shrink: 0;
  padding: 4px;
  border-radius: 50%;
  background: var(--c-mint);
  color: var(--c-teal-ink);
}

/* ============ REPARTI ============ */
.reparti { padding-block: var(--section-y); }
.reparti-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
}
.repart-card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3.5vw, 30px);
  position: relative;
  overflow: hidden;
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), border-color 260ms var(--ease);
}
.repart-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--accent, var(--c-teal));
}
.repart-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent, var(--c-teal));
}
.repart-icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: color-mix(in srgb, var(--accent) 18%, white);
  color: var(--accent, var(--c-teal-deep));
  margin-bottom: var(--sp-2);
  transition: transform 300ms var(--ease-back);
}
.repart-card:hover .repart-icon { transform: rotate(-8deg) scale(1.08); }
.repart-icon svg { width: 30px; height: 30px; }
.repart-card h3 { color: var(--c-teal-ink); margin-bottom: 6px; }
.repart-card p { color: var(--ink-soft); font-size: 0.98rem; }

/* ============ PROMISE ============ */
.promise {
  padding-block: var(--section-y);
  background:
    radial-gradient(circle at 12% 20%, rgba(255,255,255,0.10), transparent 40%),
    linear-gradient(150deg, var(--c-teal-deep), var(--c-teal-ink));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.promise::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 100% 30px;
  pointer-events: none;
}
.promise-inner { position: relative; display: grid; gap: clamp(32px, 5vw, 56px); }
.promise-text h2 { color: #fff; }
.promise-text p { color: rgba(255,255,255,0.82); max-width: 46ch; }
.promise-cards { display: grid; grid-template-columns: 1fr; gap: var(--sp-2); }
.promise-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  padding: var(--sp-3);
  transition: transform 220ms var(--ease), background-color 220ms var(--ease);
}
.promise-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.14); }
.promise-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--c-yellow);
}
.promise-card h3 { color: #fff; margin: 6px 0; }
.promise-card p { color: rgba(255,255,255,0.78); font-size: 0.96rem; }

/* ============ REVIEWS ============ */
.reviews { padding-block: var(--section-y); }
.reviews-viewport { overflow: hidden; border-radius: var(--radius-lg); }
.reviews-track {
  display: flex;
  transition: transform 480ms var(--ease);
}
.review-slide {
  flex: 0 0 100%;
  padding: 4px;
}
.review-slide blockquote {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 48px);
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.stars { color: var(--c-yellow); font-size: 1.2rem; letter-spacing: 3px; margin-bottom: var(--sp-2); }
.review-slide p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  line-height: 1.4;
  color: var(--c-teal-ink);
  margin-bottom: var(--sp-3);
}
.review-slide footer { font-weight: 700; color: var(--ink); }
.review-slide footer span { font-weight: 400; color: var(--ink-faint); }

.reviews-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
}
.rev-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--c-teal-ink);
  transition: background-color 200ms var(--ease), transform 200ms var(--ease-back), border-color 200ms var(--ease);
}
.rev-btn:hover { background: var(--c-mint); border-color: var(--c-mint); transform: scale(1.08); }
.rev-btn svg { width: 22px; height: 22px; }
.reviews-dots { display: flex; gap: 8px; }
.reviews-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
  transition: transform 200ms var(--ease-back), background-color 200ms var(--ease);
}
.reviews-dots button[aria-selected="true"] { background: var(--c-coral); transform: scale(1.5); }

/* ============ VISIT ============ */
.visit { padding-block: var(--section-y); }
.visit-inner { display: grid; gap: clamp(32px, 5vw, 56px); }
.visit-block { padding-block: var(--sp-2); border-top: 2px dashed var(--line-strong); }
.visit-block:first-of-type { border-top: 0; padding-top: 0; }
.visit-block h3 { color: var(--c-coral-deep); font-size: 1.05rem; margin-bottom: 6px; }
.visit-block a { color: var(--c-teal-deep); font-weight: 600; text-decoration: underline; text-decoration-color: var(--c-mint); text-underline-offset: 3px; }
.hours { display: grid; gap: 6px; margin-top: 4px; }
.hours div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; }
.hours dt { font-weight: 700; color: var(--ink); }
.hours dd { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.hours-note {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}
.hours-note.is-open { background: color-mix(in srgb, var(--c-mint) 45%, white); color: var(--c-teal-ink); }
.hours-note.is-closed { background: color-mix(in srgb, var(--c-coral) 28%, white); color: var(--c-coral-deep); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 200ms var(--ease); }
.link-arrow:hover svg { transform: translate(3px, -3px); }

.visit-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-3); }

.visit-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--line);
  box-shadow: var(--shadow-md);
  min-height: 300px;
}
.visit-map iframe { width: 100%; height: 100%; min-height: 300px; display: block; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--c-teal-ink);
  color: rgba(255,255,255,0.78);
  padding-top: var(--sp-7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  padding-bottom: var(--sp-6);
}
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-text em { color: rgba(255,255,255,0.6); }
.footer-brand p { margin-top: var(--sp-2); max-width: 42ch; font-size: 0.96rem; }
.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}
.footer-col p { font-size: 0.96rem; margin-bottom: 6px; }
.footer-col a:hover { color: var(--c-yellow); }
.footer-links { display: grid; gap: 6px; }
.footer-social { display: flex; gap: 12px; margin-top: var(--sp-3); }
.footer-social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: grid;
  place-items: center;
  transition: background-color 200ms var(--ease), transform 200ms var(--ease-back);
}
.footer-social a:hover { background: var(--c-coral); transform: translateY(-3px); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-block: var(--sp-3);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.86rem;
}
.footer-credit { color: rgba(255,255,255,0.5); }

/* ============ TO-TOP ============ */
.to-top {
  position: fixed;
  right: clamp(16px, 4vw, 32px);
  bottom: clamp(16px, 4vw, 32px);
  z-index: 900;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--c-teal-deep);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(16px) scale(0.8);
  transition: opacity 240ms var(--ease), transform 240ms var(--ease-back);
}
.to-top.is-shown { opacity: 1; transform: translateY(0) scale(1); }
.to-top:hover { background: var(--c-teal); transform: translateY(-3px) scale(1.05); }
.to-top svg { width: 24px; height: 24px; }

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 640ms var(--ease), transform 640ms var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =====================================================================
   RITOCCO: doodle decorativi solo da tablet in su
   (su mobile si sovrappongono al testo dell'hero)
   ===================================================================== */
@media (max-width: 767.98px) {
  .doodle-plane, .doodle-pencil, .doodle-clip, .doodle-star { display: none; }
  .blob-1 { width: 240px; height: 240px; }
  .blob-2 { width: 200px; height: 200px; }
}

/* =====================================================================
   BREAKPOINT: sm — 480px (telefoni grandi)
   ===================================================================== */
@media (min-width: 480px) {
  .hero-actions .btn { flex: 0 1 auto; }
  .reviews-dots button { width: 11px; height: 11px; }
}

/* Doodle: posizioni riviste su schermi medi per non toccare il testo */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .doodle-plane  { right: 4%; top: 8%; }
  .doodle-pencil { right: 5%; bottom: 12%; }
  .doodle-clip   { left: 2%; }
}

/* =====================================================================
   BREAKPOINT: md — 768px (tablet verticale)
   → nav orizzontale, griglie a 2 colonne
   ===================================================================== */
@media (min-width: 768px) {
  body { font-size: 17px; }

  .reparti-grid { grid-template-columns: repeat(2, 1fr); }
  .promise-cards { grid-template-columns: repeat(2, 1fr); }
  .promise-inner { grid-template-columns: 1fr; }

  .about-inner { grid-template-columns: 0.9fr 1.1fr; }
  .about-media { justify-self: start; }

  .visit-inner { grid-template-columns: 1fr 1fr; align-items: start; }
  .visit-map { min-height: 100%; }

  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-bottom { font-size: 0.9rem; }

  .review-slide { padding: 6px; }
}

/* =====================================================================
   BREAKPOINT: lg — 1024px (laptop)
   → nav visibile, reparti a 3 colonne, hero e promise su 2 colonne
   ===================================================================== */
@media (min-width: 1024px) {
  :root { --header-h: 84px; }

  .nav-toggle { display: none; }
  .main-nav {
    position: static;
    transform: none;
    inset: auto;
    flex-direction: row;
    background: none;
    padding: 0;
    box-shadow: none;
    height: auto;
    width: auto;
    visibility: visible;
    opacity: 1;
  }
  .main-nav ul { flex-direction: row; }

  .reparti-grid { grid-template-columns: repeat(3, 1fr); }
  .promise-inner { grid-template-columns: 0.85fr 1.15fr; align-items: center; }
  .promise-cards { grid-template-columns: repeat(2, 1fr); }

  .reviews-viewport { border-radius: var(--radius-lg); }

  .about-card { transform: rotate(-3deg); }
}

/* =====================================================================
   BREAKPOINT: xl — 1280px (desktop pieno)
   ===================================================================== */
@media (min-width: 1280px) {
  .hero-inner { max-width: 860px; }
  .hero-stats { gap: var(--sp-3) var(--sp-7); }
  .section-head { margin-bottom: var(--sp-6); }
}

/* =====================================================================
   BREAKPOINT: 2xl — 1440px (schermi ampi)
   ===================================================================== */
@media (min-width: 1440px) {
  :root { --container: 1240px; }
  .hero-title { font-size: 4.8rem; }
}

/* =====================================================================
   MOBILE NAV (sotto i 1024px)
   ===================================================================== */
@media (max-width: 1023.98px) {
  .nav-toggle { display: flex; }

  /* backdrop-filter crea un containing block per i figli position:fixed:
     su mobile va rimosso, altrimenti il menu a tendina resta incollato
     all'header invece di coprire lo schermo. */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--paper);
  }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    background: var(--paper);
    padding: var(--sp-4) clamp(20px, 5vw, 40px) var(--sp-6);
    box-shadow: inset 0 12px 24px -12px rgba(38,56,60,0.16);
    transform: translateX(100%);
    transition: transform 320ms var(--ease), visibility 320ms;
    visibility: hidden;
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); visibility: visible; }
  .main-nav ul { flex-direction: column; width: 100%; gap: 0; }
  .main-nav ul li { border-bottom: 2px dashed var(--line-strong); }
  .main-nav ul a {
    display: block;
    padding: 18px 4px;
    font-size: 1.15rem;
    color: var(--c-teal-ink);
  }
  .main-nav ul a::after { display: none; }
  .btn-nav-cta { margin-top: var(--sp-4); width: 100%; }
}

/* =====================================================================
   RITOCCO: telefoni molto stretti (≤380px)
   ===================================================================== */
@media (max-width: 380px) {
  body { font-size: 16px; }
  .brand-text { font-size: 1rem; }
  .brand-logo { width: 44px; height: 44px; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: var(--sp-3) var(--sp-4); }
  .hero-stats > div { flex: 1 0 40%; }
  .btn-large { padding: 14px 22px; font-size: 1rem; }
}

/* =====================================================================
   RITOCCO: landscape basso (telefono ruotato)
   ===================================================================== */
@media (orientation: landscape) and (max-height: 520px) {
  .hero { padding-block: 48px; }
  .scroll-cue { display: none; }
  .main-nav { padding-bottom: var(--sp-4); }
}

/* =====================================================================
   ACCESSIBILITÀ: riduzione del movimento
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .tape-track { animation: none; }
  .tape { transform: rotate(-1.4deg); }
}
