/* ===== Toko Bahan Bangunan — style "Corporate Project Partner" ===== */
/* B2B distributor/korporat: navy + gold, RFQ (bukan cart), storytelling korporat */

:root {
  --bg: #f4f6f9;
  --bg-alt: #eaeef3;
  --surface: #ffffff;
  --text: #101826;
  --text-muted: #5a6779;
  --border: #dfe4ea;
  --navy: #0b2545;
  --navy-dark: #071a33;
  --steel: #1d3557;
  --gold: #c9973e;
  --gold-light: #e4b565;
  --success: #1f9d55;
  --danger: #d64545;
  --info: #2b7fd1;
  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 14px;
  --shadow: 0 10px 26px rgba(11, 37, 69, 0.12);
  --shadow-lg: 0 24px 48px rgba(11, 37, 69, 0.18);
  --transition: 240ms ease;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
}
[data-theme="dark"] {
  --bg: #0a111d;
  --bg-alt: #0f1a2c;
  --surface: #121e30;
  --text: #edf1f7;
  --text-muted: #a4b1c4;
  --border: #223349;
  --navy: #16345c;
  --navy-dark: #0a1a30;
  --steel: #2a4a76;
  --gold: #d9ae5c;
  --gold-light: #eccb8c;
  --shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 26px 56px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.22; color: var(--text); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.section-kicker::before { content: ""; width: 22px; height: 2px; background: var(--gold); display: inline-block; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; max-width: none; }
.section-title { font-size: 2rem; }
.section-sub { color: var(--text-muted); margin-top: 12px; font-size: 1.02rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 26px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.92rem; border: 1px solid transparent; cursor: pointer; transition: all var(--transition); position: relative; overflow: hidden; font-family: var(--font-body); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: #1a1204; }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--border); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
[data-theme="dark"] .btn-outline:hover { color: var(--gold); border-color: var(--gold); }
.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { color: var(--text); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }
.btn-block { width: 100%; justify-content: center; }

/* Demo banner + skip link */
.demo-banner { background: var(--navy); color: #fff; text-align: center; font-size: 0.78rem; padding: 8px 12px; position: relative; z-index: 500; }
.demo-banner strong { color: var(--gold-light); }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 999; }
.skip-link:focus { left: 10px; top: 10px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 400; background: var(--surface); border-bottom: 1px solid var(--border); transition: box-shadow var(--transition), padding var(--transition); }
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 24px; max-width: 1200px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; }
.brand-mark { width: 42px; height: 42px; border-radius: var(--radius-sm); background: linear-gradient(135deg, var(--navy), var(--steel)); display: flex; align-items: center; justify-content: center; color: var(--gold-light); font-size: 1rem; font-weight: 800; flex-shrink: 0; }
.brand-sub { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.66rem; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 4px; list-style: none; }
.main-nav > li { position: relative; }
.main-nav > li > a, .main-nav > li > button { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.88rem; background: none; border: none; cursor: pointer; font-family: var(--font-body); color: var(--text); }
.main-nav > li > a:hover, .main-nav > li > button:hover, .main-nav > li.active > a { background: var(--bg-alt); color: var(--navy); }
[data-theme="dark"] .main-nav > li > a:hover, [data-theme="dark"] .main-nav > li > button:hover { color: var(--gold-light); }

.mega-panel { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 22px; display: grid; grid-template-columns: repeat(3, 200px) 220px; gap: 6px 22px; width: max-content; opacity: 0; visibility: hidden; transition: opacity var(--transition), transform var(--transition), visibility var(--transition); }
.main-nav > li:hover .mega-panel, .main-nav > li.open .mega-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-col-title { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.mega-col a { display: block; padding: 7px 8px; border-radius: 5px; font-size: 0.86rem; color: var(--text); }
.mega-col a:hover { background: var(--bg-alt); color: var(--navy); }
[data-theme="dark"] .mega-col a:hover { color: var(--gold-light); }
.mega-promo { background: linear-gradient(160deg, var(--navy), var(--navy-dark)); border-radius: var(--radius-sm); padding: 18px; color: #fff; display: flex; flex-direction: column; gap: 10px; }
.mega-promo strong { color: var(--gold-light); font-size: 0.9rem; }
.mega-promo p { font-size: 0.78rem; color: rgba(255,255,255,0.8); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 40px; height: 40px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text); position: relative; transition: all var(--transition); }
.icon-btn:hover { border-color: var(--navy); color: var(--navy); transform: translateY(-2px); }
[data-theme="dark"] .icon-btn:hover { color: var(--gold); border-color: var(--gold); }
.badge-count { position: absolute; top: -6px; right: -6px; background: var(--gold); color: #1a1204; font-size: 0.62rem; min-width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.hamburger { display: none; width: 40px; height: 40px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; }
.hamburger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: 72px 24px 90px; background: radial-gradient(ellipse at top right, rgba(201,151,62,0.10), transparent 55%), var(--bg); overflow: hidden; }
.hero-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 0.74rem; font-weight: 700; padding: 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text-muted); }
.hero-badge i { color: var(--gold); }
.hero h1 { font-size: 2.7rem; letter-spacing: -0.01em; }
.hero h1 em { font-style: normal; color: var(--navy); border-bottom: 3px solid var(--gold); }
[data-theme="dark"] .hero h1 em { color: var(--gold-light); }
.hero p.lead { margin-top: 20px; font-size: 1.08rem; color: var(--text-muted); max-width: 520px; }
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats-mini { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats-mini div strong { display: block; font-size: 1.5rem; font-family: var(--font-display); color: var(--navy); }
[data-theme="dark"] .hero-stats-mini div strong { color: var(--gold-light); }
.hero-stats-mini div span { font-size: 0.78rem; color: var(--text-muted); }
.hero-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(11,37,69,0.35), transparent 60%); }
.hero-visual-tag { position: absolute; bottom: 18px; left: 18px; background: rgba(11,37,69,0.85); backdrop-filter: blur(6px); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-size: 0.8rem; z-index: 2; display: flex; align-items: center; gap: 8px; }
.hero-visual-tag i { color: var(--gold-light); }

