/* ==========================================================================
   LUQSPORTS — HOME v2 (2026-09-26)
   Scoped to .hx (home <main>). Navbar + footer styles live in style.css.
   ========================================================================== */

.hx {
    --hx-dark: #14171c;
    --hx-dark-2: #1b2029;
    --hx-dark-line: rgba(255, 255, 255, 0.1);
    display: block;
    overflow-x: clip;
}
.hx-wrap { width: min(100% - 48px, 1200px); margin-inline: auto; }
.hx-section { padding: clamp(64px, 9vw, 112px) 0; }
.hx-dark { background: var(--hx-dark); color: #fff; }
.hx-soft { background: var(--soft); }

/* ---------- type ---------- */
.hx-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--red-bright);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.hx-kicker--dark { color: var(--red); }
.hx-kicker-bar {
    width: 28px;
    height: 4px;
    background: currentColor;
    transform: skew(-24deg);
}
.hx-title {
    font-size: clamp(2rem, 4.4vw, 3.1rem);
    font-weight: 870;
    line-height: 1.06;
    letter-spacing: -0.035em;
    color: var(--ink);
    text-wrap: balance;
}
.hx-title--light { color: #fff; }
.hx-lead { color: var(--copy); font-size: 1.06rem; max-width: 520px; }
.hx-lead--light { color: #b4bccb; }
.hx-stars { color: #fbbf24; font-size: 0.85rem; letter-spacing: 2px; }

.hx-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px 48px;
    margin-bottom: clamp(36px, 5vw, 56px);
}
.hx-head > div { max-width: 640px; }
.hx-head .hx-title { margin-bottom: 0; }
.hx-head--center { justify-content: center; text-align: center; }
.hx-head--center .hx-title { margin-bottom: 14px; }
.hx-head--center .hx-lead { margin-inline: auto; }

/* ---------- HERO ---------- */
.hx-hero {
    position: relative;
    background:
        radial-gradient(900px 500px at 85% 20%, rgba(220, 38, 38, 0.16), transparent 60%),
        linear-gradient(180deg, var(--hx-dark) 0%, #0f1216 100%);
    color: #fff;
    padding: clamp(48px, 7vw, 88px) 0 0;
    overflow: hidden;
}
.hx-hero::before {
    /* faint court lines */
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 120px);
    pointer-events: none;
}
.hx-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}
.hx-hero-title {
    font-size: clamp(2.6rem, 6.4vw, 5.2rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.045em;
    text-transform: uppercase;
    margin-bottom: 24px;
    overflow-wrap: break-word;
}
.hx-hero-title .hl-red {
    color: var(--red);
    -webkit-text-stroke: 0;
}
.hx-hero-sub { color: #b4bccb; font-size: 1.08rem; max-width: 540px; margin-bottom: 34px; }
.hx-hero-actions { display: flex; flex-wrap: wrap; gap: 14px 22px; padding-left: 8px; }
.hx-hero-rating {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    color: #cfd5e0;
    font-size: 0.9rem;
}
.hx-hero-rating strong { color: #fff; }

.hx-hero-media { position: relative; padding: 0 0 28px 28px; }
.hx-hero-frame {
    position: relative;
    aspect-ratio: 4 / 5;
    max-height: 600px;
    width: 100%;
    overflow: hidden;
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
    background: #0b0d10 url('img/page/3.jpg') center / cover no-repeat;
}
.hx-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}
.hx-hero-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(10, 12, 15, 0.55) 100%);
}
.hx-hero-slash {
    position: absolute;
    left: 6px;
    bottom: 0;
    width: 38%;
    height: 14px;
    background: var(--red);
    transform: skew(-24deg);
}
.hx-hero-card {
    position: absolute;
    left: 0;
    bottom: 56px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px 14px 14px;
    background: #fff;
    color: var(--ink);
    border-radius: 6px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    font-size: 0.84rem;
    line-height: 1.35;
}
.hx-hero-card strong { display: block; font-size: 0.92rem; }
.hx-hero-card span { color: var(--copy); }
.hx-hero-card-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 4px;
    background: var(--red);
    color: #fff !important;
}

