/* ============================================================
   SOUL STUDIO · /grafica/ · LANDING PAGE
   Prefisso CSS: gr-
   DNA Soul: Inter, lowercase, rossi brand, gradient titoli
   ============================================================ */

:root {
  --gr-bg: #0a0a0a;
  --gr-bg-soft: #14110d;
  --gr-bordeaux: #8b1a22;
  --gr-red: #c0313c;
  --gr-red-light: #d44a55;
  --gr-red-glow: rgba(192, 49, 60, 0.55);
  --gr-text: rgba(255, 255, 255, 0.95);
  --gr-text-soft: rgba(255, 255, 255, 0.62);
  --gr-text-mute: rgba(255, 255, 255, 0.35);
  --gr-border: rgba(255, 255, 255, 0.08);
  --gr-orange-tag: #f97316;
  --c-loghi: #f4d68a;
  --c-branding: #b794d8;
  --c-brochure: #6b9bc4;
  --c-packaging: #d4a896;
  --c-illustra: #e8a5c4;
  --c-editoria: #ec5b8e;
  --c-offline: #5db389;
}

.grafica-page { background: var(--gr-bg); color: var(--gr-text); overflow-x: hidden; }
.grafica-page * { box-sizing: border-box; }

/* ============================================================
   UTILITIES SOUL
   ============================================================ */
.grafica-page .gr-kicker {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gr-red);
  display: inline-flex; align-items: center; gap: 8px;
}
.grafica-page .gr-kicker::before {
  content: ''; width: 6px; height: 6px;
  background: var(--gr-red); border-radius: 50%;
  animation: grPulse 1.8s ease-in-out infinite;
}
@keyframes grPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.grafica-page .gr-h1, .grafica-page .gr-h2 {
  font-weight: 900; line-height: 0.96;
  letter-spacing: -0.035em; text-transform: lowercase;
  font-family: 'Inter', sans-serif;
}
.grafica-page .gr-h1 { font-size: clamp(40px, 6vw, 96px); }
.grafica-page .gr-h2 { font-size: clamp(30px, 4vw, 56px); }

.grafica-page .gr-grad {
  background: linear-gradient(135deg, var(--gr-bordeaux), var(--gr-red), var(--gr-red-light));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.grafica-page .gr-emoji {
  display: inline-block; transform: rotate(-8deg);
  font-size: 0.85em; margin-left: 0.15em;
}
.grafica-page .gr-sub {
  font-size: 15px; line-height: 1.55;
  color: var(--gr-text-soft);
  max-width: 540px; margin: 0 auto;
  text-align: center;
}

.grafica-page .gr-cta-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--gr-bordeaux), var(--gr-red), var(--gr-red-light));
  color: white; border-radius: 999px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.05em;
  text-decoration: none; text-transform: lowercase;
  box-shadow: 0 8px 24px rgba(192, 49, 60, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.grafica-page .gr-cta-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(192, 49, 60, 0.55);
}

.grafica-page .gr-cta-mini {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  background: transparent;
  border: 1px solid var(--gr-red);
  color: var(--gr-red-light);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
}
.grafica-page .gr-cta-mini:hover {
  background: rgba(192, 49, 60, 0.1);
  transform: translateY(-2px);
}

/* ============================================================
   FLOATING EMOJI (signature)
   ============================================================ */
.grafica-page .gr-floating-emoji {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  opacity: 0.18;
  filter: blur(0.5px);
  animation: floatA 18s ease-in-out infinite;
}
.grafica-page .gr-floating-emoji.b { animation: floatB 22s ease-in-out infinite; }
.grafica-page .gr-floating-emoji.c { animation: floatC 26s ease-in-out infinite; }
.grafica-page .gr-floating-emoji.d { animation: floatD 20s ease-in-out infinite; }

@keyframes floatA {
  0%,100% { transform: translate(0,0) rotate(-12deg) scale(1); }
  50% { transform: translate(20px,-30px) rotate(8deg) scale(1.05); }
}
@keyframes floatB {
  0%,100% { transform: translate(0,0) rotate(15deg) scale(1); }
  50% { transform: translate(-25px,20px) rotate(-10deg) scale(0.95); }
}
@keyframes floatC {
  0%,100% { transform: translate(0,0) rotate(-5deg) scale(1); }
  50% { transform: translate(15px,25px) rotate(20deg) scale(1.08); }
}
@keyframes floatD {
  0%,100% { transform: translate(0,0) rotate(8deg) scale(1); }
  33% { transform: translate(-20px,-15px) rotate(-15deg) scale(1.05); }
  66% { transform: translate(25px,10px) rotate(12deg) scale(0.95); }
}

