/* =========================================================
   AGRITENUTA SAN FRANCESCO — Chi Siamo & FAQ
   File: wwwroot/css/chisiamo.css
   Dipende da: site.css
   ========================================================= */

/* ─────────────────────────────────────────────
   PAGE HERO
───────────────────────────────────────────── */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 360px;
  margin-top: calc(var(--nav-h, 80px) * -1);
  padding-top: var(--nav-h, 80px);
  overflow: hidden;
  background: var(--dark);
  display: flex;
  align-items: flex-end;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom, rgba(0,0,0,.05) 0%, rgba(0,0,0,.30) 50%, rgba(0,0,0,.75) 100%),
    url("/images/booking-bg.jpeg");
  background-size: cover;
  background-position: center 45%;
  transform: scale(1.03);
  animation: subtleZoom 22s ease-in-out infinite alternate;
}

@keyframes subtleZoom {
  from {
    transform: scale(1.03);
  }
  to {
    transform: scale(1.07);
  }
}

.page-hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

.page-hero__content {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem 3.5rem;
  animation: fadeUp 0.9s 0.1s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.67rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.page-hero__eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold-40);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 0.97;
  letter-spacing: -0.02em;
}
.page-hero__title em {
  font-style: italic;
  color: #d6e59a;
}

/* ─────────────────────────────────────────────
   CONTAINER & SHARED
───────────────────────────────────────────── */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.67rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.label-line {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--gold-40);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────
   CHI SIAMO — intro testuale
───────────────────────────────────────────── */
.section-intro {
  padding: 7rem 0 5rem;
}

.intro-split {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  align-items: start;
}

.intro-left h2 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 300;
  color: var(--dark);
  line-height: 1.05;
  margin-bottom: 1.6rem;
}
.intro-left h2 em {
  font-style: italic;
  color: #c9a327;
}

.intro-left p {
  font-size: 0.97rem;
  color: rgba(26,28,22,.60);
  line-height: 1.95;
}

.intro-right p {
  font-size: 0.97rem;
  color: rgba(26,28,22,.60);
  line-height: 1.95;
  margin-bottom: 1.4rem;
}
.intro-right p:last-child {
  margin-bottom: 0;
}

/* ─────────────────────────────────────────────
   FOTO + VALORI — split inverso
───────────────────────────────────────────── */
.section-values {
  padding: 0 0 7rem;
}

.values-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 580px;
  border-radius: 12px;
  overflow: hidden;
}

.values-img {
  background-size: cover;
  background-position: center;
  min-height: 420px;
  position: relative;
}
.values-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 60%,
    rgba(28, 32, 22, 0.95) 100%
  );
}

.values-content {
  background: #ede8df;
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

.values-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 300;
  color: var(--dark);
  line-height: 1.1;
}
.values-content h2 em {
  font-style: italic;
  color: #c9a327;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.value-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.value-item__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.value-item__text strong {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 0.3rem;
  font-weight: 500;
}

.value-item__text span {
  font-size: 0.88rem;
  color: rgba(26,28,22,.60);
  line-height: 1.7;
}

/* ─────────────────────────────────────────────
   NUMERI — strip statistica
───────────────────────────────────────────── */
.section-numbers {
  padding: 5rem 0;
  background: rgba(74,82,64,.05);
  border-top: 1px solid var(--white-05);
  border-bottom: 1px solid var(--white-05);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
  border-radius: 10px;
  overflow: hidden;
}

.number-item {
  background: #ede8df;
  padding: 2.5rem 2rem;
  text-align: center;
  border-right: 1px solid var(--white-05);
  transition: background 0.25s ease;
}
.number-item:last-child {
  border-right: none;
}
.number-item:hover {
  background: #e5dfd5;
}

.number-item__val {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.number-item__label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(26,28,22,.45);
  line-height: 1.5;
}

/* ─────────────────────────────────────────────
   PULLQUOTE
───────────────────────────────────────────── */
.section-quote {
  padding: 6rem 0;
  border-top: 1px solid var(--white-05);
  border-bottom: 1px solid var(--white-05);
  background: rgba(74,82,64,.04);
}

.pullquote {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.pullquote p {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  font-style: italic;
  color: var(--dark);
  line-height: 1.35;
}
.pullquote cite {
  display: block;
  margin-top: 1.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(26,28,22,.45);
  font-style: normal;
}

/* ─────────────────────────────────────────────
   FAQ
───────────────────────────────────────────── */
.section-faq {
  padding: 7rem 0;
}

.faq-header {
  text-align: center;
  margin-bottom: 4rem;
}

.faq-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--dark);
  margin-top: 1rem;
  line-height: 1.1;
}
.faq-header h2 em {
  font-style: italic;
  color: #c9a327;
}

.faq-header p {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: rgba(26,28,22,.60);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* Due colonne di FAQ */
.faq-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  border-radius: 12px;
  overflow: hidden;
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 1.5px;
}

.faq-item {
  background: #ede8df;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.6rem;
  text-align: left;
  transition: background 0.2s ease;
}
.faq-question:hover {
  background: rgba(0, 0, 0, .04);
}

.faq-question span:first-child {
  font-size: 0.92rem;
  color: var(--dark);
  line-height: 1.4;
}

.faq-arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 0.8rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
  line-height: 1;
}
.faq-item.is-open .faq-arrow {
  transform: rotate(45deg);
  border-color: var(--gold-40);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.faq-item.is-open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  padding: 0 1.6rem 1.4rem;
  font-size: 0.88rem;
  color: rgba(26,28,22,.60);
  line-height: 1.85;
}

/* ─────────────────────────────────────────────
   CTA FINALE
───────────────────────────────────────────── */
.section-cta {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,.08);
}

.section-cta__bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom, rgba(0,0,0,.05) 0%, rgba(0,0,0,.30) 50%, rgba(0,0,0,.75) 100%),
    url("/images/hero-contatti.jpeg");
  background-size: cover;
  background-position: center;
  animation: subtleZoom 24s ease-in-out infinite alternate;
}

.section-cta__content {
  position: relative;
  z-index: 2;
}

.section-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}
.section-cta h2 em {
  font-style: italic;
  color: #d6e59a;
}

.section-cta p {
  font-size: 0.97rem;
  color: rgba(245,240,232,.75);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.9;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.95rem 2.2rem;
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.95);
  color: var(--dark);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: transform 0.3s
      var(--ease-out-quart, cubic-bezier(0.25, 1, 0.5, 1)),
    background 0.25s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: #d9b33d;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.95rem 2.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.50);
  color: var(--cream);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.25s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.07);
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */
@media (max-width: 1000px) {
  .intro-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .values-split {
    grid-template-columns: 1fr;
  }
  .values-img {
    min-height: 320px;
  }
  .values-img::after {
    background: linear-gradient(
      to bottom,
      transparent 60%,
      rgba(28, 32, 22, 0.95) 100%
    );
  }
  .values-content {
    padding: 3rem 1.5rem;
  }
  .numbers-grid {
    grid-template-columns: 1fr 1fr;
  }
  .number-item:nth-child(2) {
    border-right: none;
  }
  .number-item:nth-child(1),
  .number-item:nth-child(2) {
    border-bottom: 1.5px solid var(--white-05);
  }
  .faq-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 1.25rem;
  }
  .numbers-grid {
    grid-template-columns: 1fr;
  }
  .number-item {
    border-right: none;
    border-bottom: 1.5px solid var(--white-05);
  }
  .number-item:last-child {
    border-bottom: none;
  }
}