.hx-stats {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: clamp(40px, 6vw, 72px);
    border-top: 1px solid var(--hx-dark-line);
}
.hx-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 28px 24px 32px;
    border-left: 1px solid var(--hx-dark-line);
}
.hx-stat:first-child { border-left: 0; padding-left: 0; }
.hx-stat-num {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
}
.hx-stat-label {
    color: #8e97a8;
    font-size: 0.74rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ---------- TICKER ---------- */
.hx-ticker {
    position: relative;
    z-index: 2;
    margin: -1px 0 0;
    background: var(--red);
    color: #fff;
    overflow: hidden;
    padding: 16px 0;
}
.hx-ticker-track {
    display: flex;
    width: max-content;
    animation: hx-marquee 32s linear infinite;
}
.hx-ticker-track span {
    display: inline-flex;
    align-items: center;
    gap: 36px;
    padding-right: 36px;
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
}
.hx-ticker-track span::after {
    content: "";
    width: 18px;
    height: 6px;
    background: #fff;
    transform: skew(-24deg);
    opacity: 0.8;
}
@keyframes hx-marquee { to { transform: translateX(-50%); } }

/* ---------- PARTNERS ---------- */
.hx-partners { padding: 36px 0; border-bottom: 1px solid var(--line); }
.hx-partners-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 40px;
}
.hx-partners-label {
    max-width: 180px;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.5;
    text-transform: uppercase;
}
.hx-partners-logos {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    gap: 20px 40px;
}
.hx-partners-logos img {
    max-width: 150px;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.6;
    transition: filter 0.25s var(--ease), opacity 0.25s var(--ease);
}
.hx-partners-logos img.is-tall { max-height: 80px; }
.hx-partners-logos img:hover { filter: none; opacity: 1; }

/* ---------- SERVICES ---------- */
.hx-svc-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 28px;
    align-items: stretch;
}
.hx-svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.hx-svc-list li { border-bottom: 1px solid var(--line); }
.hx-svc {
    position: relative;
    display: grid;
    grid-template-columns: 44px 52px 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 26px 20px;
    isolation: isolate;
    transition: color 0.25s var(--ease);
}
.hx-svc::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--hx-dark);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
}
.hx-svc-num { color: var(--muted); font-size: 0.85rem; font-weight: 800; }
.hx-svc-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 6px;
    background: rgba(220, 38, 38, 0.08);
    color: var(--red);
    font-size: 1.15rem;
    transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.hx-svc-body h3 { font-size: 1.25rem; font-weight: 830; letter-spacing: -0.02em; margin-bottom: 4px; }
.hx-svc-body p { color: var(--copy); font-size: 0.95rem; transition: color 0.25s var(--ease); }
.hx-svc-arrow {
    color: var(--ink);
    font-size: 1rem;
    transform: rotate(-45deg);
    transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}
