/* ===== CHI_SIAMO.CSS: pagina Chi siamo ===== */
/* Dipende da display.css. Navbar come Prenota ora, hero fullscreen, footer bianco. */

body.page-chi-siamo {
  position: relative;
  min-height: 100vh;
  background: #fff;
}

/* Voce "Chi siamo" in nav bar e menu hamburger: come Home (Floating Dream) */
body.page-chi-siamo .nav-list a[href="chi_siamo.php"],
body.page-chi-siamo .nav-modal-list a[href="chi_siamo.php"] {
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.page-chi-siamo .nav-list a[href="chi_siamo.php"]:hover,
body.page-chi-siamo .nav-list a[href="chi_siamo.php"]:focus-visible,
body.page-chi-siamo .nav-modal-list a[href="chi_siamo.php"]:hover,
body.page-chi-siamo .nav-modal-list a[href="chi_siamo.php"]:focus-visible {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.page-chi-siamo .nav-list a[href="chi_siamo.php"]::after {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  width: 100%;
}

/* ----- Hero: sfondo fullscreen, testo a sinistra ----- */
.chi-siamo-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height, 80px) + 2rem) 1.5rem 4rem;
  overflow: hidden;
}

.chi-siamo-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #d9d9d9;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.chi-siamo-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(255, 255, 255, 0.55) 34%,
    transparent 52%
  );
  z-index: 1;
  pointer-events: none;
}

.chi-siamo-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.chi-siamo-hero__text {
  color: #000;
  text-align: left;
  max-width: 36rem;
  margin: 0;
}

.chi-siamo-hero__body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #1a1a1a;
  margin: 0 0 1.1rem;
}

.chi-siamo-hero__body:last-of-type {
  margin-bottom: 0.2rem;
}

.chi-siamo-hero__title {
  margin: 0 0 1.5rem;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #000;
}

.chi-siamo-hero__headline {
  font-size: 1.65rem;
  font-weight: 750;
  color: #000;
  margin: 0 0 1.1rem;
  position: relative;
}

.chi-siamo-hero__headline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--accent) 18%,
    var(--accent-2) 82%,
    transparent 100%
  );
}

.chi-siamo-hero__subhead {
  font-size: 1.15rem;
  font-weight: 650;
  color: #1a1a1a;
  margin: 0 0 1.6rem;
  position: relative;
  padding-bottom: 0.85rem;
}

.chi-siamo-hero__subhead::after {
  content: none;
}

.chi-siamo-hero__intro {
  font-size: 1.05rem;
  font-weight: 600;
  color: #171717;
  margin: 0 0 1.1rem;
}

.chi-siamo-hero__microclaim {
  margin: 1.7rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(47, 126, 167, 0.25);
  font-size: 1.05rem;
  font-weight: 800;
  color: #000;
}

/* Footer: sfondo bianco */
body.page-chi-siamo .footer {
  background: #fff;
  border-top: 1px solid var(--border, rgba(30, 35, 40, 0.14));
}

/* ----- Responsive ----- */
@media (max-width: 767px) {
  .chi-siamo-hero__bg {
    display: none;
  }
}

@media (max-width: 767px) and (orientation: portrait) {
  .chi-siamo-hero {
    min-height: auto;
    padding-bottom: 3rem;
    align-items: flex-start;
    padding-top: calc(var(--header-height, 80px) + 1.5rem);
  }

  .chi-siamo-hero__text {
    max-width: none;
    text-align: center;
  }

  .chi-siamo-hero__title {
    font-size: 1.75rem;
  }

  .chi-siamo-hero__headline {
    font-size: 1.35rem;
  }

  .chi-siamo-hero__subhead {
    font-size: 1rem;
  }

  .chi-siamo-hero__microclaim {
    font-size: 1rem;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .chi-siamo-hero__title {
    font-size: 2rem;
  }

  .chi-siamo-hero__text {
    max-width: 32rem;
  }
}
