/* ===== 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: fullscreen sfondo img, due colonne (titolo+desc sx, img dx) ----- */
.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;
  background-image: url("../img/chi_siamo/hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.chi-siamo-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.18) 50%, rgba(255, 255, 255, 0.08) 100%);
  z-index: 1;
}

.chi-siamo-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  /* Layout richiesto: testo sopra, immagine sotto */
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
}

.chi-siamo-hero__text {
  color: #000;
  text-align: center;
  max-width: 60rem;
  margin: 0 auto;
}

.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__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* (legacy) .chi-siamo-hero__desc era usato nella vecchia struttura a colonne */
.chi-siamo-hero__desc {
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #1a1a1a;
  max-width: 32rem;
  text-align: center;
}

.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;
  /* La linea è più corta a sinistra con un tratto trasparente */
  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;
}

.chi-siamo-hero__col--img {
  display: flex;
  justify-content: center;
  align-items: center;
  order: 2;
}

.chi-siamo-hero__img-wrap {
  border-radius: var(--radius, 16px);
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
  max-width: 100%;
  margin: 0 auto;
}

.chi-siamo-hero__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  vertical-align: middle;
}

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

/* ----- Responsive: una colonna su mobile ----- */
@media (max-width: 767px) and (orientation: portrait) {
  .chi-siamo-hero {
    min-height: 100vh;
    padding-bottom: 3rem;
    align-items: flex-start;
    padding-top: calc(var(--header-height, 80px) + 1.5rem);
  }

  .chi-siamo-hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .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;
  }

  .chi-siamo-hero__headline::after {
    width: 100%;
  }

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

  .chi-siamo-hero__col--img {
    order: 2;
  }

  .chi-siamo-hero__img-wrap {
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) and (orientation: landscape) {
  .chi-siamo-hero__inner {
    grid-template-columns: 1fr;
  }
}

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

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