.hx-svc:hover, .hx-svc:focus-visible { color: #fff; }
.hx-svc:hover::before, .hx-svc:focus-visible::before { transform: scaleX(1); }
.hx-svc:hover .hx-svc-body p, .hx-svc:focus-visible .hx-svc-body p { color: #b4bccb; }
.hx-svc:hover .hx-svc-icon, .hx-svc:focus-visible .hx-svc-icon { background: var(--red); color: #fff; }
.hx-svc:hover .hx-svc-arrow, .hx-svc:focus-visible .hx-svc-arrow { color: var(--red-bright); transform: rotate(0); }

.hx-svc-feature {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 420px;
    overflow: hidden;
    border-radius: 8px;
    color: #fff;
    isolation: isolate;
}
.hx-svc-feature img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: transform 0.6s var(--ease);
}
.hx-svc-feature::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(20, 23, 28, 0.05) 20%, rgba(20, 23, 28, 0.92) 78%);
}
.hx-svc-feature:hover img { transform: scale(1.05); }
.hx-svc-feature-body { display: flex; flex-direction: column; gap: 8px; padding: 28px; }
.hx-svc-feature-tag {
    align-self: flex-start;
    padding: 4px 12px;
    background: var(--red);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.hx-svc-feature strong { font-size: 1.7rem; font-weight: 870; letter-spacing: -0.03em; line-height: 1.1; }
.hx-svc-feature-body > span:not(.hx-svc-feature-tag) { color: #cfd5e0; }
.hx-svc-feature .hx-svc-feature-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    color: #fff;
    font-weight: 800;
}
.hx-svc-feature-cta i { transition: transform 0.25s var(--ease); }
.hx-svc-feature:hover .hx-svc-feature-cta i { transform: translateX(4px); }

/* ---------- WHY US ---------- */
.hx-why {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
}
.hx-why-media { position: relative; padding: 0 28px 28px 0; }
.hx-why-media::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 28px;
    right: 0;
    bottom: 0;
    border: 2px solid var(--red);
    border-radius: 8px;
}
.hx-why-img-main {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 8px;
}
.hx-why-badge {
    position: absolute;
    right: 0;
    bottom: 64px;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 260px;
    padding: 16px 20px;
    background: var(--red);
    color: #fff;
    border-radius: 6px;
    font-size: 0.86rem;
    font-weight: 650;
    line-height: 1.35;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.hx-why-badge-num { font-size: 2.2rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.hx-why-copy .hx-title { margin-bottom: 16px; }
.hx-adv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin-top: 40px;
    background: var(--hx-dark-line);
    border: 1px solid var(--hx-dark-line);
    border-radius: 8px;
    overflow: hidden;
}
.hx-adv { padding: 26px 24px; background: var(--hx-dark); transition: background 0.25s var(--ease); }
.hx-adv:hover { background: var(--hx-dark-2); }
.hx-adv i { color: var(--red-bright); font-size: 1.3rem; margin-bottom: 14px; }
.hx-adv h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.hx-adv p { color: #99a2b3; font-size: 0.9rem; }

/* ---------- PROCESS ---------- */
.hx-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.hx-steps::before {
    content: "";
    position: absolute;
    top: 34px;
    left: 16%;
    right: 16%;
    border-top: 2px dashed #d3d9e2;
}
.hx-step { position: relative; text-align: center; padding: 0 12px; }
.hx-step-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--red);
    color: var(--red);
    font-size: 1.4rem;
    box-shadow: 0 0 0 8px #fff;
    transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.hx-step:hover .hx-step-icon { background: var(--red); color: #fff; }
.hx-step-num {
    display: block;
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(18px);
    z-index: 1;
    padding: 2px 8px;
    background: var(--hx-dark);
    color: #fff;
    border-radius: 3px;
    font-size: 0.72rem;
    font-weight: 800;
}
.hx-step h3 { font-size: 1.2rem; font-weight: 830; letter-spacing: -0.02em; margin-bottom: 8px; }
.hx-step p { color: var(--copy); max-width: 300px; margin-inline: auto; }

/* ---------- TESTIMONIALS ---------- */
.hx-google {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.hx-google > span:last-child { display: flex; flex-direction: column; }
.hx-google-score { font-size: 2rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.hx-google-label { color: var(--copy); font-size: 0.8rem; font-weight: 700; }

.hx-testi-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}
.hx-quote {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 22px;
    margin: 0;
    padding: 28px;
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.hx-quote blockquote { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.65; }
.hx-quote--feature {
    grid-row: span 2;
    position: relative;
    padding: clamp(28px, 4vw, 44px);
    background: var(--hx-dark);
    color: #fff;
    overflow: hidden;
}
.hx-quote--feature::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 180px;
    height: 180px;
    background: var(--red);
    transform: skew(-24deg);
    opacity: 0.9;
}
.hx-quote-mark { color: var(--red-bright); font-size: 2.2rem; }
.hx-quote--feature blockquote {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: clamp(1.2rem, 2.2vw, 1.55rem);
    font-weight: 650;
    line-height: 1.45;
    letter-spacing: -0.01em;
}
.hx-quote figcaption { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; }
.hx-quote figcaption > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.hx-quote figcaption span span { color: var(--muted); font-size: 0.85rem; }
.hx-quote--feature figcaption span span { color: #aab3c5; }
.hx-avatar {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
}

/* ---------- VISIT / CTA ---------- */
.hx-visit-section { padding-top: 0; }
.hx-soft + .hx-visit-section { padding-top: clamp(64px, 9vw, 112px); }
.hx-visit {
    position: relative;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    overflow: hidden;
    border-radius: 10px;
    background: var(--hx-dark);
    color: #fff;
}
.hx-visit-cta { position: relative; padding: clamp(32px, 5vw, 60px); }
.hx-visit-cta .hx-title { margin-bottom: 14px; }
.hx-visit-cta .hx-lead { margin-bottom: 30px; }
.hx-visit-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 26px;
    margin: 0;
    padding: clamp(32px, 5vw, 60px) clamp(28px, 4vw, 48px) clamp(32px, 5vw, 60px) clamp(48px, 7vw, 88px);
    list-style: none;
    background: var(--red);
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}
.hx-visit-info li { display: flex; gap: 16px; font-size: 0.93rem; line-height: 1.5; }
.hx-visit-info i { margin-top: 4px; width: 18px; text-align: center; }
.hx-visit-info strong {
    display: block;
    margin-bottom: 2px;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.85;
}
.hx-visit-info a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- reveal (script.js adds .visible) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .hx .reveal { transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
    .hx .reveal:not(.visible) { opacity: 0; transform: translateY(24px); }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
    .hx-hero-grid { grid-template-columns: 1fr 0.85fr; }
    .hx-svc-grid { grid-template-columns: 1fr; }
    .hx-svc-feature { min-height: 320px; }
    .hx-why { grid-template-columns: 1fr; }
    .hx-why-media { max-width: 520px; }
    .hx-visit { grid-template-columns: 1fr; }
    .hx-visit-info { clip-path: none; padding: 36px clamp(32px, 5vw, 60px); }
}
@media (max-width: 768px) {
    .hx-wrap { width: min(100% - 32px, 1200px); }
    .hx-hero-grid { grid-template-columns: 1fr; }
    .hx-hero-media { padding: 0 0 20px 16px; }
    .hx-hero-frame { aspect-ratio: 4 / 3; clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%); }
    .hx-hero-card { bottom: 36px; }
    .hx-hero-actions .btn { flex: 1 1 100%; }
    .hx-stats { grid-template-columns: 1fr 1fr; }
    .hx-stat { padding: 20px 16px; }
    .hx-stat:nth-child(odd) { border-left: 0; padding-left: 0; }
    .hx-stat:nth-child(n+3) { border-top: 1px solid var(--hx-dark-line); }
    .hx-partners-row { flex-direction: column; text-align: center; }
    .hx-partners-label { max-width: none; }
    .hx-partners-logos { justify-content: center; }
    .hx-partners-logos img { max-width: 110px; max-height: 44px; }
    .hx-partners-logos img.is-tall { max-height: 60px; }
    .hx-svc { grid-template-columns: 44px 1fr auto; gap: 14px; padding: 20px 8px; }
    .hx-svc-num { display: none; }
    .hx-svc-icon { width: 44px; height: 44px; font-size: 1rem; }
    .hx-svc-body h3 { font-size: 1.08rem; }
    .hx-adv-grid { grid-template-columns: 1fr; }
    .hx-steps { grid-template-columns: 1fr; gap: 40px; }
    .hx-steps::before { top: 0; bottom: 0; left: 50%; right: auto; border-top: 0; border-left: 2px dashed #d3d9e2; }
    .hx-step { background: #fff; padding: 8px 0; }
    .hx-testi-grid { grid-template-columns: 1fr; }
    .hx-quote--feature { grid-row: auto; }
    .hx-visit-cta .btn { flex: 1 1 100%; }
}