/* ============================================================
   SECTION TEMPLATE
   ============================================================ */
.grafica-page .gr-section {
  position: relative;
  padding: 50px 32px;
  text-align: center;
  overflow: hidden;
}
.grafica-page .gr-section__inner {
  position: relative; z-index: 5;
  max-width: 1320px; margin: 0 auto;
}
.grafica-page .gr-section__head { margin-bottom: 32px; }
.grafica-page .gr-section__kicker { margin-bottom: 16px; }
.grafica-page .gr-section__title { margin-bottom: 18px; }
.grafica-page .gr-section__sub { margin-bottom: 0; }

.grafica-page .gr-section__beam {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.grafica-page .gr-section__beam::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; height: 100%;
}

/* ============================================================
   01 · HERO
   ============================================================ */
.grafica-page .gr-hero {
  position: relative;
  min-height: 75vh;
  padding: 80px 32px 30px;
  display: flex; flex-direction: column; justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.grafica-page .gr-hero__beam {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 1200px 800px at 50% 60%, var(--gr-red-glow), transparent 65%),
    radial-gradient(circle 600px at 30% 30%, rgba(244, 214, 138, 0.08), transparent 70%),
    radial-gradient(circle 600px at 70% 70%, rgba(232, 165, 196, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.grafica-page .gr-hero__inner {
  position: relative; z-index: 5;
  max-width: 1100px; margin: 0 auto;
}
.grafica-page .gr-hero__dept {
  display: flex; gap: 20px; align-items: center; justify-content: center;
  margin-bottom: 28px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gr-text-mute);
  flex-wrap: wrap;
}
.grafica-page .gr-hero__dept-tag {
  color: var(--gr-orange-tag);
  border: 1px solid var(--gr-orange-tag);
  padding: 4px 10px; border-radius: 4px;
}
.grafica-page .gr-hero__kicker { margin-bottom: 20px; }
.grafica-page .gr-hero__title { margin-bottom: 22px; }
.grafica-page .gr-hero__sub {
  font-size: 16px; max-width: 520px; margin: 0 auto 32px;
  color: var(--gr-text-soft); line-height: 1.55;
}
.grafica-page .gr-hero__cta-row {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 44px;
}
.grafica-page .gr-hero__stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 720px; margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--gr-border);
}
.grafica-page .gr-hero__stat { text-align: center; }
.grafica-page .gr-hero__stat-num {
  font-size: 28px; font-weight: 900;
  background: linear-gradient(135deg, var(--gr-bordeaux), var(--gr-red), var(--gr-red-light));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.grafica-page .gr-hero__stat-label {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--gr-text-mute); letter-spacing: 0.2em;
  text-transform: uppercase; margin-top: 10px;
}

/* ============================================================
   02 · LOGHI
   ============================================================ */
.grafica-page .gr-loghi { padding: 50px 32px 60px; }
.grafica-page .gr-loghi .gr-section__beam::before {
  background: radial-gradient(ellipse 1000px 600px at 50% 50%,
    rgba(244, 214, 138, 0.18) 0%,
    rgba(192, 49, 60, 0.25) 30%,
    transparent 65%);
}
.grafica-page .gr-loghi__grid-wrap {
  margin-top: 40px;
}
.grafica-page .gr-loghi__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}
.grafica-page .gr-loghi__card {
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--gr-border);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}
.grafica-page .gr-loghi__card:hover {
  transform: translateY(-6px);
  border-color: var(--c-loghi);
  box-shadow: 0 20px 40px rgba(244, 214, 138, 0.25);
}
.grafica-page .gr-loghi__card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.grafica-page .gr-loghi__cta-row {
  margin-top: 24px;
  display: flex; justify-content: center;
}

/* ============================================================
   03 · BRANDING / Brand DNA
   MODIFICA: container ridotto da 1100 a 900
   ============================================================ */
