/* HERO ABOUT */
.hero--about {
  position: relative;
  overflow: hidden;
   height: clamp(350px, 40vh, 500px);

}
.hero--about .hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  z-index: -2;
}
.hero--about .hero__overlay {
  position: absolute; inset: 0;
  background: rgba(245, 179, 1, 0.2);
  z-index: -1;
}
.hero--about .hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #fff;
  margin-bottom: .5rem;
}

.hero--about .hero__content {
  /* magari sposti un po’ più in alto (20% anziché 35%) */
  top: 20%;
  left: 50%;
  transform: translate(-50%, -20%);
}

.hero--about .hero__subtitle {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  color: #f8f8f8;
}
.hero--about .hero__wave {
  position: absolute; bottom: -1px; left: 0;
  width: 100%; height: 60px; fill: #fff; z-index: 1;
}


/* SECTIONS COMMON */
.about-section {
  padding: 4rem 1rem;
  background-color: #fff;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 1.5vw + 1rem, 2.5rem);
  color: var(--navy);
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Ornamental divider under title */
.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1.5rem auto 2rem;
}

/* Subtitle under divider */
.section-subtitle {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-style: italic;
  color: #555;
  margin-bottom: 2.5rem;
}

/* WHO WE ARE SPECIFIC */
.about-section.who-we-are {
  background: #f9f2e7;
  padding: 6rem 1rem;
}
/* Improved paragraphs */
.about-section.who-we-are .about-intro {
  max-width: 600px;
  margin: 0 auto 2rem;
  text-align: justify;
  line-height: 1.9;
  color: #333;
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease-out forwards;
  box-shadow: inset 0 0 5px rgba(0,0,0,.02);
}
/* Staggered fade-up */
.about-section.who-we-are .about-intro:nth-of-type(1) { animation-delay: 0.2s; }
.about-section.who-we-are .about-intro:nth-of-type(2) { animation-delay: 0.4s; }
.about-section.who-we-are .about-intro:nth-of-type(3) { animation-delay: 0.6s; }
/* Drop cap on first paragraph */
.about-section.who-we-are .about-intro:first-of-type::first-letter {
  float: left;
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: .8;
  margin-right: 0.5rem;
  color: var(--gold);
}
/* Fade-up keyframes */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MISSION & VALUES */
/* Cards always visible */
.mission-value {
  opacity: 1 !important;
  transform: none !important;
  transition: transform .35s ease-out, box-shadow .35s ease-out;
  will-change: transform, box-shadow;
}
/* Lift & shadow on hover */
.mission-value:hover,
.mission-value:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}
/* Icon scale on hover */
.mission-value .fa-3x {
  transition: transform .35s ease-out, filter .35s ease-out;
}
.mission-value:hover .fa-3x,
.mission-value:focus-within .fa-3x {
  transform: scale(1.12);
  filter: saturate(6);
}
/* Icon in white circle with gold border */
.mission-value .fa-3x {
  background-color: #fff;
  color: #000;
  border: 2px solid var(--gold);
  border-radius: 50%;
  padding: .75rem;
  display: inline-block;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 1rem;
}
/* Underline on title */
.mission-value__label {
  position: relative;
  display: inline-block;
  margin-bottom: .75rem;
  font-family: var(--font-serif);
  color: var(--navy);
}
.mission-value__label::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .35s ease-out;
}
.mission-value:hover .mission-value__label::after,
.mission-value:focus-within .mission-value__label::after {
  width: 100%;
}
/* Text inside cards */
.mission-value p {
  max-width: 240px;
  margin: 0 auto;
  color: #555;
  line-height: 1.6;
}
/* Zebra background & hover/card tweaks */
.about-section.who-we-are .about-intro:nth-of-type(odd) {
  background: rgba(245,179,1,0.05);
}
@media (min-width: 992px) {
  .about-section.who-we-are .about-intro {
    max-width: 550px;
  }
}
.about-section.who-we-are .about-intro:hover {
  background: rgba(255,255,255,0.5);
  cursor: default;
}

/* ——————————————
   HOVER UNDERLINE “Who We Are”
   —————————————— */
/* Titolo largo quanto il testo */
.about-section.who-we-are .section-title {
  display: inline-block !important;/* ora il titolo “contiene” l’underline */
  position: relative;
  cursor: pointer;
}

.about-section.who-we-are .section-title::after {
  content: "";
  position: absolute;
  bottom: -8px;                      /* spazio sotto il testo */
  left: 0;                           /* parte esattamente all’inizio */
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .35s ease-out;
}

.about-section.who-we-are .section-title:hover::after {
  width: 100%;                       /* si allunga per tutta la larghezza del testo */
}

/* Assicuriamo che la sezione centri il titolo */
.about-section.who-we-are {
  text-align: center;
}

/* Il titolo diventa inline-block per usare text-align del genitore */
.about-section.who-we-are .section-title {
  display: inline-block;
}

/* L’underline animata parte da sinistra e occupa il 100% del titolo */
.about-section.who-we-are .section-title::after {
  left: 0;
  width: 0;
}

.about-section.who-we-are .section-title:hover::after {
  width: 100%;
}

.hero.hero--about svg.hero__wave:last-of-type {
  display: none !important;
}

@media (max-width: 768px) {
  .hero--about .hero__overlay {
    background: rgba(245, 179, 1, 0.1);
  }
}

.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  animation: hero-bob 2s ease-in-out infinite;
}
@keyframes hero-bob {
  0%,100% { transform: translate(-50%, 0); }
   50%    { transform: translate(-50%, 8px); }
}

/* smooth scroll globale */
html {
  scroll-behavior: smooth;
}



@media (max-width: 576px) {
  .hero--about .hero__title { font-size: 2.25rem; }
  .hero--about .hero__subtitle { font-size: 1rem; }
}

/* ——————————————
   HOVER UNDERLINE “Mission & Values”
   —————————————— */
.about-section.mission-values .section-title {
  display: inline-block;      /* fa sì che l’after segua solo la lunghezza del testo */
  position: relative;         /* necessario per il posizionamento dell’after */
  cursor: pointer;            /* indica che è interattivo */
}

.about-section.mission-values .section-title::after {
  content: "";
  position: absolute;
  bottom: -6px;               /* regola lo spazio fra testo e linea */
  left: 0;
  width: 0;                   /* parte da zero */
  height: 2px;
  background: var(--gold);
  transition: width .35s ease-out;
}

.about-section.mission-values .section-title:hover::after {
  width: 100%;                /* si estende per tutta la larghezza del testo */
}

/* —————————————
   SCROLL ARROW
   ————————————— */
.scroll-arrow {
  margin: 2rem 0;
}
.scroll-arrow a {
  display: inline-block;
  transition: transform .35s ease-out, opacity .35s ease-out;
}
.scroll-arrow a:hover {
  transform: translateY(4px);
  opacity: 0.8;
}
.hero__scroll,
.scroll-arrow a {
  color: #ffffff !important;
}

