/**
 * BY BANKS — Landing Pages CSS
 * 
 * All component styles for landing page templates.
 * Loaded async (non-blocking) via media="print" onload pattern.
 * 
 * Sections: content, FAQ, contact/CTA, section headers, utilities.
 * Hero and primary CTA styles are in critical.css (render-blocking).
 */

/* ============================================
   CONTENT SECTION
   ============================================ */

.lp-content {
    padding: 64px 0;
}
.lp-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #f1ede4;
    margin: 48px 0 16px;
    letter-spacing: -0.01em;
}
.lp-content h2:first-child {
    margin-top: 0;
}
.lp-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #f1ede4;
    margin: 32px 0 12px;
}
.lp-content p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: rgba(241, 237, 228, 0.8);
    margin-bottom: 20px;
    max-width: 720px;
}
.lp-content ul,
.lp-content ol {
    margin: 0 0 24px 24px;
    color: rgba(241, 237, 228, 0.8);
}
.lp-content li {
    font-size: 1.0625rem;
    line-height: 1.75;
    margin-bottom: 8px;
}
.lp-content a {
    color: #009c6f;
    text-decoration: underline;
    text-decoration-color: rgba(0, 156, 111, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
}
.lp-content a:hover {
    text-decoration-color: #009c6f;
}
.lp-content strong {
    color: #f1ede4;
    font-weight: 600;
}
.lp-content img {
    border-radius: 12px;
    margin: 32px 0;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.lp-faq {
    padding: 64px 0;
    border-top: 1px solid rgba(241, 237, 228, 0.08);
}
.lp-faq h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #f1ede4;
    margin-bottom: 32px;
}
.lp-faq__list {
    max-width: 720px;
}
.lp-faq__item {
    border-bottom: 1px solid rgba(241, 237, 228, 0.1);
}
.lp-faq__question {
    padding: 20px 0;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #f1ede4;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.lp-faq__question::-webkit-details-marker {
    display: none;
}
.lp-faq__question::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(241, 237, 228, 0.5);
    flex-shrink: 0;
    transition: transform 0.2s;
}
.lp-faq__item[open] .lp-faq__question::after {
    content: '−';
    color: #009c6f;
}
.lp-faq__answer {
    padding: 0 0 20px;
}
.lp-faq__answer p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(241, 237, 228, 0.7);
    margin: 0;
}

/* ============================================
   CONTACT / CTA SECTION
   (Shared with existing contact styles from global.css)
   These are overrides/supplements specific to landing pages
   ============================================ */

.landing-page .contact-section {
    padding: 80px 0;
    border-top: 1px solid rgba(241, 237, 228, 0.08);
}
.landing-page .contact-section .section-header {
    text-align: center;
    margin-bottom: 48px;
}
.landing-page .contact-section .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #f1ede4;
    margin-bottom: 12px;
}
.landing-page .contact-section .section-desc {
    font-size: 1.0625rem;
    color: rgba(241, 237, 228, 0.65);
    line-height: 1.6;
}
.landing-page .section-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #009c6f;
    background: rgba(0, 156, 111, 0.1);
    border: 1px solid rgba(0, 156, 111, 0.2);
    margin-bottom: 16px;
}

/* Contact grid — form left, sidebar right */
.landing-page .contact-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

/* Form card container — matches sidebar card style */
.landing-page .contact-form-card {
    padding: 28px;
    background: rgba(241, 237, 228, 0.04);
    border: 1px solid rgba(241, 237, 228, 0.08);
    border-radius: 12px;
}

/* Form styles */
.landing-page .contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.landing-page .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.landing-page .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.landing-page .form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(241, 237, 228, 0.7);
}
.landing-page .form-group input,
.landing-page .form-group select,
.landing-page .form-group textarea {
    padding: 12px 16px;
    background: rgba(241, 237, 228, 0.06);
    border: 1px solid rgba(241, 237, 228, 0.12);
    border-radius: 8px;
    color: #f1ede4;
    font-family: inherit;
    font-size: 0.9375rem;
    transition: border-color 0.2s;
}
.landing-page .form-group input:focus,
.landing-page .form-group select:focus,
.landing-page .form-group textarea:focus {
    outline: none;
    border-color: #009c6f;
}
.landing-page .form-group input::placeholder,
.landing-page .form-group textarea::placeholder {
    color: rgba(241, 237, 228, 0.3);
}
.landing-page .form-group textarea {
    min-height: 120px;
    resize: vertical;
}
.landing-page .form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23f1ede4' stroke-width='1.5' fill='none' opacity='.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.landing-page .form-submit {
    padding: 14px 28px;
    background: #009c6f;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    align-self: flex-start;
}
.landing-page .form-submit:hover {
    background: #008a62;
    transform: translateY(-1px);
}
.landing-page .form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Sidebar — WhatsApp + Email + Info */
.landing-page .contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.landing-page .contact-method {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(241, 237, 228, 0.04);
    border: 1px solid rgba(241, 237, 228, 0.08);
    border-radius: 12px;
    transition: background 0.2s, border-color 0.2s;
}
.landing-page .contact-method:hover {
    background: rgba(241, 237, 228, 0.07);
    border-color: rgba(241, 237, 228, 0.15);
}
.landing-page .contact-method-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(0, 156, 111, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.landing-page .contact-method-icon svg {
    width: 22px;
    height: 22px;
    color: #009c6f;
}
.landing-page .contact-method-content h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #f1ede4;
    margin-bottom: 4px;
}
.landing-page .contact-method-content p {
    font-size: 0.8125rem;
    color: rgba(241, 237, 228, 0.55);
    line-height: 1.5;
    margin: 0;
}
.landing-page .contact-method-content .link-text {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #009c6f;
    margin-top: 6px;
    display: inline-block;
}
.landing-page .contact-info {
    padding: 20px;
    background: rgba(241, 237, 228, 0.03);
    border: 1px solid rgba(241, 237, 228, 0.06);
    border-radius: 12px;
}
.landing-page .contact-info p {
    font-size: 0.8125rem;
    color: rgba(241, 237, 228, 0.55);
    line-height: 1.6;
    margin: 0;
}
.landing-page .contact-info strong {
    color: #f1ede4;
}

