/* =============================================
   PUBLIFACILE – style.css
   ============================================= */

/* ---- Lingue EN/ES disattivate – nascondi selettore ---- */
.lang-switch { display: none !important; }

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

/* Evita lo spostamento dei contenuti causato dalla scrollbar */
html { scrollbar-gutter: stable; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 23px;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > .footer {
  margin-top: auto;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---- Colors ---- */
:root {
  --yellow: #F7A800;
  --dark:   #1a1a2e;
  --blue:   #3A8DDE;
  --pink:   #E0457B;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 100;
  padding: 16px 0;
}

.navbar__inner {
  display: flex;
  align-items: center;
}

.navbar__logo {
  flex: 0 0 auto;
}

.navbar__toggle { display: none !important; visibility: hidden; }
.mobile-contatti-row { display: none !important; }
.mobile-menu-logo { display: none !important; }

.navbar__logo img {
  height: 44px;
  width: auto;
}

.navbar__links {
  display: flex;
  gap: 36px;
  flex: 1;
  justify-content: flex-end;
  margin-right: 40px;
}

.navbar__links a {
  font-size: 15px;
  font-weight: 500;
  color: #444;
  transition: color .2s;
  padding-bottom: 3px;
}

.navbar__links a:hover {
  color: #1a1a1a;
}

.navbar__links a.active {
  color: #1a1a1a;
  border-bottom: 5px solid #F7A800;
}

.navbar__links a.active--blue {
  color: #1a1a1a;
  border-bottom: 5px solid #3A8DDE;
}

/* ── Grafica Facile – navbar (nessun effetto speciale) ── */

/* Pulsante "Contatti" nella navbar – piu piccolo del .btn generico */
.navbar__inner > .btn {
  font-size: 14px;
  padding: 7px 16px;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 19.5px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s;
  white-space: nowrap;
}

.cta-banner .btn {
  padding: 10px 28px;
  font-size: 27.5px;
  border-radius: 16px;
}

.btn:hover { opacity: .85; }

.btn--primary {
  background: var(--yellow);
  color: #1a1a1a;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  padding: 15px 0 0;
  background: #fff;
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 0;
}

.hero__text {
  flex: 0 0 44%;
  padding-right: 20px;
  margin-top: -5%;
}

.hero__text h1 {
  font-size: 71px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 27px;
}

.highlight {
  color: var(--yellow);
}

.hero__sub {
  font-size: 23px;
  color: #333;
}

.hero__sub strong {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
}

.hero__image {
  flex: 0 0 56%;
  text-align: right;
  overflow: hidden;
}

.hero__image img {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  object-fit: contain;
  display: block;
  vertical-align: bottom;
}

/* =============================================
   SERVICES – Cosa facciamo
   ============================================= */
.services {
  padding: 60px 0 80px;
}

.section-title {
  text-align: center;
  font-size: 47px;
  font-weight: 800;
  margin-bottom: 40px;
}

.services__intro {
  text-align: center;
  max-width: 750px;
  margin: -10px auto 45px;
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

/* Grafica Facile – card full width in prima riga */
.service-card--full {
  grid-column: 1 / -1;
}

/* Card con altezza fissa per contenere l'immagine posizionata */
.service-card {
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 16px;
  padding: 36px 32px 72px;
  position: relative;
  min-height: 480px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

/* hover base sovrascritto dalla sezione overlay sotto */

/* ── Hover card: cresce + glow, le altre rimpiccioliscono ── */
.service-card,
.gf-glow-wrap {
  transition: transform 0.4s ease, opacity 0.4s ease, filter 0.4s ease, box-shadow 0.4s ease;
}
.services__grid:hover .service-card,
.services__grid:hover .gf-glow-wrap {
  transform: scale(0.92);
  opacity: 0.5;
  filter: grayscale(0.4);
}
.services__grid:hover .service-card:hover {
  transform: scale(1.15);
  opacity: 1;
  filter: none;
}
.services__grid:hover .gf-glow-wrap:hover {
  transform: scale(1.12);
  opacity: 1;
  filter: none;
}
/* La card dentro gf-glow-wrap segue il wrapper */
.services__grid:hover .gf-glow-wrap .service-card {
  transform: none;
  opacity: 1;
  filter: none;
}
/* Bordo luminoso glow colorato su hover */
.services__grid:hover .service-card--pink:hover {
  box-shadow: 0 0 20px rgba(214,32,107,0.40), 0 0 50px rgba(214,32,107,0.15) !important;
}
.services__grid:hover .service-card--blue:hover {
  box-shadow: 0 0 20px rgba(58,141,222,0.40), 0 0 50px rgba(58,141,222,0.15) !important;
}
.services__grid:hover .gf-glow-wrap:hover {
  box-shadow: 0 0 20px rgba(245,166,35,0.40), 0 0 50px rgba(245,166,35,0.15);
}
/* Pausa animazione bordo GF quando hover su altre card */
.services__grid:has(.service-card:hover) .gf-glow-wrap:not(:hover)::before {
  animation-play-state: paused;
}

/* ── Grafica Facile card – sovrascrive base dopo di essa ── */
.service-card--full {
  background: #FFFDF4;
  border: 1.5px solid #F7A800;
  box-shadow: 0 4px 20px rgba(247,168,0,0.20);
}

.service-card--grafica-facile {
  min-height: 0;
  height: 270px;
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.gf-col-text {
  flex: 0 0 30%;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.service-card--grafica-facile .gf-col-text h3 {
  font-size: 50px;
  font-weight: 800;
  margin: 0 0 8px;
}

.gf-col-text p {
  font-size: 27px;
  color: #444;
  margin: 0;
  flex: 1;
  line-height: 1.5;
}

.gf-col-list {
  flex: 0 0 35%;
  display: flex;
  align-items: flex-start;
  padding: 32px 38px 0;
}

.gf-col-list .service-card__list {
  margin: 0;
}

.gf-col-image {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.gf-col-image img {
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  height: 90%;
  width: auto;
}

.service-card h3 {
  font-size: 41px;
  font-weight: 800;
  margin-bottom: 10px;
}

.service-card__body > p {
  font-size: 27px;
  color: #444;
  margin-bottom: 20px;
  min-height: 80px; /* ← regola questo valore se le liste non sono allineate */
}

.service-card__list {
  list-style: none;
  margin-bottom: 24px;
}

.service-card__list li {
  font-size: 29px;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #D6206B;
  border-radius: 50%;
  flex-shrink: 0;
}

.icon-check::after {
  content: '✓';
  color: #fff;
  font-size: 20.5px;
  font-weight: 700;
}

.icon-check--blue {
  background: #3A8DDE;
}

.icon-check--yellow {
  background: #F7A800;
}

.service-card__body {
  max-width: 55%;
}

.link-more {
  font-size: 32px;
  font-weight: 700;
  display: inline-block;
  position: absolute;
  bottom: 32px;
  left: 32px;
}

.link-more--yellow { color: #F7A800; }
.link-more--pink   { color: #D6206B; }
.link-more--blue   { color: var(--blue); }

.link-more:hover { text-decoration: underline; }

/* Immagine posizionata in basso a destra della card */
.service-card__image {
  position: absolute;
  bottom: 0;
  right: 0;
}

.service-card__image img {
  width: 414px; /* ← CAMBIA QUESTO NUMERO per scalare l'immagine */
  height: auto;
  display: block;
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  padding: 0 0 60px;
}

.cta-banner__inner {
  border-radius: 16px;
  padding: 20px 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 348px;
  background:
    radial-gradient(circle 80px at 0% 50%, var(--pink) 80%, transparent 61%),
    radial-gradient(circle 80px at 100% 50%, var(--blue) 80%, transparent 61%),
    var(--dark);
  overflow: hidden;
}

.cta-banner__text {
  text-align: left;
  color: #fff;
}

.cta-banner__title {
  font-size: 41px;
  font-weight: 800;
}

.cta-banner__sub {
  font-size: 27.5px;
  font-weight: 400;
  opacity: .85;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--dark);
  color: #ccc;
  padding: 28px 0;
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

.footer__logo {
  margin-right: 40px;
}

.footer__logo img {
  height: 43px;
  width: auto;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.footer__col a {
  font-size: 14px;
  color: #ccc;
  transition: color .2s;
}

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

.footer__social {
  margin-left: auto;
  display: flex;
  align-items: flex-end;
  align-self: flex-end;
}

.footer__social img,
.footer__social svg {
  width: 30px;
  height: 30px;
  opacity: .8;
  transition: opacity .2s;
  filter: brightness(0) invert(1);
}

.footer__social:hover img,
.footer__social:hover svg { opacity: 1; }


/* =============================================
   PAGINA GRAFICA 3D
   ============================================= */

/* ---- Page Header ---- */
.page-header {
  padding: 48px 0 56px;
}

.page-header__title {
  font-size: 57.5px;
  font-weight: 800;
  margin-bottom: 10px;
}

.page-header__line {
  width: 80px;
  height: 7px;
  background: #3A8DDE;
  border-radius: 2px;
  margin-bottom: 20px;
}

.page-header__desc {
  font-size: 27.5px;
  color: #444;
  line-height: 1.7;
}

/* ---- Categories section ---- */
.categories {
  padding: 0 0 60px;
}

/* ---- Category selector (vista generale) ---- */
.category-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.category-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid #e0e0e0;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(0,0,0,0.10);
}

/* Banner "Tutti gli articoli" — standalone sopra la griglia */
.category-card--tutti {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  background: #fff;
  border-radius: 20px;
  cursor: pointer;
  padding: 14px 32px;
  margin-top: 36px;
  margin-bottom: 28px;
  box-sizing: border-box;
  transition: box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.category-card--tutti:hover {
  box-shadow: 0 6px 22px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}
.category-card--tutti .category-card__label {
  font-size: 25px;
  font-weight: 800;
  padding: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.category-card--tutti::after {
  content: '›';
  font-size: 35.5px;
  font-weight: 700;
  opacity: 0.8;
}

.category-card__img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.category-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Overlay "Scopri" su hover (freccia rimossa: c'è già quella del bottone) */
.category-card__img::after {
  content: 'Scopri';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 0 8px;
  background: rgba(0,0,0,0.52);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.4px;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.category-card:hover .category-card__img img {
  transform: scale(1.04);
}

.category-card:hover .category-card__img::after {
  opacity: 1;
}

.category-card__bottom {
  background: #fff;
  padding: 14px 16px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-card__text {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.category-card__label {
  font-size: 20.5px;
  font-weight: 800;
  padding: 0;
  text-align: left;
  background: transparent;
  margin: 0 0 3px 0;
  color: #101425;
}

.category-card__desc {
  font-size: 16px;
  color: #888;
  line-height: 1.4;
  margin: 0;
  text-align: left;
}

.category-card__arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
  color: #101425;
  font-size: 30px;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.category-card:hover .category-card__arrow {
  background: #101425;
  border-color: #101425;
  color: #fff;
}

/* ---- Category content (espansa) ---- */
.category-content {
  display: none;
}

.category-expanded-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  border: 2px solid #3A8DDE;
  border-radius: 40px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(58, 141, 222, 0.15);
  cursor: pointer;
  margin-bottom: 32px;
  transition: box-shadow 0.2s;
}

.category-expanded-header:hover {
  box-shadow: 0 4px 24px rgba(58, 141, 222, 0.28);
}

.back-arrow {
  font-size: 39px;
  font-weight: 700;
  color: #3A8DDE;
  line-height: 1;
}

.category-expanded-header__title {
  font-size: 23px;
  font-weight: 700;
  color: #1a1a1a;
}

/* ---- Products grid (Modellazione packaging) ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.product-card {
  background: #fff;
  border: 1.5px solid #e8e8e8;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.09);
}

.product-card__img {
  background: #f7f7f7;
  padding: 20px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.product-card__name {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 14px 16px 8px;
  color: #1a1a1a;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 16px;
}

.product-card__type {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #555;
}

.product-card__type svg {
  color: #3A8DDE;
  flex-shrink: 0;
}

.product-card__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}

.product-card__price small {
  font-size: 10px;
  color: #888;
}

.product-card__price strong {
  font-size: 18px;
  font-weight: 800;
  color: #3A8DDE;
}

/* ---- Services list (Anteprima con IA) ---- */
.services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.service-item {
  background: #fff;
  border: 1.5px solid #e8e8e8;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.09);
}

.service-item__img {
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.service-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-item__body {
  padding: 24px 24px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-item__body h3 {
  font-size: 27.5px;
  font-weight: 800;
  margin-bottom: 10px;
}

.service-item__body p {
  font-size: 20.5px;
  color: #444;
  line-height: 1.7;
  flex: 1;
}

.service-item__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-top: 16px;
  line-height: 1.2;
}

.service-item__price small {
  font-size: 16px;
  color: #888;
}

.service-item__price strong {
  font-size: 35.5px;
  font-weight: 800;
  color: #3A8DDE;
}

/* ---- CTA Light ---- */
.cta-light {
  padding: 0 0 60px;
}

.cta-light__inner {
  background: #f0f0f0;
  border-radius: 14px;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.cta-light__text {
  font-size: 25px;
  font-weight: 700;
  flex: 1;
}

.cta-light__btn {
  padding: 12px 28px;
  font-size: 22px;
}


/* =============================================
   PAGINA CONTATTI
   ============================================= */

.page-header__line--yellow {
  background: #F7A800;
}

.btn--active {
  background: #1a1a2e;
  color: #fff;
}

.contatti-section {
  padding: 40px 0 80px;
}

.contatti-section__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

/* Info sinistra */
.contatti-info__item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contatti-info__item a {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  transition: color .2s;
}

.contatti-info__item a:hover {
  color: #F7A800;
}

/* Form */
.contatti-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 20.5px;
  color: #1a1a1a;
  background: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #F7A800;
  box-shadow: 0 0 0 3px rgba(247, 168, 0, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

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

.form-group--submit {
  text-align: right;
}

.btn--large {
  padding: 14px 36px;
  font-size: 22px;
}

.form-msg {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 20.5px;
  font-weight: 600;
  margin-bottom: 16px;
}

.form-msg--ok  { background: #e8f5e9; color: #2e7d32; }
.form-msg--err { background: #ffebee; color: #c62828; }


/* =============================================
   PAGINA GRAFICA E STAMPA
   ============================================= */

.navbar__links a.active--pink {
  color: #1a1a1a;
  border-bottom: 5px solid #D6206B;
}

.navbar__links a.active--yellow {
  color: #1a1a1a;
  border-bottom: 5px solid #F7A800;
}

.page-header__line--pink {
  background: #D6206B;
}

/* Label "Scegli una categoria" sopra il selettore */
.gs-categories-hint {
  font-size: 18px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0 0 10px 2px;
}

/* Selector 3x3 */
.gs-selector {
  grid-template-columns: repeat(3, 1fr) !important;
  margin-bottom: 0 !important;
}

/* Header espanso con bordo rosa */
.gs-header {
  border-color: #D6206B !important;
  box-shadow: 0 4px 20px rgba(214,32,107,0.15) !important;
}

.gs-header .back-arrow {
  color: #D6206B !important;
}

/* Griglia prodotti 3 colonne */
.gs-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

/* Product card */
.gs-product-card {
  background: #fff;
  border: 1.5px solid #e8e8e8;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

/* Riga icone — nascosta, icona GF spostata in alto a sinistra via JS */
.gs-icons-row { display: none !important; }
.gs-icons-row--legacy {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  flex-direction: row;
  gap: 6px;
  align-items: center;
}

/* Icona Grafica Facile */
.gs-grafica-facile-icon {
  position: static;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gs-grafica-facile-icon svg {
  width: 28px;
  height: 28px;
}

/* Icona Printer */
.gs-printer-icon {
  position: static;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gs-printer-icon img {
  width: 28px;
  height: 28px;
  filter: invert(85%);
}
.gs-grafica-facile-icon svg *:not([fill="none"]) {
  fill: #D6206B !important;
}
.gs-grafica-facile-icon svg *:not([stroke="none"]) {
  stroke: #D6206B !important;
}

.gs-product-card:hover {
  transform: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.gs-product-card__img {
  background: #f7f7f7;
  padding: 20px 16px;
  width: 100%;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gs-product-card__img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* Ingrandisce le immagini nelle categorie Ristorazione e Settore Alimentare */
#ristorazione .gs-product-card__img img,
#alimentare .gs-product-card__img img {
  min-height: 85%;
  min-width: 75%;
  transform: scale(1.15);
}

.gs-product-card__name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 18px 12px 4px;
  color: #1a1a1a;
  text-align: center;
  white-space: normal;
  width: 100%;
  line-height: 1.3;
}

.gs-product-card__desc {
  font-size: 13px;
  color: #888;
  text-align: center;
  padding: 2px 14px 6px;
  line-height: 1.4;
}

.gs-product-card__design {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  color: #555;
  padding: 4px 12px 8px;
}

.gs-product-card__design img {
  width: 24px;
  height: 24px;
}

.gs-product-card__price {
  font-size: 23px;
  font-weight: 700;
  color: #D6206B;
  padding: 2px 12px 20px;
  text-align: center;
}

.gs-product-card__badge {
  font-size: 12px;
  color: #777;
  background: #f0f0f0;
  border-radius: 20px;
  padding: 5px 12px;
  margin: 0 12px 14px;
  display: inline-block;
  text-align: center;
}

/* Sezione "Creiamo la tua idea" */
.gs-process {
  padding: 20px 0 20px;
}

.gs-process__title {
  text-align: center;
  font-size: 41px;
  font-weight: 800;
  margin-bottom: 48px;
}

.gs-process__steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  width: 100%;
}

.gs-process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.gs-process__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #D6206B;
  color: #fff;
  font-size: 20.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: -16px;
  position: relative;
  z-index: 1;
}

.gs-process__icon {
  width: 90px;
  height: 90px;
  border: 1.5px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  margin-bottom: 16px;
}

.gs-process__icon img {
  width: 40px;
  height: 40px;
}

.gs-process__step h4 {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 8px;
}

.gs-process__step p {
  font-size: 23px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 40px;
}

.gs-process__line {
  width: 80px;
  flex-shrink: 0;
  height: 0;
  border-top: 2px dashed #ccc;
  margin-top: 52px;
}

.gs-product-card__price .price-word {
  color: #101425;
  font-weight: 400;
}

.gs-product-card__price strong {
  color: #D6206B;
  font-weight: 700;
}

/* =============================================
   VISTA LISTA – toggle griglia/lista
   ============================================= */
/* Search bar nascosta ovunque */
.gs-toolbar__search { display: none !important; }

.gs-view-toggle {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-left: auto;
}
.gs-view-btn {
  width: 36px;
  height: 36px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  color: #888;
}
.gs-view-btn:hover { border-color: #D6206B; color: #D6206B; }
.gs-view-btn.active { background: #D6206B; border-color: #D6206B; color: #fff; }
.gs-view-btn svg { width: 18px; height: 18px; }

/* Lista view */
.gs-products-grid.list-view {
  grid-template-columns: 1fr !important;
  gap: 12px;
}
.gs-products-grid.list-view .gs-product-card {
  flex-direction: row !important;
  align-items: stretch;
  height: 120px;
  border-radius: 14px;
}
.gs-products-grid.list-view .gs-product-card__img {
  width: 120px !important;
  min-width: 120px;
  height: 100% !important;
  padding: 12px;
  border-radius: 14px 0 0 14px;
  flex-shrink: 0;
}
.gs-products-grid.list-view .gs-product-card__name {
  text-align: left;
  padding: 14px 12px 2px;
  font-size: 14px;
  white-space: normal;
}
.gs-products-grid.list-view .gs-product-card__design {
  justify-content: flex-start;
  padding: 2px 12px 4px;
  font-size: 13px;
}
.gs-products-grid.list-view .gs-product-card__price {
  text-align: left;
  padding: 0 12px 4px;
  font-size: 16px;
}
.gs-products-grid.list-view .gs-icons-row {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.gs-products-grid.list-view .gs-product-card__badge { display: none; }

/* =============================================
   RESPONSIVE – MOBILE (max 768px)
   ============================================= */
@media (max-width: 1024px) {

  /* Blocca overflow orizzontale */
  html, body { overflow-x: hidden; }

  .container { padding: 0 16px; }

  /* ─────────────── NAVBAR ─────────────── */
  .navbar { padding: 10px 0; }

  .navbar__inner {
    flex-wrap: nowrap;
    position: relative;
    align-items: center;
  }

  .navbar__logo img { height: 34px; }

  /* Logo nel menu mobile – nascosto di default, visibile solo se immagine carica */
  .mobile-menu-logo {
    display: none !important;
  }
  .mobile-menu-logo.loaded {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 10px 0 6px !important;
  }
  .mobile-menu-logo img {
    width: 40px !important;
    height: 40px !important;
    opacity: 0.9;
    object-fit: contain;
  }
  /* Nascondi il logo se l'immagine non carica (broken) */
  .mobile-menu-logo img:not([src]),
  .mobile-menu-logo img[src=""] {
    display: none !important;
  }

  /* Hamburger – pulsante giallo arrotondato */
  .navbar__toggle {
    display: flex !important;
    visibility: visible !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #F7A800;
    border: none;
    border-radius: 14px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    margin-left: auto;
    flex-shrink: 0;
  }

  .navbar__toggle span {
    display: block;
    width: 20px;
    height: 2.5px;
    background: #1a1a2e;
    border-radius: 2px;
  }

  /* Nasconde bottone Contatti desktop e link su mobile */
  .navbar__inner > a.btn { display: none !important; }

  /* Menu: card flottante a destra */
  .navbar__links {
    display: none !important;
    position: absolute;
    top: calc(100% + 8px);
    right: 12px;
    left: auto;
    width: 200px;
    background: #fff;
    border: 2px solid #F7A800;
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    z-index: 300;
    flex-direction: column !important;
    padding: 6px 0 0;
    margin-right: 0 !important;
    gap: 0;
    overflow: hidden;
  }

  .navbar__links.open {
    display: flex !important;
  }

  /* Colore bordo per pagina attiva */
  .navbar__links.menu-active--pink  { border-color: #D6206B; }
  .navbar__links.menu-active--blue  { border-color: #3A8DDE; }
  .navbar__links.menu-active--yellow { border-color: #F7A800; }

  .navbar__links a {
    padding: 10px 18px;
    font-size: 16px;
    font-weight: 500;
    color: #101425;
    border-bottom: none !important;
    display: block;
    text-align: right;
    background: transparent;
    position: relative;
  }

  .navbar__links a:hover { background: transparent; opacity: 0.75; }

  /* Sottolineatura colorata voce attiva */
  .navbar__links a.active,
  .navbar__links a.active--blue,
  .navbar__links a.active--pink,
  .navbar__links a.active--yellow {
    border-bottom: none !important;
    font-weight: 700;
    color: #101425;
  }

  .navbar__links a.active::after {
    content: '';
    display: block;
    width: 36px;
    height: 2px;
    background: #F7A800;
    margin: 7px 0 0 auto;
    border-radius: 3px;
  }
  .navbar__links a.active--yellow::after {
    content: '';
    display: block;
    width: 36px;
    height: 2px;
    background: #F7A800;
    margin: 7px 0 0 auto;
    border-radius: 3px;
  }
  .navbar__links a.active--pink::after {
    content: '';
    display: block;
    width: 36px;
    height: 2px;
    background: #D6206B;
    margin: 7px 0 0 auto;
    border-radius: 3px;
  }
  .navbar__links a.active--blue::after {
    content: '';
    display: block;
    width: 36px;
    height: 2px;
    background: #3A8DDE;
    margin: 7px 0 0 auto;
    border-radius: 3px;
  }

  /* Grafica Facile – mobile (nessun effetto speciale) */

  /* Icone contatti – centrate */
  .mobile-contatti-row {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 8px 0 14px !important;
    border-top: 1px solid #eeeeee;
    margin-top: 2px;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .mobile-icon-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    line-height: 0 !important;
    font-size: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    flex-shrink: 0 !important;
  }
  .mobile-icon-btn svg {
    width: 30px !important;
    height: 30px !important;
    display: block !important;
  }

  /* ─────────────── HERO ─────────────── */
  .hero { padding: 0; overflow: hidden; }

  .hero__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__text {
    flex: none;
    width: 100%;
    padding: 28px 0 20px;
    margin-top: 0;
    padding-right: 0;
  }

  .hero__text h1 {
    font-size: 49.5px;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .hero__sub { font-size: 20.5px; }

  .hero__image {
    flex: none;
    width: 100%;
    text-align: center;
  }

  .hero__image img {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  /* ─────────────── SERVICES ─────────────── */
  .services { padding: 32px 0 40px; }

  .section-title { font-size: 33px; margin-bottom: 20px; }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card--full { grid-column: 1 !important; }

  /* Card Grafica Facile: verticale */
  .service-card--grafica-facile {
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .gf-col-text {
    flex: none !important;
    width: 100% !important;
    padding: 24px 20px 12px !important;
  }

  .service-card--grafica-facile .gf-col-text h3 { font-size: 30px; }

  .gf-col-text p { font-size: 20.5px; }

  /* Fix link-more dentro GF card (non è absolute in questa card) */
  .gf-col-text a.link-more {
    position: static !important;
    display: inline-block;
    margin-top: 8px;
    font-size: 22px;
  }

  .gf-col-list {
    flex: none !important;
    width: 100% !important;
    padding: 0 20px 20px !important;
    align-items: flex-start;
  }

  .gf-col-list .service-card__list { margin-top: 0 !important; }

  /* Nascondi immagine decorativa GF card su mobile */
  .gf-col-image { display: none !important; }

  /* Card normali (Grafica e Stampa, Grafica 3D) */
  .service-card {
    min-height: 0 !important;
    padding: 24px 20px 24px !important;
    overflow: visible;
  }

  .service-card__body { max-width: 100%; }

  .service-card__body > p {
    font-size: 20.5px;
    min-height: 0 !important;
    margin-bottom: 12px;
  }

  .service-card h3 { font-size: 27.5px; }

  .service-card__list li {
    font-size: 20.5px;
    margin-bottom: 8px;
  }

  /* link-more nelle card normali: era position:absolute, lo resettiamo */
  .service-card .link-more {
    position: static !important;
    display: inline-block;
    margin-top: 12px;
    font-size: 22px;
  }

  /* Nascondi immagini decorative nelle card (position:absolute, causano overflow) */
  .service-card__image { display: none !important; }

  /* ─────────────── CTA BANNER ─────────────── */
  .cta-banner { padding: 0 0 36px; }

  .cta-banner__inner {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 16px 20px !important;
    margin: 0 20px !important;
    text-align: left;
    border-radius: 12px;
  }

  .cta-banner__title { font-size: 22px; }
  .cta-banner__sub   { font-size: 16px; }

  .cta-banner .btn {
    font-size: 19.5px;
    padding: 10px 18px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* ─────────────── FOOTER ─────────────── */
  .footer { padding: 24px 0 20px; }

  .footer__inner {
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 24px !important;
  }

  .footer__logo {
    margin-right: 0 !important;
    flex-shrink: 0;
  }

  .footer__logo img {
    width: 64px !important;
    height: 64px !important;
    object-fit: contain;
  }

  .footer__col {
    gap: 8px !important;
  }

  .footer__col h4 { font-size: 18px !important; }
  .footer__col a  { font-size: 16px !important; }

  .footer__social { display: none; }

  /* ─────────────── PAGINE INTERNE ─────────────── */
  .page-header { padding: 24px 0 28px; }
  .page-header__title { font-size: 35.5px; }
  .page-header__desc  { font-size: 20.5px; }

  /* Categorie */
  .category-selector { grid-template-columns: 1fr; gap: 12px; }
  .gs-selector { grid-template-columns: 1fr !important; }

  /* Griglia prodotti */
  .products-grid    { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gs-products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-card__img    { height: 120px; }
  .gs-product-card__img { height: 120px; }
  .gs-product-card__name { font-size: 12px; white-space: normal; }

  /* Services list */
  .services-list { grid-template-columns: 1fr; }

  /* Processo */
  .gs-process__title { font-size: 30px; margin-bottom: 24px; }
  .gs-process__steps { flex-direction: column; align-items: center; gap: 8px; }
  .gs-process__line  { display: none; }
  .gs-process__step p  { font-size: 19.5px; margin-bottom: 4px; }
  .gs-process__step h4 { font-size: 20.5px; }

  /* CTA light */
  .cta-light__inner {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
    gap: 12px;
  }

  /* Contatti */
  .contatti-section__inner { grid-template-columns: 1fr; gap: 24px; }

  /* Grafica Facile piani */
  .gf-plans__grid { grid-template-columns: 1fr !important; gap: 20px; }
  .gf-page-header__title { font-size: 44px !important; }
  .gf-page-header__desc  { font-size: 20.5px !important; }
  .gf-plans__title       { font-size: 33px !important; }
  .gf-details__grid      { grid-template-columns: 1fr !important; }
  .gf-terms__grid        { grid-template-columns: 1fr !important; }

}

/* =============================================
   RESPONSIVE – TABLET (769–1024px)
   ============================================= */
@media (min-width: 1025px) and (max-width: 1280px) {

  .container { padding: 0 24px; }
  .hero__text h1 { font-size: 71px; }
  .services__grid { gap: 20px; }
  .products-grid    { grid-template-columns: repeat(2, 1fr); }
  .gs-products-grid { grid-template-columns: repeat(2, 1fr); }
  .gs-selector { grid-template-columns: repeat(2, 1fr) !important; }
  .cta-banner__inner { gap: 60px; padding: 24px 48px; }
  .gf-plans__grid { grid-template-columns: 1fr !important; gap: 20px; }

}

/* =============================================
   MOBILE ONLY – logo footer icona bianca
   ============================================= */
@media (max-width: 1024px) {
  .footer__logo img {
    content: url('../images/Logo_PF_iconwhite.png');
  }
}

/* =============================================
   DESKTOP ONLY – toggle griglia/lista nascosto
   ============================================= */
@media (min-width: 1025px) {
  .gs-view-toggle { display: none !important; }
}

/* =============================================
   SELETTORE LINGUA (IT / ES / EN)
   ============================================= */
.lang-switch { position: relative; flex: 0 0 auto; margin-right: 16px; }

.lang-switch__current {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f3f3f5;
  border: 1.5px solid #e3e3e8;
  border-radius: 30px;
  padding: 6px 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1;
  transition: background .2s, border-color .2s;
}
.lang-switch__current:hover { background: #ececf0; border-color: #d2d2d9; }
.lang-switch__globe { width: 16px; height: 16px; flex-shrink: 0; }
.lang-switch__current > svg:last-child { width: 13px; height: 13px; transition: transform .2s; }
.lang-switch.open .lang-switch__current > svg:last-child { transform: rotate(180deg); }

.lang-switch__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  background: #fff;
  border: 1.5px solid #eee;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
  padding: 6px;
  z-index: 400;
  display: none;
  flex-direction: column;
}
.lang-switch.open .lang-switch__menu { display: flex; }

.lang-switch__menu a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: background .15s;
}
.lang-switch__menu a:hover { background: #f5f5f7; }
.lang-switch__menu a.is-active { font-weight: 700; color: #1a1a2e; background: #fbf3e0; }
.lang-switch__menu a .flag { font-size: 17px; line-height: 1; }

/* Mobile: selettore sempre visibile, a sinistra dell'hamburger */
@media (max-width: 1024px) {
  .lang-switch { order: 2; margin-left: auto; margin-right: 10px; }
  .navbar__logo { order: 1; }
  .navbar__toggle { order: 3; margin-left: 0 !important; }
  .lang-switch__current { padding: 8px 12px; }
}

/* =============================================
   BOTTONE FLOTTANTE WHATSAPP (tutte le pagine)
   ============================================= */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 56px;
  height: 56px;
  z-index: 350;
  border-radius: 50%;
  background: #fff;
  line-height: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wa-float svg { width: 100%; height: 100%; display: block; }
.wa-float:hover { transform: scale(1.07); box-shadow: 0 6px 20px rgba(0,0,0,0.32); }
@media (max-width: 1024px) {
  .wa-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
}

/* Voce "Contatti" visibile solo nel menu mobile
   (su desktop c'è già il bottone Contatti nella navbar) */
.nav-contatti-link { display: none !important; }
@media (max-width: 1024px) {
  .nav-contatti-link { display: block !important; }
}
