/*
Theme Name: Right Brain
Theme URI:  https://www.rightbrain.it
Author:     Right Brain
Author URI: https://www.rightbrain.it
Template:   blocksy
Version:    1.0
License:    GNU General Public License v2 or later
*/

/* ==========================================================================
   1. VARIABILI E STILI GLOBALI / HEADER
   ========================================================================== */
:root {
  --color-purple: #5b3df5;
  --color-purple-light: #7c5dfa;
  --color-purple-dark: #4729e0;
  --color-purple-soft: #f3f0ff;
  --color-purple-border: #dcd6fe;
  --color-dark: #11131e;
  --color-text: #4a4f63;
  --color-white: #ffffff;
  --color-radius-sm: 10px;
  --color-radius-lg: 24px;
}

p {
  margin: 0;
}

[data-header*="type-1"] .ct-header {
  background-color: initial;
  background-image: linear-gradient(300deg, #2229 0%, #333 100%) !important;
}

#offcanvas ul.sub-menu {
  padding-left: 15px;
}

#offcanvas .ct-icon,
#offcanvas .ct-icon-container svg {
  fill: #222 !important;
}

.post-password-required {
  margin: 200px auto !important;
  width: 90% !important;
  max-width: 700px !important;
}

header .ct-container {
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
}

/* Colore voci di menu BIANCO solo in Home Page */
.home[data-header*="type-1"] .ct-header [data-transparent-row="yes"] [data-id="menu"] > ul > li > a {
  --theme-link-initial-color: #ffffff;
  --theme-link-hover-color: var(--theme-palette-color-1);
}

/* ==========================================================================
   2. HERO HOME & AZIENDA (.tophome / .topazienda)
   ========================================================================== */
.tophome {
  height: 85vh;
  padding-top: 80px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  margin: 0 0 30px 0 !important;
  width: 100% !important;
  background-image:
    linear-gradient(135deg, rgba(29, 30, 34, 0.98) 0%, rgba(29, 30, 34, 0.85) 35%, rgba(29, 30, 34, 0) 55%),
    url('https://rightbrain.it/wp-content/uploads/2026/07/RightBrain-Web-agency-e-Digital-Marketing-per-la-tua-azienda_2.webp');
  background-size: cover, auto 90%;
  background-position: center left, bottom right;
  background-repeat: no-repeat, no-repeat;
  background-color: #060d1e;
}

.topazienda {
  background-image:
    linear-gradient(135deg, rgba(29, 30, 34, 0.98) 0%, rgba(29, 30, 34, 0.85) 35%, rgba(29, 30, 34, 0) 55%),
    url('https://www.rightbrain.it/wp-content/uploads/2023/04/rightbrain-web-agency-asolo-chi-siamo2.jpg');
}

