/* Homepage only (index.html). Builds on styles.min.css variables and form styles. */

.hp-section {
    padding: 72px 0;
}

.hp-section-alt {
    background: var(--light-gray);
}

.hp-section,
.hp-form-section {
    scroll-margin-top: 80px;
}

.hp-title {
    font-size: 2.25rem;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--pure-black);
    text-align: center;
    margin: 0 0 14px;
}

.hp-title::after {
    content: '';
    display: block;
    width: 72px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 2px;
    background: var(--gradient-red-black);
}

.hp-subtitle {
    max-width: 44rem;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 1.125rem;
    color: #555;
}

.hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 800;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hp-btn-primary {
    background: var(--primary-red);
    color: var(--white);
    border: 2px solid var(--primary-red);
    box-shadow: 0 8px 20px rgba(220, 20, 60, 0.35);
}

.hp-btn-primary:hover,
.hp-btn-primary:focus-visible {
    background: #b5102f;
    border-color: #b5102f;
    transform: translateY(-2px);
}

.hp-btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.hp-btn-secondary:hover,
.hp-btn-secondary:focus-visible {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.hp-btn:focus-visible {
    outline: 3px solid var(--white);
    outline-offset: 3px;
}

.hp-btn-on-light:focus-visible {
    outline-color: var(--pure-black);
}

/* Hero */
.hp-hero {
    background:
        radial-gradient(circle at 85% 20%, rgba(220, 20, 60, 0.35) 0%, transparent 55%),
        linear-gradient(135deg, #111 0%, #2a0a12 55%, #5c0a1c 100%);
    color: var(--white);
    padding: 56px 0 64px;
}

.hp-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.hp-eyebrow {
    margin: 0 0 12px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ffb3c1;
}

.hp-hero-title {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 900;
    margin: 0 0 18px;
    color: var(--white);
}

.hp-hero-lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 28px;
    max-width: 34rem;
}

.hp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
}

.hp-rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
    font-size: 1.05rem;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hp-rating:hover,
.hp-rating:focus-visible {
    background: rgba(255, 255, 255, 0.14);
}

.hp-rating:focus-visible {
    outline: 3px solid var(--white);
    outline-offset: 3px;
}

.hp-stars {
    color: #fbbc04;
    letter-spacing: 2px;
    font-size: 1.1rem;
}

.hp-hero-area {
    margin: 18px 0 0;
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.8);
}

.hp-hero-area a {
    color: var(--white);
    font-weight: 700;
}

.hp-hero-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 669 / 446;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
    border: 3px solid rgba(255, 255, 255, 0.12);
}

/* Reviews */
.hp-review-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.hp-review {
    margin: 0;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 16px;
    padding: 26px;
    border-top: 4px solid var(--primary-red);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.hp-review blockquote {
    margin: 12px 0 18px;
    flex: 1;
}

.hp-review blockquote p {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--text-color);
}

.hp-review figcaption {
    font-size: 0.95rem;
    color: #666;
}

.hp-review figcaption strong {
    color: var(--pure-black);
}

.hp-review-links {
    margin: 28px 0 0;
    text-align: center;
    font-size: 1rem;
}

.hp-review-links a {
    color: var(--primary-red);
    font-weight: 700;
}

/* Why Heroes */
.hp-why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hp-why-item {
    background: var(--white);
    border-radius: 14px;
    padding: 24px;
    border: 1px solid #e6e6e6;
}

.hp-section-alt .hp-why-item {
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.hp-why-item h3 {
    font-size: 1.15rem;
    margin: 0 0 8px;
    color: var(--pure-black);
}

.hp-why-item h3::before {
    content: '';
    display: block;
    width: 32px;
    height: 4px;
    border-radius: 2px;
    background: var(--primary-red);
    margin-bottom: 14px;
}

.hp-why-item p {
    margin: 0;
    color: #444;
    line-height: 1.6;
}

/* How it works */
.hp-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: center;
}

.hp-split-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.hp-how-media img {
    aspect-ratio: 4 / 5;
    object-position: center 40%;
}

.hp-split-copy .hp-title,
.hp-split-copy .hp-subtitle {
    text-align: left;
    margin-left: 0;
}

.hp-split-copy .hp-title::after {
    margin-left: 0;
}

.hp-split-copy .hp-subtitle {
    margin-bottom: 24px;
}

.hp-how-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.hp-how-list li {
    padding-left: 22px;
    border-left: 4px solid var(--primary-red);
}

.hp-how-list strong {
    display: block;
    color: var(--pure-black);
    font-size: 1.08rem;
    margin-bottom: 2px;
}

.hp-how-list span {
    color: #444;
    line-height: 1.6;
}

