/* ================================================
   TSV HOMEPAGE — front-page.php styles
   ================================================ */

/* ── HERO ── */
.tsv-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
}

.tsv-hero__bg {
    position: absolute;
    inset: 0;
    background-image: url('../img/liga-hero.jpg');
    background-image: image-set(
        url('../img/liga-hero.webp') type('image/webp'),
        url('../img/liga-hero.jpg')  type('image/jpeg')
    );
    background-size: cover;
    background-position: center 20%;
    transform: scale(1.05);
    transition: transform 8s ease;
}
.tsv-hero__bg.is-loaded { transform: scale(1); }

.tsv-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26,26,26,0.88)  0%,
        rgba(180,0,0,0.60)   50%,
        rgba(26,26,26,0.75) 100%
    );
}

.tsv-hero__content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    padding-bottom: 80px;
}

.tsv-hero__badge {
    display: inline-block;
    background: rgba(204,0,0,0.9);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.tsv-hero__title {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    color: #fff;
    line-height: 1.05;
    margin: 0 0 20px;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}
.tsv-hero__title span { color: var(--tsv-primary); }

.tsv-hero__sub {
    font-size: clamp(15px, 2vw, 18px);
    color: rgba(255,255,255,0.80);
    max-width: 520px;
    margin: 0 0 32px;
    line-height: 1.6;
    text-transform: none;
    font-weight: 400;
    letter-spacing: 0;
}

.tsv-hero__ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}
.tsv-btn--lg { padding: 14px 36px; font-size: 14px; }

/* Stats row */
.tsv-hero__stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 28px;
}
.tsv-stat__num {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--tsv-primary);
    line-height: 1;
}
.tsv-stat__label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.55);
    margin-top: 4px;
}

/* ── SECTION TITLES ── */
.tsv-section-title {
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    text-align: center;
    margin-bottom: 8px;
    color: var(--tsv-dark);
}
.tsv-section-sub {
    text-align: center;
    font-size: 15px;
    color: var(--tsv-muted);
    margin-bottom: 40px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

/* ── PROGRAMS ── */
.tsv-programs { background: var(--tsv-bg); }

.tsv-programs__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tsv-program-card {
    background: var(--tsv-white);
    border: 1px solid var(--tsv-border);
    border-radius: 8px;
    padding: 28px 24px;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.tsv-program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}
.tsv-program-card--featured {
    border-color: var(--tsv-primary);
    border-width: 2px;
}
.tsv-program-card__badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--tsv-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    border-radius: 10px;
}
.tsv-program-card__icon {
    font-size: 2rem;
    margin-bottom: 12px;
    line-height: 1;
}
.tsv-program-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--tsv-dark);
}
.tsv-program-card p {
    font-size: 13px;
    color: var(--tsv-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}
.tsv-program-card__links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ── LIGA BAND (red gradient) ── */
.tsv-liga-band {
    background: linear-gradient(135deg,
        #CC0000 0%, #8B0000 60%, #1a1a1a 100%);
    padding: 56px 0;
}
.tsv-liga-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}
.tsv-liga-band__text { flex: 1; }
.tsv-liga-band__text h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 12px;
}
.tsv-liga-band__text p {
    color: rgba(255,255,255,0.80);
    font-size: 14px;
    margin-bottom: 16px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}
.tsv-liga-band__details {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    line-height: 2;
}
.tsv-liga-band__ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

/* ── VIDEOS ── */
.tsv-videos__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.tsv-video-card {
    border-radius: 8px;
    overflow: hidden;
    background: var(--tsv-white);
    border: 1px solid var(--tsv-border);
}
.tsv-video-card__embed {
    position: relative;
    padding-top: 56.25%;
    background: var(--tsv-dark);
}
.tsv-video-card__embed iframe,
.tsv-video-card__embed a {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tsv-video-card__embed--placeholder {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}
.tsv-video-card__embed--placeholder a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
}
.tsv-video-card__embed--placeholder a:hover { color: var(--tsv-white); }
.tsv-video-card__embed--placeholder span {
    display: block;
    text-align: center;
}
.tsv-video-card__title {
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
    color: var(--tsv-dark);
}
.tsv-video-card__title a { color: var(--tsv-dark); text-decoration: none; }
.tsv-video-card__title a:hover { color: var(--tsv-primary); }

/* ── WHY / ABOUT ── */
.tsv-why { background: var(--tsv-bg); }
.tsv-why__inner {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 48px;
    align-items: start;
}
.tsv-why__text p {
    font-size: 15px;
    color: var(--tsv-muted);
    line-height: 1.7;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}
.tsv-why__contact h3 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--tsv-dark);
    border-bottom: 2px solid var(--tsv-primary);
    padding-bottom: 8px;
}
.tsv-contact-list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    font-size: 14px;
}
.tsv-contact-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--tsv-border);
    color: var(--tsv-dark);
    line-height: 1.5;
}
.tsv-contact-list li:last-child { border-bottom: none; }
.tsv-contact-list a { color: var(--tsv-primary); }
.tsv-contact-social {
    display: flex;
    gap: 12px;
}
.tsv-contact-social a {
    font-size: 13px;
    font-weight: 600;
    color: var(--tsv-primary);
    text-decoration: none;
    padding: 6px 14px;
    border: 1px solid var(--tsv-primary);
    border-radius: var(--tsv-radius);
    transition: background 0.15s, color 0.15s;
}
.tsv-contact-social a:hover {
    background: var(--tsv-primary);
    color: var(--tsv-white);
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .tsv-programs__grid { grid-template-columns: repeat(2, 1fr); }
    .tsv-videos__grid   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
    .tsv-liga-band__inner { flex-direction: column; gap: 28px; }
    .tsv-liga-band__ctas  { flex-direction: row; flex-wrap: wrap; }
    .tsv-why__inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .tsv-hero { min-height: 100svh; }
    .tsv-hero__title { font-size: 2.4rem; }
    .tsv-hero__stats { gap: 24px; }
    .tsv-hero__ctas  { flex-direction: column; }
    .tsv-btn--lg     { width: 100%; text-align: center; }
    .tsv-programs__grid { grid-template-columns: 1fr; }
    .tsv-videos__grid   { grid-template-columns: 1fr; }
    .tsv-liga-band__ctas { flex-direction: column; }
}