.tophomewrap {
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.tophomesx {
  width: 50%;
  position: relative;
  z-index: 2;
}

.tophomesx h1 {
  color: #5b3df5;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0px;
}

.tophomesx h2 {
  color: #f5f5f5;
  font-size: 75px;
  line-height: 1em;
  font-weight: 900;
  margin: 0 0 30px;
}

.tophomesx h2 strong {
  color: #ef5603;
}

.tophomesx h3 {
  color: #f5f5f5;
  font-size: 27px;
  line-height: 1.3em;
  font-weight: 400;
  margin: 0 0 40px;
  max-width: 660px;
}

.tophomesx p {
  color: #eee;
  font-size: 17px;
  line-height: 1.4em;
  margin: 0 0 40px;
  max-width: 670px;
}

.tophomesx a {
  color: #fff;
  background: #ef5603;
  border: 2px solid #ef5603;
  font-size: 13px;
  padding: 9px 15px;
  margin: 0 10px 10px 0;
  border-radius: 6px;
  text-decoration: none;
}

.tophomesx a:nth-child(even) {
  color: #234;
  background: #fff;
  border: 2px solid #fff;
}

.tophomesx a:hover {
  color: #fff;
  background: #8b8987;
  border: 2px solid #8b8987;
}

a.pulsantilink {
  color: #fff;
  background: #ef5603;
  border: 2px solid #ef5603;
  font-size: 13px;
  padding: 9px 15px;
  margin: 0 10px 10px 0;
  border-radius: 6px;
  text-decoration: none;
}

a.pulsantilink:hover {
  color: #fff;
  background: #8b8987;
  border: 2px solid #8b8987;
}

/* ==========================================================================
   3. SEZIONE SERVIZI & SERVIZI DARK (.servizi / .servizi-dark)
   ========================================================================== */
.servizi {
  width: 90%!important;
  max-width: 1600px;
  margin: 75px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.serviziobox {
  width: 23%;
  margin: 1% 0;
  border-right: 1px solid #ccc;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.servizioboxsx {
  margin-right: 5%;
}

.servizioboxdx {
  width: 60%;
}

.servizioboxsx img {
  width: 100%;
  max-width: 70px;
}

.servizioboxdx h3 {
  font-size: 19px;
  line-height: 1.2em;
  margin: 0 0 7px 0;
}

.servizioboxdx p {
  font-size: 15px;
  line-height: 1.3em;
  margin: 0 0 10px 0;
  color: #456;
}

.servizi-dark {
  background: #031836;
  padding: 10px 0;
  margin: 0px !important;
}

.servizi-dark .servizi {
  margin: 40px auto;
  display: flex;
  flex-wrap: wrap;
}

.servizi-dark .serviziobox {
  width: 16.666%;
  flex-direction: column;
  color: #fff;
  text-align: center;
  margin: 0;
  padding: 1%;
  box-sizing: border-box;
  border-color: #fff2;
}

.servizi-dark .serviziobox img {
  filter: invert(100%) brightness(200%);
  max-height: 150px;
  margin: 0;
  opacity: 0.8;
}

.servizi-dark .serviziobox p,
.servizi-dark .serviziobox h3 {
  color: #fff;
  margin: 15px auto 10px;
}

.servizi-dark .serviziobox .servizioboxsx,
.servizi-dark .serviziobox .servizioboxdx {
  width: 100%;
}

/* ==========================================================================
   4. SEZIONE SOLUZIONI (.soluzioni / .soluzionibox)
   ========================================================================== */
.soluzioni {
  background: #f5f5f5;
  padding: 50px 0;
}

.soluzioniwrap {
  width: 90%;
  max-width: 1400px;
  margin: 75px auto 0;
}

.soluzioni h3 {
  color: #5b3df5;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0px;
  text-align: center;
}

.soluzioni h2 {
  color: #060d1e;
  font-size: 50px;
  line-height: 1.1em;
  font-weight: 900;
  margin: 10px auto 30px;
  text-align: center;
  max-width: 630px;
}

.soluzioniboxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

.soluzionibox {
  width: 24%;
  margin: 0.5%;
  box-sizing: border-box;
  position: relative;
  background: #ffffff;
  border: 1px solid #eee;
  outline: 2px solid #f5f5f5;
  border-radius: 16px;
  padding: 2% 3% 2%;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.soluzionibox:hover {
  transform: translateY(-4px);
  border: 1px solid #5b3df5;
  outline: 2px solid #5b3df5;
}

.soluzionibox img {
  width: 35px;
  height: 35px;
  margin-bottom: 10px;
filter: brightness(0) saturate(100%) invert(24%) sepia(84%) saturate(4756%) hue-rotate(246deg) brightness(98%) contrast(96%);
}

.soluzionibox:hover img {
  filter: none;
}

.soluzionibox h4 {
  font-size: 1.20rem;
  font-weight: 600;
  color: #060d1e;
  margin: 10px 0 16px;
  letter-spacing: 0.2px;
  line-height: 1.1em;
}

.soluzionibox p {
  margin: 0;
}

@keyframes pulsaFreccia {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}

.soluzionibox a {
  width: 30px;
  height: 24px;
  background: url(https://rightbrain.it/wp-content/uploads/2026/07/scopri-di-piu-icon-rightbrain.webp) no-repeat center center/cover;
  position: absolute;
  top: 33px;
  right: 0;
  transition: opacity 0.5s ease, right 0.5s ease;
  opacity: 0;
  display: block;
}

.soluzionibox:hover a {
  opacity: 1;
  right: 25px;
  filter: brightness(0) saturate(100%) invert(24%) sepia(84%) saturate(4756%) hue-rotate(246deg) brightness(98%) contrast(96%);
}

.soluzionibox a:hover {
  animation: pulsaFreccia 1.2s infinite ease-in-out;
}

.accordion-testo summary {
  list-style: none;
  cursor: pointer;
  color: #456;
  font-size: 16px;
  line-height: 1.4em;
  font-weight: 500;
  position: relative;
  padding-right: 20px;
}

.accordion-testo summary::-webkit-details-marker {
  display: none;
}

.accordion-testo summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: #5b3df5;
  font-weight: bold;
}

.accordion-testo[open] summary::after {
  content: "−";
}

.accordion-testo p {
  color: #456;
  font-size: 16px;
  line-height: 1.4em;
  font-weight: 500;
}

/* ==========================================================================
   5. SEZIONE PARTNER (.partner)
   ========================================================================== */
.partner {
  width: 90%;
  max-width: 1400px;
  margin: 150px auto !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.partner h3 {
  color: #5b3df5;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0px;
  text-align: center;
  width: 100%;
}

.partner h2 {
  color: #060d1e;
  font-size: 35px;
  line-height: 1.1em;
  font-weight: 900;
  margin: 10px auto 50px;
  text-align: center;
  width: 100%;
}

.partnerbox {
  width: 16.666%;
  margin: 1% 0;
  border-right: 1px solid #ccc;
  box-sizing: border-box;
}

.partnerbox img {
  max-height: 70px;
  max-width: 100%;
  width: auto;
  height: auto;
}

.partnerbox p {
  color: #456;
  font-size: 14px;
  line-height: 1.3em;
  margin: 0 0 10px;
}

/* ==========================================================================
   6. PROGETTI & CAROSELLI SWIPER (.progetti / .rb-carousel)
   ========================================================================== */
.progetti {
  width: 90%;
  max-width: 1400px;
  margin: 0px auto 0px;
}

.progettitop {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.progettitopsx {
  width: 70%;
}

.progettitopdx {
  width: 25%;
  text-align: right;
  display: flex;
  justify-content: flex-end;
}

.progetti h3 {
  color: #ef5603;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0px;
  text-align: left;
}

.progetti h2 {
  color: #060d1e;
  font-size: 30px;
  line-height: 1.1em;
  font-weight: 900;
  margin: 5px auto 25px;
  text-align: left;
}

a.veditutti {
  color: #234;
  background: #fff;
  display: block;
  font-size: 14px;
  letter-spacing: 0.5px;
  border: 2px solid #234;
  max-width: 250px;
  text-align: center;
  padding: 7px 10px;
  border-radius: 10px;
}

a.veditutti img {
  height: 15px;
  margin-left: 10px;
  position: relative;
  top: -1px;
}

a.veditutti:hover {
  color: #fff;
  background: #234;
}

a.veditutti:hover img {
  filter: invert(100%);
}

.rb-carousel {
  position: relative;
  padding: 12px 6px !important;
  width: 94%;
  margin: 0 auto;
  max-width: 1400px;
}

.swiper-slide {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eeeeee;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  height: auto !important;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.portfolio-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 0px 20px 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-body p.linkcat {
  font-size: 0.7rem;
  font-weight: 700;
  color: #ef5603;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.card-body p.linkcat a {
  color: #ef5603;
  font-size: 0.8rem;
  text-decoration: none;
}

.card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111111;
  margin: 4px 0 8px 0;
  line-height: 1.3;
}

.card-body p {
  font-size: 0.85rem;
  color: #666666;
  margin: 0 0 16px 0;
  flex-grow: 1;
  line-height: 1.45;
}

.card-body a {
  font-size: 0.85rem;
  font-weight: 600;
  color: #060d1e;
  text-decoration: none;
}

.portfolio-carousel,
.magazine-carousel {
  width: 94%;
  max-width: 1400px;
  margin: 30px auto !important;
}

.rb-carousel .swiper-button-next,
.rb-carousel .swiper-button-prev {
  width: 40px !important;
  height: 40px !important;
  background: #ffffff !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
  color: #111111 !important;
  margin-top: -20px !important;
  z-index: 10 !important;
}

.rb-carousel .swiper-button-prev {
  left: -10px !important;
}

.rb-carousel .swiper-button-next {
  right: -10px !important;
}

.rb-carousel .swiper-button-next::after,
.rb-carousel .swiper-button-prev::after {
  font-size: 14px !important;
  font-weight: bold !important;
}

.portfolio-carousel .swiper-button-next,
.portfolio-carousel .swiper-button-prev,
.magazine-carousel .swiper-button-next,
.magazine-carousel .swiper-button-prev {
  top: 35%;
  width: 40px;
  height: 40px;
  margin-top: 0;
  color: #456;
}

.swiper-button-next,
.swiper-rtl .swiper-button-prev {
  right: -7px !important;
}

.swiper-button-prev,
.swiper-rtl .swiper-button-next {
  left: -7px !important;
  right: auto;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 30px !important;
}

/* ==========================================================================
   7. HERO PAGINE SERVIZI (.heroservizi)
   ========================================================================== */
.heroservizi {
  padding-top: 150px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  margin: 0 0 75px 0 !important;
  width: 100% !important;
  background: linear-gradient(135deg, #f3f5fa 0%, #fff 40%, #ffffff 80%);
}

.heroserviziwrap {
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.heroservizisx {
  flex: 1;
  max-width: 50%;
  z-index: 2;
}

.heroservizidx {
  flex: 1;
  position: relative;
  z-index: 1;
}

.heroservizidx img {
  width: 125%;
  max-width: none;
  height: auto;
  display: block;
  transform: translateX(-7%);
}

.heroservizi h1 {
  color: #5b3df5;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0px;
}

.heroservizi h2 {
  color: #060d1e;
  font-size: 45px;
  line-height: 1.1em;
  font-weight: 900;
  margin: 10px 0 30px;
}

.heroservizi h2 strong {
  color: #5b3df5;
}

.heroservizi h3 {
  color: #111;
  font-size: 22px;
  line-height: 1.3em;
  font-weight: 600;
  margin: 0 0 15px;
  max-width: 96%;
}

.heroservizi p {
  color: #545;
  font-size: 17px;
  line-height: 1.4em;
  margin: 0 0 40px;
  max-width: 670px;
}

.heroservizi a {
  color: #fff;
  background: #ef5603;
  border: 2px solid #ef5603;
  font-size: 13px;
  padding: 9px 15px;
  margin: 0 10px 10px 0;
  border-radius: 6px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: inline-block;
}

.heroservizi a:nth-child(even) {
  color: #5b3df5;
  background: #fff;
  border: 2px solid #5b3df5;
}

.heroservizi a:hover {
  color: #fff;
  background: #5b3df5;
  border: 2px solid #5b3df5;
}

/* ==========================================================================
   8. FEATURE BAR & GRIGLIA SERVIZI (.servizisection1 / .services-section)
   ========================================================================== */
.servizisection1 {
  padding: 100px 0 60px;
  text-align: center;
  background: #f5f5f5;
}

.servizisection1 h3 {
  color: #111;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.servizisection1 h2 {
  font-size: 35px;
  color: #060d1e;
  line-height: 1.1;
  margin: 0 auto 30px;
  width: 100%;
  max-width: 630px;
}

.servizisection1 h2 span {
  color: #5b3df5;
}

.servizisection1 p {
  font-size: 17px;
  color: #060d1e;
  max-width: 850px;
  margin: 0 auto 20px;
  line-height: 1.5;
  font-weight: 100;
}

.features-bar {
  display: flex;
  margin: 40px auto;
  text-align: left;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 90%;
  max-width: 1400px;
}

.feature-item {
  padding: 25px 22px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #5b3df5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  width: 23%;
  margin: 1%;
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

.feature-item h3 {
  font-size: 16px;
  line-height: 1.1em;
  color: #1e293b;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  letter-spacing: 0.5px;
  text-transform: none;
  font-weight: 700;
}

.feature-item p {
  font-size: 15px;
  color: #456;
  margin: 0;
  line-height: 1.3;
  letter-spacing: 0px;
}

.services-section {
  padding: 60px 0;
  background: #fff;
}

.services-section .services-intro {
  margin: 0px auto 40px;
  width: 90%;
  max-width: 1400px;
}

.services-intro h3 {
  color: #ef5603;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
}

.services-intro h2 {
  font-size: 36px;
  color: #060d1e;
  line-height: 1.1;
  margin: 0 auto 30px;
  width: 100%;
  max-width: 630px;
  text-align: center;
  position: relative;
}

.services-intro p {
  font-size: 17px;
  color: var(--text-body);
  max-width: 650px;
  margin: 0 auto 20px;
  line-height: 1.5;
  font-weight: 100;
  text-align: center;
  width: 90%;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 90%;
  margin: 0 auto;
  max-width: 1400px;
  box-sizing: border-box;
  gap: 16px;
}

.service-box {
  width: calc(25% - 12px);
  margin: 0;
  padding: 28px 24px;
  box-sizing: border-box;
  position: relative;
  background: #ffffff;
  border: 1px solid #eee;
  outline: 2px solid #f5f5f5;
  border-radius: 16px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.services-grid5 .service-box,
.services-grid-social .service-box {
  width: calc(20% - 13px);
}

.service-box:hover {
  transform: translateY(-4px);
  border: 1px solid #5b3df5;
  outline: 2px solid #5b3df5;
}

.service-box h3 {
  font-size: 18px;
  margin: 15px 0 10px;
  color: #060d1e;
}

.service-box p {
  font-size: 15px;
  color: #456;
  line-height: 1.4;
  margin: 0;
}

.service-box img {
  width: 35px;
  height: 35px;
  margin-bottom: 10px;
  filter: brightness(0) saturate(100%) invert(24%) sepia(84%) saturate(4756%) hue-rotate(246deg) brightness(98%) contrast(96%);
}

.services-intro-hosting p {
  max-width: 850px;
  text-align: left;
}

/* ==========================================================================
   9. METODO, TECNOLOGIE & CANALI (.method-tech-section / .canali-box)
   ========================================================================== */
.method-tech-section {
  padding: 60px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 auto;
  width: 90%;
  max-width: 1400px;
}

.method-tech-sectionsx {
  width: 48%;
  background: #f5f5f5;
  border-radius: 20px;
  padding: 40px;
  box-sizing: border-box;
}

.method-tech-sectiondx {
  width: 48%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 40px;
  box-sizing: border-box;
}

.stepper-line {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 700px;
  width: 100%;
  margin: 40px auto;
  padding: 0 10px;
  box-sizing: border-box;
}

.stepper-line::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 20px;
  right: 20px;
  height: 2px;
  background-color: #cbd5e1;
  transform: translateY(-50%);
  z-index: 1;
}

.step {
  position: relative;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #5b3df5;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px #ffffff;
}

.method-tech-sectionsx .step {
  box-shadow: 0 0 0 5px #f5f5f5;
}

.method-tech-sectionsx h2 {
  font-size: 30px;
  color: #060d1e;
  line-height: 1.1;
  margin: 0 auto 15px;
  width: 100%;
  max-width: 630px;
  text-align: left;
  position: relative;
}

.method-tech-sectiondx h2 {
  font-size: 24px;
  color: #060d1e;
  line-height: 1.1;
  margin: 0 auto 15px;
  width: 100%;
  max-width: 630px;
  text-align: left;
  position: relative;
}

.method-tech-sectionsx p {
  font-size: 17px;
  color: #060d1e;
  margin: 0 auto 20px;
  line-height: 1.5;
  font-weight: 100;
  text-align: left;
}

.method-tech-sectiondx p {
  font-size: 16px;
  color: #060d1e;
  margin: 0 auto 20px;
  line-height: 1.5;
  font-weight: 100;
  text-align: left;
}

.method-steps {
  padding-left: 20px;
}

.method-steps li {
  margin-bottom: 15px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.method-steps li strong {
  color: var(--text-dark);
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 25px;
}

.tech-item {
  background: #fff;
  width: 48%;
  margin: 1% 1% 25px;
}

.tech-item100 {
  width: 100%;
}

.tech-item img {
  max-width: 40px;
  height: auto;
}

.tech-item100 img {
  max-width: 160px;
  margin: 0 20px 30px 0;
  float: left;
  border-radius: 20px;
}

.tech-item h3 {
  font-size: 17px;
  margin: 8px 0 5px;
}

.tech-item p {
  font-size: 14px;
  color: #456;
  margin: 0;
  line-height: 1.3em;
  width: 90%;
}

.experience-banner-box {
  background: #fff3eb;
  border: 1px dashed var(--primary-orange);
  padding: 15px 20px;
  border-radius: var(--radius);
  margin-top: 20px;
}

.experience-banner-box p {
  font-size: 0.85rem;
  color: #00142d;
  margin: 0;
  line-height: 1.4;
}

.canali-box {
  background: #ffffff;
  box-sizing: border-box;
  width: 100%;
}

.canali-intro {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.5;
  color: #060d1e;
}

.canali-lista {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.canali-lista li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  font-size: 14px;
  line-height: 1.35;
  color: #1e293b;
}

.canali-lista li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #5b3df5;
  flex-shrink: 0;
}

/* ==========================================================================
   10. SEZIONE ESPERIENZA, STATISTICHE & BOX AI (.esperienzasection)
   ========================================================================== */
.esperienzasection {
  color: #ffffff;
  padding: 70px 0px;
  margin: 40px 0;
  background: #080c12 url("https://rightbrain.it/wp-content/uploads/2026/07/RightBrain-Web-agency-e-Digital-Marketing-per-la-tua-azienda.webp") no-repeat right center / auto 100%;
  position: relative;
  overflow: hidden;
}

.esperienzasectionwrap {
  max-width: 1400px;
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: start;
}

.esperienzasection-googleads {
  background-image: url(https://rightbrain.it/wp-content/uploads/2026/09/social-seo-e-google-ads-rightbrain.webp);
}

.esperienzasection-foto {
  background-image: url(https://rightbrain.it/wp-content/uploads/2026/09/servizi-fotografici-video-promozionali-rightbrain.webp);
}

.esperienzasectionAI {
  background-image: url(https://rightbrain.it/wp-content/uploads/2026/09/integrare-ai-con-sofware-rightbrain.webp) !important;
}

.esperienzasectionAI h3 {
  color: #ef5603;
  font-size: 21px;
  line-height: 1.3em;
  font-weight: 400;
  margin: 0 0 15px;
  max-width: 96%;
}

.stats-header {
  max-width: 700px;
  margin-bottom: 40px;
}

.esperienzasectionwrap h2 {
  font-size: clamp(26px, 3vw, 35px);
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 22px;
  max-width: 630px;
  text-align: left;
}

.esperienzasectionwrap h2 strong {
  color: #ef5603;
}

.esperienzasectionwrap p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.55;
  font-weight: 300;
  margin: 0 0 14px;
}

.esperienzasectionwrap p:last-child {
  margin-bottom: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 1000px;
}

.stat-item img {
  width: 40px;
  filter: brightness(1000%) grayscale(100%);
}

.stat-item .number {
  display: block;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: #f5f5f5;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item .label {
  font-size: 14px;
  letter-spacing: 0.4px;
  color: #f5f5f5;
  line-height: 1.35;
  display: block;
}

.stat-item .label strong {
  color: #ef5603;
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}

.esperienzasectionAI .stat-item {
  width: 15%;
  margin: 1% 2% 1% 0;
}

.page-id-2070 .esperienzasectionAI .stat-item {
  width: auto;
  margin: 0;
}

.esperienzasection2 {
  background: #080c12;
}

.AIwrap2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.stats-header2 {
  width: 48%;
  margin: 0;
}

.esempiAIboxes {
  width: 48%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.esempiAIboxes h4 {
  width: 100%;
  color: #fff;
  font-size: 19px;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
  margin: 0 0 4px;
}

.esempioAIbox {
  background-size: cover;
  background-position: center center;
  background-color: #000;
  width: 48%;
  margin: 1%;
  border: 1px solid #456;
  border-radius: 7px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  box-sizing: border-box;
  aspect-ratio: 5/3.3;
  position: relative;
}

.eAI1 {
  background-image: url(https://rightbrain.it/wp-content/uploads/2026/11/servizi-rightbrain-settore-fashion.webp);
}

.eAI2 {
  background-image: url(https://rightbrain.it/wp-content/uploads/2026/11/servizi-rightbrain-settore-arredamento.webp);
}

.eAI3 {
  background-image: url(https://rightbrain.it/wp-content/uploads/2026/11/servizi-rightbrain-ecommerce.webp);
}

.eAI4 {
  background-image: url(https://rightbrain.it/wp-content/uploads/2026/11/servizi-rightbrain-servizi-per-aziende-e-privati.webp);
}

.esempioAIbox::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(#4569, #07060b);
  overflow: hidden;
  border-radius: 7px;
}

.esempioAIbox p {
  color: #fff;
  line-height: 1.4em;
  font-weight: 500;
  margin: 0;
  font-size: 14px;
  position: relative;
  z-index: 2;
}

.esempioAIbox p strong {
  color: #ef5603;
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}

/* ==========================================================================
   11. CARDS NUMERATE ESPANDIBILI (.cards-grid)
   ========================================================================== */
.cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 50px 0;
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

.cards-gridwrap {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

.card-item {
  transition: all 0.3s ease;
  overflow: hidden;
  width: 24%;
  margin: 0.5%;
  position: relative;
}

.card-item summary {
  border-radius: 17px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  aspect-ratio: 1/1;
  background: #789;
  padding: 40px;
  z-index: 2;
}

.card-item summary:hover {
  background: #5b3df5;
}

.card-item summary::-webkit-details-marker {
  display: none;
}

.card-item summary::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg);
  transition: transform 0.3s ease;
  margin-left: 16px;
  flex-shrink: 0;
}

.card-item summary h4 {
  position: relative;
  z-index: 2;
  font-size: 22px;
  line-height: 1.2em;
  font-weight: 600;
  color: #fff;
}

.card-item[open] summary::after {
  transform: rotate(45deg);
}

.card-item summary::before {
  content: "";
  display: block;
  position: absolute;
  top: -30px;
  left: -75px;
  font-size: 290px;
  opacity: 0.3;
  color: #456;
  width: 100%;
  height: 100%;
  line-height: 1em;
  z-index: 1;
  white-space: nowrap;
  font-weight: bold;
}

.carditem01 summary::before { content: "01"; }
.carditem02 summary::before { content: "02"; }
.carditem03 summary::before { content: "03"; }
.carditem04 summary::before { content: "04"; }

.card-content {
  border-top: 1px solid #fee2e2;
  font-size: 15px;
  color: #456;
  line-height: 1.4;
  margin: 0;
  padding: 40px 20px;
  position: relative;
}

/* ==========================================================================
   12. FAQ & CTA LATERALE (.faq-cta-section)
   ========================================================================== */
.faq-cta-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 0px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 90% !important;
}

.faq-cta-sectionsx {
  width: 60%;
}

.faq-cta-sectiondx {
  width: 35%;
  color: #ffffff;
  padding: 50px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 82% 55%, #5b3df5 0%, #5b3df5 25%, #140b3b 100%);
}

.faq-container h2 {
  font-size: 30px;
  color: #060d1e;
  line-height: 1.1;
  margin: 0 0 15px;
  width: 100%;
  max-width: 630px;
  text-align: left;
  position: relative;
}

.faq-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

details.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background-color: #ffffff;
  padding: 12px 20px;
  transition: all 0.2s ease;
  width: 49%;
  margin: 0.5% 0;
  line-height: 1.4em;
  font-weight: 300;
  font-size: 14px;
}

details.faq-item:hover {
  border: 1px solid #07060b;
  outline: 1px solid #07060b;
}

details.faq-item summary {
  font-weight: 600;
  font-size: 15px;
  color: #1a1a2e;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: "+";
  font-size: 18px;
  font-weight: 400;
  color: #666;
  margin-left: 10px;
  transition: transform 0.2s ease;
}

details.faq-item[open] summary::after {
  content: "−";
}

details.faq-item p {
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 14px;
  color: #456;
  line-height: 1.5;
}

.faq-cta-sectiondx .pa-vision-glow {
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 440px;
  height: 300px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.35) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  transform: rotate(-14deg);
  opacity: 0.45;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 35%, transparent 72%);
  z-index: 0;
}

.cta-icon {
  margin-bottom: 16px;
}

.cta-icon img {
  width: 60px;
  filter: invert(100%) brightness(200%);
}

.faq-cta-sectiondx h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 16px 0;
  color: #fff;
}

.faq-cta-sectiondx p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 24px 0;
  opacity: 0.9;
}

.faq-cta-sectiondx a {
  background-color: #fff;
  color: #5b3df5 !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  padding: 12px 20px;
  border-radius: 6px;
  display: inline-block;
  transition: background-color 0.2s ease;
  position: relative;
  z-index: 2;
}

.faq-cta-sectiondx a:hover {
  background-color: #ef5603 !important;
  color: #fff;
}

.btn-cta-black {
  background-color: #000;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  padding: 12px 20px;
  border-radius: 6px;
  display: inline-block;
  transition: background-color 0.2s ease;
}

.btn-cta-black:hover {
  background-color: #222;
}

/* ==========================================================================
   13. COME LAVORIAMO 2 (.comelavoriamo2)
   ========================================================================== */
.comelavoriamo2 {
  width: 90%;
  max-width: 1400px;
  margin: 75px auto;
}

.comelavoriamo2 h2 {
  font-size: 36px;
  color: #060d1e;
  line-height: 1.1;
  margin: 0 auto 30px;
  width: 100%;
  max-width: 630px;
  text-align: center;
  position: relative;
}

.comelavoriamo2 > div {
  background: #fff;
  padding: 0px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.comelavoriamo2 article {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  text-align: center;
}

.comelavoriamo2 article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  left: calc(50% + 18px);
  width: calc(100% + 20px - 36px);
  height: 1px;
  background-color: #cbd5e1;
  z-index: -1;
}

.comelavoriamo2 span {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background-color: #5b3df5;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}

.comelavoriamo2 h3 {
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 8px;
  color: #060d1e;
}

.comelavoriamo2 p {
  font-size: 15px;
  color: #456;
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   14. SEZIONI SEO & AGENZIA SEO (.cosafacciamo-seo / .agenziaseo5 / .agenziaseo6)
   ========================================================================== */
.cosafacciamo-seo {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 90%;
  max-width: 1400px;
  margin: 100px auto;
}

.cosafacciamo-seosx {
  width: 25%;
}

.cosafacciamo-seosx h3 {
  color: #5b3df5;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.cosafacciamo-seosx h2 {
  font-size: 35px;
  color: #060d1e;
  line-height: 1.1;
  margin: 0 auto 30px;
  width: 100%;
  max-width: 630px;
}

.cosafacciamo-seodx {
  width: 70%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.cosafacciamo-seo-box {
  width: 31.333%;
  padding: 10px 22px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #5b3df5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  margin: 0 2% 2% 0;
}

.cosafacciamo-seo-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}

.cosafacciamo-seo-box h3 {
  font-size: 18px;
  margin: 15px 0 10px;
  color: #060d1e;
}

.cosafacciamo-seo-box p {
  font-size: 14px;
  color: #456;
  line-height: 1.4;
  margin: 0;
}

.comelavoriamo-seo {
  width: 100%;
}

.comelavoriamo-seo h3 {
  color: rgb(91, 61, 245);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
}

.comelavoriamo-seo h2 {
  font-size: 35px;
  color: #060d1e;
  line-height: 1.1;
  margin: 0 auto 30px;
  width: 100%;
  max-width: 630px;
}

.agenziaseo5 {
  width: 90%;
  margin: 50px auto 0;
  max-width: 1400px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.agenziaseo5sx {
  width: 50%;
  background: #080c12;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  border-radius: 16px;
  padding: 3% 0 2% 3%;
}

.agenziaseo5dx {
  width: 48%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-radius: 16px;
  align-items: center;
  background: #f5f5f5;
  padding: 4% 0 4% 3%;
}

.agenziaseo5sxsx,
.agenziaseo5dxsx {
  width: 55%;
  padding: 0;
  box-sizing: border-box;
}

.agenziaseo5sxsx h2,
.agenziaseo5dxsx h2 {
  font-size: 14px;
  margin: 0px;
  color: #EB520A;
}

.agenziaseo5sxsx h3,
.agenziaseo5dxsx h3 {
  font-size: 22px;
  color: #fff;
  margin: 0 0 15px;
}

.agenziaseo5sxsx p,
.agenziaseo5dxsx p {
  font-size: 14px;
  line-height: 1.3em;
  color: #fff;
  margin: 0 0 14px 0;
}

.agenziaseo5dxsx h3,
.agenziaseo5dxsx p {
  color: #080c12;
}

.agenziaseo5sxsx a,
.agenziaseo5dxsx a {
  color: #fff;
  background: #ef5603;
  border: 2px solid #ef5603;
  font-size: 13px;
  padding: 6px 12px;
  margin: 30px 10px 0px 0;
  border-radius: 6px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: block;
  max-width: 280px;
}

.agenziaseo5sxsx a:hover,
.agenziaseo5dxsx a:hover {
  color: #fff;
  background: #8b8987;
  border: 2px solid #8b8987;
}

.agenziaseo5sxdx,
.agenziaseo5dxdx {
  width: 43%;
}

.agenziaseo5sxdx img,
.agenziaseo5dxdx img {
  width: 100%;
  border-radius: 16px;
}

.agenziaseo6 {
  width: 90%;
  margin: 0px auto;
  max-width: 1400px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.agenziaseo6 h3 {
  font-size: 14px;
  margin: 0px;
  color: #EB520A;
}

.agenziaseo6 h2 {
  font-size: 22px;
  color: #080c12;
  margin: 0 0 15px;
}

.agenziaseo6 p {
  font-size: 14px;
  line-height: 1.3em;
  color: #080c12;
  margin: 0 0 14px 0;
}

.agenziaseo6 p img {
  float: left;
  width: 50%;
  aspect-ratio: 5/3;
  margin: 0px 10px 0 -8px;
  line-height: 0px;
}

.agenziaseo6 p strong {
  display: block;
  font-size: 17px;
  margin: 15px 0 5px;
}

.agenziaseo6 p strong em {
  display: block;
  font-size: 13px;
  font-style: normal;
  color: #456;
  margin: 0 0 3px 0;
}

.agenziaseo6 p a {
  text-transform: uppercase;
  color: #456;
  font-size: 13px;
  font-weight: 600;
}

.agenziaseo6sx {
  width: 40%;
  padding: 3% 0 2% 3%;
}

.agenziaseo6dx {
  width: 57%;
  border-left: 1px solid #ccc;
  padding-left: 2%;
}

.agenziaseo6dx img {
  width: 100%;
}

.stats-grid-agezieseo {
  justify-content: flex-start;
}

.stats-grid-agezieseo .stat-item {
  text-align: center;
  max-width: 130px;
}

.stats-grid-agezieseo .stat-item a:hover {
  filter: invert(41%) sepia(85%) saturate(3011%) hue-rotate(2deg) brightness(99%) contrast(97%);
}

/* ==========================================================================
   15. PROGETTI SEGUITI, FOTO AI BOXES, CONSULENZA & DETTAGLI
   ========================================================================== */
.progettiseguiti {
  margin: 75px auto;
  width: 90%;
  max-width: 1400px;
}

.progettiseguiti img {
  width: 100%;
}

.progettiseguiti h2 {
  font-size: 30px;
  color: #060d1e;
  line-height: 1.1;
  margin: 0 0 15px;
  width: 100%;
  max-width: 630px;
  text-align: left;
  position: relative;
}

.progettiseguiti h2::after {
  background: #ef5603;
  content: "";
  display: block;
  position: relative;
  margin: 20px 0;
  width: 60px;
  height: 3px;
}

.foto-ai-boxes {
  background: #f5f5f5;
}

.foto-ai-boxes-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 50px;
}

.foto-ai-box {
  width: 23%;
  margin: 1%;
}

.foto-ai-box img {
  width: 100%;
}

.foto-ai-box h3 {
  font-size: 18px;
  margin: 15px 0 10px;
  color: #060d1e;
}

.foto-ai-box p {
  font-size: 15px;
  color: #456;
  line-height: 1.4;
  margin: 0;
}

.consulenza-ordine {
  color: #ffffff;
  padding: 70px 0;
  margin: 40px 0 0;
  background: #080c12;
}

.consulenza-ordinewrap {
  max-width: 1400px;
  width: 100%;
  margin: 0px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.consulenza-ordinesx {
  width: 30%;
}

.consulenza-ordinedx {
  width: 65%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.consulenza-ordinesx h2 {
  max-width: 700px;
  margin-bottom: 40px;
  color: #fff;
  line-height: 1.2em;
  font-size: 26px;
}

.consulenza-ordinesx h2 strong {
  color: rgb(239, 86, 3);
  display: block;
  font-size: 30px;
}

.consulenza-ordinedx .stats-grid {
  justify-content: flex-start;
}

.consulenza-ordinedx .stat-item {
  width: 19%;
  text-align: center;
  border: 1px solid #fff2;
  border-left: 2px solid rgb(239, 86, 3);
  border-bottom: 2px solid rgb(239, 86, 3);
  padding: 60px 1%;
  border-radius: 25px;
  margin: 0 0.5%;
}

.consulenza-ordinedx .stat-item .number {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 30px;
  color: #fff;
}

.consulenzadetails {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 75px 20px 40px;
  box-sizing: border-box;
}

.consulenzadetails * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.consulenzadetails .cd-eyebrow {
  display: block;
  color: #ef5603;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.consulenzadetails .cd-title {
  max-width: 700px;
  margin-bottom: 20px;
  line-height: 1.2em;
  font-size: 26px;
}

.consulenzadetails .cd-desc {
  font-size: 15px;
  color: #456;
  line-height: 1.4;
  margin: 0;
}

.consulenzadetails .cd-section {
  margin-bottom: 60px;
}

.consulenzadetails .cd-top-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}

.consulenzadetails .cd-right-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.consulenzadetails .cd-card {
  background: #fcfcfc;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  padding: 24px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.consulenzadetails .cd-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.consulenzadetails .cd-card-icon {
  color: #ef5603;
  margin-bottom: 16px;
}

.consulenzadetails .cd-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111;
}

.consulenzadetails .cd-card p {
  font-size: 15px;
  color: #456;
  line-height: 1.4;
  margin: 0;
}

.consulenzadetails .cd-banner-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.consulenzadetails .cd-banner-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 1px solid #eee;
}

.consulenzadetails .cd-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 24px;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  background: #ffffff;
  color: #111111;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.consulenzadetails .cd-btn:hover {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.cd-case-section {
  margin-top: 75px;
}

.cd-case-section h2 {
  margin: 0;
}

.consulenzadetails .cd-case-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}

.consulenzadetails .cd-link-all {
  font-size: 12px;
  font-weight: 700;
  color: #111111;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.consulenzadetails .cd-case-card {
  display: grid;
  grid-template-columns: 350px 1fr 1fr;
  gap: 30px;
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 16px;
  padding: 24px;
  align-items: center;
}

.consulenzadetails .cd-case-img img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 8px;
}

.consulenzadetails .cd-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #888;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.consulenzadetails .cd-case-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}

.consulenzadetails .cd-case-desc {
  font-size: 13px;
  color: #666666;
  line-height: 1.5;
  margin-bottom: 16px;
}

.consulenzadetails .cd-case-link {
  font-size: 13px;
  font-weight: 700;
  color: #111111;
  text-decoration: none;
}

.consulenzadetails .cd-case-stats {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 20px;
  border-left: 1px solid #f0f0f0;
}

.consulenzadetails .cd-stat-item {
  display: grid;
  grid-template-columns: 32px auto 1fr;
  align-items: center;
  gap: 12px;
}

.consulenzadetails .cd-stat-icon {
  color: #ef5603;
}

.consulenzadetails .cd-stat-value {
  font-size: 20px;
  font-weight: 800;
  color: #111111;
}

.consulenzadetails .cd-stat-label {
  font-size: 12px;
  color: #666666;
  display: block;
}

/* ==========================================================================
   16. CHATGPT AD, SEO-ADS BOX & SOLUZIONI WRAP CARDS
   ========================================================================== */
.section-chatgpt-ad {
  padding: 60px 20px;
}

.chatgpt-ad-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.chatgpt-ad-content {
  flex: 1;
  max-width: 580px;
}

.chatgpt-ad-content h2 {
  font-size: 35px;
  color: #060d1e;
  line-height: 1.1;
  margin: 0 0 30px;
  width: 100%;
  max-width: 500px;
}

.chatgpt-ad-content h2 span {
  color: #ef5603;
}

.chatgpt-ad-content p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 24px;
  max-width: 500px;
}

.chatgpt-ad-btn {
  color: #fff;
  background: #ef5603;
  border: 2px solid #ef5603;
  font-size: 13px;
  padding: 9px 15px;
  margin: 0 10px 10px 0;
  border-radius: 6px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.chatgpt-ad-btn:hover {
  color: #fff;
  background: #8b8987;
  border: 2px solid #8b8987;
}

.chatgpt-ad-note {
  display: block;
  margin-top: 24px;
  font-size: 13px;
}

.chatgpt-ad-media {
  flex: 1;
  display: flex;
  justify-content: center;
}

.chatgpt-ad-media img {
  max-width: 100%;
  height: auto;
  border-radius: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  opacity: 1;
  padding: 20px;
  background: #ececee;
}

.seo-ads-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 90%;
  max-width: 1400px;
  margin: 75px auto;
}

.seo-ads-box h2 {
  font-size: 35px;
  color: #060d1e;
  line-height: 1.1;
  margin: 0 auto 60px;
  width: 100%;
  text-align: center;
}

.seo-ads-box h3 {
  font-size: 20px;
  color: #ef5603;
  line-height: 1.1;
  margin: 0 auto 10px;
}

.seo-ads-box h4 {
  color: #ef5603;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  margin: 0 auto;
}

.seo-ads-col {
  flex: 1;
  min-width: 260px;
}

.seo-ads-badge {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid currentColor;
  border-radius: 20px;
  font-size: 0.85em;
}

.seo-ads-center {
  text-align: center;
}

.seo-ads-circles {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.seo-ads-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.circle-left {
  background: rgba(249, 115, 22, 0.3);
  margin-right: -15px;
}

.circle-right {
  background: rgba(59, 130, 246, 0.3);
  margin-left: -15px;
}

.soluzioni-wrap .grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 50px auto;
  width: 90%;
  max-width: 1400px;
}

.soluzioni-wrap h3 {
  color: #ef5603;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 auto 10px;
  text-align: center;
}

.soluzioni-wrap h2 {
  font-size: 35px;
  color: #060d1e;
  line-height: 1.1;
  margin: 0 auto 60px;
  width: 100%;
  text-align: center;
}

.soluzioni-wrapcard {
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
  width: 31.333%;
  margin: 1%;
}

.soluzioni-wrapcard img {
  width: 100%;
  aspect-ratio: 2/1;
  object-fit: cover;
}

.soluzioni-wrapcard h3,
.soluzioni-wrapcard p,
.soluzioni-wrapcard a {
  margin-inline: 20px;
}

.soluzioni-wrapcard a {
  margin-top: auto;
  text-decoration: none;
}

/* ==========================================================================
   17. VENDERE ONLINE & FUNNEL (.esperienzasectionvendereonline / .funnel-section)
   ========================================================================== */
.esperienzasectionvendereonline {
  background-color: #fff;
  background-image: url(https://rightbrain.it/wp-content/uploads/2026/11/creazione-eshop-per-vendita-online-rightbrain-asolo.webp);
  color: #222;
  position: relative;
}

.esperienzasectionvendereonline .stats-header {
  max-width: 890px;
}

.esperienzasectionvendereonline .esperienzasectionwrap h2 {
  color: #222;
}

.esperienzasectionvendereonline h3 {
  color: #ef5603;
  font-size: 21px;
  line-height: 1.3em;
  font-weight: 400;
  margin: 0 0 15px;
  max-width: 96%;
}

.esperienzasectionvendereonline .esperienzasectionwrap p {
  font-size: 17px;
  color: #222;
  line-height: 1.5;
  font-weight: 100;
}

.vendcols {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.vendcol {
  width: 48%;
  max-width: 500px;
}

.vendcol span {
  font-size: 23px;
  color: #e00;
  font-weight: bold;
  margin: 0 10px 0 0;
}

.vendcol p {
  margin: 0 0 5px 0;
  display: flex;
  align-items: center;
  font-size: 16px !important;
}

.vendereonlineslogan {
  position: absolute;
  right: 50px;
  bottom: 10px;
}

.vendereonlineslogan h3 {
  background: rgba(239, 86, 3, 0.9);
  color: #fff;
  font-size: 23px;
  line-height: 1.3em;
  max-width: 520px;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
}

.vendereonlineslogan h3 strong {
  color: #222;
  display: block;
}

.funnel-section {
  padding: 50px 0px 30px;
}

.funnel-container {
  max-width: 1400px;
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.funnel-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 140px;
}

.step-icon-wrapper {
  position: relative;
  width: 82px;
  height: 82px;
  background-color: #fbeae1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #f04e14;
}

.step-icon-wrapper svg {
  width: 30px;
  height: 30px;
}

.step-badge {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  background-color: #f04e14;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.funnel-step h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1f242d;
  margin: 0 0 12px 0;
  text-transform: uppercase;
}

.funnel-step ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.funnel-step ul li {
  font-size: 14px;
  line-height: 1.65;
  color: #6b7280;
  font-weight: 400;
}

.funnel-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 82px;
  color: #f04e14;
  flex-shrink: 0;
}

.funnel-arrow svg {
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   18. TEAM & FORM PREVENTIVO (.rb-team-section / .rb-quote-wrapper)
   ========================================================================== */
.rb-team-section {
  padding: 80px 20px;
  background-color: #f9f9fc;
  font-family: inherit;
}

.rb-team-wrap {
  max-width: 1240px;
  margin: 0 auto;
}

.rb-team-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 55px auto;
}

.rb-team-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #5842e3;
  margin-bottom: 10px;
}

.rb-team-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: #111322;
  margin: 0 0 14px 0;
  line-height: 1.2;
}

.rb-team-header p {
  font-size: 16px;
  color: #5a5d72;
  margin: 0;
  line-height: 1.6;
}

.rb-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.rb-team-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e6e8f0;
  border-radius: 20px;
  padding: 32px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(17, 19, 34, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.rb-team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(88, 66, 227, 0.08);
  border-color: #c8c1f7;
}

.rb-team-card-featured {
  border: 1.5px solid #5842e3;
}

.rb-team-badge-top {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: #5842e3;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

.rb-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rb-icon-box {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background-color: #f3f1ff;
  color: #5842e3;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rb-icon-box svg {
  width: 24px;
  height: 24px;
}

.rb-card-title-group h3 {
  font-size: 21px;
  font-weight: 800;
  color: #111322;
  margin: 0 0 3px 0;
  line-height: 1.2;
}

.rb-role {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #6b6f82;
}

.rb-divider {
  border: 0;
  border-top: 1px solid #eceef5;
  margin: 22px 0;
}

.rb-skills-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  flex-grow: 1;
}

.rb-skills-list li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: #2b2e42;
  margin-bottom: 12px;
  line-height: 1.45;
}

.rb-skills-list li:last-child {
  margin-bottom: 0;
}

.rb-skills-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #5842e3;
  font-weight: 700;
  font-size: 15px;
}

.rb-mail-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px 16px;
  border: 1px solid #d5d8e5;
  border-radius: 12px;
  background-color: #ffffff;
  color: #111322;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
  word-break: break-all;
}

.rb-mail-btn:hover {
  background-color: #5842e3;
  border-color: #5842e3;
  color: #ffffff;
}

.rb-quote-wrapper {
  --rb-primary: #5b21b6;
  --rb-primary-soft: #f5f3ff;
  --rb-accent: #f97316;
  --rb-accent-hover: #ea580c;
  --rb-surface: #ffffff;
  --rb-surface-alt: #f8f7fc;
  --rb-border: #e5e7eb;
  --rb-text: #111827;
  --rb-muted: #6b7280;
  max-width: 1040px;
  margin: 0 auto;
  font-family: inherit;
}

.rb-quote-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.rb-quote-fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rb-field .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.rb-quote-wrapper input[type="text"],
.rb-quote-wrapper input[type="email"],
.rb-quote-wrapper input[type="tel"],
.rb-quote-wrapper input[type="url"],
.rb-quote-wrapper textarea {
  width: 100%;
  box-sizing: border-box;
  background-color: var(--rb-surface);
  border: 1px solid var(--rb-border);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--rb-text);
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rb-quote-wrapper textarea {
  min-height: 170px;
  resize: vertical;
}

.rb-quote-wrapper input::placeholder,
.rb-quote-wrapper textarea::placeholder {
  color: #9ca3af;
}

.rb-quote-wrapper input:focus,
.rb-quote-wrapper textarea:focus {
  outline: none;
  border-color: var(--rb-primary);
  box-shadow: 0 0 0 3px rgba(91, 33, 182, 0.12);
}

.rb-quote-project-card {
  background-color: var(--rb-surface-alt);
  border: 1px solid #ece9f8;
  border-radius: 14px;
  padding: 26px 28px;
}

.rb-project-title {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rb-text);
  margin-bottom: 18px;
}

.rb-checkbox-list .wpcf7-checkbox {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.rb-checkbox-list .wpcf7-list-item {
  margin: 0;
  display: flex;
  align-items: center;
}

.rb-checkbox-list .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--rb-text);
}