/* Form success */
.landing-page .form-success-message {
    text-align: center;
    padding: 60px 40px;
}
.landing-page .form-success-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #009c6f, #00c97b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}
.landing-page .form-success-icon svg {
    width: 36px;
    height: 36px;
    color: white;
}
.landing-page .form-success-message h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #f1ede4;
}
.landing-page .form-success-message p {
    color: rgba(241, 237, 228, 0.7);
    font-size: 1rem;
    line-height: 1.6;
}

/* ============================================
   SLIM CTA (medium intent)
   ============================================ */

.lp-slim-cta {
    padding: 24px 0;
}
.lp-slim-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(241, 237, 228, 0.03);
    border: 1px solid rgba(241, 237, 228, 0.08);
    border-radius: 12px;
}
.lp-slim-cta__inner span:first-child {
    font-size: 0.9375rem;
    color: rgba(241, 237, 228, 0.7);
}
.lp-cta--sm {
    padding: 10px 20px;
    font-size: 0.8125rem;
}

/* ============================================
   RELATED PAGES (low intent)
   ============================================ */

.lp-related {
    padding: 64px 0;
    border-top: 1px solid rgba(241, 237, 228, 0.08);
}
.lp-related h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #f1ede4;
    margin-bottom: 24px;
}
.lp-related__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.lp-related__card {
    display: block;
    padding: 24px;
    background: rgba(241, 237, 228, 0.03);
    border: 1px solid rgba(241, 237, 228, 0.08);
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
    position: relative;
}
.lp-related__card:hover {
    background: rgba(241, 237, 228, 0.06);
    border-color: rgba(241, 237, 228, 0.15);
}
.lp-related__card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #f1ede4;
    margin-bottom: 8px;
}
.lp-related__card p {
    font-size: 0.8125rem;
    color: rgba(241, 237, 228, 0.55);
    line-height: 1.6;
    margin: 0;
}
.lp-related__arrow {
    position: absolute;
    top: 24px;
    right: 20px;
    color: #009c6f;
    font-size: 1.125rem;
}

/* ============================================
   CLUSTER PAGE INDEX (pillar)
   ============================================ */

.lp-cluster-index {
    padding: 64px 0;
    border-top: 1px solid rgba(241, 237, 228, 0.08);
}
.lp-cluster-index h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #f1ede4;
    margin-bottom: 24px;
}
.lp-cluster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}
.lp-cluster-card {
    display: block;
    padding: 24px;
    background: rgba(241, 237, 228, 0.03);
    border: 1px solid rgba(241, 237, 228, 0.08);
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}
.lp-cluster-card:hover {
    background: rgba(241, 237, 228, 0.06);
    border-color: #009c6f;
}
.lp-cluster-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #f1ede4;
    margin-bottom: 8px;
}
.lp-cluster-card p {
    font-size: 0.8125rem;
    color: rgba(241, 237, 228, 0.55);
    line-height: 1.6;
    margin: 0 0 12px;
}
.lp-cluster-card__link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #009c6f;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .lp-content {
        padding: 40px 0;
    }
    .lp-content h2 {
        font-size: 1.375rem;
        margin: 36px 0 12px;
    }
    .lp-content h3 {
        font-size: 1.125rem;
    }
    .lp-content p,
    .lp-content li {
        font-size: 0.9375rem;
    }
    .lp-faq {
        padding: 40px 0;
    }
    .lp-faq h2 {
        font-size: 1.375rem;
    }
    .lp-faq__question {
        font-size: 0.9375rem;
        padding: 16px 0;
    }
    .landing-page .contact-section {
        padding: 48px 0;
    }
    .landing-page .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .landing-page .form-row {
        grid-template-columns: 1fr;
    }
    .landing-page .form-submit {
        width: 100%;
        text-align: center;
    }
    .landing-page .contact-section .section-title {
        font-size: 1.5rem;
    }
    .lp-slim-cta__inner {
        flex-direction: column;
        text-align: center;
    }
    .lp-related__grid {
        grid-template-columns: 1fr;
    }
    .lp-related {
        padding: 40px 0;
    }
    .lp-related h2 {
        font-size: 1.375rem;
    }
    .lp-cluster-index {
        padding: 40px 0;
    }
    .lp-cluster-index h2 {
        font-size: 1.375rem;
    }
    .lp-cluster-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .lp-container {
        padding: 0 16px;
    }
}