/* Client marquee */
.client-strip { padding: 30px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); overflow: hidden; }
.client-strip-label { text-align: center; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-muted); margin-bottom: 18px; }
.client-track { display: flex; gap: 56px; width: max-content; animation: marquee 26s linear infinite; align-items: center; }
.client-track img { height: 30px; opacity: 0.6; filter: grayscale(1); transition: opacity var(--transition), filter var(--transition); }
.client-track img:hover { opacity: 1; filter: grayscale(0); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Business lines (Lini Bisnis) */
.division-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.division-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; cursor: pointer; transition: all var(--transition); position: relative; }
.division-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.division-icon { width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--bg-alt); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.division-icon img { width: 28px; height: 28px; }
.division-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.division-card p { font-size: 0.86rem; color: var(--text-muted); margin-bottom: 14px; }
.division-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.division-card .tags span { font-size: 0.7rem; padding: 4px 9px; border-radius: 999px; background: var(--bg-alt); color: var(--text-muted); }
.division-card-actions { display: flex; gap: 10px; align-items: center; }
.division-card-actions .btn { flex: 1; }

/* Skeleton */
.skeleton { position: relative; overflow: hidden; background: var(--bg-alt); border-radius: var(--radius); }
.skeleton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent); transform: translateX(-100%); animation: shimmer 1.3s infinite; }
[data-theme="dark"] .skeleton::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent); }
@keyframes shimmer { to { transform: translateX(100%); } }
.skeleton-card { height: 260px; }

