:root {
  --main-navbar-height: 5.2rem;
  --sub-navbar-height: 2.3rem;
  --palette-bullet-icon: url("../../assets/img/palette-bullet.svg");
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  padding-top: calc(var(--main-navbar-height) + var(--sub-navbar-height));
  background-image: url("../../assets/img/watercolor-paper_edit_2.jpg");
  background-repeat: repeat;
  background-position: top left;
  background-size: auto;
}

/* =========================
   UTILITIES
   ========================= */

.social-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.brush {
  font-family: "GOOD BRUSH", cursive !important;
  font-weight: 400;
  font-style: normal;
  text-transform: none;
}

.brush-text {
  font-family: "GOOD BRUSH", cursive;
}

.firma {
  display: block;
  margin-top: 0.2rem;
  text-align: right;
  font-family: "Alex Brush", cursive !important;
  font-size: 1.4rem !important;
  font-style: normal;
}

.firma-center {
  text-align: center !important;
  padding-right: 0 !important;
}

.text-tight-top {
  display: block;
  margin-top: -0.4rem;
  line-height: 1.1;
  color: #6c757d !important;
}

.text-green {
  color: #2bb7a8;
}

/* =========================
   NAVBAR
   ========================= */

.main-navbar, .sub-navbar {
  background-color: var(--bs-body-bg);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.main-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1070;
  min-height: var(--main-navbar-height);
  height: var(--main-navbar-height);
}

.sub-navbar {
  position: fixed;
  top: var(--main-navbar-height);
  left: 0;
  right: 0;
  z-index: 1055;
  min-height: var(--sub-navbar-height);
  padding-block: 0.35rem;
  box-shadow: inset 0 8px 14px -10px rgba(0, 0, 0, 0.45), 0 4px 10px rgba(0, 0, 0, 0.12);
}

.navbar-nav {
  align-items: center;
  gap: 16px;
}

.sub-navbar .navbar-nav {
  gap: 2rem;
}

.main-navbar .nav-link {
  position: relative;
  z-index: 1;
  color: #0e4693;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-navbar .nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -16px;
  right: -16px;
  z-index: -1;
  opacity: 0;
  background: url("../../assets/img/blu_def.png") center / 100% 100% no-repeat;
  transition: opacity 0.3s ease;
}

.main-navbar .nav-link:hover, .main-navbar .nav-link.active {
  color: #fff !important;
}

.main-navbar .nav-link:hover::before, .main-navbar .nav-link.active::before {
  opacity: 1;
}

.sub-navbar .nav-link {
  position: relative;
  z-index: 1;
  color: #B63A6B;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  transition: color 0.3s ease;
}

.sub-navbar .nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -35px;
  right: -35px;
  z-index: -1;
  opacity: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transition: opacity 0.3s ease;
}

.sub-navbar .nav-item:first-child .nav-link {
  color: #0e4693;
}

.sub-navbar .nav-item:first-child .nav-link::before {
  background-image: url("../../assets/img/blu_def.png");
}

.sub-navbar .nav-item:last-child .nav-link::before {
  background-image: url("../../assets/img/rosso_def.png");
}

.sub-navbar .nav-link:hover, .sub-navbar .nav-link.active {
  color: #fff !important;
}

.sub-navbar .nav-link:hover::before, .sub-navbar .nav-link.active::before {
  opacity: 1;
}

/* =========================
   MOBILE / TABLET NAVBAR COLLAPSE
   ========================= */

@media (max-width: 991.98px) {
  .main-navbar {
    overflow: visible;
  }
}

@media (max-width: 991.98px) {
  .main-navbar .navbar-collapse .navbar-nav {
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }
}

@media (max-width: 991.98px) {
  .main-navbar .navbar-collapse .nav-link {
    display: block;
    width: 100%;
    padding: 0.6rem 0;
    text-align: center;
  }
}

