/* ═══════════════════════════════════════════════════
   HRA — Henny Riyadi & Associates
   Shared Stylesheet · May 2026
═══════════════════════════════════════════════════ */

:root {
  --navy:          #1a2744;
  --navy-deep:     #0f1a30;
  --navy-mid:      #243258;
  --copper:        #ad7a4a;
  --copper-light:  #c49a76;
  --copper-pale:   #f0e6d8;
  --purple:        #6b3fa0;
  --purple-mid:    #8657b8;
  --purple-pale:   rgba(107,63,160,0.09);
  --purple-border: rgba(107,63,160,0.20);
  --cream:         #faf7f2;
  --white:         #ffffff;
  --text-dark:     #1a2744;
  --text-mid:      #4a5568;
  --text-muted:    #718096;
  --border:        rgba(26,39,68,0.10);
  --border-cu:     rgba(173,122,74,0.24);
  --font-display:  'Libre Bodoni', Georgia, serif;
  --font-body:     'Figtree', sans-serif;
  --nav-h:         72px;
  --ease:          0.24s ease;
  --max-w:         1200px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── NAV ── */
.hra-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-h);
  background: rgba(250,247,242,0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--ease);
}
.hra-nav.scrolled { box-shadow: 0 2px 36px rgba(15,26,48,0.09); }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}

/* Logo badge — CSS only, reliable cross-browser */
.nav-badge {
  width: 40px; height: 40px;
  background: var(--navy-deep);
  border-radius: 4px;
  border: 1px solid rgba(134,87,184,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-badge span {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #4a7de8 0%, #9b6fd4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.nav-brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.nav-brand-main {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.005em;
}
.nav-brand-sub {
  font-size: 9px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-mid);
  text-decoration: none;
  transition: color var(--ease);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: 2px;
  font-weight: 500 !important;
  font-size: 13px !important;
  letter-spacing: 0.02em !important;
  transition: background var(--ease), transform 0.15s !important;
  white-space: nowrap;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--copper) !important; transform: translateY(-1px) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--navy); transition: all 0.25s; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  padding: 13px 30px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background var(--ease), transform 0.15s, box-shadow var(--ease);
}
.btn-primary:hover { background: var(--copper); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(173,122,74,0.28); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  border-bottom: 1px solid var(--border-cu);
  padding-bottom: 2px;
  transition: gap var(--ease), color var(--ease), border-color var(--ease);
}
.btn-ghost:hover { gap: 14px; color: var(--copper); border-color: var(--copper); }

.btn-outline {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.26);
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 13px 30px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 400;
  transition: border-color var(--ease), color var(--ease);
}
.btn-outline:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }

/* ── SECTION SHARED ── */
.section-wrap { max-width: var(--max-w); margin: 0 auto; }

.sec-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sec-eyebrow::before {
  content: '';
  width: 20px; height: 1px;
  background: linear-gradient(to right, var(--copper), var(--purple-mid));
  flex-shrink: 0;
}

.sec-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.sec-title em { font-style: italic; font-weight: 400; color: var(--copper); }
.sec-title.light { color: var(--white); }

.sec-body {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.85;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 140px 2rem 96px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(15,26,48,0.88), rgba(15,26,48,0.93)), center/cover no-repeat;
}
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1; max-width: 760px; }
.page-hero-eyebrow {
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--copper); margin-bottom: 20px; display: flex; align-items: center; gap: 10px;
}
.page-hero-eyebrow::before { content: ''; width: 26px; height: 1px; background: linear-gradient(to right, var(--copper), var(--purple-mid)); }
.page-hero-title { font-family: var(--font-display); font-size: clamp(38px,5.5vw,68px); font-weight: 700; line-height: 1.06; color: var(--white); letter-spacing: -0.02em; margin-bottom: 20px; }
.page-hero-title em { font-style: italic; font-weight: 400; color: var(--copper); }
.page-hero-sub { font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.52); line-height: 1.85; max-width: 560px; }

/* Entrance animations for hero text */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.page-hero-eyebrow { animation: fadeUp 0.6s ease both 0.1s; }
.page-hero-title    { animation: fadeUp 0.6s ease both 0.18s; }
.page-hero-sub      { animation: fadeUp 0.6s ease both 0.26s; }

/* ── CTA BAND ── */
.cta-band {
  background: var(--navy);
  padding: 80px 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(to right, var(--copper), var(--purple-mid)); }
.cta-band::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(107,63,160,0.09) 0%, transparent 65%); pointer-events: none; }
.cta-band-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1; }
.cta-band-title { font-family: var(--font-display); font-size: clamp(28px,3.5vw,44px); font-weight: 700; color: var(--white); margin-bottom: 14px; line-height: 1.12; }
.cta-band-title em { font-style: italic; font-weight: 400; color: var(--copper); }
.cta-band-sub { font-size: 15px; font-weight: 300; color: rgba(255,255,255,0.5); margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.8; }
.cta-band-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
.hra-footer {
  background: var(--navy-deep);
  padding: 64px 2rem 36px;
  position: relative;
}
.hra-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(to right, var(--copper), var(--purple-mid), transparent 80%); }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 52px; }
.footer-brand-name { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: rgba(255,255,255,0.72); margin-bottom: 4px; line-height: 1.25; }
.footer-brand-tag { font-size: 9.5px; font-weight: 400; color: rgba(255,255,255,0.28); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; }
.footer-brand-desc { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.36); line-height: 1.8; }
.footer-col-title { font-size: 9.5px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--copper); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.4); text-decoration: none; transition: color var(--ease); line-height: 1.5; }
.footer-col ul a:hover { color: rgba(255,255,255,0.78); }
.footer-contact-row { display: flex; flex-direction: column; gap: 3px; margin-bottom: 13px; }
.footer-contact-lbl { font-size: 9px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(173,122,74,0.65); }
.footer-contact-val { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.38); line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 26px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.28); flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: rgba(255,255,255,0.28); text-decoration: none; transition: color var(--ease); }
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }
.footer-bottom-links { display: flex; gap: 20px; }

/* ── FLOATING WHATSAPP ── */
.wa-fab {
  position: fixed;
  bottom: 30px; right: 30px;
  z-index: 400;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-fab:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 8px 30px rgba(37,211,102,0.46); }
.wa-fab svg { width: 26px; height: 26px; fill: white; }

/* ── REVEAL — only active when JS loads ── */
.js-loaded .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.js-loaded .reveal.visible { opacity: 1; transform: translateY(0); }
.js-loaded .reveal-delay-1 { transition-delay: 0.1s; }
.js-loaded .reveal-delay-2 { transition-delay: 0.2s; }
.js-loaded .reveal-delay-3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(250,247,242,0.98); backdrop-filter: blur(18px);
    padding: 24px 2rem 32px; border-bottom: 1px solid var(--border);
    gap: 18px; z-index: 499;
  }
  .nav-links.open a { font-size: 15px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 120px 1.5rem 72px; }
  .wa-fab { bottom: 20px; right: 20px; width: 50px; height: 50px; }
}
