/* Chi siamo intro (Pages/aboutus.php): copy + licence box + feature cards on
   the left, a two-circle photo collage with the "dal 2008" badge on the
   right. Scoped under .ab-intro. */

.ab-intro {
  background: #fff;
}
.ab-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--theme-color, #f98225);
  border-radius: 50px;
  color: var(--theme-color, #f98225);
  font-size: 14px;
  font-weight: 600;
}
.ab-intro .ab-title {
  margin: 18px 0 16px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.22;
  color: var(--color-dark, #2a4456);
}
.ab-text {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--body-text-color, #757f95);
}

.ab-licence {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #fff4ea;
}
.ab-licence-icon {
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
  color: var(--theme-color, #f98225);
  font-size: 22px;
  box-shadow: 0 6px 16px rgba(249, 130, 37, 0.15);
}
.ab-licence p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-dark, #2a4456);
}
.ab-licence strong {
  font-weight: 700;
}

.ab-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  height: 100%;
  padding: 18px;
  border: 1px solid var(--border-info-color, rgba(0, 0, 0, 0.08));
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(42, 68, 86, 0.05);
}
.ab-feature-icon {
  flex: 0 0 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--theme-color, #f98225);
  color: #fff;
  font-size: 18px;
}
.ab-intro .ab-feature h4 {
  margin: 2px 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-dark, #2a4456);
}
.ab-feature p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--body-text-color, #757f95);
}

/* collage: the positions are percentages of a square box so the
   composition scales as one piece */
.ab-collage {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin-left: auto;
  aspect-ratio: 1 / 0.92;
}
.ab-circle-lg,
.ab-circle-sm {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
}
.ab-circle-lg img,
.ab-circle-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ab-circle-lg {
  right: 0;
  top: 0;
  width: 78%;
  aspect-ratio: 1;
  box-shadow: 0 24px 50px rgba(42, 68, 86, 0.18);
}
.ab-circle-sm {
  left: 0;
  top: 2%;
  width: 34%;
  aspect-ratio: 1;
  border: 6px solid #fff;
  box-shadow: 0 16px 34px rgba(42, 68, 86, 0.18);
  z-index: 2;
}
.ab-dash {
  position: absolute;
  left: 13%;
  top: 38%;
  width: 17%;
  height: auto;
  z-index: 1;
}
.ab-dot {
  position: absolute;
  left: 29.5%;
  top: 60.5%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--theme-color, #f98225);
  z-index: 1;
}
.ab-badge {
  position: absolute;
  left: 15%;
  bottom: 0;
  width: 27%;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2px solid #fde2c8;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 16px 34px rgba(42, 68, 86, 0.16);
  z-index: 3;
}
.ab-badge span {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-dark, #2a4456);
}
.ab-badge strong {
  margin-top: 4px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  color: var(--theme-color, #f98225);
}

@media (max-width: 1199px) {
  .ab-intro .ab-title {
    font-size: 34px;
  }
  .ab-badge span {
    font-size: 13px;
  }
  .ab-badge strong {
    font-size: 28px;
  }
}
@media (max-width: 991px) {
  .ab-collage {
    margin: 10px auto 0;
  }
}
@media (max-width: 575px) {
  .ab-intro .ab-title {
    font-size: 28px;
  }
  .ab-licence {
    align-items: flex-start;
  }
  .ab-badge span {
    font-size: 11px;
  }
  .ab-badge strong {
    font-size: 22px;
  }
}

/* credentials strip under the intro */
.ab-facts-area {
  padding-bottom: 20px;
}
.ab-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 34px 20px;
  list-style: none;
  border-radius: 60px;
  background: linear-gradient(100deg, #8a1ff5 0%, #6d16f2 55%, #7a1ef7 100%);
  box-shadow: 0 22px 50px rgba(109, 22, 242, 0.28);
  color: #fff;
}
.ab-facts li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 0 16px;
  text-align: center;
}
.ab-facts li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: rgba(255, 255, 255, 0.28);
}
.ab-facts svg {
  width: 68px;
  height: 68px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ab-facts svg .dot {
  stroke-width: 3.2;
}
.ab-facts strong {
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
}
.ab-facts span {
  margin-top: -8px;
  font-size: 15px;
  opacity: 0.9;
}
@media (max-width: 991px) {
  .ab-facts {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
    border-radius: 32px;
  }
  .ab-facts li:nth-child(3)::before {
    display: none;
  }
}
@media (max-width: 575px) {
  .ab-facts {
    padding: 28px 10px;
    border-radius: 24px;
  }
  .ab-facts li {
    padding: 0 8px;
  }
  .ab-facts svg {
    width: 50px;
    height: 50px;
  }
  .ab-facts strong {
    font-size: 16px;
  }
  .ab-facts span {
    font-size: 13px;
  }
}

/* button + TripAdvisor line under the feature cards */
.ab-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 30px;
}
.ab-cta p {
  flex: 1 1 240px;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-dark, #2a4456);
}
.ab-cta p a {
  color: var(--theme-color, #f98225);
  font-weight: 600;
}
.ab-cta p a:hover {
  text-decoration: underline;
}
#chi-siamo-storia {
  scroll-margin-top: 90px;
}
/* keep the mockup's sentence case ("Scopri chi siamo") over the theme's
   capitalised button text */
.ab-cta .theme-btn {
  text-transform: none;
}

/* ---------- "Perché Noi" section ---------- */
.ab-why {
  padding-top: 90px;
}
.ab-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid var(--border-info-color, rgba(0, 0, 0, 0.08));
  border-radius: 50px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(42, 68, 86, 0.06);
  color: var(--color-dark, #2a4456);
  font-size: 15px;
  font-weight: 500;
}
.ab-pill i {
  color: var(--theme-color, #f98225);
}

/* four-circle collage, positioned in % of a near-square box */
.ab-quad {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin-left: auto;
  aspect-ratio: 1 / 0.97;
}
.ab-q {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(42, 68, 86, 0.16);
}
.ab-q img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ab-q1 {
  left: 9%;
  top: 12%;
  width: 31%;
  border: 5px solid #fff;
  z-index: 2;
}
.ab-q2 {
  right: 0;
  top: 5%;
  width: 56%;
}
.ab-q3 {
  left: 9%;
  top: 46%;
  width: 46%;
  z-index: 1;
}
.ab-q4 {
  left: 58%;
  top: 63%;
  width: 32%;
  border: 5px solid #fff;
  z-index: 2;
}
.ab-q-path {
  position: absolute;
  left: 32%;
  top: 2%;
  width: 16%;
  height: auto;
  z-index: 3;
}
.ab-q-plane {
  position: absolute;
  left: 47%;
  top: 0;
  color: var(--theme-color, #f98225);
  font-size: 24px;
  transform: rotate(-30deg);
  z-index: 3;
}
.ab-q-wave {
  position: absolute;
  height: auto;
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
}
.ab-q-wave1 {
  left: -2%;
  top: 41%;
  width: 14%;
  stroke: #d946ef;
}
.ab-q-wave2 {
  right: -2%;
  top: 59%;
  width: 10%;
  stroke: var(--theme-color, #f98225);
}
@media (max-width: 991px) {
  .ab-why {
    padding-top: 60px;
  }
  .ab-quad {
    margin: 10px auto 0;
  }
}
@media (max-width: 575px) {
  .ab-pill {
    padding: 10px 16px;
    font-size: 14px;
  }
  .ab-q-plane {
    font-size: 18px;
  }
}
