/* ============================================================
   MAHAINTRA — Public Stylesheet
   Biru / Putih · Gotham (fallback Montserrat) · Gradient cards
   ============================================================ */

:root{
  --navy:    #0A1F44;
  --navy-2:  #0E2A5C;
  --blue:    #1E50E0;
  --blue-2:  #3B7BFF;
  --sky:     #EAF1FF;
  --sky-2:   #F5F8FF;
  --gold:    #C9A227;
  --gold-2:  #E7C75B;
  --ink:     #0E1726;
  --muted:   #5B6B86;
  --line:    #DCE6F7;
  --white:   #FFFFFF;

  --card-grad: linear-gradient(160deg, #FFFFFF 0%, #EAF1FF 100%);
  --hero-grad: radial-gradient(1200px 700px at 75% -10%, #163a86 0%, #0A1F44 55%, #081634 100%);
  --blue-grad: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 100%);

  --shadow-sm: 0 4px 14px rgba(13,35,80,.06);
  --shadow:    0 16px 40px rgba(13,35,80,.10);
  --shadow-lg: 0 30px 70px rgba(10,31,68,.22);

  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1180px;

  --font-display: 'Gotham','Montserrat','Segoe UI',sans-serif;
  --font-body: 'Gotham','Montserrat','Segoe UI',sans-serif;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
a{ color:inherit; text-decoration:none; }
img,svg{ display:block; max-width:100%; }
.container{ width:100%; max-width:var(--maxw); margin:0 auto; padding:0 24px; }

h1,h2,h3,h4{ font-family:var(--font-display); font-weight:800; line-height:1.12; letter-spacing:-.02em; color:var(--navy); }
.eyebrow{
  display:inline-flex; align-items:center; gap:.5rem;
  font-family:var(--font-display); font-weight:700; font-size:.72rem;
  letter-spacing:.22em; text-transform:uppercase; color:var(--blue);
  padding:.45rem .9rem; border-radius:999px;
  background:var(--sky); border:1px solid var(--line);
}
.eyebrow::before{ content:""; width:7px; height:7px; border-radius:50%; background:var(--gold); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:.55rem;
  font-family:var(--font-display); font-weight:700; font-size:.95rem;
  padding:.85rem 1.5rem; border-radius:999px; cursor:pointer;
  border:1px solid transparent; transition:.25s ease; white-space:nowrap;
}
.btn-primary{ background:var(--blue-grad); color:#fff; box-shadow:0 12px 26px rgba(30,80,224,.35); }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 18px 36px rgba(30,80,224,.45); }
.btn-ghost{ background:rgba(255,255,255,.08); color:#fff; border-color:rgba(255,255,255,.35); }
.btn-ghost:hover{ background:rgba(255,255,255,.16); }
.btn-light{ background:#fff; color:var(--navy); border-color:var(--line); }
.btn-light:hover{ transform:translateY(-2px); box-shadow:var(--shadow); }
.btn-gold{ background:linear-gradient(135deg,var(--gold),var(--gold-2)); color:var(--navy); }

/* ---------- Navbar ---------- */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  transition:.3s ease;
  background:rgba(10,31,68,.0);
}
.nav.scrolled{
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(14px);
  box-shadow:var(--shadow-sm);
  border-bottom:1px solid var(--line);
}
.nav-inner{ display:flex; align-items:center; justify-content:space-between; height:78px; }
.brand{ display:flex; align-items:center; gap:.7rem; }
.brand img{ width:44px; height:44px; }
.brand .bt{ font-family:var(--font-display); font-weight:800; font-size:1.25rem; letter-spacing:.04em; color:#fff; transition:color .3s; }
.brand .bs{ font-size:.62rem; letter-spacing:.18em; color:rgba(255,255,255,.7); text-transform:uppercase; transition:color .3s; }
.nav.scrolled .brand .bt{ color:var(--navy); }
.nav.scrolled .brand .bs{ color:var(--muted); }

.nav-links{ display:flex; align-items:center; gap:.15rem; list-style:none; }
.nav-links a{
  font-family:var(--font-display); font-weight:600; font-size:.86rem;
  color:rgba(255,255,255,.85); padding:.5rem .7rem; border-radius:10px; transition:.2s;
  white-space:nowrap;
}
.nav-links a:hover{ color:#fff; background:rgba(255,255,255,.1); }
.nav.scrolled .nav-links a{ color:var(--ink); }
.nav.scrolled .nav-links a:hover{ color:var(--blue); background:var(--sky); }
.nav .btn-cta{ margin-left:.5rem; }
.nav-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:0; cursor:pointer; padding:8px; }
.nav-toggle span{ width:26px; height:2.5px; background:#fff; border-radius:2px; transition:.3s; }
.nav.scrolled .nav-toggle span{ background:var(--navy); }

/* ---------- Hero ---------- */
.hero{ position:relative; background:var(--hero-grad); color:#fff; padding:150px 0 90px; overflow:hidden; }
#hero-canvas{ position:absolute; inset:0; width:100%; height:100%; opacity:.55; z-index:1; }
/* Dark gradient overlay agar tulisan tidak menabrak animasi */
.hero::before{
  content:""; position:absolute; inset:0; pointer-events:none; z-index:2;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(5,15,35,.45) 40%, rgba(5,15,35,.55) 100%),
    linear-gradient(90deg, rgba(0,0,0,.7) 0%, rgba(10,31,68,.45) 45%, rgba(10,31,68,.15) 100%),
    radial-gradient(circle at 78% 50%, rgba(231,199,91,.12), transparent 45%);
}
.hero-overlay{ display:none; }
.hero-v2 #hero-canvas{ opacity:.45; }
.hero .container{ position:relative; z-index:3; }
.hero-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:50px; align-items:center; }
.hero .eyebrow{ background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.2); color:#cfe0ff; }
.hero h1{ color:#fff; font-size:clamp(2.3rem,5vw,3.7rem); margin:1.1rem 0 1.1rem; }
.hero h1 .accent{ background:linear-gradient(120deg,var(--gold-2),#fff); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero p.lead{ font-size:1.12rem; color:rgba(255,255,255,.82); max-width:540px; }
.hero-cta{ display:flex; gap:.9rem; margin-top:1.8rem; flex-wrap:wrap; }
.hero-stats{ display:flex; gap:2.2rem; margin-top:2.6rem; flex-wrap:wrap; }
.hero-stats .st b{ font-family:var(--font-display); font-size:1.9rem; color:#fff; display:block; }
.hero-stats .st span{ font-size:.82rem; color:rgba(255,255,255,.65); letter-spacing:.04em; }
.hero-visual{ position:relative; height:420px; }

/* floating mockup card in hero — mini dashboard */
.hero-card{
  position:absolute; border-radius:16px; background:var(--card-grad);
  box-shadow:0 16px 40px rgba(10,31,68,.35), 0 2px 6px rgba(10,31,68,.2);
  border:1px solid rgba(255,255,255,.7); padding:14px 16px;
  backdrop-filter:blur(6px);
}
.hero-card .hc-head{ display:flex; align-items:center; gap:10px; }
.hero-card .hc-icon{
  width:38px; height:38px; border-radius:11px; display:flex; align-items:center; justify-content:center; flex:none;
}
.hero-card .hc-icon svg{ width:20px; height:20px; }
.hero-card .hc-i-blue{ background:linear-gradient(135deg,#1E50E0,#3B7BFF); color:#fff; }
.hero-card .hc-i-gold{ background:linear-gradient(135deg,#C9A227,#E7C75B); color:#fff; }
.hero-card .hc-i-green{ background:linear-gradient(135deg,#0e9e6e,#22c098); color:#fff; }
.hero-card .hc-text{ flex:1; min-width:0; }
.hero-card .hc-label{ font-size:.7rem; color:var(--muted); font-weight:600; letter-spacing:.02em; }
.hero-card .hc-value{ font-family:var(--font-display); font-weight:800; font-size:1.05rem; color:var(--navy); line-height:1.1; margin-top:2px; }
.hero-card .hc-value small{ font-size:.7rem; color:var(--muted); font-weight:600; }
.hero-card .hc-trend{ font-size:.7rem; font-weight:800; padding:3px 8px; border-radius:20px; }
.hero-card .hc-trend.up{ background:#e6f7ef; color:#0e9e6e; }
.hero-card .hc-chart{
  display:flex; align-items:flex-end; gap:4px; height:38px; margin-top:10px; padding-top:4px; border-top:1px dashed var(--line);
}
.hero-card .hc-chart span{
  flex:1; background:linear-gradient(180deg,#3B7BFF,#1E50E0); border-radius:3px 3px 0 0; min-height:5px;
}
.hero-card .hc-chart span:last-child{ background:linear-gradient(180deg,#E7C75B,#C9A227); }
.hero-card .hc-row{
  display:flex; justify-content:space-between; align-items:center;
  font-size:.78rem; margin-top:8px; padding-top:8px; border-top:1px dashed var(--line); color:var(--muted);
}
.hero-card .hc-row:first-of-type{ margin-top:10px; }
.hero-card .hc-row b{ color:var(--navy); font-weight:700; }
.hero-card .hc-row b.ok{ color:#0e9e6e; }
.hc-1{ top:-10px; right:-10px; width:260px; animation:floatA 7s ease-in-out infinite; }
.hc-2{ bottom:50px; right:-20px; width:230px; animation:floatB 8s ease-in-out infinite; }
.hc-3{ top:170px; right:130px; width:180px; animation:floatA 9s ease-in-out infinite reverse; }
@keyframes floatA{ 0%,100%{ transform:translateY(0) } 50%{ transform:translateY(-14px) } }
@keyframes floatB{ 0%,100%{ transform:translateY(0) } 50%{ transform:translateY(12px) } }

/* ---------- Marquee clients strip ---------- */
.trust{ background:#fff; border-bottom:1px solid var(--line); padding:26px 0; }
.trust .tlabel{ text-align:center; font-size:.78rem; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); margin-bottom:14px; }
.marquee{ overflow:hidden; -webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent); }
.marquee-track{ display:flex; gap:60px; width:max-content; animation:scrollx 26s linear infinite; }
.marquee-track span{ font-family:var(--font-display); font-weight:700; color:#9fb1d0; font-size:1.25rem; white-space:nowrap; }
@keyframes scrollx{ to{ transform:translateX(-50%) } }

/* ---------- Section frame ---------- */
.section{ padding:96px 0; }
.section.alt{ background:linear-gradient(180deg,var(--sky-2),#fff); }
.sec-head{ text-align:center; max-width:680px; margin:0 auto 56px; }
.sec-head h2{ font-size:clamp(1.9rem,3.6vw,2.7rem); margin:1rem 0 .8rem; }
.sec-head p{ color:var(--muted); font-size:1.05rem; }

/* ---------- Generic gradient card ---------- */
.card{
  background:var(--card-grad);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  transition:.3s ease;
  position:relative; overflow:hidden;
}
.card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); border-color:#c4d6f6; }
.card::before{ content:""; position:absolute; inset:0 0 auto 0; height:4px; background:var(--blue-grad); opacity:0; transition:.3s; }
.card:hover::before{ opacity:1; }

/* ---------- Modules grid ---------- */
.modules-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.module-card{ padding:26px 22px; }
.module-card .viz{ height:120px; margin-bottom:18px; border-radius:14px; background:var(--white); border:1px solid var(--line); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.module-card h3{ font-size:1.12rem; margin-bottom:.4rem; }
.module-card p{ font-size:.9rem; color:var(--muted); }
.module-card .tag{ display:inline-block; margin-top:14px; font-family:var(--font-display); font-weight:700; font-size:.7rem; letter-spacing:.12em; text-transform:uppercase; color:var(--blue); }

/* ---------- Why us ---------- */
.why-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.why-card{ padding:30px 26px; }
.why-card .ic{ width:54px; height:54px; border-radius:14px; background:var(--blue-grad); display:flex; align-items:center; justify-content:center; margin-bottom:18px; box-shadow:0 10px 22px rgba(30,80,224,.3); }
.why-card .ic svg{ width:26px; height:26px; stroke:#fff; }
.why-card h3{ font-size:1.18rem; margin-bottom:.5rem; }
.why-card p{ color:var(--muted); font-size:.94rem; }

/* ---------- Services ---------- */
.services-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.service-card{ padding:34px 28px; }
.service-card .num{ font-family:var(--font-display); font-weight:800; font-size:2.4rem; background:linear-gradient(120deg,var(--blue),var(--sky)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.service-card h3{ font-size:1.3rem; margin:.4rem 0 .7rem; }
.service-card p{ color:var(--muted); font-size:.95rem; margin-bottom:1rem; }
.service-card ul{ list-style:none; }
.service-card li{ font-size:.9rem; color:var(--ink); padding:.35rem 0 .35rem 1.6rem; position:relative; }
.service-card li::before{ content:"✓"; position:absolute; left:0; color:var(--blue); font-weight:800; }

/* ---------- Clients carousel ---------- */
.clients-carousel{ position:relative; }
.clients-viewport{ overflow:hidden; border-radius:var(--radius-lg); }
.clients-track{ display:flex; transition:transform .55s cubic-bezier(.4,0,.2,1); }
.client-slide{ min-width:33.333%; padding:0 11px; box-sizing:border-box; }
.client-card{ padding:30px 26px; min-height:230px; display:flex; flex-direction:column; }
.client-card .logo-chip{
  width:70px; height:70px; border-radius:14px; overflow:hidden;
  background:var(--sky); border:1px solid var(--line);
  color:var(--blue); display:flex; align-items:center; justify-content:center;
  font-family:var(--font-display); font-weight:800; font-size:1.5rem; margin-bottom:16px; flex:none;
}
.client-card .logo-chip img{ width:100%; height:100%; object-fit:contain; padding:8px; }
.client-card h4{ font-size:1.12rem; }
.client-card .cmeta{ font-size:.82rem; color:var(--blue); font-weight:600; margin:.2rem 0 .8rem; }
.client-card p{ font-size:.9rem; color:var(--muted); }
.car-nav{ display:flex; justify-content:center; gap:12px; margin-top:26px; }
.car-btn{ width:46px; height:46px; border-radius:50%; border:1px solid var(--line); background:#fff; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:.2s; }
.car-btn:hover{ background:var(--blue); border-color:var(--blue); }
.car-btn:hover svg{ stroke:#fff; }
.car-btn svg{ width:20px; height:20px; stroke:var(--navy); }
.car-dots{ display:flex; gap:8px; align-items:center; }
.car-dots .dot{ width:9px; height:9px; border-radius:50%; background:var(--line); cursor:pointer; transition:.2s; }
.car-dots .dot.active{ width:26px; border-radius:6px; background:var(--blue); }
.clients-empty{ text-align:center; color:var(--muted); padding:40px; }

/* ---------- FAQ ---------- */
.faq-wrap{ max-width:820px; margin:0 auto; display:flex; flex-direction:column; gap:14px; }
.faq-item{ padding:0; overflow:hidden; }
.faq-q{ width:100%; text-align:left; background:none; border:0; cursor:pointer; padding:22px 24px; display:flex; justify-content:space-between; align-items:center; gap:1rem; font-family:var(--font-display); font-weight:700; font-size:1.02rem; color:var(--navy); }
.faq-q .pm{ width:30px; height:30px; flex:0 0 auto; border-radius:50%; background:var(--sky); display:flex; align-items:center; justify-content:center; transition:.3s; }
.faq-q .pm svg{ width:16px; height:16px; stroke:var(--blue); transition:.3s; }
.faq-item.open .pm{ background:var(--blue); }
.faq-item.open .pm svg{ stroke:#fff; transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .35s ease; }
.faq-a div{ padding:0 24px 22px; color:var(--muted); font-size:.96rem; }

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:30px; }
.contact-info{ padding:38px 34px; }
.contact-info h3{ font-size:1.5rem; margin-bottom:1rem; }
.contact-row{ display:flex; gap:14px; align-items:flex-start; padding:14px 0; border-bottom:1px solid var(--line); }
.contact-row:last-child{ border-bottom:0; }
.contact-row .ci{ width:42px; height:42px; flex:0 0 auto; border-radius:11px; background:var(--blue-grad); display:flex; align-items:center; justify-content:center; }
.contact-row .ci svg{ width:20px; height:20px; stroke:#fff; }
.contact-row .ct b{ display:block; font-family:var(--font-display); font-size:.95rem; color:var(--navy); }
.contact-row .ct span{ font-size:.9rem; color:var(--muted); }
.contact-form{ padding:38px 34px; }
.contact-form label{ display:block; font-size:.82rem; font-weight:700; color:var(--navy); margin:.6rem 0 .35rem; font-family:var(--font-display); }
.contact-form input,.contact-form textarea{
  width:100%; padding:.85rem 1rem; border:1px solid var(--line); border-radius:12px;
  font-family:var(--font-body); font-size:.95rem; background:#fff; transition:.2s;
}
.contact-form input:focus,.contact-form textarea:focus{ outline:none; border-color:var(--blue); box-shadow:0 0 0 4px rgba(30,80,224,.12); }
.contact-form .btn{ width:100%; justify-content:center; margin-top:1rem; }

/* ---------- About strip ---------- */
.about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center; }
.about-visual{ border-radius:var(--radius-lg); background:var(--hero-grad); min-height:380px; position:relative; overflow:hidden; box-shadow:var(--shadow-lg); display:flex; align-items:center; justify-content:center; }
.about-visual .about-photo{ width:100%; height:100%; min-height:380px; object-fit:cover; display:block; }
.about-text h2{ font-size:clamp(1.8rem,3.4vw,2.5rem); margin-bottom:1rem; }
.about-text p{ color:var(--muted); margin-bottom:1rem; }
.about-points{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:1.6rem; }
.about-points .ap{ padding:16px 18px; border-radius:14px; background:var(--card-grad); border:1px solid var(--line); }
.about-points .ap b{ font-family:var(--font-display); font-size:1.5rem; color:var(--blue); display:block; }
.about-points .ap span{ font-size:.84rem; color:var(--muted); }

/* ---------- CTA band ---------- */
.cta-band{ background:var(--hero-grad); color:#fff; border-radius:var(--radius-lg); padding:56px; text-align:center; position:relative; overflow:hidden; box-shadow:var(--shadow-lg); }
.cta-band h2{ color:#fff; font-size:clamp(1.7rem,3.4vw,2.4rem); margin-bottom:.7rem; }
.cta-band p{ color:rgba(255,255,255,.8); margin-bottom:1.6rem; }
.cta-band .btns{ display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; }

/* ---------- Footer ---------- */
.footer{ background:var(--navy); color:rgba(255,255,255,.7); padding:64px 0 28px; }
.footer-grid{ display:grid; grid-template-columns:1.5fr 1fr 1fr 1.2fr; gap:34px; }
.footer h5{ font-family:var(--font-display); color:#fff; font-size:.95rem; letter-spacing:.08em; text-transform:uppercase; margin-bottom:1rem; }
.footer a{ display:block; padding:.32rem 0; font-size:.92rem; transition:.2s; }
.footer a:hover{ color:#fff; }
.footer .fbrand .bt{ font-family:var(--font-display); font-weight:800; color:#fff; font-size:1.3rem; }
.footer .fbrand p{ font-size:.9rem; margin-top:.7rem; max-width:280px; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.12); margin-top:42px; padding-top:22px; display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap; font-size:.84rem; }

/* ---------- Reveal animation ---------- */
.reveal{ opacity:0; transform:translateY(26px); transition:.7s cubic-bezier(.2,.7,.2,1); }
.reveal.in{ opacity:1; transform:none; }

/* ---------- Float WA button ---------- */
/* wa-float removed in v6 — bot is the only floating widget */

/* ---------- Our Team ---------- */
.team-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.team-card{
  background:var(--card-grad); border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow-sm); overflow:hidden; transition:.35s ease; position:relative;
}
.team-card::before{
  content:""; position:absolute; top:0; left:0; right:0; height:4px;
  background:linear-gradient(90deg,var(--blue),var(--gold)); opacity:.85;
}
.team-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.team-photo{
  aspect-ratio:1/1; width:100%; background:linear-gradient(160deg,var(--sky),#fff);
  display:flex; align-items:center; justify-content:center; overflow:hidden; position:relative;
}
.team-photo img{ width:100%; height:100%; object-fit:cover; }
.team-photo .ph-fallback{
  width:88px; height:88px; border-radius:50%;
  background:linear-gradient(135deg,var(--blue),var(--navy)); color:#fff;
  display:flex; align-items:center; justify-content:center; font-weight:800;
  font-family:var(--font-display); font-size:1.8rem; letter-spacing:1px;
}
.team-info{ padding:18px 20px 22px; text-align:center; }
.team-info h4{ font-size:1.05rem; color:var(--navy); margin-bottom:4px; }
.team-info .role{ font-size:.82rem; color:var(--blue); font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.team-info .bio{ font-size:.86rem; color:var(--muted); margin-top:10px; line-height:1.55; }
.team-social{ display:flex; justify-content:center; gap:10px; margin-top:14px; }
.team-social a{
  width:30px; height:30px; border-radius:50%; background:var(--sky); color:var(--blue);
  display:inline-flex; align-items:center; justify-content:center; transition:.2s;
}
.team-social a:hover{ background:var(--blue); color:#fff; transform:translateY(-2px); }
.team-social svg{ width:14px; height:14px; fill:currentColor; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px){
  .hero-grid,.about-grid,.contact-grid{ grid-template-columns:1fr; }
  .hero-visual{ height:300px; }
  .modules-grid{ grid-template-columns:repeat(2,1fr); }
  .why-grid,.services-grid{ grid-template-columns:1fr; }
  .team-grid{ grid-template-columns:repeat(2,1fr); }
  .client-slide{ min-width:50%; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .nav-links{
    position:fixed; top:78px; right:0; left:0; flex-direction:column; align-items:stretch;
    background:#fff; padding:18px 24px; gap:.2rem; box-shadow:var(--shadow);
    transform:translateY(-120%); transition:.35s; border-bottom:1px solid var(--line);
  }
  .nav-links.show{ transform:none; }
  .nav-links a{ color:var(--ink); padding:.8rem .6rem; border-radius:10px; }
  .nav .btn-cta{ margin:.6rem 0 0; text-align:center; justify-content:center; }
  .nav-toggle{ display:flex; }
  .nav.scrolled .nav-toggle span,.nav-toggle span{ background:var(--navy); }
}
@media (max-width: 560px){
  .modules-grid,.about-points{ grid-template-columns:1fr; }
  .client-slide{ min-width:100%; }
  .footer-grid{ grid-template-columns:1fr; }
  .cta-band{ padding:38px 22px; }
  .section{ padding:66px 0; }
  .team-grid{ grid-template-columns:1fr; }
}

/* ---------- Penyempurnaan tampilan mobile ---------- */
@media (max-width: 768px){
  .container{ padding:0 18px; }
  .hero{ padding:120px 0 64px; }
  .hero-visual{ height:240px; }
  .hero-cta{ gap:.6rem; }
  .hero-cta .btn{ flex:1 1 auto; justify-content:center; }
  .hero-stats{ gap:1.4rem; margin-top:2rem; }
  /* target sentuh lebih nyaman */
  .btn{ min-height:46px; }
  .nav-links a{ min-height:44px; display:flex; align-items:center; }
  /* cegah judul terlalu besar di layar kecil */
  .hero h1{ font-size:clamp(2rem,8vw,2.6rem); }
}
@media (max-width: 380px){
  .hero-stats{ gap:1rem; }
  .hero-stats .st b{ font-size:1.5rem; }
}

/* ============================================================
   v4 — ADDITIONS: modal konsul, page-hero, services-4, erp-band
   ============================================================ */

/* ---------- Page Hero (untuk halaman selain index) ---------- */
.page-hero{
  position:relative; color:#fff; padding:160px 0 70px; overflow:hidden;
  background:var(--hero-grad);
}
.page-hero::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(5,15,35,.45) 100%),
    radial-gradient(circle at 80% 30%, rgba(231,199,91,.10), transparent 45%);
}
.page-hero .container{ position:relative; z-index:2; }
.page-hero.short{ padding:150px 0 60px; }
.page-hero-inner{ max-width:780px; }
.page-hero h1{ color:#fff; font-size:clamp(2rem, 4.5vw, 3.2rem); margin:1rem 0; }
.page-hero h1 .accent{ background:linear-gradient(120deg,var(--gold-2),#fff); -webkit-background-clip:text; background-clip:text; color:transparent; }
.page-hero .lead{ color:rgba(255,255,255,.85); font-size:1.1rem; max-width:640px; }
.page-hero .eyebrow{ background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.2); color:#cfe0ff; }
.page-hero .hero-cta{ display:flex; gap:.9rem; margin-top:1.8rem; flex-wrap:wrap; }
.page-hero .hero-stats{ display:flex; gap:2.2rem; margin-top:2.2rem; flex-wrap:wrap; }
.page-hero .hero-stats .st b{ font-family:var(--font-display); font-size:1.9rem; color:#fff; display:block; }
.page-hero .hero-stats .st span{ font-size:.82rem; color:rgba(255,255,255,.65); letter-spacing:.04em; }

/* ---------- Services 4-column ---------- */
.services-grid.services-4{
  display:grid; grid-template-columns:repeat(4, 1fr); gap:24px;
}
.services-grid.services-4 .service-card{
  display:flex; flex-direction:column;
}
.services-grid.services-4 .service-card .svc-ic{
  width:54px; height:54px; border-radius:14px;
  background:var(--blue-grad); color:#fff;
  display:flex; align-items:center; justify-content:center;
  margin:8px 0 14px;
}
.services-grid.services-4 .service-card .svc-ic svg{ width:26px; height:26px; }
.services-grid.services-4 .service-card .svc-cta{
  margin-top:auto; padding-top:14px;
  color:var(--blue); font-weight:700; font-size:.9rem;
}
.services-grid.services-4 .service-card .svc-cta:hover{ color:var(--navy); }
@media (max-width: 1024px){ .services-grid.services-4{ grid-template-columns:repeat(2, 1fr); } }
@media (max-width: 560px){ .services-grid.services-4{ grid-template-columns:1fr; } }

/* ---------- ERP Band (di index, mengarah ke sistem-erp.php) ---------- */
.erp-band{
  margin-top:50px;
  background:var(--hero-grad); color:#fff;
  border-radius:var(--radius-lg);
  padding:36px 40px;
  display:grid; grid-template-columns:1.4fr .6fr; gap:24px; align-items:center;
  position:relative; overflow:hidden;
}
.erp-band::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(circle at 90% 10%, rgba(231,199,91,.18), transparent 45%);
}
.erp-band > div{ position:relative; z-index:2; }
.erp-band h3{ color:#fff; font-size:1.7rem; margin:.4rem 0 .6rem; }
.erp-band p{ color:rgba(255,255,255,.8); max-width:560px; }
.erp-band .eyebrow{ background:rgba(255,255,255,.08); border-color:rgba(255,255,255,.2); color:#cfe0ff; }
.erp-band-cta{ text-align:right; }
@media (max-width: 768px){
  .erp-band{ grid-template-columns:1fr; padding:28px; }
  .erp-band-cta{ text-align:left; }
}

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

/* ============================================================
   MODAL — Konsultasi Gratis
   ============================================================ */
.konsul-modal{
  position:fixed; inset:0; z-index:2000;
  display:none;
  align-items:center; justify-content:center;
  padding:20px;
}
.konsul-modal.show{ display:flex; }
.konsul-backdrop{
  position:absolute; inset:0;
  background:rgba(5,12,28,.65);
  backdrop-filter:blur(4px);
}
.konsul-dialog{
  position:relative; z-index:2;
  background:#fff;
  width:100%; max-width:560px;
  max-height:92vh; overflow-y:auto;
  border-radius:var(--radius-lg);
  padding:32px 32px 26px;
  box-shadow:var(--shadow-lg);
  animation:konsulIn .25s ease;
}
@keyframes konsulIn{
  from{ opacity:0; transform:translateY(20px) scale(.98); }
  to{ opacity:1; transform:none; }
}
.konsul-close{
  position:absolute; top:14px; right:16px;
  width:36px; height:36px; border-radius:50%;
  background:#f1f5ff; border:none; cursor:pointer;
  font-size:22px; color:var(--navy); line-height:1;
  display:flex; align-items:center; justify-content:center;
  transition:.2s;
}
.konsul-close:hover{ background:#e5edff; }
.konsul-head{ margin-bottom:20px; }
.konsul-head h3{ font-size:1.5rem; margin:.6rem 0 .5rem; }
.konsul-head p{ color:var(--muted); font-size:.95rem; }

.konsul-form .kf-row{ margin-bottom:14px; }
.konsul-form label{
  display:block; font-weight:700; font-size:.85rem;
  color:var(--navy); margin-bottom:6px;
}
.konsul-form label .req{ color:#e23b3b; }
.konsul-form input,
.konsul-form select,
.konsul-form textarea{
  width:100%;
  padding:11px 14px;
  border:1px solid var(--line);
  border-radius:12px;
  font-family:inherit; font-size:.95rem;
  background:#fff; color:var(--ink);
  transition:.2s;
}
.konsul-form input:focus,
.konsul-form select:focus,
.konsul-form textarea:focus{
  outline:none;
  border-color:var(--blue);
  box-shadow:0 0 0 3px rgba(30,80,224,.12);
}
.konsul-form textarea{ resize:vertical; min-height:80px; }
.konsul-submit{
  width:100%; justify-content:center;
  margin-top:8px; padding:14px;
  font-size:1rem; letter-spacing:.05em;
}
.konsul-note{
  margin-top:12px; text-align:center;
  font-size:.82rem; color:var(--muted);
}

/* inline form di halaman kontak */
.konsul-form-inline{ margin-top:8px; }

body.konsul-open{ overflow:hidden; }

/* ============================================================
   v6 — LIVECHAT BOT WIDGET (standalone, no WA float)
   ============================================================ */

/* Bot floating button — standalone, position:fixed */
.bot-float{
  position:fixed;
  right:24px; bottom:24px;
  z-index:1700;
  display:flex; align-items:center; gap:8px;
  padding:0;
  border:none; cursor:pointer;
  background:var(--blue-grad); color:#fff;
  border-radius:999px;
  width:88px; height:88px;
  overflow:hidden;
  box-shadow:0 8px 24px rgba(30,80,224,.55);
  font-family:inherit; font-weight:700; font-size:.85rem;
  transition:transform .25s, box-shadow .25s, opacity .2s;
}
.bot-float:hover{
  transform:translateY(-3px);
  box-shadow:0 22px 50px rgba(30,80,224,.65);
}
.bot-float.hidden{ opacity:0; pointer-events:none; transform:scale(.7); }
.bot-float svg{ width:22px; height:22px; flex-shrink:0; }
.bot-label{
  display:none;
}
.bot-badge{
  position:absolute; top:-4px; right:-4px;
  background:var(--gold); color:var(--navy);
  font-size:.55rem; font-weight:800;
  padding:2px 5px; border-radius:999px;
  box-shadow:0 4px 10px rgba(201,162,39,.5);
  border:2px solid #fff;
}
.bot-pulse{
  position:absolute; inset:-4px;
  border-radius:999px; pointer-events:none;
  background:var(--blue); opacity:.35;
  animation:botPulse 2s ease-out infinite;
}
@keyframes botPulse{
  0%  { transform:scale(.95); opacity:.45; }
  100%{ transform:scale(1.15); opacity:0; }
}

/* Bot panel */
.bot-panel{
  position:fixed; right:20px; bottom:20px;
  width:380px; max-width:calc(100vw - 24px);
  height:560px; max-height:calc(100vh - 40px);
  background:#fff; border-radius:20px;
  box-shadow:0 30px 80px rgba(10,31,68,.35);
  display:none; flex-direction:column;
  z-index:1700; overflow:hidden;
  border:1px solid var(--line);
  transform:translateY(20px) scale(.96); opacity:0;
  transition:transform .25s ease, opacity .25s ease;
}
.bot-panel.show{ display:flex; transform:none; opacity:1; }

.bot-head{
  background:var(--hero-grad); color:#fff;
  padding:16px 18px;
  display:flex; align-items:center; justify-content:space-between;
  position:relative;
}
.bot-head::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(circle at 80% 0%, rgba(231,199,91,.18), transparent 60%);
}
.bot-head-info{ display:flex; gap:12px; align-items:center; position:relative; z-index:1; }
.bot-avatar{
  width:42px; height:42px; border-radius:50%;
  background:rgba(255,255,255,.15); border:1px solid rgba(255,255,255,.25);
  display:flex; align-items:center; justify-content:center; color:#fff;
}
.bot-avatar svg{ width:22px; height:22px; }
.bot-title{ font-weight:800; font-size:.98rem; }
.bot-status{ font-size:.72rem; color:rgba(255,255,255,.75); display:flex; align-items:center; gap:6px; margin-top:2px; }
.bot-status .dot{ width:8px; height:8px; border-radius:50%; background:#22d088; box-shadow:0 0 8px #22d088; }
.bot-close{
  background:rgba(255,255,255,.12); border:none;
  width:32px; height:32px; border-radius:50%;
  color:#fff; font-size:22px; cursor:pointer;
  display:flex; align-items:center; justify-content:center; line-height:1;
  position:relative; z-index:1;
}
.bot-close:hover{ background:rgba(255,255,255,.22); }

.bot-body{
  flex:1; overflow-y:auto;
  padding:18px 16px; background:#f7faff;
  display:flex; flex-direction:column; gap:12px;
}
.bot-body::-webkit-scrollbar{ width:6px; }
.bot-body::-webkit-scrollbar-thumb{ background:#cfd9ec; border-radius:6px; }

.bot-msg{ display:flex; gap:8px; max-width:100%; }
.bot-msg.b{ align-self:flex-start; }
.bot-msg.u{ align-self:flex-end; flex-direction:row-reverse; }
.bot-msg-av{
  width:28px; height:28px; border-radius:50%; flex-shrink:0;
  background:var(--blue-grad); color:#fff;
  display:flex; align-items:center; justify-content:center;
}
.bot-msg-av svg{ width:16px; height:16px; }
.bot-msg-bubble{
  padding:10px 13px; border-radius:14px;
  font-size:.9rem; line-height:1.5;
  max-width:260px; word-wrap:break-word;
}
.bot-msg.b .bot-msg-bubble{
  background:#fff; color:var(--ink);
  border:1px solid var(--line);
  border-top-left-radius:4px;
}
.bot-msg.u .bot-msg-bubble{
  background:var(--blue-grad); color:#fff;
  border-top-right-radius:4px;
}
.bot-msg-bubble.typing{ display:flex; gap:4px; padding:14px 16px; }
.bot-msg-bubble.typing span{
  width:6px; height:6px; border-radius:50%; background:#9aa8c2;
  animation:botTyping 1.2s infinite ease-in-out;
}
.bot-msg-bubble.typing span:nth-child(2){ animation-delay:.15s; }
.bot-msg-bubble.typing span:nth-child(3){ animation-delay:.3s; }
@keyframes botTyping{
  0%, 80%, 100%{ transform:scale(.6); opacity:.4; }
  40%{ transform:scale(1); opacity:1; }
}

.bot-sugg, .bot-actions{
  display:flex; flex-wrap:wrap; gap:6px;
  padding-left:36px; margin-top:-4px;
}
.bot-chip{
  background:#fff; color:var(--blue);
  border:1px solid var(--blue);
  padding:6px 12px; border-radius:999px;
  font-size:.78rem; font-weight:600;
  cursor:pointer; transition:.2s;
  font-family:inherit;
}
.bot-chip:hover{ background:var(--blue); color:#fff; }
.bot-action{
  padding:8px 14px; border-radius:10px;
  border:1px solid var(--line); background:#fff;
  font-size:.82rem; font-weight:700; cursor:pointer;
  font-family:inherit; color:var(--navy); transition:.2s;
}
.bot-action:hover{ background:#f1f5ff; }
.bot-action.primary{ background:#25D366; color:#fff; border-color:#25D366; }
.bot-action.primary:hover{ background:#1eb558; }

.bot-rate{ padding:14px 16px; background:#fff8e5; border-top:1px solid #f3e4b4; }
.bot-rate-title{ font-weight:700; font-size:.88rem; color:var(--navy); margin-bottom:8px; text-align:center; }
.bot-stars{ display:flex; justify-content:center; gap:6px; margin-bottom:10px; }
.bot-stars button{
  background:none; border:none; cursor:pointer;
  font-size:1.8rem; color:#d4d4d4; padding:0 2px; transition:.15s;
}
.bot-stars button:hover, .bot-stars button.on{ color:var(--gold); transform:scale(1.1); }
#botRateComment{
  width:100%; padding:8px 12px;
  border:1px solid var(--line); border-radius:10px;
  font-family:inherit; font-size:.85rem; margin-bottom:8px;
}
#botRateSend{ width:100%; justify-content:center; padding:10px; font-size:.88rem; }

.bot-input{
  display:flex; gap:8px; align-items:center;
  padding:12px 14px; background:#fff; border-top:1px solid var(--line);
}
.bot-input input{
  flex:1; padding:10px 14px;
  border:1px solid var(--line); border-radius:999px;
  font-family:inherit; font-size:.9rem; background:#f7faff;
}
.bot-input input:focus{ outline:none; border-color:var(--blue); background:#fff; }
#botSend{
  width:40px; height:40px; border-radius:50%;
  background:var(--blue-grad); color:#fff;
  border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
#botSend:hover{ transform:scale(1.05); }
#botSend svg{ width:18px; height:18px; }

.bot-foot{
  text-align:center; padding:6px;
  font-size:.65rem; color:var(--muted);
  background:#fff; border-top:1px solid var(--line);
  letter-spacing:.04em;
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px){
  .bot-float{
    right:16px; bottom:16px;
    padding:12px 18px 12px 14px;
    font-size:.88rem;
  }
  .bot-float svg{ width:24px; height:24px; }
}
@media (max-width: 480px){
  .bot-float{
    /* tetap dengan label tapi kompak */
    right:14px; bottom:14px;
    padding:11px 16px 11px 13px;
    font-size:.85rem;
  }
  .bot-float svg{ width:22px; height:22px; }
  .bot-label{ font-size:.85rem; }
  .bot-badge{ top:-5px; right:-5px; font-size:.55rem; padding:2px 6px; }
  .bot-panel{
    right:8px; left:8px; bottom:8px;
    width:auto;
    /* Jangan full-height — sisakan ruang atas untuk notch/address bar */
    height:78vh;
    max-height:560px;
    top:auto;
    border-radius:16px;
  }
  .bot-msg-bubble{ max-width:74vw; }
}
/* Layar pendek (HP landscape, dll) */
@media (max-width: 480px) and (max-height: 700px){
  .bot-panel{ height:calc(100vh - 90px); max-height:none; }
}
/* tablet portrait extra safety */
@media (max-width: 380px){
  .bot-float{ padding:10px 14px 10px 12px; }
  .bot-label{ display:none; } /* di layar sangat kecil, jadi ikon saja */
  .bot-float{ border-radius:50%; width:54px; height:54px; padding:0; justify-content:center; }
}
