/* SEO Landing Page template (template-parts/landing-page.php) */
.lp-page {
    --lp-accent: #E77817;
    --lp-ink: #1d1d1b;
    --lp-text: #3d3a3b;
    --lp-muted: #77716f;
    --lp-soft: #f6f5f3;
    --lp-line: #e8e2da;
}

/* page banner (lp_banner) */
.lp-banner .banner_div::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.lp-banner .banner_div img {
    display: block;
    max-height: 560px;
    object-fit: cover;
}

.lp-banner .banner_txt {
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

@media (max-width: 767px) {
    .lp-banner .banner_div img {
        height: 260px;
        object-position: center;
    }
}

/* project cards */
.lp-proj-sec {
    padding-top: 50px;
    padding-bottom: 10px;
}

/* article */
.lp-article {
    background-color: var(--lp-soft);
    padding: 70px 0 80px;
    margin-top: 40px;
}

.lp-article .container {
    max-width: 1140px;
}

.lp-article .lp-title {
    font-family: var(--bs-seconadry-font-family);
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.25;
    color: #373435;
    margin-bottom: 26px;
    padding-bottom: 18px;
    position: relative;
}

.lp-article .lp-title::after,
.lp-faq-head::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 90px;
    height: 3px;
    background: linear-gradient(90deg, var(--lp-accent), rgba(231, 120, 23, 0));
}

.lp-article h2 {
    font-family: var(--bs-seconadry-font-family);
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.25;
    color: #373435;
    margin: 56px 0 16px;
}

.lp-article h3 {
    font-family: var(--bs-seconadry-font-family);
    font-size: 1.375rem;
    font-weight: 500;
    line-height: 1.35;
    color: #373435;
    margin: 32px 0 10px;
}

.lp-article p,
.lp-article li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--lp-text);
}

.lp-article p {
    margin-bottom: 16px;
}

.lp-article strong {
    font-weight: 600;
    color: var(--lp-ink);
}

.lp-article a {
    color: var(--lp-accent);
    text-decoration: none;
    font-weight: 500;
}

.lp-article a:hover {
    text-decoration: underline;
}

/* lists */
.lp-article ul,
.lp-article ol {
    list-style: none;
    padding-left: 0;
    margin: 4px 0 20px;
}

.lp-article li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.lp-article ul > li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0.72em;
    width: 8px;
    height: 8px;
    background-color: var(--lp-accent);
    transform: rotate(45deg);
}

.lp-article ol {
    counter-reset: lp-ol;
}

.lp-article ol > li {
    counter-increment: lp-ol;
    padding-left: 40px;
}

.lp-article ol > li::before {
    content: counter(lp-ol);
    position: absolute;
    left: 0;
    top: 0.2em;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: var(--lp-accent);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 26px;
    text-align: center;
}

/* tables */
.lp-table-wrap {
    overflow-x: auto;
    margin: 8px 0 14px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(29, 29, 27, 0.07);
}

.lp-article table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}

.lp-article th,
.lp-article td {
    padding: 14px 18px;
    font-size: 0.9375rem;
    line-height: 1.6;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--lp-line);
}

.lp-article thead th {
    background-color: var(--lp-ink);
    color: #fff;
    font-family: var(--bs-seconadry-font-family);
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    border-bottom: 3px solid var(--lp-accent);
}

.lp-article tbody tr:nth-child(even) td {
    background-color: #fbfaf8;
}

.lp-article tbody tr:last-child td {
    border-bottom: none;
}

.lp-article tbody td:first-child {
    font-weight: 600;
    color: var(--lp-ink);
}

.lp-article .lp-source-line {
    font-size: 0.8125rem;
    color: var(--lp-muted);
    margin-bottom: 8px;
}

/* FAQs */
.lp-faq {
    background-color: #fff;
    padding: 80px 0 90px;
}

.lp-faq .lp-faq-head {
    position: relative;
    font-family: var(--bs-seconadry-font-family);
    font-size: 2rem;
    font-weight: 500;
    color: #373435;
    text-align: center;
    padding-bottom: 18px;
    margin-bottom: 44px;
}

.lp-faq .lp-faq-head::after {
    left: 50%;
    width: 120px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, rgba(231, 120, 23, 0), var(--lp-accent), rgba(231, 120, 23, 0));
}

.lp-faq details {
    position: relative;
    padding: 0 4px;
}

.lp-faq details::after {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, rgba(231, 120, 23, 0.55), rgba(231, 120, 23, 0.08));
}

.lp-faq details:first-child::before {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, rgba(231, 120, 23, 0.55), rgba(231, 120, 23, 0.08));
}

.lp-faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0;
}

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

.lp-faq summary h3 {
    font-family: var(--bs-seconadry-font-family);
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.45;
    color: #373435;
    margin: 0;
    transition: color 0.25s ease;
}

.lp-faq summary::after {
    content: '';
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    margin-right: 6px;
    border-right: 1.5px solid var(--lp-accent);
    border-bottom: 1.5px solid var(--lp-accent);
    transform: rotate(45deg) translateY(-3px);
    transition: transform 0.3s ease;
}

.lp-faq details[open] summary::after {
    transform: rotate(-135deg) translateY(-3px);
}

.lp-faq summary:hover h3,
.lp-faq details[open] summary h3 {
    color: var(--lp-accent);
}

.lp-faq details p {
    margin: -6px 0 0;
    padding: 0 40px 24px 0;
    font-size: 0.9688rem;
    line-height: 1.8;
    color: var(--lp-text);
}

.lp-faq details[open] p {
    animation: lp-faq-in 0.35s ease;
}

.lp-faq details p a {
    color: var(--lp-accent);
    text-decoration: none;
}

@keyframes lp-faq-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 991px) {
    .lp-article .lp-title,
    .lp-article h2,
    .lp-faq .lp-faq-head {
        font-size: 1.625rem;
    }

    .lp-article h2 {
        margin-top: 44px;
    }
}

@media (max-width: 767px) {
    .lp-proj-sec {
        padding-top: 30px;
    }

    .lp-article {
        padding: 44px 0 50px;
        margin-top: 24px;
    }

    .lp-article .lp-title,
    .lp-article h2 {
        font-size: 1.5rem;
    }

    .lp-article h2 {
        margin-top: 36px;
    }

    .lp-article h3 {
        font-size: 1.125rem;
    }

    .lp-faq {
        padding: 50px 0 60px;
    }

    .lp-faq .lp-faq-head {
        font-size: 1.5rem;
        margin-bottom: 28px;
    }

    .lp-faq summary h3 {
        font-size: 1rem;
    }

    .lp-faq details p {
        padding-right: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-faq details[open] p {
        animation: none;
    }
}