.rb-checkbox-list input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1.5px solid #cbd5e1;
  border-radius: 5px;
  background-color: var(--rb-surface);
  display: grid;
  place-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.rb-checkbox-list input[type="checkbox"]:checked {
  background-color: var(--rb-primary);
  border-color: var(--rb-primary);
}

.rb-checkbox-list input[type="checkbox"]:checked::before {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg) translate(0.5px, -0.5px);
}

.rb-quote-submit {
  margin-top: 22px;
}

.rb-quote-wrapper input[type="submit"].wpcf7-submit {
  background-color: var(--rb-accent);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 13px 34px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.25);
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.rb-quote-wrapper input[type="submit"].wpcf7-submit:hover {
  background-color: var(--rb-accent-hover);
  transform: translateY(-1px);
}

.rb-quote-wrapper .wpcf7-response-output {
  margin: 18px 0 0;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
}

/* ==========================================================================
   19. CTA GLOBALE FOOTER & FOOTER COMPLETO (.calltoaction-progetto / .newfooter)
   ========================================================================== */
.calltoaction-progetto {
  --cta-purple: #5b3df5;
  --cta-purple-light: #7c5dfa;
  --cta-purple-dark: #4729e0;
  --cta-purple-soft: #f3f0ff;
  --cta-purple-border: #dcd6fe;
  --cta-dark: #11131e;
  --cta-text: #4a4f63;
  --cta-white: #ffffff;
  --cta-radius-sm: 10px;
  --cta-radius-lg: 24px;
  box-sizing: border-box;
  width: 100%;
}

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

