/* ==========================================================================
   GIFTS POLISH (gifts.html): one design language for every section.
   The four Tales colors as a signature rule, the label shapes as icons,
   bigger and calmer type, photos where a section was only text.
   ========================================================================== */
:root {
  --tales-rule: linear-gradient(to left, var(--tales-terra) 0 25%, var(--tales-pietra) 25% 50%, var(--tales-cielo) 50% 75%, var(--tales-tempo) 75% 100%);
}

/* ---- Trust strip: four big figures, each under one Tales color -------- */
.trust { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); background: var(--g-paper); border: 0; }
.trust__list { gap: 0; }
.trust__item { position: relative; padding: var(--space-3) var(--space-3) 0; border: 0 !important; text-align: start; }
.trust__item::before { content: ""; position: absolute; top: 0; inset-inline: var(--space-3); height: 4px; border-radius: 4px; background: var(--dot, var(--tales-terra)); }
.trust__item:nth-child(1) { --dot: var(--tales-terra); }
.trust__item:nth-child(2) { --dot: var(--tales-pietra); }
.trust__item:nth-child(3) { --dot: var(--tales-cielo); }
.trust__item:nth-child(4) { --dot: var(--tales-tempo); }
.trust__figure { display: block; font-family: var(--font-display-he); font-weight: 200; font-size: clamp(2.6rem, 1.8rem + 2.6vw, 4.2rem); line-height: 1; letter-spacing: -0.03em; margin-bottom: 0.5rem; }
.trust__label { display: block; font-size: var(--fs-sm); color: var(--g-muted); line-height: 1.5; max-width: 26ch; }

/* ---- Why olive oil: a big photo, and four reasons with the label shapes --- */
.audience-split { display: grid; gap: var(--space-4); align-items: center; }
.audience-photo { position: relative; margin: 0 -1.25rem; overflow: hidden; }
.audience-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; transition: transform 1.4s var(--ease); }
.audience-photo:hover img { transform: scale(1.03); }
.audience-photo figcaption {
  position: absolute; inset: auto 0 0 0; padding: 3rem 1.25rem 1.1rem; color: var(--g-white);
  font-family: var(--font-display-he); font-weight: 300; font-size: var(--fs-lg);
  background: linear-gradient(to top, rgba(20,18,19,.65), transparent);
}
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4) var(--space-3); }
.audience { background: none; border: 0; padding: 0; box-shadow: none; }
.audience h3 { font-size: var(--fs-lg); font-weight: var(--fw-regular); margin: 0.9rem 0 0.35rem; }
.audience p { margin: 0; color: var(--g-muted); font-size: var(--fs-sm); line-height: 1.6; }
.gmotif { width: 44px; height: 44px; display: block; }
.gmotif--terra circle { fill: var(--tales-terra); }
.gmotif--pietra .m1 { fill: var(--tales-pietra-soft); } .gmotif--pietra .m2 { fill: var(--tales-pietra-accent); } .gmotif--pietra .m3 { fill: var(--tales-pietra); }
.gmotif--cielo path { stroke: var(--tales-cielo); } .gmotif--cielo circle { fill: var(--tales-cielo); }
.gmotif--tempo .m1 { fill: var(--tales-tempo); } .gmotif--tempo .m2 { fill: var(--tales-tempo-accent); }
@media (min-width: 1024px) {
  .audience-split { grid-template-columns: 5fr 7fr; gap: var(--space-6); }
  .audience-photo { margin: 0; }
}
@media (max-width: 599px) { .audience-grid { gap: var(--space-3) var(--space-2); } .gmotif { width: 36px; height: 36px; } }

/* ---- Your greeting, your gift: photo beside the four promises ---------- */
.custom-split { display: grid; gap: var(--space-4); align-items: center; }
.custom-photo { margin: 0 -1.25rem; overflow: hidden; }
.custom-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.feature-grid--list { grid-template-columns: 1fr !important; gap: 0 !important; }
.feature-grid--list .feature { display: grid; grid-template-columns: 3.5rem 1fr; column-gap: var(--space-2); padding: var(--space-3) 0; border-top: 1px solid var(--g-line); }
.feature-grid--list .feature:last-child { border-bottom: 1px solid var(--g-line); }
.feature-grid--list .feature__num { grid-row: span 2; font-family: var(--font-latin); font-weight: 200; font-size: 2rem; line-height: 1; color: var(--n-color, var(--g-ink)); }
.feature-grid--list .feature:nth-child(1) { --n-color: var(--tales-terra); }
.feature-grid--list .feature:nth-child(2) { --n-color: var(--tales-pietra); }
.feature-grid--list .feature:nth-child(3) { --n-color: var(--tales-cielo); }
.feature-grid--list .feature:nth-child(4) { --n-color: var(--tales-tempo); }
.feature-grid--list .feature h3 { margin: 0 0 0.3rem; font-size: var(--fs-lg); }
.feature-grid--list .feature p { margin: 0; }
@media (min-width: 1024px) {
  .custom-split { grid-template-columns: 6fr 6fr; gap: var(--space-6); }
  .custom-photo { margin: 0; }
  .custom-photo img { aspect-ratio: 5 / 6; }
}

/* ---- Quiz: the Tales rule on top, more presence ------------------------ */
.match--tales { position: relative; background: var(--g-paper); box-shadow: 0 30px 60px -40px rgba(35,31,32,.35); }
.match--tales::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--tales-rule); }
.match--tales .match__title { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }

/* ---- How to order: numbers in the four colors, joined by a line -------- */
#how .steps { position: relative; }
#how .step::before { border: 0; color: var(--g-ink); font-weight: 400; background: var(--s-color, var(--tales-terra)); }
#how .step:nth-child(1) { --s-color: var(--tales-terra); }
#how .step:nth-child(2) { --s-color: var(--tales-pietra); }
#how .step:nth-child(3) { --s-color: var(--tales-cielo); }
#how .step:nth-child(4) { --s-color: var(--tales-tempo); }
@media (min-width: 1024px) {
  #how .steps::before { content: ""; position: absolute; top: 1.25rem; inset-inline: 1.25rem 12%; height: 2px; background: var(--tales-rule); opacity: .5; }
  #how .step { position: relative; }
}
#how .deadline { position: relative; overflow: hidden; }
#how .deadline::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--tales-rule); }

/* ---- FAQ: heading beside the questions on wide screens ------------------ */
@media (min-width: 1024px) {
  #faq .container { display: grid; grid-template-columns: 4fr 8fr; gap: var(--space-6); align-items: start; }
  #faq .section-head { text-align: start; position: sticky; top: 110px; margin: 0; }
  #faq .section-head .eyebrow { justify-content: flex-start; }
  #faq .faq { max-width: none; margin: 0; }
  #faq .section-cta { grid-column: 2; justify-content: flex-start; }
}
#faq .faq summary { font-size: var(--fs-md); padding-block: 1.15rem; }

/* ---- Quote form: the Tales rule on the card ----------------------------- */
#quote .form { position: relative; overflow: hidden; }
#quote .form::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--tales-rule); }

/* numbers in darker shades of the Tales colors, for AA contrast on white */
.feature-grid--list .feature:nth-child(1) { --n-color: #2c6e52; }
.feature-grid--list .feature:nth-child(2) { --n-color: #b04a17; }
.feature-grid--list .feature:nth-child(3) { --n-color: #1b6798; }
.feature-grid--list .feature:nth-child(4) { --n-color: #a3416f; }
