/**
 * Module: lp_hero
 */

/* HERO */
.t1-hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 3rem;
    padding: 7rem max(1.5rem, calc(50vw - var(--max-width) / 2 + 1.5rem)) 4rem;
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--hero-overlay-start), var(--hero-overlay-end));
}

.t1-hero--has-bg-image {
    background: linear-gradient(135deg, var(--hero-overlay-start), var(--hero-overlay-end)), var(--hero-bg-image) center/cover;
}

.t1-hero--short { 
    min-height: 50vh; 
    padding-top: 8rem;
}

.t1-hero--centered { 
    text-align: center; 
}

.t1-hero--centered .t1-hero__content { 
    margin: 0 auto; 
}

.t1-hero--centered .t1-hero__actions { 
    justify-content: center; 
}

.t1-hero--two-col {
    grid-template-columns: 1.2fr 1fr;
}

/* Background character */
.t1-hero::before {
    content: attr(data-bg-char);
    position: absolute;
    top: 8%;
    right: 6%;
    font-size: min(28vw, 400px);
    font-weight: 100;
    color: rgba(0,168,128,0.07);
    pointer-events: none;
    line-height: 1;
}

/* Content */
.t1-hero__content { 
    max-width: 600px; 
}

.t1-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--jade-bright);
    margin-bottom: 1.5rem;
}

.t1-hero__eyebrow::before {
    content: "";
    width: 40px;
    height: 1px;
    background: var(--jade-bright);
}

.t1-hero__headline {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 1.5rem;
    color: white;
}

.t1-hero__highlight {
    display: block;
    font-style: normal;
    color: var(--gold);
}

.t1-hero__description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    max-width: 540px;
    margin: 0 0 2rem;
}

.t1-hero__description > :first-child {
    margin-top: 0;
}

.t1-hero__description > :last-child {
    margin-bottom: 0;
}

/* Actions */
.t1-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Buttons */
.t1-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.t1-hero__btn--primary {
    color: #fff;
    background: var(--jade);
    border: 2px solid var(--jade);
}

.t1-hero__btn--primary:hover {
    background: var(--jade-dark);
    border-color: var(--jade-dark);
    transform: translateY(-2px);
}

.t1-hero__btn--secondary {
    color: var(--ink);
    background: #fff;
    border: 2px solid #fff;
}

.t1-hero__btn--secondary:hover {
    background: var(--pearl);
    border-color: var(--pearl);
    transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 900px) {
    .t1-hero { 
        padding-top: 7rem;
        padding-bottom: 3rem;
    }
    .t1-hero--two-col { 
        grid-template-columns: 1fr; 
    }
    .t1-hero::before { 
        font-size: 200px; 
        top: 10%; 
        right: 5%; 
    }
    .t1-hero__content { 
        text-align: center; 
        margin: 0 auto; 
    }
    .t1-hero__eyebrow::before { 
        display: none; 
    }
    .t1-hero__eyebrow { 
        justify-content: center; 
    }
    .t1-hero__actions { 
        justify-content: center; 
    }
}

/* Hero Bridge */
.t1-hero__bridge {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    padding-left: 2rem;
}

.t1-hero__bridge::before {
    content: "";
    position: absolute;
    left: 0.875rem;
    top: 2rem;
    bottom: 2rem;
    width: 2px;
    background: linear-gradient(to bottom, var(--jade-bright), rgba(0,168,128,0.2));
}

.t1-hero__bridge-item {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0 1rem;
    align-items: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    transition: background 0.2s, border-color 0.2s;
    position: relative;
    text-decoration: none;
    color: white;
}

.t1-hero__bridge-item::before {
    content: "";
    position: absolute;
    left: -2rem;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--jade-bright);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(0,168,128,0.2);
}

.t1-hero__bridge-item:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--jade);
}

.t1-hero__bridge-icon {
    grid-row: span 2;
    font-size: 1.75rem;
    line-height: 1;
}

.t1-hero__bridge-label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--jade-bright);
}

.t1-hero__bridge-title { 
    font-size: 1rem; 
    font-weight: 600; 
}

@media (max-width: 899px) {
    .t1-hero__bridge { 
        max-width: 380px; 
        margin: 0 auto; 
    }
}

/* ========================================
   LIGHT THEME OVERRIDE
   ======================================== */

.t1-hero--light {
    color: var(--ink);
}

.t1-hero--light .t1-hero__headline {
    color: var(--ink);
}

.t1-hero--light .t1-hero__description {
    color: var(--charcoal);
}

.t1-hero--light .t1-hero__bridge-item {
    background: rgba(26, 29, 33, 0.05);
    border: 1px solid rgba(26, 29, 33, 0.12);
    color: var(--ink);
}

.t1-hero--light .t1-hero__bridge-item:hover {
    background: rgba(26, 29, 33, 0.10);
}

.t1-hero--light .t1-hero__btn--secondary {
    color: var(--ink);
    background: transparent;
    border: 2px solid var(--ink);
}

.t1-hero--light .t1-hero__btn--secondary:hover {
    background: var(--pearl);
    border-color: var(--ink);
}