.calltoaction-progetto .cta-progetto-container {
  max-width: 1400px;
  margin: 0px auto;
  padding: 0px;
  width: 90%;
}

.calltoaction-progetto .cta-progetto-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background-color: var(--cta-purple-soft);
  border: 1px solid var(--cta-purple-border);
  border-radius: var(--cta-radius-lg);
  padding: 36px 44px;
}

.calltoaction-progetto .cta-progetto-left {
  display: flex;
  align-items: center;
  gap: 28px;
}

.calltoaction-progetto .cta-progetto-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
}

.calltoaction-progetto .cta-progetto-logo svg {
  display: block;
  background: transparent;
}

.calltoaction-progetto .cta-progetto-divider {
  width: 1.5px;
  height: 54px;
  background-color: var(--cta-purple-border);
  flex-shrink: 0;
}

.calltoaction-progetto .cta-progetto-title {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem) !important;
  font-weight: 800 !important;
  color: var(--cta-dark) !important;
  margin: 0 0 6px !important;
  line-height: 1.2 !important;
}

.calltoaction-progetto .cta-progetto-desc {
  margin: 0 !important;
  font-size: 15px;
  line-height: 1.55;
  color: var(--cta-text);
  max-width: 520px;
}

.calltoaction-progetto .cta-progetto-action {
  flex-shrink: 0;
}