/* Project case studies */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project-card { border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow); cursor: pointer; aspect-ratio: 4/3; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.project-card:hover img { transform: scale(1.06); }
.project-card-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,37,69,0.92) 0%, rgba(11,37,69,0.15) 60%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; color: #fff; }
.project-card-overlay .cat { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-light); font-weight: 700; }
.project-card-overlay h4 { color: #fff; font-size: 1.05rem; margin: 6px 0 4px; }
.project-card-overlay span { font-size: 0.78rem; color: rgba(255,255,255,0.75); }

/* Stats */
.stats-band { background: linear-gradient(120deg, var(--navy), var(--navy-dark)); color: #fff; border-radius: var(--radius-lg); padding: 48px 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-item { text-align: center; }
.stat-item strong { display: block; font-size: 2.2rem; font-family: var(--font-display); color: var(--gold-light); }
.stat-item span { font-size: 0.82rem; color: rgba(255,255,255,0.75); }
.cert-row { display: flex; justify-content: center; gap: 34px; margin-top: 34px; flex-wrap: wrap; }
.cert-item { display: flex; align-items: center; gap: 9px; font-size: 0.82rem; color: var(--text-muted); font-weight: 600; }
.cert-item i { color: var(--gold); font-size: 1.1rem; }

/* Why partner */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card { text-align: left; padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: all var(--transition); }
.feature-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.feature-card i { font-size: 1.5rem; color: var(--navy); width: 54px; height: 54px; border-radius: var(--radius-sm); background: var(--bg-alt); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
[data-theme="dark"] .feature-card i { color: var(--gold-light); }
.feature-card h4 { font-size: 1rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.85rem; color: var(--text-muted); }

/* Timeline */
.timeline { position: relative; max-width: 780px; margin: 0 auto; padding-left: 32px; border-left: 2px solid var(--border); }
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: -39px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--gold); }
.timeline-item .year { font-family: var(--font-display); color: var(--navy); font-size: 1.2rem; font-weight: 700; }
[data-theme="dark"] .timeline-item .year { color: var(--gold-light); }
.timeline-item h4 { font-size: 1rem; margin: 4px 0 6px; }
.timeline-item p { font-size: 0.86rem; color: var(--text-muted); }

/* Testimonials */
.testi-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.testi-card .stars { color: var(--gold); margin-bottom: 12px; font-size: 0.86rem; }
.testi-card p.quote { font-size: 0.92rem; color: var(--text); margin-bottom: 18px; font-style: italic; }
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-person img { width: 42px; height: 42px; border-radius: 50%; }
.testi-person strong { display: block; font-size: 0.88rem; }
.testi-person span { font-size: 0.76rem; color: var(--text-muted); }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; cursor: pointer; font-weight: 600; font-size: 0.94rem; }
.faq-q i { color: var(--gold); transition: transform var(--transition); flex-shrink: 0; margin-left: 12px; }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--transition); }
.faq-a p { padding: 0 22px 18px; color: var(--text-muted); font-size: 0.88rem; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--steel)); border-radius: var(--radius-lg); padding: 56px 40px; text-align: center; color: #fff; }
.cta-band h2 { color: #fff; font-size: 1.8rem; }
.cta-band p { color: rgba(255,255,255,0.82); margin-top: 12px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; justify-content: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }

/* Newsletter */
.newsletter-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px 40px; flex-wrap: wrap; }
.newsletter-form { display: flex; gap: 10px; flex: 1; min-width: 280px; }
.newsletter-form input { flex: 1; padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); color: var(--text); font-family: var(--font-body); }
.newsletter-form input:focus { outline: none; border-color: var(--gold); }

/* Footer */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.78); padding: 64px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 40px; }
.footer-grid h4 { color: #fff; font-size: 0.9rem; margin-bottom: 16px; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { font-size: 0.86rem; color: rgba(255,255,255,0.68); }
.footer-grid a:hover { color: var(--gold-light); }
.footer-brand p { font-size: 0.86rem; margin: 14px 0 18px; max-width: 300px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; }
.footer-contact i { color: var(--gold-light); width: 16px; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.78rem; color: rgba(255,255,255,0.55); }

/* Modal (Quick view / project detail) */
.modal-overlay { position: fixed; inset: 0; background: rgba(9,17,29,0.6); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; z-index: 900; opacity: 0; visibility: hidden; transition: opacity var(--transition), visibility var(--transition); padding: 24px; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-panel { background: var(--surface); border-radius: var(--radius-lg); max-width: 640px; width: 100%; max-height: 86vh; overflow-y: auto; transform: scale(0.94); transition: transform var(--transition); box-shadow: var(--shadow-lg); }
.modal-overlay.active .modal-panel { transform: scale(1); }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.modal-header h3 { font-size: 1.15rem; }
.modal-close { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); background: transparent; cursor: pointer; color: var(--text); }
.modal-close:hover { background: var(--bg-alt); }
.modal-body { padding: 24px; }
.modal-body img { border-radius: var(--radius); margin-bottom: 16px; }

/* RFQ Drawer (pengganti cart — B2B: Daftar Kebutuhan Proyek) */
.rfq-drawer { position: fixed; top: 0; right: 0; height: 100%; width: 420px; max-width: 92vw; background: var(--surface); box-shadow: var(--shadow-lg); z-index: 950; transform: translateX(100%); transition: transform 320ms ease; display: flex; flex-direction: column; }
.rfq-drawer.active { transform: translateX(0); }
.rfq-drawer-header { padding: 22px 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.rfq-drawer-header h3 { font-size: 1.1rem; }
.rfq-steps { display: flex; gap: 6px; padding: 16px 24px 0; }
.rfq-steps span { flex: 1; height: 4px; border-radius: 2px; background: var(--border); }
.rfq-steps span.active { background: var(--gold); }
.rfq-drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.rfq-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); align-items: center; }
.rfq-item img { width: 52px; height: 52px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; background: var(--bg-alt); }
.rfq-item-info { flex: 1; }
.rfq-item-info strong { display: block; font-size: 0.88rem; }
.rfq-item-info span { font-size: 0.76rem; color: var(--text-muted); }
.rfq-item-remove { background: none; border: none; color: var(--danger); cursor: pointer; font-size: 1rem; }
.rfq-empty { text-align: center; padding: 40px 20px; color: var(--text-muted); }
.rfq-drawer-footer { padding: 20px 24px; border-top: 1px solid var(--border); }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 7px; }
.form-field input, .form-field textarea, .form-field select { width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 0.9rem; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--gold); }
.form-field textarea { min-height: 90px; resize: vertical; }

