/* ==========================================================================
   Soccer Xntials homepage v2 (plugin 1.4.0)
   Loads after sx-landing.css and sx-pdp.css on templates/landing-v2.php only.
   Mockups: Nov 16, 2026 homepage implementation package. Real photos only.
   ========================================================================== */

.sxh { display: block; background: #fff; }
.sxh .sx-eyebrow { letter-spacing: .2em; font-weight: 800; }
.sxh .sx-eyebrow--rule::after { width: 40px; }
.sxh-icon { display: block; width: 40px; height: 40px; color: var(--color-text); }

/* ---------- Hero carousel ---------- */
.sxh-hero { position: relative; background: #fff; }
.sxh-hero__viewport { position: relative; overflow: hidden; touch-action: pan-y; }
.sxh-hero__track { display: grid; }
.sxh-slide { grid-area: 1 / 1; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility 0s linear .6s; }
.sxh-slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s var(--ease), visibility 0s; }
.sxh-slide__media { position: relative; order: 2; aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-surface); }
.sxh-slide__media img, .sxh-slide__media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.sxh-slide__content { order: 1; padding-top: 28px; padding-bottom: 24px; }
.sxh-hero__title { margin-top: 14px; font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4rem); font-weight: 900; line-height: 1.02; letter-spacing: -.04em; }
.sxh-hero__title span { display: block; }
.sxh-hero__body { margin-top: 16px; max-width: 30rem; font-size: 1rem; line-height: 1.6; color: #2b2b2b; }
.sxh-hero__cta { margin-top: 22px; min-height: 52px; padding: 0 30px; font-weight: 800; }

.sxh-hero__arrow { display: none; position: absolute; top: 50%; z-index: 4; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--color-text); box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .4); place-items: center; transition: background-color .2s var(--ease), color .2s var(--ease); }
.sxh-hero__arrow:hover { background: var(--color-text); color: #fff; }
.sxh-hero__arrow--prev { left: 12px; }
.sxh-hero__arrow--next { right: 12px; }
.sxh-hero__dots { position: absolute; left: 50%; bottom: 12px; z-index: 4; display: flex; gap: 2px; padding: 4px 8px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .9); transform: translateX(-50%); }
.sxh-dot { display: grid; place-items: center; width: 28px; height: 28px; }
.sxh-dot::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: #BDBDBD; transition: width .3s var(--ease), background-color .3s var(--ease); }
.sxh-dot.is-active::before { width: 22px; background: var(--color-primary); }
.sxh-assure-wrap { display: none; }

@media (min-width: 900px) {
	.sxh-slide { position: relative; display: block; min-height: clamp(540px, 44vw, 660px); }
	.sxh-slide__media { position: absolute; inset: 0 0 0 auto; width: 62%; aspect-ratio: auto; }
	.sxh-slide__media::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 42%; background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, .75) 35%, rgba(255, 255, 255, 0) 100%); pointer-events: none; }
	.sxh-slide__content { position: relative; z-index: 2; display: flex; align-items: center; min-height: inherit; padding-top: 48px; padding-bottom: 120px; }
	.sxh-slide__copy { max-width: 44%; }
	.sxh-hero__body { font-size: 1.0625rem; }
	.sxh-hero__arrow { display: grid; }
	.sxh-hero__arrow--prev { left: 16px; }
	.sxh-hero__arrow--next { right: 16px; }
	.sxh-hero__dots { left: auto; right: var(--gutter); bottom: 30px; transform: none; }
	.sxh-assure-wrap { display: block; position: absolute; left: 0; right: 0; bottom: 26px; z-index: 3; pointer-events: none; }
	.sxh-assure { display: inline-flex; align-items: center; gap: 0; padding: 12px 6px; border-radius: 12px; background: rgba(255, 255, 255, .96); box-shadow: 0 10px 30px -18px rgba(15, 15, 15, .45); pointer-events: auto; }
	.sxh-assure li { display: flex; align-items: center; gap: 10px; padding: 2px 20px; font-size: .875rem; font-weight: 600; }
	.sxh-assure li + li { border-left: 1px solid var(--color-border); }
	.sxh-assure li:first-child .sx-icon { color: var(--color-primary); }
}
@media (min-width: 1200px) { .sxh-slide__copy { max-width: min(44%, 580px); } }
@media (prefers-reduced-motion: reduce) { .sxh-slide, .sxh-slide.is-active { transition: none; } }

/* ---------- Benefit cards ---------- */
.sxh-benefits { padding: 28px 0 8px; }
.sxh-benefits__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sxh-benefit { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 14px; border-radius: var(--radius-card); background: var(--color-surface); text-align: center; }
.sxh-benefit h3 { margin-top: 4px; font-size: 1.0625rem; font-weight: 800; letter-spacing: -.01em; }
.sxh-benefit p { font-size: .875rem; line-height: 1.45; color: var(--color-text-muted); }
@media (min-width: 900px) {
	.sxh-benefits { padding: 40px 0 16px; }
	.sxh-benefits__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
	.sxh-benefit { padding: 28px 20px; }
	.sxh-benefit h3 { font-size: 1.25rem; }
	.sxh-benefit p { font-size: .9375rem; }
}

/* ---------- Product spotlight ---------- */
.sxh-spot { padding: var(--section-y) 0; }
.sxh-spot__grid { display: grid; gap: 28px; align-items: center; }
.sxh-spot .sx-h2 { margin-top: 12px; }
.sxh-spot__text { margin-top: 14px; max-width: 30rem; line-height: 1.6; color: var(--color-text-muted); }
.sxh-spot__price { margin-top: 18px; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); font-weight: 800; line-height: 1; color: var(--color-primary); }
.sxh-spot__cta { margin-top: 20px; min-height: 52px; font-weight: 800; }
.sxh-spot__trust { margin-top: 18px; }
.sxh-spot__media { border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 3 / 2; background: var(--color-surface); }
.sxh-spot__media img { width: 100%; height: 100%; object-fit: cover; }
.sxh-program { padding: 18px; border-radius: var(--radius-card); background: #FDF2F1; }
.sxh-program__media { border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 10; }
.sxh-program__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.sxh-program h3 { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 1.25rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.2; }
.sxh-program h3 .sxh-icon { flex-shrink: 0; width: 30px; height: 30px; color: var(--color-primary); }
.sxh-program p { margin-top: 8px; font-size: .9375rem; line-height: 1.55; color: #3a3a3a; }
.sxh-program__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 800; color: var(--color-primary); }
.sxh-program__link:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) {
	.sxh-spot__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, .85fr); gap: 36px; }
}

/* ---------- Demo: copy left, video right on desktop ---------- */
.sxh-demo { border-top: 1px solid var(--color-border); }
@media (min-width: 900px) { .sxh-demo__split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); } }