.calltoaction-progetto .cta-progetto-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--cta-purple);
  color: var(--cta-white) !important;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--cta-radius-sm);
  border: 1px solid var(--cta-purple);
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 8px 20px rgba(91, 61, 245, 0.22);
}

.calltoaction-progetto .cta-progetto-btn:hover {
  background-color: var(--cta-purple-dark);
  border-color: var(--cta-purple-dark);
  transform: translateY(-1px);
}

.newfooter-wrapper {
  background-color: #f8f9fc;
  border-top: 1px solid #e6e8f2;
  color: #4a4f63;
  box-sizing: border-box;
}

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

.newfooter {
  width: 94%;
  max-width: 1400px;
  margin: 0 auto !important;
  padding: 64px 0 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px 1.5%;
}

.newfootercol {
  flex: 1 1 140px;
  min-width: 140px;
}

.newfootercol--brand {
  flex: 1.45 1 240px;
  max-width: 310px;
}

.newfootercol--brand img:first-child {
  display: block;
  filter: none !important;
  background: transparent !important;
}

.newfootercol--brand p {
  font-size: 14px;
  line-height: 1.65;
  color: #4a4f63;
  margin: 0 0 18px;
}

.newfootercol h6 {
  font-size: 12px;
  line-height: 1.3;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #11131e;
  margin: 0 0 14px;
}