.grafica-page .gr-branding .gr-section__beam::before {
  background: radial-gradient(ellipse 1000px 700px at 50% 50%,
    rgba(183, 148, 216, 0.22) 0%,
    rgba(192, 49, 60, 0.22) 35%,
    transparent 65%);
}
.grafica-page .gr-branding__visuals {
  margin-top: 40px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 640px;
  margin-left: auto; margin-right: auto;
}
.grafica-page .gr-branding__card {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--gr-border);
  background: var(--gr-bg-soft);
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1), border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
  position: relative;
}
.grafica-page .gr-branding__card:hover {
  transform: translateY(-12px);
  border-color: var(--c-branding);
  box-shadow: 0 32px 64px rgba(183, 148, 216, 0.3);
}
.grafica-page .gr-branding__card img {
  width: 100%; height: auto; display: block;
}
.grafica-page .gr-branding__card-tag {
  position: absolute;
  top: 16px; left: 16px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--c-branding);
  background: rgba(10, 10, 10, 0.85);
  padding: 6px 12px; border-radius: 4px;
  backdrop-filter: blur(6px);
}
.grafica-page .gr-branding__cta {
  margin-top: 24px;
  display: flex; justify-content: center;
}

/* ============================================================
   04 · BROCHURE & MENÙ
   MODIFICA: grid-auto-rows da 90px a 70px
   ============================================================ */
.grafica-page .gr-brochure .gr-section__beam::before {
  background: radial-gradient(ellipse 1000px 600px at 50% 50%,
    rgba(107, 155, 196, 0.25) 0%,
    rgba(192, 49, 60, 0.2) 35%,
    transparent 70%);
}
.grafica-page .gr-brochure__track-wrap {
  overflow: hidden;
  cursor: grab;
  margin-top: 40px;
  padding: 16px 0;
  user-select: none;
  mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
}
.grafica-page .gr-brochure__track-wrap.is-dragging { cursor: grabbing; }
.grafica-page .gr-brochure__track-wrap.is-dragging * { pointer-events: none; }
.grafica-page .gr-brochure__track {
  display: flex; gap: 20px;
  padding: 0 32px;
  align-items: center;
  justify-content: center;
  min-width: 100%;
  width: max-content;
}
.grafica-page .gr-brochure__item {
  height: 260px;
  width: auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gr-border);
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}
.grafica-page .gr-brochure__item:hover {
  transform: translateY(-4px);
  border-color: var(--c-brochure);
  box-shadow: 0 20px 40px rgba(107, 155, 196, 0.3);
}
.grafica-page .gr-brochure__item img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.grafica-page .gr-brochure__cta {
  margin-top: 24px;
  display: flex; justify-content: center;
}

/* ============================================================
   05 · PACKAGING
   MODIFICA: max-height 380px sui packaging item
   ============================================================ */
.grafica-page .gr-packaging .gr-section__beam::before {
  background: radial-gradient(ellipse 1100px 700px at 50% 50%,
    rgba(212, 168, 150, 0.28) 0%,
    rgba(139, 26, 34, 0.18) 40%,
    transparent 70%);
}
.grafica-page .gr-packaging__grid {
  margin-top: 40px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 720px; margin-left: auto; margin-right: auto;
}
.grafica-page .gr-packaging__item {
  aspect-ratio: 1.4/1;
  max-height: 260px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--gr-border);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}
.grafica-page .gr-packaging__item:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--c-packaging);
  box-shadow: 0 24px 48px rgba(212, 168, 150, 0.35);
}
.grafica-page .gr-packaging__item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.grafica-page .gr-packaging__cta {
  margin-top: 24px;
  display: flex; justify-content: center;
}

/* ============================================================
   06 · ILLUSTRAZIONI A MANO (signature)
   ============================================================ */
