.hero {
    position: relative;
    min-height: 100vh;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.80) 0%,
            rgba(0,0,0,.55) 40%,
            rgba(0,0,0,.20) 100%
        ),
        url("/static/images/hero-desktop.webp");

    background-size: cover;
    background-position: center;

    color: white;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 60px;
}

.environment-warning {
    max-width: 900px;
    margin: 0 auto 24px;
    padding: 13px 18px;
    border: 1px solid #d92d20;
    border-left: 6px solid #d92d20;
    border-radius: 10px;
    background: rgba(255, 255, 255, .96);
    color: #b42318;
    font-weight: 800;
    line-height: 1.5;
}

.hero-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 120px;
}

.hero-nav {
    display: flex;
    gap: 40px;
}

.hero-nav a {
    padding: 10px 18px;
    border-radius: 999px;
    background: #e8c78f;
    color: black;
    text-decoration: none;
    font-weight: 600;
    transition: background .2s ease, transform .2s ease;
}

.hero-nav a:hover {
    background: #f0d8ad;
    transform: translateY(-1px);
}

.header-cta {
    background: #e8c78f;
    color: black;

    padding: 14px 32px;

    border-radius: 999px;

    text-decoration: none;
    font-weight: 600;
}

.hero-main {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 80px;

    align-items: center;
}

.hero-left {
    max-width: 750px;
}

.hero-tagline {
    margin-bottom: 25px;

    font-size: .9rem;
    letter-spacing: .3rem;
    text-transform: uppercase;

    opacity: .85;
}

.hero-left h1 {
    font-size: 7rem;
    line-height: .9;

    margin-bottom: 30px;

    font-family: var(--font-heading);
}

.hero-text {
    font-size: 3rem;
    line-height: 1.2;

    max-width: 800px;

    margin-bottom: 25px;

    font-family: var(--font-heading);
}

.hero-subtext {
    font-size: 1.25rem;
    line-height: 1.8;

    max-width: 650px;

    margin-bottom: 40px;

    color: rgba(255,255,255,.9);
}

.hero-button {
    display: inline-block;

    padding: 20px 42px;

    background: #e8c78f;
    color: black;

    border-radius: 999px;

    text-decoration: none;
    font-weight: 700;
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 15px;

    font-size: 1.1rem;
}

.benefit-icon {
    display: block;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.how-it-works {
    background: #f8f4ef;
    color: #111;

    padding: 120px 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.how-it-works h2 {
    font-size: 4rem;
    margin-bottom: 10px;

    font-family: var(--font-heading);
}

.section-subtitle {
    font-size: 1.3rem;
    color: #666;

    margin-bottom: 70px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 40px;
}

.step-number {
    width: 50px;
    height: 50px;

    border-radius: 50%;

    background: #c6a67b;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    font-weight: bold;
}

.step h3 {
    margin-bottom: 15px;
    min-height: 2.6em;
    font-size: 1.1rem;
    line-height: 1.3;
}

.step p {
    color: #555;
    line-height: 1.7;
}

.result-preview {
    background:
        linear-gradient(
            rgba(5,15,15,.92),
            rgba(5,15,15,.92)
        ),
        url("/static/images/result-bg.webp");

    background-size: cover;
    background-position: center;

    color: white;

    padding: 140px 0;
}

.result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;

    align-items: center;
}

.result-left h2 {
    font-size: 4rem;
    margin-bottom: 40px;

    font-family: var(--font-heading);
}

.result-list {
    list-style: none;
}

.result-list li {
    margin-bottom: 22px;
    font-size: 1.2rem;
}

.result-preview .result-right {
    position: relative;
    display: block;
    height: 340px;
}

.result-preview .document {
    position: absolute;
    top: 30px;
    width: min(300px, 66.6667%);
    height: 240px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #17130d;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.result-preview .document img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.result-preview .document-left {
    left: 0;
    top: 12px;
    z-index: 1;
    transform: rotate(-9deg);
}

.result-preview .document-center {
    left: 16.6667%;
    top: 76px;
    z-index: 3;
}

.result-preview .document-right {
    left: 33.3333%;
    top: 12px;
    z-index: 1;
    transform: rotate(9deg);
}

.testimonials {
    background: #f7f4ef;
    padding: 120px 0;
    color: #222;
}

.testimonials h2 {
    font-size: 3.5rem;
    margin-bottom: 60px;

    font-family: var(--font-heading);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.testimonial {
    background: white;

    padding: 35px;

    border-radius: 20px;

    box-shadow:
        0 10px 30px rgba(0,0,0,.08);
}

.testimonial p {
    line-height: 1.8;
    margin-bottom: 25px;
    color: #444;
}

.project-info,
.faq-section,
.legal-section {
    padding: 96px 0;
    color: #222;
    background: #f7f4ef;
}

.project-info h2,
.faq-section h2,
.legal-section h2 {
    margin-bottom: 28px;
    font-family: var(--font-heading);
    font-size: 3rem;
}

.project-info p,
.legal-section p {
    max-width: 850px;
    margin: 0 0 18px;
    line-height: 1.8;
}

.faq-section {
    background: #fff;
}

.faq-section details {
    max-width: 900px;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.faq-section summary {
    cursor: pointer;
    font-weight: 700;
}

.faq-section details p {
    margin: 14px 0 0;
    line-height: 1.7;
}

.legal-section:nth-of-type(even) {
    background: #fff;
}

.legal-section h3 {
    margin: 28px 0 8px;
}

.legal-section a,
.faq-section a {
    color: #795c36;
}

@media (max-width: 760px) {
    .project-info,
    .faq-section,
    .legal-section {
        padding: 64px 0;
    }

    .project-info h2,
    .faq-section h2,
    .legal-section h2 {
        font-size: 2.2rem;
    }

    .legal-section p,
    .project-info p {
        overflow-wrap: anywhere;
    }

    .footer__container,
    .footer__nav,
    .footer__social {
        flex-wrap: wrap;
    }
}

.footer {
    background:
        linear-gradient(
            90deg,
            rgba(3,8,12,.95),
            rgba(8,20,25,.95)
        );

    border-top: 1px solid rgba(255,255,255,.08);
}

.footer__container {
    max-width: 1400px;

    margin: 0 auto;
    padding: 40px 60px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.footer__logo {
    display: block;
    width: 118px;
    height: auto;
}

.footer__tagline {
    margin-top: 10px;

    font-size: .85rem;
    letter-spacing: .15rem;
    text-transform: uppercase;

    color: rgba(255,255,255,.7);
}

.footer__nav,
.footer__social {
    display: flex;
    gap: 25px;
}

.footer a {
    color: rgba(255,255,255,.85);
    text-decoration: none;

    transition: .3s;
}

.footer a:hover {
    color: var(--gold);
}
