/* ============================================================
   EksRum Kanopi Baja Ringan — Design System "Flat & Bold"
   Primary  #1E40AF | Secondary #3B82F6 | CTA #F97316
   ============================================================ */

:root {
    --primary: #1E40AF;
    --primary-dark: #172B8A;
    --secondary: #3B82F6;
    --cta: #F97316;
    --cta-hover: #EA580C;
    --text: #1F2937;
    --text-soft: #4B5563;
    --muted: #6B7280;
    --bg: #FFFFFF;
    --bg-soft: #F3F7FF;
    --border: #E5E9F2;
    --dark: #0B1220;
    --radius: 14px;
    --shadow: 0 4px 20px rgba(30, 64, 175, 0.10);
    --shadow-lg: 0 12px 40px rgba(30, 64, 175, 0.16);
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    font-size: 16px;
}

img { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
    line-height: 1.25;
    color: var(--dark);
    font-weight: 800;
}

h1 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: 0.75rem; }
h2 { font-size: clamp(1.3rem, 2.6vw, 1.8rem); margin: 2rem 0 0.9rem; }
h3 { font-size: 1.15rem; margin: 1.4rem 0 0.5rem; }
p { margin-bottom: 1rem; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }

/* ---------- Top bar ---------- */
.topbar {
    background: var(--dark);
    color: #DFE7F8;
    font-size: 0.82rem;
    padding: 7px 0;
}
.topbar .container { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: space-between; }
.topbar a { color: #DFE7F8; }
.topbar a:hover { color: #fff; text-decoration: none; }

/* ---------- Navbar ---------- */
.navbar {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar .container { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--dark); }
.brand img { width: 40px; height: 40px; }
.brand small { display: block; font-size: 0.7rem; font-weight: 600; color: var(--muted); letter-spacing: 0.3px; }
.nav-links { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; }
.nav-links a { padding: 8px 12px; border-radius: 8px; color: var(--text); font-size: 0.92rem; font-weight: 600; }
.nav-links a:hover { background: var(--bg-soft); color: var(--primary); text-decoration: none; }
.wa-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--cta); color: #fff !important;
    padding: 10px 16px !important; border-radius: 10px;
    font-weight: 700;
}
.nav-toggle {
    display: none; background: none; border: none; font-size: 1.5rem;
    color: var(--dark); cursor: pointer; margin-left: auto; padding: 4px 8px;
}
.wa-btn:hover { background: var(--cta-hover); color: #fff !important; text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 55%, #0F1B4C 100%);
    color: #fff;
    padding: 64px 0 60px;
}
.hero .container { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.hero p.lead { font-size: 1.12rem; color: #D7E2FF; margin-bottom: 1.2rem; }
.hero .check-list { margin: 1.2rem 0 1.5rem; }
.hero .check-list div { margin-bottom: 0.45rem; }
.hero .check-list i, .check-list i { color: #4ADE80; font-weight: 900; margin-right: 8px; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-weight: 700; border-radius: 12px; padding: 13px 24px; font-size: 1rem;
    border: 2px solid transparent; cursor: pointer; transition: all .2s;
}
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1DA851; color: #fff; text-decoration: none; }
.btn-outline { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); color: #fff; text-decoration: none; }
.btn-orange { background: var(--cta); color: #fff; }
.btn-orange:hover { background: var(--cta-hover); color: #fff; text-decoration: none; }
.btn-blue { background: var(--primary); color: #fff; }
.btn-blue:hover { background: var(--primary-dark); color: #fff; text-decoration: none; }
.hero-card {
    background: #fff; color: var(--text); border-radius: var(--radius);
    padding: 24px; box-shadow: var(--shadow-lg);
}
.hero-card h3 { color: var(--dark); }
.hero-card .meta { font-size: 0.92rem; color: var(--muted); margin-bottom: 6px; }
.hero-card .hr { border-bottom: 1px solid var(--border); margin: 12px 0; }
.price-big { font-size: 1.4rem; font-weight: 800; color: var(--cta); }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.trust-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-top: 18px; padding-bottom: 18px; }
.trust-item { display: flex; gap: 12px; align-items: center; }
.trust-item .ic { width: 44px; height: 44px; flex: none; border-radius: 10px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.trust-item b { display: block; color: var(--dark); font-size: 0.95rem; }
.trust-item span { font-size: 0.82rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.section-head .kicker { color: var(--cta); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem; }
.section-head h2 { margin-top: 6px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px; box-shadow: 0 2px 10px rgba(11,18,32,0.05);
}
.card .ic { width: 52px; height: 52px; border-radius: 12px; background: var(--bg-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 14px; }
.card h3 { font-size: 1.05rem; }
.card p { font-size: 0.93rem; color: var(--text-soft); margin: 0; }

.feature-list li { list-style: none; margin-bottom: 0.6rem; padding-left: 26px; position: relative; }
.feature-list li::before { content: "✔"; position: absolute; left: 0; color: #16A34A; font-weight: 900; }

.cta-banner {
    background: linear-gradient(90deg, var(--cta), #FB923C);
    border-radius: var(--radius); color: #fff; padding: 30px 34px;
    display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; margin: 0 0 6px; }
.cta-banner p { margin: 0; color: #FFF3E9; }

/* ---------- Price table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table.pricetable { width: 100%; border-collapse: collapse; min-width: 560px; }
table.pricetable th { background: var(--primary); color: #fff; text-align: left; padding: 12px 14px; font-size: 0.9rem; }
table.pricetable td { padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 0.94rem; }
table.pricetable tr:nth-child(even) { background: var(--bg-soft); }
table.pricetable .price { font-weight: 800; color: var(--cta); white-space: nowrap; }

.price-note { margin-top: 12px; font-size: 0.85rem; color: var(--muted); }

/* ---------- FAQ accordion ---------- */
.faq-item { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; background: #fff; }
.faq-q { padding: 16px 18px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--dark); }
.faq-q::after { content: "+"; font-size: 1.4rem; color: var(--cta); font-weight: 700; }
.faq-item.open .faq-q::after { content: "–"; }
.faq-a { padding: 0 18px 16px; display: none; color: var(--text-soft); font-size: 0.95rem; }
.faq-item.open .faq-a { display: block; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 0.85rem; color: var(--muted); padding: 14px 0 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }

/* ---------- Article / content ---------- */
.article { max-width: 860px; margin: 0 auto; }
.article .lede { font-size: 1.13rem; color: var(--text-soft); line-height: 1.7; border-left: 4px solid var(--cta); padding-left: 16px; margin: 1.2rem 0 1.6rem; }
.article ul { padding-left: 24px; margin-bottom: 1rem; }
.article li { margin-bottom: 0.4rem; }
.article .faq-item { margin-top: 14px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 0.88rem; margin-bottom: 18px; }
.tag { display: inline-block; background: var(--bg-soft); color: var(--primary); border-radius: 999px; padding: 2px 12px; font-size: 0.78rem; font-weight: 700; margin: 0 4px 4px 0; }

/* ---------- Blog index / related cards ---------- */
.post-card { display: block; height: 100%; }
.post-card .meta { font-size: 0.8rem; color: var(--muted); margin-bottom: 6px; }
.post-card h3 { font-size: 1rem; transition: color .2s; }
.post-card:hover h3 { color: var(--cta); }
.post-card p { font-size: 0.9rem; color: var(--text-soft); }

/* ---------- CTA section (bottom of offline page) ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { text-align: center; }
.contact-card .ic { margin: 0 auto 12px; width: 56px; height: 56px; border-radius: 50%; background: var(--bg-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.contact-card h3 { font-size: 1rem; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #B8C4E0; font-size: 0.9rem; padding: 46px 0 20px; }
.footer .container { display: grid; grid-template-columns: 1.6fr 1.15fr 1.3fr 0.9fr; gap: 32px; align-items: start; }
.footer h4 { color: #fff; font-size: 0.98rem; margin-bottom: 14px; }
.footer a { color: #B8C4E0; }
.footer a:hover { color: #fff; text-decoration: none; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 7px; line-height: 1.5; }
.footer .brand-col p { margin-top: 12px; }
.footer .wa-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 34px; padding-top: 16px; text-align: center; font-size: 0.8rem; }

/* ---------- Floating WA ---------- */
.wa-float {
    position: fixed; right: 18px; bottom: 18px; z-index: 200;
    width: 58px; height: 58px; border-radius: 50%;
    background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(37,211,102,0.45);
}
.wa-float svg { display: block; }
.wa-float:hover { transform: scale(1.07); background: #1DA851; color: #fff; text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .hero .container, .grid-2, .grid-4 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
    .contact-cards { grid-template-columns: 1fr; }
    .footer .container { grid-template-columns: 1fr 1fr; }
    .nav-links { order: 3; width: 100%; justify-content: center; }
    .nav-toggle { display: block; }
    .nav-links { display: none; }
    .nav-links.show { display: flex; flex-direction: column; }
}
@media (max-width: 640px) {
    .grid-3 { grid-template-columns: 1fr; }
    .trust-strip .container { grid-template-columns: 1fr 1fr; }
    .footer .container { grid-template-columns: 1fr; }
    table.pricetable { min-width: 520px; }
}