/* =========================================================================
   Bali Office Systems inc. — Modern shared stylesheet
   ========================================================================= */
:root{
  --bg:            #ffffff;
  --surface:       #f6f1e9;
  --surface-2:     #efe7da;
  --primary:       #1f3a5f;   /* deep navy */
  --primary-soft:  #2c507f;
  --accent:        #c96f1e;   /* warm orange */
  --accent-soft:   #f3e4d1;
  --text:          #2b2b2b;
  --muted:         #5c5c5c;
  --border:        #e4dccf;
  --white:         #ffffff;
  --radius:        10px;
  --shadow:        0 6px 20px rgba(31,58,95,.08);
  --maxw:          1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.65;
  font-size: 1rem;
}

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

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: var(--shadow);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
}
.brand img { width: 48px; height: auto; display: block; }
.brand span { line-height: 1.2; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.site-nav a {
  display: block;
  color: #e8eef6;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 500;
}
.site-nav a:hover { background: rgba(255,255,255,.12); text-decoration: none; }
.site-nav a[aria-current="page"] {
  background: var(--accent);
  color: #fff;
}

/* ---------- Layout ---------- */
main { display: block; }
.page { padding: 40px 0 56px; }
.page-intro { text-align: center; margin-bottom: 36px; }
.page-intro h1 { margin: 0 0 12px; }
.page-intro p { max-width: 760px; margin: 0 auto; color: var(--muted); }

section { margin-bottom: 40px; }

h1 { font-size: 2.1rem; color: var(--primary); margin: 0 0 16px; }
h2 { font-size: 1.5rem; color: var(--primary); margin: 0 0 14px; }
h3 { font-size: 1.15rem; color: var(--primary); margin: 0 0 8px; }

p { margin: 0 0 14px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-soft) 60%, #3d6a9b 100%);
  color: #fff;
  padding: 56px 0;
  text-align: center;
}
.hero h1 { color: #fff; font-size: 2.5rem; margin: 0 0 16px; }
.hero p.lead { font-size: 1.15rem; max-width: 760px; margin: 0 auto 22px; color: #e8eef6; }
.hero .cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 8px;
  transition: background .2s;
}
.btn:hover { background: #a85a15; text-decoration: none; color:#fff; }
.btn.secondary { background: rgba(255,255,255,.16); color:#fff; }
.btn.secondary:hover { background: rgba(255,255,255,.28); }

/* ---------- Grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 820px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }

/* ---------- Two column section ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Accent band ---------- */
.band { background: var(--accent-soft); border-radius: var(--radius); padding: 26px; }
.band h2 { margin-top: 0; }

/* ---------- Lists ---------- */
ul.ticks { list-style: none; padding-left: 0; }
ul.ticks li { padding-left: 26px; position: relative; margin-bottom: 8px; }
ul.ticks li::before {
  content: "\2713";
  position: absolute; left: 0; top: 0;
  color: var(--accent);
  font-weight: 700;
}
ol.numbers { padding-left: 20px; }
ol.numbers li { margin-bottom: 8px; }

/* ---------- FAQ ---------- */
.faq-item { margin-bottom: 26px; border-bottom: 1px solid var(--border); padding-bottom: 18px; }
.faq-item h3 { margin-bottom: 6px; }
.faq-q { font-weight: 700; }
.faq-a { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary);
  color: #d6dde7;
  padding: 34px 0 24px;
  margin-top: 20px;
}
.site-footer a { color: #cfd9e6; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 26px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; margin: 0 0 10px; font-size: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 22px; padding-top: 16px;
  font-size: .85rem;
  text-align: center;
}

/* ---------- Resources / related reads ---------- */
.resource-list { list-style: none; margin: 0; padding: 0; }
.resource-list li {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
}
.resource-list .meta { font-size: .85rem; color: var(--muted); }

/* ---------- Contact / info table ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 720px) { .info-grid { grid-template-columns: 1fr; } }
.info-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; text-align: center; }
.info-card .icon { font-size: 1.6rem; }

/* ---------- Utility ---------- */
.visually-hidden { position: absolute !important; clip: rect(1px,1px,1px,1px); padding:0; border:0; height:1px; width:1px; overflow:hidden; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.mt-2 { margin-top: 18px; }

@media (max-width: 560px) {
  h1 { font-size: 1.8rem; }
  .hero h1 { font-size: 2rem; }
  .nav-wrap { justify-content: center; text-align: center; }
  .site-nav ul { justify-content: center; }
}