/* Toast */
.toast-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 1200; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--navy-dark); color: #fff; padding: 14px 20px; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; font-size: 0.86rem; transform: translateX(120%); opacity: 0; transition: all 320ms ease; min-width: 260px; }
.toast.show { transform: translateX(0); opacity: 1; }
.toast i { color: var(--gold-light); }

/* Promo / lead-magnet popup */
.promo-popup .modal-panel { max-width: 460px; text-align: center; padding: 8px; }
.promo-popup .promo-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; margin: 24px auto 6px; font-size: 1.6rem; color: var(--gold); }

/* Back to top */
.back-to-top { position: fixed; bottom: 24px; left: 24px; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all var(--transition); z-index: 300; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); color: var(--navy-dark); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 640ms ease, transform 640ms ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-left { transform: translateX(-30px); }
.reveal-left.in { transform: translateX(0); }
.reveal-right { transform: translateX(30px); }
.reveal-right.in { transform: translateX(0); }

/* Mobile nav */
.mobile-nav { position: fixed; top: 0; right: 0; height: 100%; width: 300px; max-width: 86vw; background: var(--surface); z-index: 850; transform: translateX(100%); transition: transform 320ms ease; padding: 24px; overflow-y: auto; box-shadow: var(--shadow-lg); }
.mobile-nav.active { transform: translateX(0); }
.mobile-nav-overlay { position: fixed; inset: 0; background: rgba(9,17,29,0.5); z-index: 840; opacity: 0; visibility: hidden; transition: all var(--transition); }
.mobile-nav-overlay.active { opacity: 1; visibility: visible; }
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; gap: 4px; margin-top: 30px; }
.mobile-nav > ul > li > a, .mobile-nav .mobile-sub-toggle { display: flex; justify-content: space-between; padding: 13px 8px; font-weight: 600; border-bottom: 1px solid var(--border); cursor: pointer; background: none; border-left: none; border-right: none; border-top: none; width: 100%; text-align: left; color: var(--text); font-family: var(--font-body); font-size: 0.94rem; }
.mobile-sub { list-style: none; padding-left: 14px; display: none; }
.mobile-sub.open { display: block; }
.mobile-sub li a { padding: 10px 8px; display: block; font-size: 0.86rem; color: var(--text-muted); }

/* Responsive */
@media (max-width: 1024px) {
  .division-grid, .project-grid, .testi-track { grid-template-columns: repeat(2, 1fr); }
  .stats-band, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; height: 320px; }
}
@media (max-width: 768px) {
  .main-nav, .header-actions .btn-lg-hide { display: none; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 2rem; }
  .section { padding: 60px 0; }
  .section-head.split { flex-direction: column; align-items: flex-start; }
  .division-grid, .project-grid, .testi-track, .stats-band, .feature-grid { grid-template-columns: 1fr; }
  .newsletter-band { flex-direction: column; align-items: stretch; text-align: center; }
  .cert-row { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
