/* ─────────────────────────────────────────────────────────
   Pillar pages — non-critical styles (loaded async after render).
   Critical hero CSS lives in critical-pillar.css (inlined).
   ───────────────────────────────────────────────────────── */

/* Layout helpers */
.fo-container { max-width: var(--fo-container, 1140px); margin: 0 auto; padding: 0 20px; }
.fo-container-narrow { max-width: var(--fo-container-narrow, 720px); }

/* Main content typography polish */
.fo-main { padding: 56px 0 32px; background: var(--fo-white); }
.fo-content > * { margin-bottom: 1em; }
.fo-content h2 {
    margin: 1.6em 0 .6em;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 700;
    color: var(--fo-navy-700);
    border-left: 4px solid var(--fo-orange-500);
    padding-left: 14px;
}
.fo-content h3 {
    margin: 1.3em 0 .5em;
    font-size: clamp(18px, 2.4vw, 22px);
    font-weight: 600;
    color: var(--fo-navy-500);
}
.fo-content p { line-height: 1.75; color: var(--fo-text); }
.fo-content a { color: var(--fo-orange-500); text-decoration: underline; text-underline-offset: 2px; }
.fo-content a:hover { color: var(--fo-orange-600); }
.fo-content ul, .fo-content ol { padding-left: 1.4em; line-height: 1.75; }
.fo-content li { margin-bottom: .35em; }
.fo-content blockquote {
    border-left: 4px solid var(--fo-orange-500);
    background: var(--fo-gray-50);
    padding: 14px 22px;
    border-radius: 0 var(--fo-radius) var(--fo-radius) 0;
    margin: 1.4em 0;
    color: var(--fo-gray-700);
    font-style: italic;
}
.fo-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--fo-radius);
    margin: .6em 0;
}
.fo-content figure { margin: 1.4em 0; }
.fo-content figcaption { font-size: 14px; color: var(--fo-gray-500); text-align: center; margin-top: 6px; }

/* Pemesanan steps */
.fo-pemesanan { background: var(--fo-gray-50); padding: 56px 0; }
.fo-pemesanan h2 {
    text-align: center;
    margin-bottom: 32px;
    font-size: clamp(22px, 3vw, 30px);
    color: var(--fo-navy-700);
}
.fo-steps {
    counter-reset: fo-step;
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}
.fo-steps li {
    counter-increment: fo-step;
    background: var(--fo-white);
    border-radius: var(--fo-radius);
    padding: 18px 20px 18px 64px;
    position: relative;
    box-shadow: var(--fo-shadow-sm);
    line-height: 1.6;
}
.fo-steps li::before {
    content: counter(fo-step);
    position: absolute;
    left: 16px;
    top: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--fo-orange-500);
    color: var(--fo-white);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* CTA WA block */
.fo-cta-block {
    background: linear-gradient(135deg, var(--fo-navy-900) 0%, var(--fo-navy-700) 100%);
    color: var(--fo-white);
    padding: 64px 0;
    text-align: center;
}
.fo-cta-title {
    color: var(--fo-white);
    font-size: clamp(24px, 3.4vw, 34px);
    margin: 0 0 12px;
    font-weight: 800;
}
.fo-cta-body {
    max-width: 640px;
    margin: 0 auto 28px;
    color: rgba(255,255,255,.88);
    line-height: 1.65;
    font-size: 17px;
}
.fo-cta-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.fo-cta-email {
    color: rgba(255,255,255,.85);
    text-decoration: none;
    font-weight: 500;
}
.fo-cta-email:hover { color: var(--fo-white); }
.fo-cta-phone { color: rgba(255,255,255,.7); font-size: 14px; margin: 0; }

/* FAQ accordion */
.fo-faq { padding: 56px 0; background: var(--fo-white); }
.fo-faq h2 {
    text-align: center;
    margin-bottom: 32px;
    font-size: clamp(22px, 3vw, 30px);
    color: var(--fo-navy-700);
}
.fo-faq-list { display: grid; gap: 10px; }
.fo-faq-item {
    background: var(--fo-gray-50);
    border-radius: var(--fo-radius);
    padding: 0;
    box-shadow: var(--fo-shadow-sm);
    overflow: hidden;
}
.fo-faq-item summary {
    padding: 18px 22px;
    font-weight: 600;
    color: var(--fo-navy-700);
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 48px;
    line-height: 1.45;
}
.fo-faq-item summary::-webkit-details-marker { display: none; }
.fo-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 300;
    color: var(--fo-orange-500);
    transition: transform .2s ease;
}
.fo-faq-item[open] summary::after { content: "−"; }
.fo-faq-answer {
    padding: 0 22px 18px;
    line-height: 1.7;
    color: var(--fo-gray-700);
}
.fo-faq-answer p { margin: 0 0 .6em; }

/* Home — quick nav cards */
.fo-quick-nav { padding: 56px 0; background: var(--fo-gray-50); }
.fo-quick-nav-title {
    text-align: center;
    font-size: clamp(22px, 3vw, 30px);
    color: var(--fo-navy-700);
    margin: 0 0 32px;
}
.fo-quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.fo-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    background: var(--fo-white);
    padding: 22px 20px;
    border-radius: var(--fo-radius);
    text-decoration: none;
    color: inherit;
    box-shadow: var(--fo-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
    border-top: 4px solid var(--fo-orange-500);
}
.fo-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--fo-shadow);
    color: inherit;
}
.fo-card-icon { font-size: 28px; }
.fo-card-title { font-weight: 700; color: var(--fo-navy-700); font-size: 18px; }
.fo-card-desc  { font-size: 14px; color: var(--fo-gray-500); line-height: 1.45; }

/* Responsive tweaks */
@media (max-width: 600px) {
    .fo-main { padding: 36px 0 20px; }
    .fo-pemesanan, .fo-faq, .fo-cta-block, .fo-quick-nav { padding: 40px 0; }
    .fo-cta-actions { flex-direction: column; }
}