/* What to expect */
.hp-steps {
    list-style: none;
    counter-reset: hp-step;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.hp-steps li {
    counter-increment: hp-step;
    background: var(--white);
    border-radius: 14px;
    padding: 26px 22px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.hp-steps li::before {
    content: counter(hp-step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-red);
    color: var(--white);
    font-weight: 900;
    font-size: 1.1rem;
    margin-bottom: 14px;
}

.hp-steps h3 {
    font-size: 1.12rem;
    margin: 0 0 8px;
    color: var(--pure-black);
}

.hp-steps p {
    margin: 0;
    color: #444;
    line-height: 1.6;
}

/* Lead form section (shared form styles come from styles.min.css) */
.hp-form-section {
    padding: 72px 0;
}

.hp-form-section .hp-subtitle {
    margin-bottom: 32px;
}

.hp-form-section #leadForm {
    scroll-margin-top: 110px;
}

.hp-form-section .hp-subtitle a {
    color: var(--primary-red);
    font-weight: 700;
}

/* Client story */
.hp-story {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 48px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.hp-story-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.hp-story-copy h3 {
    font-size: 1.6rem;
    margin: 0 0 12px;
    color: var(--pure-black);
}

.hp-story-copy p {
    line-height: 1.7;
    color: #333;
}

.hp-story-copy ul {
    margin: 0 0 16px;
    padding-left: 20px;
}

.hp-story-copy li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.hp-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Coaching and community */
.hp-community-media img {
    aspect-ratio: 1 / 1;
    object-position: center 70%;
}

.hp-community-media figcaption {
    margin-top: 10px;
    font-size: 0.92rem;
    color: #666;
    text-align: center;
}

.hp-split-copy p {
    line-height: 1.7;
    color: #333;
    font-size: 1.05rem;
    margin: 0 0 16px;
}

.hp-text-link {
    color: var(--primary-red);
    font-weight: 800;
}

/* FAQs */
.hp-faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.hp-faq-list details {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid #e3e3e3;
    margin-bottom: 12px;
}

.hp-faq-list summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 52px 18px 22px;
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--pure-black);
    position: relative;
}

.hp-faq-list summary::-webkit-details-marker {
    display: none;
}

.hp-faq-list summary::after {
    content: '+';
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-red);
}

.hp-faq-list details[open] summary::after {
    content: '\2212';
}

.hp-faq-list summary:focus-visible {
    outline: 3px solid var(--primary-red);
    outline-offset: 2px;
    border-radius: 12px;
}

.hp-faq-list details p {
    margin: 0;
    padding: 0 22px 20px;
    line-height: 1.7;
    color: #444;
}

.hp-faq-list details p:has(+ ul) {
    padding-bottom: 8px;
}

.hp-faq-list details ul {
    margin: 0;
    padding: 0 22px 20px 42px;
    line-height: 1.7;
    color: #444;
}

.hp-faq-list details li + li {
    margin-top: 6px;
}

/* Nav CTA (homepage only) */
.hp-nav-cta {
    order: 3;
    margin-left: 22px;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--pure-black);
    color: var(--white);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    border: 2px solid var(--pure-black);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.hp-nav-cta:hover,
.hp-nav-cta:focus-visible {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--white);
}

.hp-nav-cta:focus-visible {
    outline: 3px solid var(--primary-red);
    outline-offset: 3px;
}

@media (min-width: 769px) {
    .main-nav .nav-menu {
        margin-left: auto;
    }
}

@media (max-width: 768px) {
    .hp-nav-cta {
        order: 0;
        margin: 0 14px 0 auto;
        min-height: 40px;
        padding: 0 14px;
        font-size: 0.8rem;
    }
}

.hp-faq-list details a,
.hp-faq-more a {
    color: var(--primary-red);
    font-weight: 700;
}

.hp-faq-more {
    text-align: center;
    margin: 24px 0 0;
}

/* Closing CTA */
.hp-final {
    background: linear-gradient(135deg, #111 0%, #2a0a12 55%, #5c0a1c 100%);
    color: var(--white);
    text-align: center;
    padding: 64px 0;
}

.hp-final h2 {
    font-size: 2rem;
    font-weight: 900;
    margin: 0 0 12px;
    color: var(--white);
}

.hp-final p {
    margin: 0 auto 26px;
    max-width: 36rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .hp-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .hp-hero-inner,
    .hp-split,
    .hp-story {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .hp-review-grid,
    .hp-why-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hp-split-media {
        order: 2;
    }

    .hp-how-media img {
        aspect-ratio: 4 / 3;
    }

    .hp-story-media {
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .hp-section,
    .hp-form-section {
        padding: 48px 0;
    }

    .hp-hero {
        padding: 28px 0 40px;
    }

    .hp-eyebrow {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }

    .hp-hero-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .hp-hero-lead {
        font-size: 1.05rem;
        margin-bottom: 20px;
    }

    .hp-hero-actions {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 18px;
    }

    .hp-btn {
        width: 100%;
    }

    .hp-rating {
        font-size: 0.98rem;
    }

    .hp-title {
        font-size: 1.6rem;
    }

    .hp-subtitle {
        font-size: 1.02rem;
        margin-bottom: 28px;
    }

    .hp-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .hp-steps li {
        display: grid;
        grid-template-columns: 34px minmax(0, 1fr);
        column-gap: 14px;
        padding: 18px 18px 18px 16px;
    }

    .hp-steps li::before {
        grid-row: 1 / span 2;
        width: 34px;
        height: 34px;
        font-size: 1rem;
        margin: 0;
    }

    .hp-steps h3 {
        margin-bottom: 4px;
        align-self: center;
    }

    .hp-review {
        padding: 22px 20px;
    }

    .hp-why-grid {
        gap: 12px;
    }

    .hp-why-item {
        padding: 18px 18px 16px;
    }

    .hp-why-item h3::before {
        margin-bottom: 10px;
    }

    .hp-how-media {
        display: none;
    }

    .hp-final h2 {
        font-size: 1.6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hp-btn {
        transition: none;
    }

    .hp-btn-primary:hover,
    .hp-btn-primary:focus-visible {
        transform: none;
    }
}
