/* Home conversion sections: gift showcase (paper), Club Nonino teaser (sand) and FAQ teaser (sand).
   Rhythm: strip dark > gift paper > guide sand > editorial paper > banner > story dark > club sand
   > momentos paper > faq sand > reviews (paper, hidden while empty) > contact dark. */

/* ---- Gift showcase ------------------------------------------------------------------------ */
.nc-gift__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: end;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.nc-gift__intro h2 {
  max-width: 14ch;
  margin-top: 0.75rem;
}
.nc-gift__intro > p {
  max-width: 30rem;
  margin: 0 0 0.25rem auto;
  color: var(--nc-on-surface-muted);
  line-height: 1.8;
}
.nc-gift__grid {
  margin-top: 2.5rem;
}

.nc-gift__feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.75rem, 5vw, 4.5rem);
}
.nc-gift__media {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--nc-line);
  border-radius: 0.2rem;
  background: var(--nc-digital-sand);
}
.nc-gift__image,
.nc-gift__media-fallback {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.nc-gift__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}
.nc-gift__copy h2 {
  max-width: 13ch;
  margin-top: 0.75rem;
}
.nc-gift__lead {
  max-width: 28rem;
  margin: 1.25rem 0 0;
  color: var(--nc-on-surface-muted);
  line-height: 1.8;
}
.nc-gift__details {
  width: min(100%, 26rem);
  margin-top: 1.75rem;
  padding-top: 1.1rem;
  background: var(--nc-surface);
}
.nc-gift__name {
  margin: 0;
  padding-inline: 1.1rem;
  font-family: var(--nc-body-font);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}
.nc-gift__short {
  margin: 0.5rem 0 0;
  padding-inline: 1.1rem;
  color: var(--nc-on-surface-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---- FAQ teaser --------------------------------------------------------------------------- */
.nc-faq-home__inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.nc-faq-home__head h2 {
  max-width: 11ch;
  margin-top: 0.75rem;
}
.nc-faq-home__lead {
  max-width: 24rem;
  margin: 1.25rem 0 1.5rem;
  color: var(--nc-on-surface-muted);
  line-height: 1.8;
}
.nc-faq-home__all {
  min-height: 2.75rem;
}
.nc-faq-home__more {
  margin: 0.5rem 0 0;
  color: var(--nc-on-surface-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.nc-faq-home__more a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--nc-official-caffe);
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.nc-faq-home__list {
  border-top: 1px solid var(--nc-line);
}
.nc-faq-item {
  border-bottom: 1px solid var(--nc-line);
}
.nc-faq-item__heading {
  margin: 0;
  font-family: var(--nc-body-font);
  font-size: 1rem;
}
.nc-faq-item__trigger {
  display: flex;
  width: 100%;
  min-height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  touch-action: manipulation;
}
.nc-faq-item__trigger:hover {
  color: var(--nc-digital-brown-700);
}
.nc-faq-item__trigger:focus-visible {
  outline: 3px solid var(--nc-focus-ring);
  outline-offset: -3px;
}
.nc-faq-item__icon {
  position: relative;
  flex: 0 0 auto;
  width: 0.9rem;
  height: 0.9rem;
}
.nc-faq-item__icon::before,
.nc-faq-item__icon::after {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  content: "";
  transition: transform var(--nc-motion-base) var(--nc-ease-out);
}
.nc-faq-item__icon::after {
  transform: rotate(90deg);
}
.nc-faq-item__trigger[aria-expanded="true"] .nc-faq-item__icon::after {
  transform: rotate(0deg);
}

.nc-faq-item__panel-inner > p a {
  color: var(--nc-official-caffe);
  font-weight: 600;
  text-underline-offset: 0.2em;
}
.nc-faq-item__panel-inner > p:last-child {
  padding-bottom: 1.4rem;
}
.nc-faq-item__panel-inner > p {
  max-width: 40rem;
  margin: 0;
  padding: 0 2.5rem 0.75rem 0;
  color: var(--nc-on-surface-muted);
  line-height: 1.8;
}

/* Collapsing is applied only once the script marks the list ready: without JS every answer stays readable. */
.nc-faq-home__list[data-faq-ready] .nc-faq-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition:
    grid-template-rows var(--nc-motion-base) var(--nc-ease-out),
    visibility 0s linear var(--nc-motion-base);
}
.nc-faq-home__list[data-faq-ready] .nc-faq-item.is-open .nc-faq-item__panel {
  grid-template-rows: 1fr;
  visibility: visible;
  transition-delay: 0s;
}
.nc-faq-home__list[data-faq-ready] .nc-faq-item__panel-inner {
  min-height: 0;
  overflow: hidden;
}

@media (max-width: 64rem) {
  .nc-gift__feature,
  .nc-faq-home__inner {
    gap: 2rem;
  }
}

@media (max-width: 48rem) {
  .nc-gift__intro,
  .nc-gift__feature,
  .nc-faq-home__inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .nc-gift__intro > p {
    margin: 0;
  }
  .nc-gift__details {
    width: 100%;
  }
  .nc-faq-item__panel-inner > p {
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nc-faq-home__list[data-faq-ready] .nc-faq-item__panel,
  .nc-faq-item__icon::before,
  .nc-faq-item__icon::after {
    transition: none;
  }
}