.newfootercol a {
  font-size: 14.5px;
  line-height: 2.1em;
  color: #4a4f63;
  text-decoration: none;
  display: block;
  transition: color 0.2s ease, transform 0.2s ease;
}

.newfootercol a:hover {
  color: #5b3df5;
  transform: translateX(2px);
}

.newfooter-address {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.55;
  color: #6b7085;
}

.socialfooter {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.socialfooter a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 !important;
  padding: 0;
  border-radius: 10px;
  background-color: #ffffff;
  border: 1px solid #e2e4ef;
  transition: all 0.2s ease;
}

.socialfooter a:hover {
  background-color: #5b3df5;
  border-color: #5b3df5;
  transform: translateY(-2px);
}

.socialfooter a:hover img {
  filter: brightness(0) invert(1);
}

.socialfooter a img {
  max-height: 18px;
  max-width: 18px;
  width: auto;
  height: auto;
  display: block;
  transition: filter 0.2s ease;
}

.newfooter-bottom {
  width: 94%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 0 28px;
  border-top: 1px solid #e6e8f2;
  text-align: center;
}

.newfooter-bottom p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #6b7085;
}

.newfooter-bottom a,
.newfooter-bottom a.iubenda-embed {
  display: inline !important;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  color: #4a4f63 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  font-size: 13px;
  transition: color 0.2s ease;
}

.newfooter-bottom a:hover,
.newfooter-bottom a.iubenda-embed:hover {
  color: #5b3df5 !important;
}


/* ==========================================================================
   ==========================================================================
   MEDIA QUERIES ORDINATE PER BREAKPOINT
   ==========================================================================
   ========================================================================== */

/* --------------------------------------------------------------------------
   MIN-WIDTH: 768px (Desktop & Tablet grandi)
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  .soluzioni h2 .break-line {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   MAX-WIDTH: 1200px (Laptop grandi / Schermi medi)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .service-box,
  .services-grid5 .service-box,
  .services-grid-social .service-box {
    width: calc(33.333% - 11px);
  }

  .heroservizi h2 {
    font-size: 35px;
  }

  .heroservizi h3 {
    font-size: 19px;
  }
}

/* --------------------------------------------------------------------------
   MAX-WIDTH: 1100px (Laptop compatti / Tablet orizzontale)
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  /* FAQ & CTA */
  .faq-cta-sectionsx,
  .faq-cta-sectiondx {
    width: 100%;
  }

  .faq-cta-sectiondx {
    margin-top: 24px;
    padding: 40px 30px;
  }

  /* Feature Bar & Services Grid */
  .feature-item {
    width: 31.333%;
    margin: 1%;
    box-sizing: border-box;
  }

  .services-grid5 .service-box,
  .services-grid-social .service-box {
    width: calc(33.333% - 11px);
  }

  /* Servizi Dark (da 6 a 3 colonne) */
  .servizi-dark .servizi {
    width: 92%;
    margin: 30px auto;
  }

  .servizi-dark .serviziobox {
    width: 33.333%;
    padding: 24px 18px;
    border-bottom: 1px solid #fff2;
  }

  .servizi-dark .serviziobox:nth-child(3n) {
    border-right: none;
  }

  .servizi-dark .serviziobox:nth-child(n+4) {
    border-bottom: none;
  }

  .servizi-dark .serviziobox img {
    max-height: 90px;
  }

  /* Footer */
  .newfooter {
    gap: 32px 24px;
  }

  .newfootercol--brand {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .newfootercol {
    flex: 1 1 calc(33.333% - 24px);
  }
	.cosafacciamo-seo {
    margin: 70px auto;
    gap: 28px;
  }

  .cosafacciamo-seosx,
  .cosafacciamo-seodx {
    width: 100%;
  }

  .cosafacciamo-seosx h2 {
    max-width: 100%;
    margin-bottom: 10px;
  }

  .cosafacciamo-seo-box {
    width: calc(33.333% - 12px);
    margin: 0 0 18px 0;
    box-sizing: border-box;
  }
}
	
}

/* --------------------------------------------------------------------------
   MAX-WIDTH: 1024px (Tablet orizzontale)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  /* Hero Servizi */
  .heroservizi {
    padding-top: 120px;
  }

  .heroserviziwrap {
    width: 92%;
    gap: 24px;
  }

  .heroservizisx {
    max-width: 52%;
  }

  .heroservizi h2 {
    font-size: 34px;
    margin: 10px 0 22px;
  }

  .heroservizi h3 {
    font-size: 19px;
  }

  .heroservizi p {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .heroservizidx img {
    width: 110%;
    transform: translateX(0);
  }

  /* Come lavoriamo 2 */
  .comelavoriamo2 {
    margin: 56px auto;
  }

  .comelavoriamo2 > div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
    padding: 24px;
  }

  .comelavoriamo2 article::after {
    display: none;
  }

  .comelavoriamo2 article:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 520px;
    width: 100%;
    justify-self: center;
  }

  /* Esperienza & Statistiche */
  .esperienzasection {
    padding: 56px 20px;
    background-size: cover;
    background-position: center;
  }

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

  /* Servizi Section 1 */
  .servizisection1 {
    padding: 50px 5% 30px;
    text-align: center;
    background: #f5f5f5;
  }

  /* Method & Tech */
  .method-tech-section {
    width: 92%;
    padding: 45px 0;
    gap: 24px;
  }

  .method-tech-sectionsx,
  .method-tech-sectiondx {
    width: 100%;
    padding: 32px;
  }

  /* Team */
  .rb-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------------------------------------
   MAX-WIDTH: 992px / 991px (Tablet)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .soluzionibox {
    flex: 0 0 calc((100% - 24px) / 2);
  }

  .two-columns,
  .two-columns-bottom {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .bullet-list {
    grid-template-columns: 1fr;
  }

  /* Consulenza Details */
  .consulenzadetails .cd-top-section,
  .consulenzadetails .cd-banner-section,
  .consulenzadetails .cd-case-card {
    grid-template-columns: 1fr;
  }

  .consulenzadetails .cd-case-stats {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
  }

  /* Cards Grid */
  .card-item {
    width: 49%;
  }

  .card-item summary h4 {
    font-size: 19px;
  }

  .card-item summary::before {
    top: -10px;
    left: -50px;
    font-size: 190px;
  }

  .card-content {
    font-size: 14px;
    padding: 30px 15px;
  }
}

@media (max-width: 991px) {
  .calltoaction-progetto .cta-progetto-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
  }
}