.grafica-page .gr-illustra { padding: 60px 32px 70px; }
.grafica-page .gr-illustra .gr-section__beam::before {
  background:
    radial-gradient(ellipse 1100px 800px at 50% 50%,
      rgba(232, 165, 196, 0.32) 0%,
      rgba(192, 49, 60, 0.2) 35%,
      transparent 65%);
}
.grafica-page .gr-illustra__stage {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 200px 240px 200px;
  gap: 18px;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  margin-left: auto; margin-right: auto;
}
.grafica-page .gr-illustra__video {
  aspect-ratio: 9/16;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--c-illustra);
  box-shadow:
    0 32px 64px rgba(232, 165, 196, 0.35),
    0 0 80px rgba(232, 165, 196, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
  transform: translateY(-12px);
}
.grafica-page .gr-illustra__video video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.grafica-page .gr-illustra__video-tag {
  position: absolute;
  top: 16px; left: 16px;
  font-family: 'JetBrains Mono', monospace; font-size: 9px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--c-illustra);
  background: rgba(10, 10, 10, 0.85);
  padding: 5px 10px; border-radius: 4px;
  backdrop-filter: blur(6px);
  z-index: 2;
}
.grafica-page .gr-illustra__side {
  display: grid; grid-template-rows: 1fr 1fr;
  gap: 20px;
  height: 100%;
}
.grafica-page .gr-illustra__photo {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--gr-border);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), border-color 0.3s;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}
.grafica-page .gr-illustra__photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.grafica-page .gr-illustra__photo:nth-child(1) { transform: rotate(-2deg); }
.grafica-page .gr-illustra__photo:nth-child(2) { transform: rotate(1.5deg); }
.grafica-page .gr-illustra__side:last-child .gr-illustra__photo:nth-child(1) { transform: rotate(2deg); }
.grafica-page .gr-illustra__side:last-child .gr-illustra__photo:nth-child(2) { transform: rotate(-1.5deg); }
.grafica-page .gr-illustra__photo:hover {
  transform: translateY(-6px) scale(1.02) rotate(0) !important;
  border-color: var(--c-illustra);
}
.grafica-page .gr-illustra__cta {
  margin-top: 24px;
  display: flex; justify-content: center;
}

/* ============================================================
   07 · EDITORIA
   MODIFICA: grid-auto-rows da 90px a 70px
   ============================================================ */
.grafica-page .gr-editoria .gr-section__beam::before {
  background: radial-gradient(ellipse 1100px 700px at 50% 50%,
    rgba(236, 91, 142, 0.32) 0%,
    rgba(139, 26, 34, 0.2) 35%,
    transparent 65%);
}
.grafica-page .gr-editoria__product {
  margin: 40px auto 0;
  max-width: 760px;
}
.grafica-page .gr-editoria__product-stat {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  padding: 24px 0;
}
.grafica-page .gr-editoria__stat-num {
  font-size: 30px; font-weight: 900;
  background: linear-gradient(135deg, var(--gr-bordeaux), var(--c-editoria));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.grafica-page .gr-editoria__stat-label {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: var(--gr-text-mute); letter-spacing: 0.18em;
  text-transform: uppercase; margin-top: 8px;
}
.grafica-page .gr-editoria__track-wrap {
  overflow: hidden;
  cursor: grab;
  margin-top: 32px;
  padding: 16px 0;
  user-select: none;
  mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
}
.grafica-page .gr-editoria__track-wrap.is-dragging { cursor: grabbing; }
.grafica-page .gr-editoria__track-wrap.is-dragging * { pointer-events: none; }
.grafica-page .gr-editoria__track {
  display: flex; gap: 20px;
  padding: 0 32px;
  align-items: center;
  justify-content: center;
  min-width: 100%;
  width: max-content;
}
.grafica-page .gr-editoria__item {
  height: 260px;
  width: auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gr-border);
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}
.grafica-page .gr-editoria__item:hover {
  transform: translateY(-4px);
  border-color: var(--c-editoria);
  box-shadow: 0 20px 40px rgba(236, 91, 142, 0.3);
}
.grafica-page .gr-editoria__item img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.grafica-page .gr-editoria__cta {
  margin-top: 24px;
  display: flex; justify-content: center;
}

/* ============================================================
   08 · OFFLINE
   MODIFICA PRINCIPALE: aspect-ratio 1.2/1 + max-height 360px
   Le immagini sono molto più piccole, una accanto all'altra
   ============================================================ */
.grafica-page .gr-offline .gr-section__beam::before {
  background: radial-gradient(ellipse 1100px 700px at 50% 50%,
    rgba(93, 179, 137, 0.28) 0%,
    rgba(192, 49, 60, 0.18) 35%,
    transparent 65%);
}
.grafica-page .gr-offline__grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  max-width: 1100px;
  margin-left: auto; margin-right: auto;
}
.grafica-page .gr-offline__item {
  aspect-ratio: 1.2/1;
  max-height: 360px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--gr-border);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), border-color 0.3s, box-shadow 0.3s;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}
.grafica-page .gr-offline__item:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--c-offline);
  box-shadow: 0 24px 48px rgba(93, 179, 137, 0.32);
}
.grafica-page .gr-offline__item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  object-position: center;
}
.grafica-page .gr-offline__item--bottom img {
  object-position: center top;
}
.grafica-page .gr-offline__cta {
  margin-top: 24px;
  display: flex; justify-content: center;
}

/* ============================================================
   09 · CTA FINALE
   ============================================================ */
