/* Layout reference: Acon (demo.phpscriptpoint.com/acon) — navy/gold construction
   template. Colors stay admin-configurable via site_settings CSS vars; this
   file matches Acon's structure (full-bleed hero, dark cards with a gold
   accent line, two-tone testimonial cards, navy FAQ accordion, gray stat/
   testimonial bands). Mobile-first, 44px touch targets, visible focus states. */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Lato', -apple-system, sans-serif;
  color: var(--color-text, #1A1A1A);
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
}
h1, h2, h3, h4 {
  font-family: 'Francois One', 'Lato', sans-serif;
  font-weight: 400;
  margin: 0 0 0.5em;
}
a { color: var(--color-primary, #0F2A4A); }
a:visited { color: inherit; }
img { max-width: 100%; display: block; }

/* Buttons / touch targets — 44px minimum, sharp corners + letter-spacing (Acon) */
.btn-cta, .btn-cta-outline, .btn-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 22px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.85rem;
  border-radius: 2px;
  border: none;
  cursor: pointer;
}
.btn-cta { background: var(--color-accent, #C9A227); color: #1A1A1A; }
.btn-cta-outline { background: var(--color-primary, #0F2A4A); color: #fff; }
.btn-readmore {
  background: var(--color-accent, #C9A227);
  color: #1A1A1A;
  padding: 0 16px;
  min-height: 38px;
  font-size: 0.8rem;
}
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--color-accent, #C9A227);
  outline-offset: 2px;
}

/* Top contact bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  padding: 8px 24px;
  background: var(--color-primary, #0F2A4A);
  color: #fff;
  font-size: 0.8rem;
}
.top-bar-contact span { margin-right: 16px; }
.top-bar-social a { color: #fff; margin-left: 12px; text-decoration: none; }

/* Navbar — hamburger below 768px (design doc Responsive spec) */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid #eee;
}
.logo {
  font-family: 'Francois One', sans-serif;
  font-size: 1.4rem;
  text-decoration: none;
  color: var(--color-primary, #0F2A4A);
}
.nav-toggle {
  display: none;
  min-width: 44px; min-height: 44px;
  background: none; border: none; font-size: 1.4rem; cursor: pointer;
}
.nav-links { display: flex; gap: 24px; }
.nav-links a {
  text-decoration: none;
  color: var(--color-text, #1A1A1A);
  min-height: 44px;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.nav-links a:hover { color: var(--color-accent, #C9A227); }

@media (max-width: 767px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 8px 24px;
  }
  .nav-links.open { display: flex; }
}

/* Inner-page banner (Acon "page-header" strip) — every non-home page */
.page-header {
  background: var(--color-primary, #0F2A4A);
  color: #fff;
  text-align: center;
  padding: 56px 24px;
}
.page-header h1 { margin: 0; text-transform: uppercase; letter-spacing: 0.03em; }

/* Hero slider — full-bleed photo, full-width dark scrim, two CTAs, arrows */
.hero-slider { position: relative; min-height: 520px; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; display: none; }
.hero-slide.active { display: block; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.hero-slide-copy {
  position: relative;
  height: 100%;
  min-height: 520px;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(15,42,74,0.6), rgba(15,42,74,0.6));
}
.hero-slide-copy h1 {
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.hero-slide-copy p { font-size: 1.05rem; max-width: 640px; }
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.15);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }
.hero-arrow:hover { background: var(--color-accent, #C9A227); border-color: var(--color-accent, #C9A227); color: #1A1A1A; }

/* Section rhythm */
.section { padding: 56px 24px; border-bottom: 1px solid #eee; }
.section-title {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.section-subtitle {
  text-align: center;
  color: #777;
  margin: 0 auto 32px;
  max-width: 640px;
}

/* Why Choose Us — photo left, dark navy feature panel right (Acon split) */
.why-choose-us-grid { display: grid; grid-template-columns: 1fr; max-width: 1100px; margin: 0 auto; }
@media (min-width: 768px) { .why-choose-us-grid { grid-template-columns: 1fr 1fr; } }
.why-choose-us-grid > img { height: 100%; object-fit: cover; min-height: 320px; }
.value-prop-panel {
  background: var(--color-primary, #0F2A4A);
  color: #fff;
  padding: 40px;
}
.value-prop-list { list-style: none; padding: 0; margin: 0; }
.value-prop-list li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.value-prop-list li:last-child { border-bottom: none; }
.value-prop-icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border: 2px solid var(--color-accent, #C9A227);
  color: var(--color-accent, #C9A227);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.value-prop-list strong { color: var(--color-accent, #C9A227); font-weight: 700; }

/* Stats strip — dark gray band with dividers (Acon counter section) */
.stats-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 40px 24px;
  background: #4a4a4a;
}
.stats-strip .stat {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.3);
  flex: 1 1 auto;
}
.stats-strip .stat:last-child { border-right: none; }
.stats-strip .num { display: block; font-size: 2.25rem; font-weight: 700; color: #fff; font-family: 'Francois One', sans-serif; }
.stats-strip .label { font-size: 0.85rem; color: #e0e0e0; text-transform: uppercase; letter-spacing: 0.03em; }

/* Dark navy cards with a gold accent line — Services / Portfolio (Acon style) */
.dark-card { border: none; border-radius: 0; padding: 0; overflow: hidden; background: var(--color-primary, #0F2A4A); border-top: 3px solid var(--color-accent, #C9A227); }
.dark-card img { height: 190px; width: 100%; object-fit: cover; }
.dark-card-body { padding: 20px; color: #fff; }
.dark-card-title {
  color: var(--color-accent, #C9A227);
  font-size: 1.1rem;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.dark-card-body p { color: #ccd3dd; font-size: 0.9rem; margin: 0 0 16px; }

.filter-tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-tabs .filter-tab {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid #ddd;
  background: #fff;
  color: var(--color-text, #1A1A1A);
  cursor: pointer;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.filter-tabs .filter-tab.active { background: var(--color-primary, #0F2A4A); color: #fff; border-color: var(--color-primary, #0F2A4A); }

/* Team — photo, gold divider, navy name strip */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; text-align: center; }
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card { border-top: 3px solid var(--color-accent, #C9A227); }
.team-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.team-card-body { background: var(--color-primary, #0F2A4A); padding: 14px 8px; }
.team-card-body strong { display: block; color: #fff; }
.team-card-body .muted { color: #b8c2d6; }

/* Testimonials — dark gray band, two-tone card (gold header / white body) */
.testimonials-section { background: #4a4a4a; }
.testimonials-section .section-title, .testimonials-section .section-subtitle { color: #fff; }
.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card { border-radius: 0; overflow: hidden; text-align: center; }
.testimonial-top { background: var(--color-accent, #C9A227); padding: 20px; }
.testimonial-top img, .testimonial-top .avatar-placeholder {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px;
  background: var(--color-primary, #0F2A4A);
  border: 3px solid #fff;
}
.testimonial-top strong { display: block; color: #1A1A1A; }
.testimonial-top span { color: #3a3a3a; font-size: 0.85rem; }
.testimonial-bottom { background: #fff; padding: 20px; text-align: left; }
.testimonial-bottom p { font-style: italic; color: #555; margin: 0; }

/* FAQ accordion — navy bars, gold toggle (Acon "Have Some Questions?") */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 6px;
  background: var(--color-primary, #0F2A4A);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  color: #fff;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 32px; height: 32px;
  margin-left: 16px;
  background: var(--color-accent, #C9A227);
  color: #1A1A1A;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0; padding: 16px 20px; background: #fff; color: #555; }

/* Photo gallery — image, gold divider, navy caption strip */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item { margin: 0; border-top: 3px solid var(--color-accent, #C9A227); }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery-item figcaption {
  font-size: 0.85rem;
  color: #fff;
  background: var(--color-primary, #0F2A4A);
  padding: 10px 12px;
  margin: 0;
}

/* Partners logo strip */
.partners-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px; }
.partners-strip img { max-height: 48px; filter: grayscale(1); opacity: 0.6; }
.partners-strip a, .partners-strip span { display: flex; align-items: center; text-decoration: none; color: #999; font-weight: 700; }

/* Bottom info strip + copyright bar */
.info-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 16px;
  padding: 28px 24px;
  background: var(--color-accent, #C9A227);
  color: #1A1A1A;
  text-align: center;
}
.info-strip strong { display: block; margin-bottom: 4px; text-transform: uppercase; font-family: 'Francois One', sans-serif; }
.copyright-bar {
  text-align: center;
  padding: 16px;
  background: #0a1a2e;
  color: #b8c2d6;
  font-size: 0.85rem;
}

/* Business units + articles: card grid — 1/2/4 columns (design doc Responsive spec) */
.grid-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .grid-cards { grid-template-columns: repeat(3, 1fr); } }
.grid-cards .card {
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
}

/* Articles — same dark-card family, plus a meta line and a real Read More link */
.article-card { text-decoration: none; display: block; }
.article-date {
  display: block;
  color: var(--color-accent, #C9A227);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.article-card .dark-card-title { color: #fff; }

/* Products: horizontal-scroll strip — deliberately not a grid (design doc AI-slop-rhythm fix) */
.scroll-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.scroll-strip .strip-card {
  flex: 0 0 240px;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 16px;
}

/* Locations: card grid, navy header + icon rows (was a plain list) */
.location-grid { max-width: 1000px; margin: 0 auto; }
.location-card { padding: 0; overflow: hidden; }
.location-card-header {
  background: var(--color-primary, #0F2A4A);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 20px;
}
.location-card-body { list-style: none; margin: 0; padding: 12px 20px; }
.location-card-body li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #444;
  font-size: 0.9rem;
}
.location-card-body li:last-child { border-bottom: none; }
.location-icon {
  flex: 0 0 auto;
  width: 28px; height: 28px;
  border: 2px solid var(--color-accent, #C9A227);
  color: var(--color-primary, #0F2A4A);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
}

.prose { max-width: 720px; margin: 0 auto; }
.prose h1 { font-size: 1.75rem; margin-top: 0; }
.prose h2 { font-size: 1.4rem; margin-top: 1.5em; }
.prose p { margin: 1em 0; }
.prose img { border-radius: 4px; margin-bottom: 24px; }
.prose ul, .prose ol { padding-left: 1.5em; }

/* Contact page — info column + map (Acon "Contact" layout) */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 32px; max-width: 1100px; margin: 0 auto; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info-list { list-style: none; margin: 24px 0 0; padding: 0; }
.contact-info-list li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}
.contact-info-list .contact-icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border: 2px solid var(--color-accent, #C9A227);
  color: var(--color-primary, #0F2A4A);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.contact-map { border: 0; width: 100%; height: 100%; min-height: 320px; }

/* Article detail — content + "Berita Lainnya" sidebar (Acon "News" layout) */
.article-layout { display: grid; grid-template-columns: 1fr; gap: 40px; max-width: 1100px; margin: 0 auto; }
@media (min-width: 900px) { .article-layout { grid-template-columns: 2fr 1fr; } }
.article-meta {
  display: inline-block;
  background: var(--color-accent, #C9A227);
  color: #1A1A1A;
  font-weight: 700;
  padding: 8px 16px;
  margin-bottom: 16px;
}
.article-sidebar h3 {
  text-transform: uppercase;
  font-size: 1rem;
  border-bottom: 2px solid var(--color-accent, #C9A227);
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.article-sidebar-list { list-style: none; margin: 0; padding: 0; }
.article-sidebar-list li { border-bottom: 1px dashed #ddd; }
.article-sidebar-list a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  text-decoration: none;
  color: var(--color-text, #1A1A1A);
}
.article-sidebar-list img { width: 56px; height: 56px; object-fit: cover; flex: 0 0 auto; }
.article-sidebar-list a:hover { color: var(--color-primary, #0F2A4A); }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding: 48px 24px;
  font-size: 0.9rem;
  background: #0a1a2e;
  color: #b8c2d6;
}
.site-footer > div { flex: 1 1 200px; }
.site-footer h3 {
  color: #fff;
  font-size: 1.05rem;
  text-transform: uppercase;
  border-bottom: 2px solid var(--color-accent, #C9A227);
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.site-footer a {
  display: block;
  color: #b8c2d6;
  text-decoration: none;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.15);
}
.site-footer a:visited { color: #b8c2d6; }
.muted { color: #666; font-size: 0.85rem; }