/* --------------------------------------------------------------------------
   MAX-WIDTH: 900px (Tablet verticale)
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  /* Come lavoriamo 2 */
  .comelavoriamo2 h2 {
    font-size: 25px;
  }

  .comelavoriamo2 > div {
    flex-direction: column;
    gap: 40px;
    padding: 30px 20px;
  }

  .comelavoriamo2 article:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
    padding-right: 0;
    padding-bottom: 30px;
  }

  .comelavoriamo2 article:not(:last-child)::after {
    display: none;
  }

  /* Servizi & Feature Bar */
  .servizisection1 {
    padding: 70px 20px 45px;
  }

  .servizisection1 h2,
  .services-intro h2 {
    font-size: 30px;
  }

  .features-bar,
  .services-grid,
  .services-section .services-intro {
    width: 94%;
  }

  .feature-item {
    width: 48%;
    margin: 1%;
  }

  .services-section {
    padding: 48px 0;
  }

  .service-box,
  .services-grid5 .service-box,
  .services-grid-social .service-box {
    width: calc(50% - 8px);
    padding: 24px 20px;
  }

  /* Foto AI Boxes */
  .foto-ai-box {
    width: 48%;
    margin: 0 auto 25px;
    font-size: 11px;
  }

  .foto-ai-box h3 {
    font-size: 16px;
    line-height: 1.3em;
  }

  .foto-ai-box p {
    font-size: 14px;
    line-height: 1.4;
  }

  /* Canali Box */
  .canali-box {
    padding: 22px;
  }

  .canali-lista {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  /* Funnel */
  .funnel-container {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .funnel-arrow {
    height: auto;
    transform: rotate(90deg);
  }
}

/* --------------------------------------------------------------------------
   MAX-WIDTH: 768px (Tablet piccolo)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .consulenzadetails .cd-right-cards {
    grid-template-columns: 1fr;
  }

  .chatgpt-ad-container {
    flex-direction: column;
    text-align: left;
    gap: 30px;
  }

  .chatgpt-ad-content {
    max-width: 100%;
  }

  .chatgpt-ad-content h2 {
    font-size: 26px;
  }

  .rb-quote-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .rb-quote-project-card {
    padding: 20px;
  }
}

/* --------------------------------------------------------------------------
   MAX-WIDTH: 767px (Mobile grande / Smartphone orizzontale)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  /* Hero Servizi */
  .heroservizi {
    padding-top: 75px;
    padding-bottom: 32px;
  }

  .heroserviziwrap {
    flex-direction: column;
    align-items: flex-start;
    width: 90%;
    gap: 28px;
  }

  .heroservizisx,
  .heroservizidx {
    max-width: 100%;
    width: 100%;
  }

  .heroservizidx img {
    width: 100%;
    max-width: 100%;
    transform: none;
  }

  .heroservizi h1 {
    font-size: 15px;
  }

  .heroservizi h2 {
    font-size: 28px;
    line-height: 1.15em;
    margin: 8px 0 18px;
  }

  .heroservizi h3 {
    font-size: 17px;
    max-width: 100%;
  }

  .heroservizi p {
    font-size: 15px;
    line-height: 1.5em;
    margin-bottom: 24px;
    max-width: 100%;
  }

  .heroservizi a {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    margin-right: 0;
  }

  /* FAQ & CTA */
  .faq-cta-section {
    padding: 30px 15px;
  }

  .faq-container h2 {
    font-size: 26px;
  }

  details.faq-item {
    width: 100%;
    margin: 6px 0;
    font-size: 13px;
  }

  .faq-cta-sectiondx {
    padding: 32px 20px;
  }

  .faq-cta-sectiondx h3 {
    font-size: 20px;
  }

  /* Esperienza */
  .esperienzasectionwrap {
    display: flex;
    flex-wrap: wrap;
  }

  .stats-header,
  .stats-grid {
    width: 100%;
  }

  /* Servizi Dark (2 colonne) */
  .servizi-dark .serviziobox {
    width: 50%;
    padding: 20px 14px;
    border-right: 1px solid #fff2;
    border-bottom: 1px solid #fff2;
  }

  .servizi-dark .serviziobox:nth-child(3n) {
    border-right: 1px solid #fff2;
  }

  .servizi-dark .serviziobox:nth-child(2n) {
    border-right: none;
  }

  .servizi-dark .serviziobox:nth-child(n+4) {
    border-bottom: 1px solid #fff2;
  }

  .servizi-dark .serviziobox:nth-child(n+5) {
    border-bottom: none;
  }

  .servizi-dark .serviziobox img {
    max-height: 45px;
    width: auto;
  }

  /* Footer */
  .newfooter {
    width: 92%;
    padding: 48px 0 36px;
    gap: 28px 16px;
  }

  .newfootercol {
    flex: 1 1 calc(50% - 16px);
    min-width: 135px;
  }

  .newfootercol--brand {
    flex: 1 1 100%;
  }
}

/* --------------------------------------------------------------------------
   MAX-WIDTH: 640px (Mobile)
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  /* Carosello */
  .rb-carousel .swiper-button-prev {
    left: 2px !important;
  }

  .rb-carousel .swiper-button-next {
    right: 2px !important;
  }

  /* Come lavoriamo 2 */
  .comelavoriamo2 {
    width: 90%;
    margin: 40px auto;
  }

  .comelavoriamo2 > div {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 20px 18px;
    border-radius: 12px;
  }

  .comelavoriamo2 article:last-child:nth-child(odd) {
    max-width: none;
  }

  .comelavoriamo2 article {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
  }

  .comelavoriamo2 span {
    margin-bottom: 0;
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .comelavoriamo2 article > h3,
  .comelavoriamo2 article > p {
    flex: 1;
  }

  .comelavoriamo2 article:not(:last-child)::after {
    display: block;
    top: 34px;
    left: 17px;
    width: 1px;
    height: calc(100% + 24px - 34px);
    transform: translateX(-50%);
  }

  .comelavoriamo2 h3 {
    font-size: 17px;
    line-height: 34px;
    margin: 0 0 4px;
  }

  .comelavoriamo2 p {
    font-size: 14px;
  }

  .comelavoriamo2 h2 {
    font-size: 25px;
    margin-bottom: 20px;
  }

  /* Esperienza & Box AI */
  .esperienzasection {
    padding: 44px 16px;
    margin: 28px 0;
    background: #222 !important;
  }

  .esperienzasectionwrap p {
    font-size: 15px;
    line-height: 1.5;
  }

  .AIwrap2 {
    flex-direction: column;
  }

  .stats-header2 {
    width: 100%;
    margin: 0 auto 30px;
  }

  .esempiAIboxes {
    width: 100%;
    margin: 0 auto;
    grid-template-columns: 1fr;
  }

  .esempioAIbox {
    padding: 15px;
    width: 98%;
  }

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

  .heroservizi h1,
  .servizisection1 h3 {
    font-size: 13px;
  }

  /* Servizi Section 1 & Feature Bar */
  .servizisection1 {
    padding: 50px 16px 35px;
  }

  .servizisection1 h2,
  .services-intro h2 {
    font-size: 25px;
    margin-bottom: 20px;
  }

  .servizisection1 p,
  .services-intro p {
    font-size: 15px;
  }

  .features-bar {
    width: 100%;
    margin: 28px auto 10px;
  }

  .feature-item {
    width: 100%;
    margin: 0 0 12px 0;
    padding: 20px 18px;
  }

  .services-section {
    padding: 40px 0;
  }

  .services-grid {
    width: 92%;
    gap: 12px;
  }

  .service-box,
  .services-grid5 .service-box,
  .services-grid-social .service-box {
    width: 100%;
    padding: 22px 20px;
  }

  /* Method & Tech */
  .method-tech-section {
    width: 94%;
    padding: 32px 0;
    gap: 20px;
  }

  .method-tech-sectionsx,
  .method-tech-sectiondx {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .method-tech-sectionsx h2 {
    font-size: 25px;
  }

  .method-tech-sectiondx h2 {
    font-size: 21px;
  }

  .method-tech-sectionsx p,
  .method-tech-sectiondx p {
    font-size: 15px;
  }

  .stepper-line {
    margin: 28px auto;
    padding: 0;
  }

  .stepper-line::before {
    left: 12px;
    right: 12px;
  }

  .step {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }

  .method-tech-sectionsx .step {
    box-shadow: 0 0 0 3px #f5f5f5;
  }

  .method-steps li {
    font-size: 13px;
    line-height: 1.5;
  }

  .foto-ai-box {
    width: 98%;
  }

  /* Pagina ID 2035 & Stats */
  .page-id-2035 .esperienzasectionwrap {
    display: flex;
    flex-wrap: wrap;
  }

  .page-id-2035 .stats-header {
    width: 100%;
    margin: 0 auto 30px;
  }

  .page-id-2035 .stats-grid {
    width: 100%;
    margin: 0 auto 25px;
  }

  .stat-item .number {
    font-size: 26px;
  }

  .stat-item .label {
    font-size: 13px;
  }

  .stat-item .label strong {
    font-size: 15px;
  }

  /* Team */
  .rb-team-grid {
    grid-template-columns: 1fr;
  }

  .rb-team-header h2 {
    font-size: 28px;
  }

  /* CTA Banner */
  .calltoaction-progetto .cta-progetto-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .calltoaction-progetto .cta-progetto-divider {
    display: none;
  }
	
	.cosafacciamo-seo {
    margin: 50px auto;
    gap: 24px;
  }

  .cosafacciamo-seosx h2 {
    font-size: 28px;
  }

  .cosafacciamo-seo-box {
    width: calc(50% - 8px);
    padding: 14px 18px;
    margin: 0 0 16px 0;
  }
	
	
}

/* --------------------------------------------------------------------------
   MAX-WIDTH: 600px (Mobile medio)
   -------------------------------------------------------------------------- */
@media (max-width: 600px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .services-section {
    padding: 36px 0;
  }

  .services-section .services-intro {
    width: 92%;
    margin-bottom: 28px;
  }

  .services-intro h2,
  .servizisection1 h2 {
    font-size: 25px;
    margin-bottom: 20px;
  }

  .services-intro p {
    font-size: 15px;
    width: 100%;
    max-width: 100% !important;
  }

  .services-grid {
    width: 92%;
    gap: 14px;
  }

  .service-box,
  .services-grid5 .service-box,
  .services-grid-social .service-box {
    width: 100%;
    padding: 22px 20px;
    border-radius: 14px;
  }

  .service-box:hover {
    transform: none;
  }

  .service-box h3 {
    font-size: 17px;
  }

  .service-box p,
  .servizisection1 p {
    font-size: 14.5px;
    line-height: 1.5;
  }
}

/* --------------------------------------------------------------------------
   MAX-WIDTH: 576px (Mobile piccolo)
   -------------------------------------------------------------------------- */
@media (max-width: 576px) {
  .soluzionibox {
    flex: 0 0 100%;
  }

  .hero-section h1 {
    font-size: 1.8rem;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }
	.cosafacciamo-seo {
    margin: 40px auto;
  }

  .cosafacciamo-seosx h2 {
    font-size: 24px;
  }

  .cosafacciamo-seo-box {
    width: 100%;
    padding: 14px 16px;
    margin: 0 0 12px 0;
  }

  .cosafacciamo-seo-box h3 {
    margin-top: 6px;
  }
	
	
}

/* --------------------------------------------------------------------------
   MAX-WIDTH: 480px (Smartphone compatto)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  /* Tipografia generale */
  .esperienzasectionwrap p {
    font-size: 13px;
    line-height: 1.5;
  }

  .heroservizi h1,
  .servizisection1 h3 {
    font-size: 11px;
  }

  .method-tech-sectionsx p,
  .method-tech-sectiondx p {
    font-size: 14px !important;
  }

  /* Come lavoriamo 2 */
  .comelavoriamo2 > div {
    padding: 20px 10px;
  }

  .comelavoriamo2 article {
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
    padding-right: 0;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 0px;
  }

  .comelavoriamo2 article:not(:last-child) {
    padding-bottom: 10px;
  }

  .comelavoriamo2 article:not(:last-child)::after {
    display: none;
  }

  .comelavoriamo2 article > h3 {
    margin-top: 15px;
  }

  /* Cards Grid */
  .card-item {
    width: 99%;
  }

  .card-item summary {
    aspect-ratio: 3/1;
  }

  .card-item summary h4 {
    font-size: 18px;
  }

  .card-item summary::before {
    top: -10px;
    left: -50px;
    font-size: 140px;
  }

  .card-content {
    font-size: 13px;
    padding: 20px 10px;
  }

  /* Servizi Dark (1 colonna orizzontale) */
  .servizi-dark .servizi {
    width: 92%;
    margin: 20px auto;
  }

  .servizi-dark .serviziobox {
    width: 100%;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 16px;
    padding: 18px 8px;
    border-right: none !important;
    border-bottom: 1px solid #fff2 !important;
  }

  .servizi-dark .serviziobox:last-child {
    border-bottom: none !important;
  }

  .servizi-dark .serviziobox .servizioboxsx {
    width: 56px;
    flex-shrink: 0;
  }

  .servizi-dark .serviziobox .servizioboxdx {
    width: calc(100% - 72px);
  }

  .servizi-dark .serviziobox img {
    max-height: 40px;
    width: auto;
  }

  .servizi-dark .serviziobox h3 {
    margin: 0 0 4px;
    font-size: 15px;
  }

  .servizi-dark .serviziobox p {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
  }

  /* Footer */
  .newfooter {
    flex-direction: column;
    gap: 24px;
  }

  .newfootercol,
  .newfootercol--brand {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
  }

  .newfootercol a {
    line-height: 2.2em;
  }

  .newfooter-bottom {
    width: 92%;
    text-align: left;
  }
	
	
	
}











