/* ==========================================================================
   Spretza — homepage sections: hero, features, promos, testimonials, social.
   ========================================================================== */

/* Hero ------------------------------------------------------------------- */
.sp-hero { position: relative; display: flex; align-items: center; min-height: var(--sp-hero-h); overflow: hidden; background: linear-gradient(120deg, var(--sp-blush) 0%, var(--sp-bg) 70%); }
.sp-hero__media { position: absolute; inset: 0; }
.sp-hero__media picture, .sp-hero__img { display: block; width: 100%; height: 100%; }
.sp-hero__img { object-fit: cover; }
.sp-hero--overlay.has-image::after { content: ""; position: absolute; inset: 0; background: rgba(41, 37, 34, var(--sp-hero-overlay-a)); pointer-events: none; }
.sp-hero__inner { position: relative; z-index: 1; width: 100%; padding-block: 72px; }
.sp-hero__copy { max-width: 560px; }
.sp-hero.sp-align-center .sp-hero__copy { margin-inline: auto; text-align: center; }
.sp-hero.sp-align-center .sp-hero__actions { justify-content: center; }
.sp-hero.sp-align-right .sp-hero__copy { margin-left: auto; text-align: right; }
.sp-hero.sp-align-right .sp-hero__actions { justify-content: flex-end; }
.sp-hero__title { margin: 0 0 .35em; font-size: calc(var(--sp-h1) * 1.08); line-height: 1.02; letter-spacing: -.01em; }
.sp-hero__sub { max-width: 46ch; margin: 0 0 2em; font-size: calc(var(--sp-fs-base) * 1.12); line-height: 1.65; color: var(--sp-muted); }
.sp-hero.sp-align-center .sp-hero__sub { margin-inline: auto; }
.sp-hero.sp-align-right .sp-hero__sub { margin-left: auto; }
.sp-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.sp-hero.sp-tone-light { color: #fff; }
.sp-hero.sp-tone-light .sp-eyebrow { color: #fff; opacity: .9; }
.sp-hero.sp-tone-light .sp-hero__sub { color: rgba(255, 255, 255, .88); }
.sp-hero.sp-tone-light .sp-btn--primary { background: #fff; border-color: #fff; color: var(--sp-text); }
.sp-hero.sp-tone-light .sp-btn--primary:hover { background: var(--sp-blush); border-color: var(--sp-blush); }
.sp-hero.sp-tone-light .sp-btn--secondary { color: #fff; border-color: #fff; }
.sp-hero.sp-tone-light .sp-btn--secondary:hover { background: #fff; color: var(--sp-text); }

/* Split layout: copy on a plain panel, image alongside */
.sp-hero--split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--sp-bg); }
.sp-hero--split.sp-bg-blush { background: var(--sp-blush); }
.sp-hero--split.sp-bg-white { background: var(--sp-surface); }
.sp-hero--split .sp-hero__media { position: relative; order: 2; min-height: var(--sp-hero-h); }
.sp-hero--split .sp-hero__inner { order: 1; display: flex; align-items: center; padding: 72px var(--sp-gutter); max-width: calc(var(--sp-container) / 2); margin-left: auto; }
.sp-hero--split.sp-tone-light { color: var(--sp-text); }
.sp-hero--split.sp-tone-light .sp-hero__sub { color: var(--sp-muted); }
.sp-hero--split.sp-tone-light .sp-eyebrow { color: var(--sp-accent-text); }
.sp-hero--split.sp-tone-light .sp-btn--primary { background: var(--sp-btn-bg); border-color: var(--sp-btn-bg); color: var(--sp-btn-fg); }
.sp-hero--split.sp-tone-light .sp-btn--secondary { color: var(--sp-text); border-color: var(--sp-text); }

@media (max-width: 1023px) {
	.sp-hero__title { font-size: calc(var(--sp-h1) * 1.02); }
	.sp-hero--split { grid-template-columns: 1fr; }
	.sp-hero--split .sp-hero__media { order: 1; min-height: 340px; }
	.sp-hero--split .sp-hero__inner { order: 2; padding: 48px var(--sp-gutter); max-width: none; }
}
@media (max-width: 767px) {
	.sp-hero { align-items: flex-end; }
	.sp-hero__inner { padding-block: 40px 44px; }
	.sp-hero--overlay.has-image::after { background: linear-gradient(to top, rgba(41, 37, 34, calc(var(--sp-hero-overlay-a) + .12)), rgba(41, 37, 34, var(--sp-hero-overlay-a))); }
	.sp-hero__title { font-size: var(--sp-h1); }
	.sp-hero__sub { font-size: var(--sp-fs-base); margin-bottom: 1.6em; }
	.sp-actions--full-m .sp-btn { flex: 1 1 100%; }
	.sp-hero--split .sp-hero__media { min-height: 280px; }
}

/* Feature blocks (skincare / rewards / creators / store) ----------------- */
.sp-feature__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.sp-feature--right .sp-feature__media { order: 2; }
.sp-feature--noimg .sp-feature__grid { grid-template-columns: minmax(0, 720px); justify-content: center; text-align: center; }
.sp-feature--noimg .sp-checklist { justify-items: center; }
.sp-feature__media { overflow: hidden; border-radius: var(--sp-radius); aspect-ratio: var(--feature-ratio, 4 / 5); background: var(--sp-blush); max-height: 640px; }
.sp-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.sp-feature__copy { max-width: 520px; }
.sp-feature--left .sp-feature__copy { margin-right: auto; }
.sp-feature--right .sp-feature__copy { margin-left: auto; }
.sp-feature__title { font-size: var(--sp-h2); margin-bottom: .4em; }
.sp-feature__text { color: var(--sp-muted); font-size: 1.04em; margin-bottom: 1.6em; }
.sp-on-dark .sp-feature__text, .sp-bg-espresso .sp-feature__text { color: #D9CFC6; }
.sp-bg-espresso .sp-checklist .sp-icon { color: var(--sp-nude); }
.sp-feature__cta { margin: 2em 0 0; }
.sp-info-list { list-style: none; margin: 0 0 1.4em; padding: 0; display: grid; gap: 12px; }
.sp-info-list li { display: flex; gap: 14px; align-items: flex-start; }
.sp-info-list .sp-icon { margin-top: 2px; color: var(--sp-accent-text); }
@media (max-width: 1023px) {
	.sp-feature__grid { grid-template-columns: 1fr; gap: 32px; }
	.sp-feature--right .sp-feature__media { order: 0; }
	.sp-feature__media { aspect-ratio: 4 / 3; max-height: 460px; }
	.sp-feature__copy { max-width: none; margin: 0 !important; }
}
@media (max-width: 767px) { .sp-feature__media { aspect-ratio: 5 / 4; } }

/* Promo banners ----------------------------------------------------------- */
.sp-promo-grid { display: grid; gap: var(--sp-gap); }
.sp-promo-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sp-promo-grid--one { grid-template-columns: 1fr; }
.sp-promo { position: relative; display: block; overflow: hidden; border-radius: var(--sp-radius); color: var(--sp-text); text-decoration: none; background: var(--sp-blush); }
.sp-promo-grid--one .sp-promo { --promo-ratio: 21 / 8; }
.sp-promo__media { display: block; aspect-ratio: var(--promo-ratio, 4 / 3); }
.sp-promo__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.22, .8, .24, 1); }
.sp-promo:hover .sp-promo__media img { transform: scale(1.04); }
.sp-promo__copy { position: absolute; left: 0; bottom: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 36px; max-width: 520px; }
.sp-promo.sp-tone-light { color: #fff; }
.sp-promo.sp-tone-light .sp-eyebrow { color: #fff; opacity: .92; }
.sp-promo.sp-tone-light .sp-link-arrow { color: #fff; }
.sp-promo.sp-tone-light .sp-promo__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(41, 37, 34, .55), rgba(41, 37, 34, 0) 65%); }
.sp-promo__copy { z-index: 1; }
.sp-promo__title { font-family: var(--sp-font-heading); font-size: var(--sp-h3); font-weight: 500; line-height: 1.05; }
.sp-promo__copy .sp-eyebrow { margin: 0; }
@media (max-width: 767px) {
	.sp-promo-grid--two { grid-template-columns: 1fr; }
	.sp-promo__copy { padding: 22px; }
	.sp-promo-grid--one .sp-promo { --promo-ratio: 4 / 3; }
}

/* Testimonials ------------------------------------------------------------ */
.sp-quotes { display: grid; grid-template-columns: repeat(min(var(--n, 3), 3), minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.sp-quote { padding: 36px 32px; background: var(--sp-bg); border-radius: var(--sp-radius); border: 1px solid var(--sp-border); }
.sp-quote blockquote { margin: 14px 0 22px; }
.sp-quote blockquote p { margin: 0; font-family: var(--sp-font-heading); font-size: 24px; line-height: 1.3; font-weight: 500; }
.sp-quote figcaption { display: flex; flex-direction: column; font-size: 13.5px; color: var(--sp-muted); }
.sp-quote figcaption strong { color: var(--sp-text); font-weight: 600; }
.sp-stars { display: inline-flex; gap: 2px; color: var(--sp-accent); }
@media (max-width: 1023px) { .sp-quotes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) {
	.sp-quotes { grid-template-columns: 1fr; gap: 14px; }
	.sp-quote { padding: 26px 22px; }
	.sp-quote blockquote p { font-size: 21px; }
}

/* Instagram --------------------------------------------------------------- */
.sp-insta-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.sp-insta-grid li { aspect-ratio: 1; overflow: hidden; border-radius: var(--sp-radius); background: var(--sp-blush); }
.sp-insta-grid a, .sp-insta-grid img { display: block; width: 100%; height: 100%; }
.sp-insta-grid img { object-fit: cover; transition: transform .6s ease; }
.sp-insta-grid a:hover img { transform: scale(1.06); }
@media (max-width: 1023px) { .sp-insta-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .sp-insta-grid { gap: 6px; } }