@media (max-width: 991.98px) {
  .main-navbar .navbar-collapse {
    position: absolute;
    top: calc(var(--main-navbar-height) + var(--sub-navbar-height));
    left: 0;
    right: 0;
    background: #fff;
    z-index: 1080;
    padding: 1rem 1.25rem;
    box-shadow: inset 0 8px 12px -10px rgba(0, 0, 0, 0.4), 0 10px 24px rgba(0, 0, 0, 0.12);
    border-top: 0;
    text-align: center;
  }
}

/* =========================
   HERO
   ========================= */

.hero {
  position: relative;
  width: 100%;
  min-height: calc(100vh - (var(--main-navbar-height) + var(--sub-navbar-height)));
  height: calc(100vh - (var(--main-navbar-height) + var(--sub-navbar-height)));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero > .container > .row {
  width: 100%;
  max-width: 1200px;
  min-height: inherit;
  margin: 0 auto;
  align-items: center;
}

#herologo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 220px;
}

.hero-logo-img {
  display: block;
  width: min(320px, 70vw);
  height: auto;
  margin: 0 auto;
  opacity: 0;
  animation: fadeInLogo 3s ease forwards;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.5);
}

.hero > *:not(.hero__video) {
  position: relative;
  z-index: 2;
}

.hero-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-banner p, .hero-title {
  color: #fff;
}

.hero-title {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  text-transform: uppercase;
}

@keyframes fadeInLogo {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(calc((var(--main-navbar-height) + var(--sub-navbar-height)) * -0.35));
  }
}

/* =========================
   PARALLAX BACKGROUNDS
   ========================= */

.hero-banner, .cards-equal-bg, .parallax-bg {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  will-change: background-position;
}

/* =========================
   SUBSCRIBE BANNER
   ========================= */

.subscribe-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 200px;
  padding: 1.25rem 0;
  background-image: url("../../assets/img/color-1241879.jpg");
  background-position: top center;
  background-size: cover;
}

.subscribe-inner {
  width: 100%;
  max-width: 960px;
  text-align: center;
}