/* Nasconde la linea orizzontale alla fine di ogni riga da 3 (3° e 6° step) */
.comelavoriamo-seo article:nth-child(3n)::after,
.comelavoriamo-seo article:last-child::after {
  display: none;
}

/* Tablet / Schermi medi: 2 colonne pulite (6 step = 3 righe pari) */
@media (max-width: 1024px) {
  .comelavoriamo-seo > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }

  .comelavoriamo-seo article {
    flex: none;
    max-width: none;
    width: 100%;
    justify-self: stretch;
  }
}

/* Mobile (fino a 640px): layout a step con linea verticale */
@media (max-width: 640px) {
  .comelavoriamo-seo > div {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .comelavoriamo-seo article {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
  }

  .comelavoriamo-seo article:not(:last-child)::after {
    display: block;
    top: 34px;
    left: 17px;
    width: 1px;
    height: calc(100% + 24px - 34px);
    transform: translateX(-50%);
  }

  .comelavoriamo-seo article:last-child::after {
    display: none;
  }
}

/* Smartphone compatto (fino a 480px): colonna verticale centrata come .comelavoriamo2 */
@media (max-width: 480px) {
  .comelavoriamo-seo article {
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
    padding-right: 0;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 0px;
  }

  .comelavoriamo-seo article:not(:last-child)::after {
    display: none;
  }

  .comelavoriamo-seo article > h3 {
    margin-top: 15px;
    line-height: 1.3;
  }
}


/* Laptop compatti / Tablet orizzontale: i due blocchi principali (sx e dx) vanno in colonna */
@media (max-width: 1100px) {
  .agenziaseo5 {
    gap: 24px;
    margin: 40px auto 0;
  }

  .agenziaseo5sx,
  .agenziaseo5dx {
    width: 100%;
    padding: 28px;
    box-sizing: border-box;
  }

  .agenziaseo5sxsx a,
  .agenziaseo5dxsx a {
    margin-top: 20px;
  }
}

/* Mobile grande / Tablet verticale: testo e immagine interni si dispongono in colonna */
@media (max-width: 767px) {
  .agenziaseo5 {
    width: 92%;
    gap: 20px;
  }

  .agenziaseo5sx,
  .agenziaseo5dx {
    padding: 24px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .agenziaseo5sxsx,
  .agenziaseo5dxsx,
  .agenziaseo5sxdx,
  .agenziaseo5dxdx {
    width: 100%;
  }

  .agenziaseo5sxsx a,
  .agenziaseo5dxsx a {
    max-width: 100%;
    text-align: center;
    box-sizing: border-box;
    margin-right: 0;
  }
}

/* Smartphone compatto */
@media (max-width: 480px) {
  .agenziaseo5 {
    width: 94%;
    margin: 28px auto 0;
  }

  .agenziaseo5sx,
  .agenziaseo5dx {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .agenziaseo5sxsx h3,
  .agenziaseo5dxsx h3 {
    font-size: 19px;
  }

  .agenziaseo5sxsx p,
  .agenziaseo5dxsx p {
    font-size: 13.5px;
    line-height: 1.45;
  }
}


/* Tablet / Schermi medi: i due box si dispongono in colonna */
@media (max-width: 1024px) {
  .method-tech-section {
    width: 92%;
    padding: 45px 0;
    gap: 24px;
  }

  .method-tech-sectionsx,
  .method-tech-sectiondx {
    width: 100%;
    padding: 32px;
  }
}

/* Mobile: compatta testi, stepper a 5 step e griglia tecnologie/aziende */
@media (max-width: 640px) {
  .method-tech-section {
    width: 94%;
    padding: 32px 0;
    gap: 20px;
  }

  .method-tech-sectionsx,
  .method-tech-sectiondx {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .method-tech-sectionsx h2 {
    font-size: 25px;
  }

  .method-tech-sectiondx h2 {
    font-size: 21px;
  }

  .method-tech-sectionsx p,
  .method-tech-sectiondx p {
    font-size: 15px;
  }

  .stepper-line {
    margin: 28px auto;
    padding: 0;
  }

  .stepper-line::before {
    left: 12px;
    right: 12px;
  }

  .step {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }

  .method-tech-sectionsx .step {
    box-shadow: 0 0 0 3px #f5f5f5;
  }

  .method-steps li {
    font-size: 13px;
    line-height: 1.5;
  }

  .tech-grid {
    font-size: 14px;
    line-height: 1.5;
  }
}

/* Smartphone compatto */
@media (max-width: 480px) {
  .method-tech-sectionsx p,
  .method-tech-sectiondx p {
    font-size: 14px !important;
  }
}




/* ==========================================================================
   RESPONSIVE: TOPHOME, SERVIZI, SOLUZIONI, PROGETTI & PARTNER
   ========================================================================== */

/* Laptop / Tablet orizzontale */
@media (max-width: 1100px) {
  .tophomesx h2 {
    font-size: 56px;
  }

  .tophomesx h3 {
    font-size: 22px;
  }

  .serviziobox {
    width: 48%;
    margin-bottom: 20px;
    padding-right: 16px;
  }

  .serviziobox:nth-child(2n) {
    border-right: none;
  }

  .soluzionibox {
    width: 32%;
    margin: 0.66%;
  }

  .partnerbox {
    width: 33.333%;
    text-align: center;
    padding: 16px;
    margin-bottom: 12px;
  }

  .partnerbox:nth-child(3n) {
    border-right: none;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .tophome {
    height: auto;
    min-height: 75vh;
    padding: 120px 0 60px;
  }

  .tophomesx {
    width: 75%;
  }

  .tophomesx h2 {
    font-size: 46px;
  }

  .soluzioni h2 {
    font-size: 38px;
  }

  .soluzionibox {
    flex: 0 0 calc((100% - 24px) / 2);
    width: auto;
    margin: 0 0 16px 0;
  }
	.servizioboxsx img {
	max-width: 50px;
}
	
}

/* Mobile grande */
@media (max-width: 767px) {
  .tophome {
    padding: 100px 0 48px;
    background-size: cover, auto 55%;
    background-position: center, bottom right;
  }

  .tophomesx {
    width: 100%;
  }

  .tophomesx h2 {
    font-size: 36px;
    margin-bottom: 18px;
  }

  .tophomesx h3 {
    font-size: 19px;
    margin-bottom: 24px;
  }

  .tophomesx p {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .servizi {
    margin: 45px auto;
  }

  .serviziobox {
    width: 100%;
    border-right: none !important;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 0 18px 0;
    margin-bottom: 18px;
  }

  .serviziobox:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .progettitopsx,
  .progettitopdx {
    width: 100%;
    text-align: left;
    justify-content: flex-start;
  }

  .progettitop {
    gap: 14px;
  }

  .progetti h2 {
    font-size: 25px;
    margin-bottom: 0;
  }

  .portfolio-card img {
    height: 180px;
  }

  .partner {
    margin: 70px auto !important;
  }

.partner h2 {
	font-size: 20px;
	margin-bottom: 30px;
	width: 90%;
}
.partnerbox img {
	max-height: 50px;
}
  .partnerbox {
    width: 50%;
    padding: 14px 10px;
  }
.soluzionibox a {
	width: 20px;
	height: 15px;
}
  .partnerbox:nth-child(3n) {
    border-right: 1px solid #ccc;
  }

  .partnerbox:nth-child(2n) {
    border-right: none;
  }
.servizioboxdx p {
	font-size: 14px;
}	
.servizioboxdx h3 {
	font-size: 17px;
}	
.soluzionibox h4 {
	font-size: 17px;
}	
	.accordion-testo summary {
	font-size: 14px;
}
	.partner h3 {
	font-size: 13px;
}
	
}

/* Smartphone */
@media (max-width: 576px) {
  .tophomesx h2 {
    font-size: 30px;
  }

  .tophomesx a,
  a.pulsantilink {
    display: block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    margin-right: 0;
  }

.soluzioni h2 {
	font-size: 20px;
}
.soluzioni h3 {
	font-size: 14px;
}
  .soluzionibox {
    flex: 0 0 100%;
    padding: 20px;
  }

  .soluzionibox:hover a {
    right: 16px;
  }

  .rb-carousel {
    width: 96%;
  }

  .rb-carousel .swiper-button-prev {
    left: 2px !important;
  }

  .rb-carousel .swiper-button-next {
    right: 2px !important;
  }
}