.grafica-page .gr-final {
  padding: 80px 32px;
  text-align: center;
  position: relative; overflow: hidden;
}
.grafica-page .gr-final__beam {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 1200px 800px at 50% 50%, rgba(192, 49, 60, 0.55), transparent 60%),
    radial-gradient(circle 400px at 30% 50%, rgba(244, 214, 138, 0.12), transparent 70%),
    radial-gradient(circle 400px at 70% 50%, rgba(232, 165, 196, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.grafica-page .gr-final__inner {
  position: relative; z-index: 5;
  max-width: 840px; margin: 0 auto;
}
.grafica-page .gr-final__kicker { margin-bottom: 20px; }
.grafica-page .gr-final__title { margin-bottom: 20px; }
.grafica-page .gr-final__sub {
  font-size: 15px; line-height: 1.55;
  color: var(--gr-text-soft);
  margin-bottom: 32px;
  max-width: 560px; margin-left: auto; margin-right: auto;
}
.grafica-page .gr-final__buttons {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.grafica-page .gr-final__secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--gr-text);
  border-radius: 999px;
  font-weight: 700; font-size: 14px; letter-spacing: 0.05em;
  text-decoration: none; text-transform: lowercase;
  transition: all 0.2s;
}
.grafica-page .gr-final__secondary:hover {
  background: rgba(37, 211, 102, 0.1);
  border-color: #25D366;
  color: #25D366;
  transform: translateY(-3px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .grafica-page .gr-illustra__stage {
    grid-template-columns: 1fr 280px 1fr;
  }
}
@media (max-width: 880px) {
  .grafica-page .gr-section { padding: 36px 20px; }
  .grafica-page .gr-loghi__grid { grid-template-columns: repeat(2, 1fr); max-width: 480px; }
  .grafica-page .gr-hero__stats { grid-template-columns: 1fr 1fr; gap: 24px; }
  .grafica-page .gr-branding__visuals { grid-template-columns: 1fr; max-width: 320px; }
  .grafica-page .gr-packaging__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grafica-page .gr-illustra__stage {
    grid-template-columns: 1fr;
    max-width: 280px;
    gap: 14px;
  }
  .grafica-page .gr-illustra__side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
  }
  .grafica-page .gr-editoria__product-stat {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .grafica-page .gr-offline__grid { grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: none; }
  .grafica-page .gr-brochure__item { height: 200px; }
  .grafica-page .gr-editoria__item { height: 200px; }
}

/* Nascondi scrollbar caroselli drag */
.grafica-page .gr-brochure__track-wrap::-webkit-scrollbar,
.grafica-page .gr-editoria__track-wrap::-webkit-scrollbar {
  display: none;
}
.grafica-page .gr-brochure__track-wrap,
.grafica-page .gr-editoria__track-wrap {
  scrollbar-width: none;
  -ms-overflow-style: none;
}


/* GR DECK MOBILE — brand DNA pila di carte (<=768px) */
@media (max-width: 768px){
  .grafica-page .gr-branding__visuals.gr-deck{
    grid-template-columns:none !important;
    display:block;
    position:relative;
    width:74vw; max-width:300px;
    aspect-ratio:3/4;
    margin:0 auto; padding:0;
  }
  .grafica-page .gr-deck .gr-branding__card{
    position:absolute; inset:0;
    width:100%; height:100%;
    transition:transform .48s cubic-bezier(.2,.85,.2,1), opacity .48s ease;
    cursor:grab;
  }
  .grafica-page .gr-deck .gr-branding__card img{ width:100%; height:100%; object-fit:cover; }
  .grafica-page .gr-deck .gr-branding__card.gr-deck__top{ transform:rotate(-2deg); }
  .grafica-page .gr-deck .gr-branding__card:not(.gr-deck__top){ transform:rotate(2.5deg) translateY(8px) scale(.985); }
  .grafica-page .gr-deck .gr-branding__card.gr-deck__gone{ transform:translateX(-130%) rotate(-20deg); opacity:0; }
  .grafica-page .gr-deck__btn{
    display:block; margin:18px auto 0;
    background:rgba(183,148,216,.15);
    border:1px solid rgba(183,148,216,.42);
    color:#cbb0e4; font-size:11px; font-weight:700;
    letter-spacing:1px; text-transform:uppercase;
    padding:9px 20px; border-radius:22px; cursor:pointer;
  }
}
/* ============================================================ */