.subscribe-banner h1, .subscribe-banner h2 {
  display: block;
  width: 100%;
  padding: 0.6rem 1.5rem;
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.5);
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.subscribe-banner p {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.subscribe-banner .btn-light {
  color: #0d1a2a;
  border-color: rgba(255, 255, 255, 0.9);
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}

.cta-subscribe {
  display: inline-block;
  color: #fff !important;
  text-decoration: none !important;
  letter-spacing: 0.02em;
  transition: letter-spacing 0.3s ease, transform 0.3s ease;
}

.cta-subscribe:hover, .cta-subscribe:focus {
  color: #fff !important;
  text-decoration: none !important;
  letter-spacing: 0.08em;
  transform: translateY(-1px);
}

/* =========================
   HOME SPLIT
   ========================= */

.split-row {
  min-height: 420px;
}

.split-media {
  position: relative;
  overflow: hidden;
}

.split-image {
  display: block;
  width: 100%;
  height: calc(100% + 320px);
  margin-top: -160px;
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  pointer-events: none;
}

.split-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.split-inner {
  width: 100%;
  max-width: 500px;
}

.split-title {
  margin-bottom: 0.05rem;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.split-title.brush {
  text-transform: none;
}

.split-title.red {
  color: #B63A6B;
}

.split-title.blue {
  color: #2f57b7;
}

.split-subtitle {
  margin-top: 0;
  margin-bottom: 0.9rem;
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 600;
  line-height: 1;
  color: #222;
}

.split-subtitle-red {
  color: #D88AA7;
}

.split-subtitle-blue {
  color: #6f8dcf;
}

.split-quote {
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.35;
  font-style: italic;
  color: #333;
}

.split-text {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.45;
  font-weight: 600;
  color: #111;
}

.split-subtitle + .split-quote, .split-subtitle + p {
  margin-top: 1.4rem;
}

/* =========================
   BUTTONS / CTA
   ========================= */

.split-btn {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0.55rem 1.6rem;
  border: 0;
  color: #fff;
  text-align: center;
  text-decoration: none;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: letter-spacing 0.3s ease;
}

.split-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 180%;
  transform: translate(-50%, -50%);
  z-index: -1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.split-btn-red::before {
  background-image: url("../../assets/img/pennello_1-100.png");
}

.split-btn-green::before {
  background-image: url("../../assets/img/pennello_2-100.png");
}

.split-btn-blue::before {
  background-image: url("../../assets/img/pennello_3-100.png");
}

.split-btn:hover, .split-btn:focus {
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.08em;
}

.btn-align-md-end {
  display: inline-block;
}

/* =========================
   CARDS / SECTIONS
   ========================= */

.cards-equal-bg {
  height: 450px;
  background-image: url("../../assets/img/ea8bf9c9-45ae-4ca2-988c-c813812f6df8.png");
}

.cards-equal .row > .col {
  display: flex;
}

.cards-equal .card {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.cards-equal .card-body {
  flex: 1 1 auto;
}

.cards-equal .card-footer {
  margin-top: auto;
}

.card-title-about {
  font-size: 2.5rem;
}

.collaboratori {
  background: #fff;
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 80px;
  padding: 1rem;
  text-decoration: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.partner-card:hover, .partner-card:focus {
  transform: translateY(-2px);
  opacity: 0.9;
}

.partner-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 70px;
}

.partner-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* =========================
   SOCIAL ICONS
   ========================= */

.social-icon {
  display: inline-block;
  width: 56px;
  height: 56px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.social-icon.facebook {
  background-image: url("../../assets/img/facebook.svg");
}

.social-icon.instagram {
  background-image: url("../../assets/img/instagram.png");
}

.social-icon.linkedin {
  background-image: url("linkedin.png");
}

.social-icon.youtube {
  background-image: url("../../assets/img/youtube.svg");
}

.social-icon.facebook:hover {
  background-image: url("../../assets/img/facebook_hover.png");
}

.social-icon.instagram:hover {
  background-image: url("../../assets/img/instagram_hover.png");
}

.social-icon.linkedin:hover {
  background-image: url("../../assets/img/linkedin_hover.svg");
}

.social-icon.youtube:hover {
  background-image: url("../../assets/img/youtube_hover.svg");
}

.social-icon:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* =========================
   TABLET / DESKTOP
   ========================= */

@media (min-width: 768px) {
  #hidden {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .hero-logo-img {
    width: min(560px, 65vw);
  }
}

@media (min-width: 768px) {
  .split-content-blue .split-title, .split-content-blue .split-subtitle {
    text-align: right;
  }
}

@media (min-width: 768px) {
  .split-content-blue .firma {
    padding-right: 2rem;
  }
}

@media (min-width: 768px) {
  .btn-align-md-end {
    display: table;
    margin-left: auto;
    margin-right: 0;
  }
}

@media (min-width: 768px) {
  .follow {
    margin-top: 3.5rem;
  }
}

@media (min-width: 992px) {
  .follow {
    margin-top: 0.5rem;
  }
}

@media (min-width: 1200px) {
  .hero-logo-img {
    width: min(900px, 55vw);
  }
}

@media (min-width: 1200px) {
  .cards-equal-bg {
    height: 500px;
  }
}

@media (min-width: 1400px) {
  .split-content {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

@media (min-width: 1400px) {
  .split-content.split-content-red {
    justify-content: flex-start;
    padding-left: 4rem;
    padding-right: 6rem;
  }
}

@media (min-width: 1400px) {
  .split-content.split-content-blue {
    justify-content: flex-end;
    padding-left: 6rem;
    padding-right: 4rem;
  }
}

@media (min-width: 1400px) {
  .split-inner {
    max-width: 620px;
  }
}

@media (min-width: 1400px) {
  .split-content-blue .firma {
    padding-right: 2.5rem;
  }
}

@media (min-width: 1400px) {
  .cards-equal-bg {
    height: 600px;
  }
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 991.98px) {
  .cards-equal-bg {
    height: 320px;
  }
}

@media (max-width: 767.98px) {
  .hero-logo-img {
    width: min(380px, 85vw);
  }
}

@media (max-width: 767.98px) {
  .split-row, .split-media, .split-content {
    min-height: auto;
  }
}

@media (max-width: 767.98px) {
  .split-content {
    padding: 2.5rem 2rem 3.25rem;
  }
}

@media (max-width: 575.98px) {
  .split-content {
    padding: 2.25rem 1.6rem 3rem;
  }
}

@media (max-width: 767.98px) {
  .split-inner {
    max-width: 100%;
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .split-title, .split-subtitle, .split-quote, .split-text, .firma {
    text-align: center !important;
  }
}

@media (max-width: 767.98px) {
  .split-content-blue .split-title, .split-content-blue .split-subtitle {
    text-align: center !important;
  }
}

@media (max-width: 767.98px) {
  .split-content-blue .firma {
    padding-right: 0;
  }
}

@media (max-width: 767.98px) {
  .split-row:first-child .split-media {
    order: 1;
  }
}

@media (max-width: 767.98px) {
  .split-row:first-child .split-content {
    order: 2;
  }
}

@media (max-width: 767.98px) {
  .split-row:last-child .split-media {
    order: 3;
  }
}

@media (max-width: 767.98px) {
  .split-row:last-child .split-content {
    order: 4;
  }
}

@media (max-width: 767.98px) {
  .split-btn {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767.98px) {
  .sub-navbar .container {
    overflow: hidden;
  }
}

@media (max-width: 767.98px) {
  .sub-navbar .navbar-nav {
    gap: 0.4rem;
    flex-wrap: nowrap;
  }
}

@media (max-width: 767.98px) {
  .sub-navbar .nav-link {
    padding: 0.15rem 0.35rem;
    font-size: 0.7rem;
    line-height: 1.1;
    letter-spacing: 0.03em;
    white-space: nowrap;
  }
}

@media (max-width: 767.98px) {
  .main-navbar .nav-link::before {
    left: -25px;
    right: -25px;
  }
}

@media (max-width: 767.98px) {
  .sub-navbar .nav-link::before {
    left: -30px;
    right: -30px;
  }
}

@media (max-width: 767.98px) {
  .cards-equal-bg, .match-cards-bg-height {
    height: 240px;
  }
}

@media (max-width: 767.98px) {
  .follow {
    margin-top: 3.5rem;
  }
}

@media (max-width: 767.98px) {
  .split-media.match-cards-bg-height {
    height: 240px;
    min-height: 240px;
  }
}

@media (max-width: 767.98px) {
  .split-image {
    height: calc(100% + 140px);
    margin-top: -70px;
  }
}

@media (max-width: 575.98px) {
  .cards-equal-bg, .match-cards-bg-height {
    height: 200px;
  }
}

@media (max-width: 575.98px) {
  .sub-navbar .nav-link {
    padding: 0.15rem 0.35rem;
    font-size: 0.65rem;
    line-height: 1.1;
    letter-spacing: 0.03em;
  }
}

@media (max-width: 575.98px) {
  .split-media.match-cards-bg-height {
    height: 200px;
    min-height: 200px;
  }
}

@media (max-width: 575.98px) {
  .split-image {
    height: calc(100% + 120px);
    margin-top: -60px;
  }
}

.cards-overlap {
  position: relative;
  top: -50px;
}

@media (min-width: 768px) {
  .cards-overlap {
    top: -120px;
  }
}

.split-overlay-title {
  display: none;
}

@media (max-width: 767.98px) {
  .split-content .split-title, .split-content .split-subtitle {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .split-overlay-title {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    text-align: center;
    pointer-events: none;
  }
}

@media (max-width: 767.98px) {
  .split-overlay-title .split-title, .split-overlay-title .split-subtitle {
    display: block;
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 767.98px) {
  .split-overlay-title .split-title, .split-overlay-title .split-title.red, .split-overlay-title .split-title.blue {
    color: #fff !important;
    margin-bottom: 0.15rem;
  }
}

@media (max-width: 767.98px) {
  .split-overlay-title .split-subtitle, .split-overlay-title .split-subtitle-red, .split-overlay-title .split-subtitle-blue {
    color: rgba(255, 255, 255, 0.95) !important;
    margin-top: 0;
    margin-bottom: 0;
  }
}

@media (min-width: 1200px) {
  .split-row > .split-media, .split-row > .split-content {
    height: clamp(520px, 34vw, 620px);
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .split-overlay-title .split-title {
    font-size: clamp(3rem, 6vw, 3.8rem);
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .split-overlay-title .split-subtitle {
    font-size: clamp(1.5rem, 3vw, 1.9rem);
  }
}

.contatti-strip {
  padding: 2rem 0;
  background: rgba(0, 0, 0, 0.03);
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
  min-height: 110px;
  padding: 1.25rem 1.35rem;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 0.35rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.contact-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(182,58,107,0.18);
  color: #0e4693;
  font-size: 1.2rem;
}

.contact-content {
  min-width: 0;
}

.contact-title {
  margin-bottom: 0.2rem;
  font-size: 1rem;
  font-weight: 700;
  color: #B63A6B;
}

.people-title {
  margin-bottom: 0.2rem;
  font-weight: 700;
  color: #B63A6B;
}

.contact-text {
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #222;
}

@media (max-width: 991.98px) {
  .contatti-strip {
    padding: 1.75rem 0;
  }
}

@media (max-width: 991.98px) {
  .contact-card {
    min-height: 100px;
  }
}

@media (max-width: 767.98px) {
  .contact-card {
    padding: 1.1rem 1rem;
  }
}

@media (max-width: 767.98px) {
  .contact-icon {
    width: 46px;
    height: 46px;
    font-size: 1.05rem;
  }
}

@media (max-width: 767.98px) {
  .contact-title, .contact-text {
    text-align: left;
  }
}

.page-title-hero {
  font-family: "GOOD BRUSH", cursive;
  font-weight: 400;
  font-style: normal;
  text-transform: none;
  color: #fff;
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 0.95;
  margin: 0;
  text-align: center;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.heading-red {
  color: #B63A6B;
}

.heading-blue {
  color: #2f57b7;
}

.heading-green {
  color: #2bb7a8;
}

.form-btn {
  position: relative;
  z-index: 1;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: auto;
  max-width: 260px;
  padding: 0.55rem 1.6rem;
  border: 0;
  color: #fff;
  text-align: center;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: transparent;
  white-space: nowrap;
  overflow: hidden;
  transition: letter-spacing 0.3s ease, transform 0.2s ease;
}

.form-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110%;
  height: 160%;
  transform: translate(-50%, -50%);
  z-index: -1;
  background: url("../../assets/img/pennello_1-100.png") center / contain no-repeat;
}

.form-btn:hover, .form-btn:focus {
  color: #fff;
  letter-spacing: 0.08em;
  transform: translateY(-1px);
}

.form-btn:focus {
  outline: none;
  box-shadow: none;
}

[id] {
  scroll-margin-top: calc(var(--main-navbar-height) + var(--sub-navbar-height) + 10px);
}

.reach-editorial {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.reach-editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  max-width: 760px;
  margin: 0 auto;
}

.reach-editorial-divider {
  background: rgba(0, 0, 0, 0.08);
  width: 1px;
  height: 100%;
  min-height: 120px;
}

.reach-editorial-col {
  min-width: 0;
}

.reach-editorial-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #000;
}

.reach-icon {
  width: 1.35rem;
  height: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2bb7a8;
  flex-shrink: 0;
}

.reach-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.reach-editorial-list {
  margin: 0;
  padding-left: 1.2rem;
  color: #222;
  line-height: 1.55;
}

.reach-editorial-list li {
  margin-bottom: 0.7rem;
}

.reach-editorial-list li:last-child {
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .reach-editorial-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    max-width: none;
  }
}

@media (max-width: 991.98px) {
  .reach-editorial-divider {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .reach-editorial .card-title-about {
    text-align: left !important;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (max-width: 991.98px) {
  .reach-editorial-col {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Reset base: niente sottolineatura di default */

a {
  text-decoration: none;
  color: inherit;
}

/* Mantieni un minimo di feedback su hover */

a:hover {
  text-decoration: underline;
}

/* NON toccare link già stilizzati (es. bottoni Bootstrap) */

.btn, .nav-link, .dropdown-item {
  text-decoration: none !important;
}

.custom-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}

.custom-list div {
  position: relative;
  padding-left: 1.55rem;
  line-height: 1.5;
}

.custom-list div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 0.9rem;
  height: 0.34rem;
  transform: translateY(-50%) rotate(-4deg);
  border-radius: 999px;
  background-color: var(--brush-bullet-color, #2bb7a8);
  opacity: 0.95;
}

.custom-list div::after {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.78em;
  width: 0.62rem;
  height: 0.18rem;
  transform: translateY(-50%) rotate(3deg);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

.section-title {
  font-family: "GOOD BRUSH", cursive;
  font-weight: 400;
  font-style: normal;
  text-transform: none;
  font-size: clamp(2rem, 4vw, 2.15rem);
  line-height: 0.95;
  margin-bottom: 1rem;
}

.section-title-red {
  color: #B63A6B;
}

.section-title-green {
  color: #2bb7a8;
}

.section-title-blue {
  color: #2f57b7;
}

@media (max-width: 767.98px) {
  .section-title {
    font-size: clamp(1.8rem, 8vw, 2rem);
    line-height: 1;
    margin-bottom: 0.85rem;
  }
}

.img-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 0.35rem;
}

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

.page-green {
  --brush-bullet-color: #2bb7a8;
}

.page-red, .section-red {
  --brush-bullet-color: #B63A6B;
}

.page-blue {
  --brush-bullet-color: #2f57b7;
}

.text-red {
  color: #B63A6B;
}

.text-blue {
  color: #2f57b7;
}

.reach-editorial-list {
  list-style: none;
  padding-left: 0;
}

.reach-editorial-list li {
  position: relative;
  padding-left: 1.55rem;
}

.reach-editorial-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 0.9rem;
  height: 0.34rem;
  transform: translateY(-50%) rotate(-4deg);
  border-radius: 999px;
  background-color: var(--brush-bullet-color, #2bb7a8);
  opacity: 0.95;
}

.reach-editorial-list li::after {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.78em;
  width: 0.78rem;
  height: 0.18rem;
  transform: translateY(-50%) rotate(3deg);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

.custom-list-center {
  align-items: center;
  text-align: center;
}

.custom-list-center div {
  display: inline-block;
  width: auto;
  max-width: 100%;
  padding-left: 1.55rem;
}

/* =========================
   VARIANTE LISTE CON ICONA TAVOLOZZA
   Default: tutte le liste mantengono la pennellata.
   La tavolozza si attiva solo aggiungendo la classe .list-palette.
   Richiede il file palette-bullet.svg nella stessa cartella gestita da Bootstrap Studio.
   ========================= */

/* Variante tavolozza per .custom-list */

.custom-list.list-palette div {
  padding-left: 2rem;
}

.custom-list.list-palette div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 1.28rem;
  height: 1.28rem;
  transform: translateY(-50%);
  background-color: var(--brush-bullet-color, #2bb7a8);
  opacity: 0.96;
  border-radius: 0;
  -webkit-mask-image: var(--palette-bullet-icon);
  mask-image: var(--palette-bullet-icon);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.custom-list.list-palette div::after {
  content: none;
}

/* Variante tavolozza per liste editoriali tipo Dove siamo */

.reach-editorial-list.list-palette li {
  padding-left: 2rem;
}

.reach-editorial-list.list-palette li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 1.28rem;
  height: 1.28rem;
  transform: translateY(-50%);
  background-color: var(--brush-bullet-color, #2bb7a8);
  opacity: 0.96;
  border-radius: 0;
  -webkit-mask-image: var(--palette-bullet-icon);
  mask-image: var(--palette-bullet-icon);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.reach-editorial-list.list-palette li::after {
  content: none;
}

/* Variante tavolozza per lista custom centrata */

.custom-list.list-palette.custom-list-center div, .custom-list.custom-list-center.list-palette div {
  padding-left: 2rem;
}

.blog-intro-banner {
  text-align: center;
}

.blog-intro-banner .blog-post-meta {
  justify-content: center;
}

.blog-intro-banner .blog-post-title {
  margin-bottom: 0.8rem;
}

.blog-intro-banner .blog-post-content {
  max-width: 680px;
  margin: 0 auto;
}

.blog-intro-banner .d-flex {
  justify-content: center;
}

/* =========================
   CORREZIONE SPAZIO TRA HERO FEATURES E REVIEWS
   ========================= */

.cards-equal {
  padding-bottom: 0;
  margin-bottom: -70px;
}

.cards-equal .cards-overlap {
  margin-bottom: -70px;
}

.cards-equal + .home-reviews {
  padding-top: 0.6rem;
}

@media (min-width: 768px) {
  .cards-equal {
    margin-bottom: -95px;
  }
}

@media (min-width: 768px) {
  .cards-equal .cards-overlap {
    margin-bottom: -95px;
  }
}

@media (min-width: 1200px) {
  .cards-equal {
    margin-bottom: -120px;
  }
}

@media (min-width: 1200px) {
  .cards-equal .cards-overlap {
    margin-bottom: -120px;
  }
}

@media (max-width: 767.98px) {
  .cards-equal {
    margin-bottom: -45px;
  }
}

@media (max-width: 767.98px) {
  .cards-equal .cards-overlap {
    margin-bottom: -45px;
  }
}

/* =========================
   CTA Piano di studi
   ========================= */

@media (max-width: 1399.98px) {
  .study-cta {
    margin-top: 1.6rem !important;
  }
}

@media (max-width: 767.98px) {
  .study-cta .split-btn {
    display: inline-block;
  }
}

/* =========================   QUOTE / FIRMA - VERSIONE LARGE RIDOTTA   ========================= */

.split-quote-lg {
  margin-bottom: 1.15rem;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.42;
  font-style: italic;
  color: #333;
}

.firma-lg-center {
  text-align: center !important;
  padding-right: 0 !important;
}

.firma-lg {
  display: block;
  margin-top: 1.0rem;
  text-align: right;
  font-family: "Alex Brush", cursive !important;
  font-size: clamp(1.45rem, 2vw, 1.75rem) !important;
  line-height: 1;
  font-style: normal;
}

/* =========================   CORPO DOCENTI - CARD ALTEZZA UNIFORME   ========================= */

.teachers-section .row > .col {
  display: flex;
}

.teachers-section .card {
  width: 100%;
  height: 100%;
}

.teachers-section .card-body {
  width: 100%;
  height: 100%;
}

/* =========================   GALLERIA - CROP, SPAZIATURA E HOVER   Compatibile con griglia Bootstrap   ========================= */

[data-bss-baguettebox].row {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}

[data-bss-baguettebox] .col > a {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0.35rem;
  background: rgba(0, 0, 0, 0.04);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

[data-bss-baguettebox] .col > a img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease, filter 0.35s ease;
}

[data-bss-baguettebox] .col > a:hover img, [data-bss-baguettebox] .col > a:focus img {
  transform: scale(1.045);
  filter: brightness(1.03);
}

/* =========================   MEDIA + TESTO - IMMAGINE AD ALTEZZA RESPONSIVA   ========================= */

@media (min-width: 1200px) {
  .media-text-row {
    align-items: stretch;
  }
}

@media (min-width: 1200px) {
  .media-text-row > .col {
    display: flex;
  }
}

@media (min-width: 1200px) {
  .media-text-row .img-frame {
    width: 100%;
    aspect-ratio: 3 / 2;
    min-height: 100%;
  }
}

@media (min-width: 1200px) {
  .media-text-row .img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

