:root{
  --bg:#ffffff;
  --surface:#ffffff;
  --muted:#5b6472;
  --text:#0b1220;
  --border: rgba(15,23,42,.12);
  --shadow: 0 12px 30px rgba(2,6,23,.10);
  --shadow2: 0 18px 50px rgba(2,6,23,.08);
  --brand:#2563eb;      /* blue */
  --brand2:#7c3aed;     /* violet */
  --ok:#16a34a;
  --warn:#d97706;
  --danger:#dc2626;
  --radius:16px;
  --radius2:22px;
  --max:1180px;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--sans);
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(37,99,235,.10), transparent 55%),
    radial-gradient(900px 520px at 12% 0%, rgba(124,58,237,.10), transparent 52%),
    radial-gradient(900px 520px at 50% 115%, rgba(22,163,74,.07), transparent 55%),
    var(--bg);
  line-height:1.55;
}

a{color:inherit;text-decoration:none}
.container{max-width:var(--max);margin:0 auto;padding:0 20px}

.btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:12px 16px;border:1px solid var(--border);
  border-radius:999px;background:rgba(2,6,23,.02);
  color:var(--text);cursor:pointer;
  transition:transform .15s ease, background .15s ease, border .15s ease, box-shadow .15s ease;
  user-select:none;
}
.btn:hover{transform:translateY(-1px);background:rgba(2,6,23,.04);border-color:rgba(15,23,42,.18);box-shadow:0 10px 24px rgba(2,6,23,.08)}
.btn.primary{
  background: linear-gradient(135deg, rgba(37,99,235,1), rgba(124,58,237,1));
  color:#fff;border-color:transparent;
  box-shadow: 0 14px 40px rgba(37,99,235,.18);
}
.btn.primary:hover{filter:brightness(1.02)}

.chip{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 12px;border-radius:999px;
  border:1px solid var(--border);background:rgba(2,6,23,.02);
  color:var(--muted);font-size:13px;
}

.nav{
  position:sticky;top:0;z-index:50;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,.78);
  border-bottom:1px solid rgba(15,23,42,.10);
}
.nav-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0;gap:16px}
.brand{display:flex;align-items:center;gap:12px;min-width:240px}
.logo{
  width:40px;height:40px;border-radius:14px;
  background: linear-gradient(135deg, rgba(37,99,235,1), rgba(124,58,237,1));
  box-shadow: 0 18px 50px rgba(124,58,237,.18);
  position:relative;overflow:hidden;
}
.logo:after{
  content:"";position:absolute;inset:-16px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.70), transparent 50%);
  transform:rotate(15deg);
}
.brand h1{font-size:14px;letter-spacing:.2px;margin:0}
.brand p{margin:0;font-size:12px;color:var(--muted)}

.menu{display:flex;gap:14px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.menu a{
  font-size:14px;color:var(--muted);
  padding:8px 10px;border-radius:12px;
  transition:background .15s ease,color .15s ease;
}
.menu a:hover{background:rgba(2,6,23,.04);color:var(--text)}
.menu a.active{color:var(--text);background:rgba(2,6,23,.04);border:1px solid rgba(15,23,42,.10)}
.menu .cta{display:flex;gap:10px;align-items:center}
.hamburger{display:none}

.mobile-panel{
  display:none;
  padding:12px 0 16px;
  border-top:1px solid rgba(15,23,42,.10);
}
.mobile-panel a{display:block;padding:10px 12px;border-radius:12px;color:var(--muted)}
.mobile-panel a:hover{background:rgba(2,6,23,.04);color:var(--text)}

.hero{padding:54px 0 18px}
.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:22px;align-items:stretch}
.panel{
  border:1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.72);
  border-radius:var(--radius2);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.panel .inner{padding:28px}
.hero h2{font-size:42px;line-height:1.08;margin:10px 0 14px}
.hero p{color:var(--muted);margin:0 0 18px;font-size:16px;max-width:62ch}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:6px}
.hero-badges{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}

.side{padding:22px;display:flex;flex-direction:column;gap:14px}
.stat{
  background:rgba(255,255,255,.85);
  border:1px solid rgba(15,23,42,.12);
  border-radius:var(--radius);
  padding:16px;
  box-shadow: var(--shadow2);
}
.stat .k{font-size:12px;color:var(--muted);margin-bottom:6px}
.stat .v{font-size:20px;font-weight:750}
.stat .s{font-size:13px;color:var(--muted);margin-top:6px}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:14px}

section{padding:44px 0}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}
.section-head h3{margin:0;font-size:22px}
.section-head p{margin:0;color:var(--muted);max-width:72ch}

.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.card{
  background:rgba(255,255,255,.82);
  border:1px solid rgba(15,23,42,.12);
  border-radius:var(--radius);
  padding:18px;
  box-shadow: var(--shadow2);
}
.card h4{margin:0 0 8px;font-size:16px}
.card p{margin:0;color:var(--muted);font-size:14px}
.icon{
  width:42px;height:42px;border-radius:14px;
  display:grid;place-items:center;
  background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(124,58,237,.12));
  border:1px solid rgba(15,23,42,.12);
  margin-bottom:12px;
  font-size:18px;
}
.split{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}
.list{margin:10px 0 0;padding:0;list-style:none}
.list li{display:flex;gap:10px;align-items:flex-start;margin:10px 0;color:var(--muted)}
.dot{width:10px;height:10px;border-radius:999px;background:rgba(37,99,235,.95);margin-top:6px;flex:0 0 auto}

.page-title{
  padding:28px 0 8px;
}
.page-title h2{margin:0;font-size:34px;line-height:1.1}
.page-title p{margin:8px 0 0;color:var(--muted);max-width:80ch}

.calc-wrap{
  border:1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.82);
  border-radius:var(--radius2);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.calc-top{
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 18px;border-bottom:1px solid rgba(15,23,42,.10);
  background: linear-gradient(180deg, rgba(2,6,23,.02), transparent);
  gap:12px;flex-wrap:wrap;
}
.tabs{display:flex;gap:8px;flex-wrap:wrap}
.tab{
  padding:10px 12px;border-radius:999px;
  border:1px solid rgba(15,23,42,.12);
  background:rgba(2,6,23,.02);
  color:var(--muted);cursor:pointer;
  transition:background .15s ease, color .15s ease, border .15s ease;
  font-size:14px;
}
.tab.active{
  background: linear-gradient(135deg, rgba(37,99,235,.10), rgba(124,58,237,.10));
  border-color: rgba(37,99,235,.35);
  color: var(--text);
}
.calc-body{padding:18px}
.form-grid{display:grid;grid-template-columns:repeat(3, 1fr);gap:12px}
.field{
  background:rgba(255,255,255,.88);
  border:1px solid rgba(15,23,42,.12);
  border-radius:14px;padding:12px;
}
.field label{display:block;font-size:12px;color:var(--muted);margin-bottom:6px}
.field input,.field select,.field textarea{
  width:100%;border-radius:12px;padding:10px 10px;
  border:1px solid rgba(15,23,42,.14);
  background:#fff;
  color:var(--text);outline:none;
  font-family: var(--sans);
}
.field textarea{min-height:110px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{border-color: rgba(37,99,235,.55);box-shadow:0 0 0 4px rgba(37,99,235,.10)}
.form-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.result-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px}
.result{
  background:#fff;
  border:1px solid rgba(15,23,42,.12);
  border-radius:14px;padding:12px;
}
.result .k{font-size:12px;color:var(--muted)}
.result .v{font-size:18px;font-weight:800;margin-top:4px}
.result .u{font-size:12px;color:var(--muted);margin-top:2px}
.note{
  margin-top:12px;color:var(--muted);font-size:13px;
  border-left:3px solid rgba(37,99,235,.55);
  padding-left:10px;
}
.warnbox{
  margin-top:12px;
  background:rgba(217,119,6,.08);
  border:1px solid rgba(217,119,6,.25);
  border-radius:14px;padding:12px;
  color:rgba(15,23,42,.92);
  display:none;
}
.warnbox strong{color:var(--warn)}
.divider{height:1px;background:rgba(15,23,42,.10);margin:14px 0}

footer{padding:34px 0;border-top:1px solid rgba(15,23,42,.10);color:var(--muted)}
.footer-grid{display:grid;grid-template-columns: 1.1fr .9fr .9fr;gap:14px}
.footer-grid h5{margin:0 0 10px;color:var(--text)}
.footer-grid a{color:var(--muted)}
.footer-grid a:hover{color:var(--text)}
.small{font-size:12px;color:var(--muted)}
.badge-line{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}

@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr 1fr}
  .split{grid-template-columns:1fr}
  .form-grid{grid-template-columns:1fr 1fr}
  .result-grid{grid-template-columns:1fr 1fr}
  .brand{min-width:auto}
}
@media (max-width: 640px){
  .cards{grid-template-columns:1fr}
  .form-grid{grid-template-columns:1fr}
  .result-grid{grid-template-columns:1fr}
  .menu{display:none}
  .hamburger{display:inline-flex}
}



/* ===== Redesigned Calculator (distinct layout) ===== */
.calc2-wrap{
  border:1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.86);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.calc2-top{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; flex-wrap:wrap;
  padding:14px 18px;
  background: linear-gradient(180deg, rgba(2,6,23,.03), transparent);
  border-bottom:1px solid rgba(15,23,42,.10);
}
.calc2-layout{
  display:grid;
  grid-template-columns: 420px 1fr;
  min-height: 560px;
}
.calc2-side{
  border-right:1px solid rgba(15,23,42,.10);
  padding:14px;
  background: rgba(255,255,255,.72);
}
.calc2-main{
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.calc2-card{
  background:#fff;
  border:1px solid rgba(15,23,42,.12);
  border-radius: 18px;
  padding:14px;
  box-shadow: var(--shadow2);
}
.calc2-accordion{
  border:1px solid rgba(15,23,42,.12);
  background:#fff;
  border-radius: 18px;
  overflow:hidden;
  margin-bottom:12px;
}
.calc2-acc-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 14px;
  cursor:pointer;
  background: rgba(2,6,23,.02);
  border-bottom:1px solid rgba(15,23,42,.08);
}
.calc2-acc-head h4{
  margin:0; font-size:14px;
}
.calc2-acc-head .mini{color:var(--muted); font-size:12px}
.calc2-acc-body{padding:12px 14px; display:block;}
.calc2-acc-body.hidden{display:none;}
.calc2-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}
.calc2-grid .field{padding:10px; border-radius:16px}
.calc2-actions{
  display:flex; gap:10px; flex-wrap:wrap; margin-top:10px;
}
.calc2-visual{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
}
.calc2-illus{
  flex:0 0 420px;
  padding:0;
  background:transparent;
}
.calc2-illus img{
  width:100%;
  max-width:420px;
  height:auto;
}
.helpbox{
  background: rgba(37,99,235,.06);
  border:1px solid rgba(37,99,235,.18);
  border-radius:18px;
  padding:14px;
}
.helpbox h5{margin:0 0 8px; font-size:14px}
.helpbox p, .helpbox li{color:var(--muted); font-size:13px}
.helpbox ul{margin:8px 0 0; padding-left:18px}
.calc2-results{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:10px;
}
.calc2-results .result{border-radius:16px}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.12);
  background:#fff;
  color:var(--muted);
  font-size:13px;
}
.pill strong{color:var(--text)}
@media (max-width: 980px){
  .calc2-layout{grid-template-columns:1fr}
  .calc2-side{border-right:none; border-bottom:1px solid rgba(15,23,42,.10)}
  .calc2-visual{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
}
  .calc2-results{grid-template-columns:1fr 1fr}
}
@media (max-width: 640px){
  .calc2-grid{grid-template-columns:1fr}
  .calc2-results{grid-template-columns:1fr}
}

/* Reduce diagram visual size */
.calc2-visual{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
}
.calc2-illus{
  flex:0 0 420px;
  padding:0;
  background:transparent;
}

/* Clean minimal diagram style */
.calc2-card.calc2-visual{
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
}


/* ===== Corporate Industrial Theme Upgrade ===== */

:root{
  --primary:#1e3a8a;
  --primary-dark:#172554;
  --accent:#0f172a;
}

body{
  background: linear-gradient(180deg,#f8fafc,#eef2f7);
}

.page-title{
  background: linear-gradient(90deg,#0f172a,#1e3a8a);
  color:#fff;
}

.page-title h2{
  color:#fff;
}

.calc2-wrap{
  border-radius:14px;
  border:1px solid rgba(15,23,42,.15);
}

.calc2-side{
  background:#f9fafb;
  border-right:2px solid rgba(15,23,42,.08);
}

.calc2-card{
  border-radius:14px;
}

.field.compact{
  background:#f1f5f9;
}

.field.compact input,
.field.compact select,
.field.compact textarea{
  border:1px solid rgba(15,23,42,.18);
}

.btn.primary{
  background: linear-gradient(90deg,#1e3a8a,#2563eb);
  border:none;
}

.btn.primary:hover{
  opacity:.9;
}

.result{
  background:#f8fafc;
  border:1px solid rgba(15,23,42,.12);
}

.pill{
  background:#0f172a;
  color:#fff;
  border:none;
}

.note{
  font-size:13px;
  color:#475569;
}

/* Engineering feel headings */
.calc2-card h5,
.calc2-card h4{
  letter-spacing:.5px;
  text-transform:uppercase;
  font-size:13px;
}






/* ===== Premium Industrial (White Version) ===== */

:root{
  --primary:#1e3a8a;
  --accent:#2563eb;
  --soft:#f1f5f9;
  --line:rgba(15,23,42,.12);
}

body{
  background: linear-gradient(180deg,#ffffff,#f8fafc);
  color:#0f172a;
}

header{
  background:#ffffff;
  border-bottom:1px solid var(--line);
}

nav a{
  color:#334155;
}
nav a:hover, nav a.active{
  color:var(--primary);
}

.page-title{
  background: linear-gradient(90deg,#e0f2fe,#eef2ff);
  border-bottom:1px solid var(--line);
}

.page-title h2{
  color:#0f172a;
}

/* ===== Contact Page Upgrade ===== */
.muted{color:var(--muted)}

.contact-wrap{max-width:1100px;margin:0 auto}
.contact-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:14px;align-items:start}
.contact-left,.contact-right{display:flex;flex-direction:column;gap:14px}

.contact-card{padding:18px}
.contact-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}

.contact-items{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.contact-item{
  position:relative;
  display:flex;gap:12px;align-items:flex-start;
  padding:14px;border-radius:18px;
  border:1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow2);
  transition:transform .15s ease, box-shadow .15s ease, border .15s ease;
}
.contact-item:hover{transform:translateY(-1px);border-color:rgba(37,99,235,.28);box-shadow:0 18px 40px rgba(2,6,23,.10)}
.contact-item .k{font-size:12px;color:var(--muted);margin-bottom:4px}
.contact-item .v{font-size:16px;font-weight:800}
.contact-item .s{font-size:12px;color:var(--muted);margin-top:4px;line-height:1.45}
.contact-item .icon{margin:0}

.contact-pill{
  position:absolute;top:12px;right:12px;
  padding:6px 10px;border-radius:999px;
  font-size:12px;font-weight:700;
  background: linear-gradient(135deg, rgba(37,99,235,.10), rgba(124,58,237,.10));
  border:1px solid rgba(37,99,235,.22);
  color:var(--text);
}

.contact-map{padding:18px}
.map-embed{border-radius:18px;overflow:hidden;border:1px solid rgba(15,23,42,.12);background:#fff}
.map-embed iframe{width:100%;height:320px;border:0;display:block}

.contact-form{padding:18px}
.contact-form .field{border-radius:16px}
.contact-form textarea{min-height:140px}

@media (max-width: 980px){
  .contact-grid{grid-template-columns:1fr}
  .contact-items{grid-template-columns:1fr 1fr}
}
@media (max-width: 640px){
  .contact-items{grid-template-columns:1fr}
  .map-embed iframe{height:260px}
}

.card, .calc2-wrap, .calc2-card, .calc2-accordion, .helpbox, .result, .field, .chip{
  background:#ffffff !important;
  border:1px solid var(--line) !important;
  box-shadow: 0 12px 30px rgba(15,23,42,.08);
  color:#0f172a;
}

input, select, textarea{
  background:#ffffff !important;
  border:1px solid var(--line) !important;
  color:#0f172a !important;
}

.btn{
  background:#f1f5f9;
  border:1px solid var(--line);
  color:#0f172a;
}

.btn:hover{
  background:#e2e8f0;
}

.btn.primary{
  background: linear-gradient(90deg,#1e3a8a,#2563eb);
  color:#fff;
  border:none;
}

.pill{
  background:#1e3a8a !important;
  color:#fff !important;
  border:none !important;
}

.note, .small, .helpbox p, .helpbox li{
  color:#475569 !important;
}

footer{
  background:#ffffff;
  border-top:1px solid var(--line);
  color:#475569;
}

/* Floating WA (light version) */
.wa-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display:flex;
  align-items:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 999px;
  background: #22c55e;
  color:#fff;
  text-decoration:none;
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
}
.wa-float:hover{opacity:.9;}
.wa-float .dot{
  width:10px;height:10px;border-radius:50%;
  background:#ffffff;
}


/* ===== Japan Automation Style: Minimal & Precision (White) ===== */
:root{
  --jp-ink:#0b1220;
  --jp-muted:#475569;
  --jp-line:rgba(15,23,42,.10);
  --jp-soft:#f7f8fb;
  --jp-accent:#1d4ed8;
  --jp-accent2:#0ea5e9;
  --radiusJP:12px;
}

/* Subtle engineering grid background */
body{
  background:
    linear-gradient(0deg, rgba(15,23,42,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,.02) 1px, transparent 1px),
    linear-gradient(180deg,#ffffff,#fbfdff);
  background-size: 26px 26px, 26px 26px, auto;
  color: var(--jp-ink);
}

/* Typography tighter */
h1,h2,h3,h4{letter-spacing:-0.2px}
p,li{line-height:1.6}

/* Header: thin + crisp */
header{
  border-bottom:1px solid var(--jp-line);
  box-shadow:none;
}
nav a{
  font-weight:600;
  font-size:14px;
}

/* Buttons: squared minimal */
.btn{
  border-radius: 10px;
  padding: 10px 14px;
  font-weight:700;
  box-shadow:none;
}
.btn.primary{
  background: linear-gradient(90deg, var(--jp-accent), var(--jp-accent2));
}

/* Sections & cards: compact */
section{padding: 36px 0;}
.card, .calc2-wrap, .calc2-card, .calc2-accordion, .helpbox, .result, .field, .chip{
  border-radius: var(--radiusJP) !important;
  border: 1px solid var(--jp-line) !important;
  box-shadow: 0 10px 22px rgba(15,23,42,.06) !important;
}

/* Page title: compact banner */
.page-title{
  padding: 36px 0;
  background: linear-gradient(90deg, rgba(29,78,216,.08), rgba(14,165,233,.06));
}
.page-title p{max-width: 78ch;}

/* Pills become minimal labels */
.pill{
  background: transparent !important;
  color: var(--jp-ink) !important;
  border: 1px solid var(--jp-line) !important;
  border-radius: 999px !important;
  padding: 8px 10px !important;
}
.pill strong{color: var(--jp-ink);}

/* Calculator: make very tidy */
.calc2-top{
  padding: 12px 14px;
  background: #fff;
}
.calc2-side{
  background: var(--jp-soft) !important;
}
.calc2-accordion{
  background:#fff !important;
}
.calc2-acc-head{
  background: #fff !important;
}
.calc2-acc-body{padding:12px 12px;}

/* Fields compact */
.field.compact{padding:10px; background: transparent;}
.field.compact input, .field.compact select, .field.compact textarea{
  border-radius: 10px !important;
}

/* Results: flat tiles */
.result{
  border-radius: 12px !important;
  background: #fff !important;
}
.result .k{font-size:12px; letter-spacing:.1px; text-transform:uppercase}
.result .v{font-size:20px}

/* Notes: understated */
.note{
  background: rgba(29,78,216,.05);
  border: 1px solid rgba(29,78,216,.12);
  border-radius: 12px;
}

/* Floating WA: minimal pill */
.wa-float{
  background: #22c55e;
  border-radius: 12px;
  padding: 10px 12px;
}
.wa-float .dot{display:none;}


/* ===== WhatsApp Popup Widget ===== */
.wa-widget{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
}
.wa-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}
.wa-btn svg {
  width: 18px;
  height: 18px;
}
.wa-panel{
  position:absolute;
  right: 0;
  bottom: 64px;
  width: 320px;
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(15,23,42,.12);
  box-shadow: 0 18px 40px rgba(15,23,42,.18);
  background:#fff;
  transform-origin: 90% 100%;
  transform: scale(.96);
  opacity: 0;
  pointer-events: none;
  transition: .18s ease;
}
.wa-panel.open{
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}
.wa-panel .wa-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 12px 14px;
  background: #22c55e;
  color:#fff;
}
.wa-panel .wa-head .title{
  display:flex; align-items:center; gap:10px; font-weight:800;
}
.wa-panel .wa-head .title svg{width:18px;height:18px; fill:#fff;}
.wa-panel .wa-close{
  width: 28px; height: 28px;
  border-radius: 10px;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.25);
}
.wa-panel .wa-body{
  padding: 14px;
}
.wa-row{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding: 12px 12px;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 14px;
  background: #fff;
}
.wa-number{
  font-weight:900;
  color:#0f172a;
  letter-spacing:.2px;
}
.wa-sub{
  font-size: 13px;
  color: #64748b;
  margin-top: 10px;
  line-height: 1.5;
}
.wa-actions{
  margin-top: 12px;
  display:flex;
  gap:10px;
}
.wa-actions a{
  flex:1;
  text-decoration:none;
  text-align:center;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight:800;
  border: 1px solid rgba(15,23,42,.12);
  background: #f1f5f9;
  color:#0f172a;
}
.wa-actions a.primary{
  background: #1e3a8a;
  color:#fff;
  border-color: transparent;
}


/* Contact cards: display-only (non-clickable) */
.contact-item[role="group"] { cursor: default; }



.wa-float {
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom));
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
  z-index: 9999;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease, box-shadow .15s ease;
}
.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
}
.wa-float:active {
  transform: translateY(0px) scale(0.98);
}
.wa-float img {
  width: 34px;
  height: 34px;
  display: block;
}
@media (max-width: 480px) {
  .wa-float {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: 60px;
    height: 60px;
    border-radius: 16px;
  }
}


/* WhatsApp Button Global Size Fix */
.wa-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  cursor: pointer;
  z-index: 9999;
}

.wa-btn svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}


/* Uniform WhatsApp Green Color */
.wa-btn,
.wa-widget .wa-btn {
  background: #25D366 !important;
}

.wa-btn svg,
.wa-widget .wa-btn svg {
  fill: #ffffff !important;
}

/* ===== Square 2D Card ===== */
.calc2-card.calc2-visual {
    border-radius: 0 !important;
}
.calc2-card.calc2-visual .illus2d-wrap {
    border-radius: 0 !important;
}

/* ==== warna produk ==== */
/* ===== Produk ===== */

.product-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:20px;
}

/* gambar produk */
.product-image{
  width:220px;
  height:auto;
  display:flex;
  align-items:center;
  justify-content:center;
}

.product-image img{
  width:100%;
  height:auto;
  object-fit:contain;
}

/* info produk */
.product-info{
  width:100%;
}

.product-info h4{
  font-size:20px;
  margin-bottom:10px;
}

.product-info p{
  line-height:1.6;
  color:#4b5563;
}

.product-banner{
  width:100%;
  display:flex;
  justify-content:center;
}

.product-banner img{
  width:100%;
  max-width:1200px;
  height:auto;
  display:block;
}

/* sekilas perusahaan */
.company {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.company-text {
  flex: 1;
}

.company-image img {
  max-width: 350px;
  height: auto;
} 

.company-text {
  margin-left: 80px;
}

.company-image {
  margin-right: 80px;
  margin-top: 40px;
}

/* khusus halaman produk */

.product-page .product-detail{
  max-width:1200px;
  margin:60px auto;
  padding:0 20px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:flex-start;
}

.product-page .product-image{
  margin-left:40px; /* geser sedikit ke kanan */
  margin-top:25px;  /* turun sedikit */
}

.product-page .product-info{
  margin-left:-70px;   /* geser teks ke kiri */
}

.product-page .product-detail img{
  width:100%;
  max-width:420px;
}
/* ===== Product catalog page ===== */
.product-banner img{
  width:100%;
  display:block;
  border-radius:24px;
  box-shadow:var(--shadow);
}

.product-layout-section{
  padding-top:24px;
}

.product-page-head{
  margin-bottom:22px;
}

.product-page-head h2{
  margin:0 0 8px;
  font-size:40px;
  line-height:1.08;
}

.product-page-head p{
  margin:0;
  color:var(--muted);
  max-width:72ch;
}

.product-layout{
  display:grid;
  grid-template-columns:280px minmax(0, 1fr);
  gap:28px;
  align-items:start;
}

.product-sidebar{
  position:sticky;
  top:92px;
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
  border-radius:22px;
  box-shadow:var(--shadow2);
  padding:18px 16px;
}

.sidebar-group + .sidebar-group{
  margin-top:18px;
}

.sidebar-title{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:none;
  background:transparent;
  padding:6px 4px 14px;
  color:#172033;
  font-size:17px;
  font-weight:800;
  letter-spacing:.3px;
}

.sidebar-symbol{
  font-size:26px;
  line-height:1;
  color:#0f172a;
}

.sidebar-menu{
  display:flex;
  flex-direction:column;
  gap:6px;
  border-top:1px solid rgba(15,23,42,.08);
  padding-top:14px;
}

.sidebar-menu a{
  display:block;
  padding:10px 12px;
  border-radius:12px;
  color:#243042;
  font-size:15px;
  transition:background .15s ease, color .15s ease, transform .15s ease;
}

.sidebar-menu a:hover{
  background:rgba(37,99,235,.08);
  color:#0ea5e9;
  transform:translateX(2px);
}

.grouped-product-content{
  display:flex;
  flex-direction:column;
  gap:24px;
}

.product-group{
  background:rgba(255,255,255,.88);
  border:1px solid rgba(15,23,42,.10);
  border-radius:22px;
  box-shadow:var(--shadow2);
  padding:22px;
  scroll-margin-top:110px;
}

.product-group-head{
  margin-bottom:18px;
}

.product-group-head h3{
  margin:0 0 8px;
  font-size:30px;
  line-height:1.12;
}

.product-group-head p{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

.product-grid-custom{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:22px;
}

.product-card-custom{
  display:block;
  background:#ffffff;
  border:none;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 10px 24px rgba(15,23,42,.08);
  transition:transform .18s ease, box-shadow .18s ease;
}

.product-card-custom:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 36px rgba(15,23,42,.12);
}

.product-card-body{
  padding:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#ffffff;
}

.product-card-body img{
  width:100%;
  height:auto;
  object-fit:contain;
  display:block;
  border:none !important;
  outline:none !important;
  box-shadow:none !important;
  background:transparent !important;
  border-radius:0 !important;
}

.product-card-custom::before,
.product-card-custom::after,
.product-card-body::before,
.product-card-body::after{
  content:none !important;
  display:none !important;
}

.product-card-body picture,
.product-card-body figure,
.product-card-body a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  border:none !important;
  outline:none !important;
  box-shadow:none !important;
  background:transparent !important;
}

@media (max-width: 1100px){
  .product-layout{
    grid-template-columns:240px minmax(0, 1fr);
    gap:20px;
  }

  .product-grid-custom{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px){
  .product-layout{
    grid-template-columns:1fr;
  }

  .product-sidebar{
    position:static;
  }
}

@media (max-width: 640px){
  .product-group{
    padding:16px;
  }

  .product-page-head h2{
    font-size:32px;
  }

  .product-grid-custom{
    grid-template-columns:1fr 1fr;
    gap:16px;
  }
}

@media (max-width: 520px){
  .product-grid-custom{
    grid-template-columns:1fr;
  }
}


/* Update menu produk: hanya tampilkan kategori yang dipilih */
.product-group.is-hidden{
  display:none !important;
}

.sidebar-menu a.active,
.sidebar-menu a[aria-current="true"]{
  background:rgba(37,99,235,.10);
  color:#0ea5e9;
  font-weight:700;
}

/* Perbaikan menu produk: sidebar tidak ikut turun saat scroll */
.product-sidebar{
  position:static !important;
  top:auto !important;
  align-self:start;
}

/* ===== Final mobile/tablet fix: Tentang Kami & Kontak ===== */
.company-text p,
.company-text li,
.company-text .list span,
.card p,
.contact-card p,
.contact-item .s{
  text-align: justify;
  text-justify: inter-word;
}

.company{
  padding: 0 20px;
}

.company-text{
  margin-left: 0 !important;
}

.company-text p{
  line-height: 1.85;
}

.company-image{
  margin-right: 0 !important;
}

.mobile-company-image{
  display: none;
}

.mobile-company-image img{
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  margin: 16px auto 20px;
  border-radius: 18px;
}

.contact-wrap,
.contact-grid,
.contact-left,
.contact-right,
.contact-card,
.contact-item{
  min-width: 0;
}

.contact-item .v,
.contact-item .s,
.contact-head p{
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 900px){
  .company{
    flex-direction: column;
    gap: 20px;
    max-width: 760px;
  }

  .company-text{
    width: 100%;
    order: 1;
  }

  .company-image{
    width: 100%;
    order: 2;
    margin-top: 0 !important;
    text-align: center;
  }

  .company-image img{
    max-width: 560px;
    width: 100%;
    border-radius: 18px;
  }
}

@media (max-width: 640px){
  .company{
    padding: 0 18px;
  }

  .company-text h2:first-child{
    text-align: left;
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 8px;
  }

  .mobile-company-image{
    display: block;
  }

  .company > .company-image{
    display: none;
  }

  .company-text p{
    text-align: justify;
    font-size: 16px;
    line-height: 1.75;
  }

  .contact-wrap{
    width: 100%;
  }

  .contact-card,
  .contact-map,
  .contact-form{
    padding: 16px !important;
    border-radius: 20px;
  }

  .contact-head{
    display: block;
  }

  .contact-item{
    width: 100%;
    padding: 14px;
    gap: 10px;
  }

  .contact-item .v{
    font-size: 14px;
    line-height: 1.45;
  }

  .contact-item .s{
    font-size: 12px;
    line-height: 1.55;
  }
}


/* ==================================================
   CONTACT FORM STYLE - PT FUJI
   ================================================== */
.contact-form-reference{
  padding: 70px 24px 80px;
}

.contact-form-wrapper{
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: start;
  background: #fff;
  padding: 42px 48px;
}

.contact-form-left h1{
  font-size: 38px;
  line-height: 1.2;
  color: #222;
  font-weight: 400;
  margin: 0 0 18px;
}

.contact-form-left form{
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-form-left input,
.contact-form-left textarea{
  width: 100%;
  border: 1px solid #cfcfcf;
  background: #fff;
  padding: 18px 24px;
  font-size: 24px;
  color: #333;
  outline: none;
  font-family: inherit;
}

.contact-form-left textarea{
  min-height: 220px;
  resize: vertical;
  background: #f3f3f3;
}

.contact-form-left button{
  align-self: flex-end;
  width: 260px;
  border: none;
  border-radius: 6px;
  background: #e73145;
  color: #fff;
  padding: 16px 24px;
  font-size: 24px;
  cursor: pointer;
}

.contact-form-right h2{
  font-size: 32px;
  margin: 0 0 20px;
  line-height: 1.3;
  font-weight: 800;
}

.contact-form-right h2 span{
  color: #0000ff;
}

.contact-form-right h2 b{
  color: #ff0000;
}

.contact-form-right p{
  font-size: 22px;
  line-height: 1.75;
  color: #111;
  margin: 0 0 14px;
  text-align: left !important;
}

.contact-form-right a{
  color: #006cff;
  text-decoration: underline;
}

/* jangan sentuh floating WhatsApp */
.whatsapp-float,
.wa-float,
.floating-whatsapp{
  position: fixed;
}

@media (max-width: 900px){
  .contact-form-reference{
    padding: 36px 14px 60px;
  }

  .contact-form-wrapper{
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px 16px;
  }

  .contact-form-left h1{
    font-size: 30px;
  }

  .contact-form-left input,
  .contact-form-left textarea{
    font-size: 18px;
    padding: 14px 16px;
  }

  .contact-form-left textarea{
    min-height: 170px;
  }

  .contact-form-left button{
    width: 100%;
    font-size: 18px;
  }

  .contact-form-right h2{
    font-size: 26px;
  }

  .contact-form-right p{
    font-size: 17px;
    line-height: 1.7;
  }
}


/* FINAL CONTACT SIZE FIX */
.contact-form-wrapper{
    max-width: 1000px !important;
    gap: 28px !important;
    padding: 20px 10px !important;
}

.contact-form-left h1{
    font-size: 16px !important;
    font-weight: 500 !important;
    margin-bottom: 12px !important;
}

.contact-form-left input,
.contact-form-left textarea{
    font-size: 12px !important;
    padding: 10px 12px !important;
}

.contact-form-left textarea{
    min-height: 120px !important;
}

.contact-form-left button{
    width: 180px !important;
    font-size: 14px !important;
    padding: 10px 14px !important;
}

.contact-form-right h2{
    font-size: 16px !important;
    line-height: 1.4 !important;
}

.contact-form-right p{
    font-size: 12px !important;
    line-height: 1.7 !important;
}

.contact-form-right strong{
    font-size: 13px !important;
}


/* FORCE HIDE OLD CONTACT INFO/MAP SECTIONS */
.kontak-page-ref,
.kontak-ref-card,
.kontak-ref-grid,
.kontak-map-card,
.kontak-map-frame,
.kontak-map-head{
    display:none !important;
}
iframe[src*="google.com/maps"],
iframe[src*="output=embed"]{
    display:none !important;
}

/* CONTACT FORM FINAL NORMAL SIZE */
.contact-form-reference{
  padding: 56px 24px 70px !important;
}
.contact-form-wrapper{
  max-width: 1100px !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 1.15fr .85fr !important;
  gap: 34px !important;
  align-items: start !important;
  background: transparent !important;
  padding: 0 !important;
}
.contact-form-left h1{
  font-size: 24px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  margin: 0 0 16px !important;
  color: #111827 !important;
}
.contact-form-left form{
  display:flex !important;
  flex-direction:column !important;
  gap: 18px !important;
}
.contact-form-left input,
.contact-form-left textarea{
  width: 100% !important;
  font-size: 16px !important;
  padding: 14px 16px !important;
  border: 1px solid #d7dce3 !important;
  background: #fff !important;
  color: #111827 !important;
  outline: none !important;
  font-family: inherit !important;
  border-radius: 0 !important;
}
.contact-form-left textarea{
  min-height: 170px !important;
  resize: vertical !important;
}
.contact-form-left button{
  align-self: flex-end !important;
  width: 220px !important;
  padding: 13px 18px !important;
  border: none !important;
  border-radius: 6px !important;
  background: #ef3148 !important;
  color: #fff !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}
.contact-form-right h2{
  font-size: 24px !important;
  line-height: 1.35 !important;
  margin: 0 0 22px !important;
  font-weight: 800 !important;
}
.contact-form-right h2 span{
  color: #0000ff !important;
}
.contact-form-right h2 b{
  color: #ff0000 !important;
}
.contact-form-right p{
  font-size: 16px !important;
  line-height: 1.75 !important;
  color: #111 !important;
  margin: 0 0 14px !important;
  text-align: left !important;
}
.contact-form-right a{
  color: #006cff !important;
  text-decoration: underline !important;
}

/* Pastikan section lama benar-benar hilang */
.kontak-page-ref,
.kontak-ref-card,
.kontak-ref-grid,
.kontak-map-card,
.kontak-map-frame,
.kontak-map-head,
iframe[src*="google.com/maps"],
iframe[src*="output=embed"]{
  display:none !important;
}

@media (max-width: 900px){
  .contact-form-reference{
    padding: 36px 16px 56px !important;
  }
  .contact-form-wrapper{
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .contact-form-left h1{
    font-size: 22px !important;
  }
  .contact-form-left input,
  .contact-form-left textarea{
    font-size: 15px !important;
    padding: 12px 14px !important;
  }
  .contact-form-left button{
    width: 100% !important;
  }
  .contact-form-right h2{
    font-size: 22px !important;
  }
  .contact-form-right p{
    font-size: 15px !important;
  }
}



/* FINAL ALIGN KONTAK WITH PRODUK */
body:has(a[href="kontak.html"].active) .nav .container,
body:has(a[href="kontak.html"].active) .product-banner .container{
  max-width: var(--max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

body:has(a[href="kontak.html"].active) .product-banner{
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
}

body:has(a[href="kontak.html"].active) .product-banner img{
  width: 100% !important;
  max-width: 1200px !important;
  display: block !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* CONTACT FINAL */
.contact-final-section{
  max-width: var(--max) !important;
  margin: 60px auto 80px !important;
  padding: 0 20px !important;
  display: block !important;
}

.contact-final-wrapper{
  display: grid !important;
  grid-template-columns: 1.15fr .85fr !important;
  gap: 34px !important;
  align-items: start !important;
}

.contact-final-form h1{
  font-size: 24px !important;
  font-weight: 700 !important;
  margin: 0 0 16px !important;
  color: #111827 !important;
}

.contact-final-form form{
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
}

.contact-final-form input,
.contact-final-form textarea{
  width: 100% !important;
  border: 1px solid #d7dce3 !important;
  background: #fff !important;
  padding: 14px 16px !important;
  font-size: 16px !important;
  color: #111827 !important;
  font-family: inherit !important;
  outline: none !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
}

.contact-final-form textarea{
  min-height: 170px !important;
  resize: vertical !important;
}

.contact-final-form button{
  align-self: flex-end !important;
  width: 220px !important;
  border: none !important;
  border-radius: 6px !important;
  background: #ef3148 !important;
  color: #fff !important;
  padding: 13px 18px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

.contact-final-info h2{
  font-size: 24px !important;
  line-height: 1.35 !important;
  margin: 0 0 22px !important;
  font-weight: 800 !important;
}

.contact-final-info h2 span{ color: #ef3148 !important; }
.contact-final-info h2 b{ color:#529aff !important; }

.contact-final-info p{
  font-size: 16px !important;
  line-height: 1.75 !important;
  margin: 0 0 14px !important;
  color: #111 !important;
  text-align: left !important;
}

.contact-final-info a{
  color:#006cff !important;
  text-decoration: underline !important;
}

/* HIDE OLD CONTACT INFO/MAP */
.kontak-page-ref,
.kontak-ref-card,
.kontak-ref-grid,
.kontak-map-card,
.kontak-map-frame,
.kontak-map-head,
iframe[src*="google.com/maps"],
iframe[src*="output=embed"]{
  display:none !important;
}

@media (max-width:900px){
  .contact-final-section{
    margin:36px auto 60px !important;
    padding:0 16px !important;
  }
  .contact-final-wrapper{
    grid-template-columns:1fr !important;
    gap:28px !important;
  }
  .contact-final-form button{
    width:100% !important;
  }
}


/* BERANDA HEADER/BANNER ALIGN FIX */
body:has(a[href="index.html"].active) .nav .container,
body:has(a[href="index.html"].active) .hero .container,
body:has(a[href="index.html"].active) .hero-banner .container,
body:has(a[href="index.html"].active) .banner .container{
  max-width: var(--max) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:20px !important;
  padding-right:20px !important;
}

body:has(a[href="index.html"].active) .hero img,
body:has(a[href="index.html"].active) .hero-banner img,
body:has(a[href="index.html"].active) .banner img{
  width:100% !important;
  max-width:1200px !important;
  display:block !important;
  margin-left:0 !important;
  margin-right:0 !important;
}


/* FINAL NAV EXACT ALIGN ALL PAGES */
.nav .container{
  max-width: var(--max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.nav-inner{
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  min-height: 96px !important;
}

.brand{
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  min-width: 360px !important;
  flex: 0 1 360px !important;
}

.brand img{
  height: 40px !important;
  width: auto !important;
  flex: 0 0 auto !important;
}

.menu{
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  margin-left: auto !important;
  flex: 1 1 auto !important;
}

.menu a{
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: auto !important;
  height: 56px !important;
  padding: 0 14px !important;
  border-radius: 18px !important;
  box-sizing: border-box !important;
}

.menu a.active{
  border: 1px solid var(--border) !important;
  background: rgba(2,6,23,.03) !important;
}

@media (max-width: 900px){
  .brand{
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }
  .menu{
    display: none !important;
  }
}





/* FINAL BRAND SIZE 16PX ALL PAGE */
.brand h1{
  font-size:15px !important;
  font-weight:600 !important;
  line-height:1.2 !important;
  margin:0 !important;
}

.brand p{
  font-size:12px !important;
  line-height:1.4 !important;
  margin-top:4px !important;
  color:#667085 !important;
}


/* ===== WhatsApp All Button Hover Animation Fix ===== */

/* Floating WhatsApp icon */
.wa-btn{
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  position: fixed;
  overflow: hidden;
}

.wa-btn:hover{
  transform: translateY(-8px) scale(1.05);
  box-shadow:
    0 18px 35px rgba(37,211,102,0.45),
    0 0 20px rgba(37,211,102,0.35);
}

.wa-btn svg{
  transition: transform 0.3s ease;
}

.wa-btn:hover svg{
  animation: waShake 0.6s ease;
}

@keyframes waShake{
  0%{ transform: rotate(0deg); }
  25%{ transform: rotate(-10deg); }
  50%{ transform: rotate(10deg); }
  75%{ transform: rotate(-5deg); }
  100%{ transform: rotate(0deg); }
}

/* Green CTA WhatsApp buttons */
a[href*="wa.me"]:not(.wa-btn),
a[href*="whatsapp"]:not(.wa-btn),
.btn-whatsapp,
.whatsapp-btn,
.wa-cta,
.cta-wa-btn{
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

a[href*="wa.me"]:not(.wa-btn)::before,
a[href*="whatsapp"]:not(.wa-btn)::before,
.btn-whatsapp::before,
.whatsapp-btn::before,
.wa-cta::before,
.cta-wa-btn::before{
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.28), transparent);
  transition: left 0.6s ease;
  z-index: -1;
}

a[href*="wa.me"]:not(.wa-btn):hover,
a[href*="whatsapp"]:not(.wa-btn):hover,
.btn-whatsapp:hover,
.whatsapp-btn:hover,
.wa-cta:hover,
.cta-wa-btn:hover{
  transform: translateY(-5px) scale(1.02);
  box-shadow:
    0 18px 35px rgba(37,211,102,0.38),
    0 0 18px rgba(37,211,102,0.25);
  background-color: #20c55a;
}

a[href*="wa.me"]:not(.wa-btn):hover::before,
a[href*="whatsapp"]:not(.wa-btn):hover::before,
.btn-whatsapp:hover::before,
.whatsapp-btn:hover::before,
.wa-cta:hover::before,
.cta-wa-btn:hover::before{
  left: 120%;
}


/* FIX: nomor WhatsApp di halaman Kontak tidak diberi background hijau saat hover/kursor diarahkan */
.contact-final-info a[href*="wa.me"],
.contact-final-info a[href*="whatsapp"],
.contact-final-info a[href*="wa.me"]:hover,
.contact-final-info a[href*="whatsapp"]:hover,
.contact-final-info a[href*="wa.me"]:focus,
.contact-final-info a[href*="whatsapp"]:focus,
.contact-final-info a[href*="wa.me"]:active,
.contact-final-info a[href*="whatsapp"]:active{
  display:inline !important;
  position:static !important;
  overflow:visible !important;
  z-index:auto !important;
  padding:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  background-color:transparent !important;
  background-image:none !important;
  box-shadow:none !important;
  transform:none !important;
  color:#006cff !important;
  text-decoration:underline !important;
  -webkit-tap-highlight-color:transparent !important;
}
.contact-final-info a[href*="wa.me"]::before,
.contact-final-info a[href*="whatsapp"]::before,
.contact-final-info a[href*="wa.me"]:hover::before,
.contact-final-info a[href*="whatsapp"]:hover::before{
  content:none !important;
  display:none !important;
  background:transparent !important;
}
.contact-final-info a[href*="wa.me"]::selection,
.contact-final-info a[href*="whatsapp"]::selection{
  background:transparent !important;
  color:#006cff !important;
}
.contact-final-info a[href*="wa.me"]::-moz-selection,
.contact-final-info a[href*="whatsapp"]::-moz-selection{
  background:transparent !important;
  color:#006cff !important;
}

/* === Responsive footer/mobile overflow fix === */
@media (max-width: 640px){
  .footer-grid{
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }
  .footer-grid > div{
    min-width: 0 !important;
  }
  footer .small{
    overflow-wrap: anywhere;
    word-break: normal;
  }
}


/* === Strong hover pop effect for contact WhatsApp number === */
.contact-final-info a.wa-number-pop-link,
.contact-final-info a[href*="wa.me"].wa-number-pop-link{
  display:inline-block !important;
  position:relative !important;
  padding:2px 6px !important;
  margin:-2px -6px !important;
  border-radius:8px !important;
  background:transparent !important;
  background-color:transparent !important;
  color:#006cff !important;
  text-decoration:underline !important;
  box-shadow:none !important;
  transform:translateY(0) scale(1) !important;
  transform-origin:center center !important;
  transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease !important;
}
.contact-final-info a.wa-number-pop-link:hover,
.contact-final-info a.wa-number-pop-link:focus{
  transform:translateY(-4px) scale(1.10) !important;
  background:#fff !important;
  background-color:#fff !important;
  color:#004fd6 !important;
  text-decoration:none !important;
  box-shadow:0 10px 22px rgba(15,23,42,.26), 0 0 0 1px rgba(0,108,255,.20) !important;
}
.contact-final-info a.wa-number-pop-link::before,
.contact-final-info a.wa-number-pop-link:hover::before{
  content:none !important;
  display:none !important;
}

/* Catatan Teknis footer dibuat rata kanan-kiri */
.footer-grid > div:nth-child(3) p.small{
  text-align: justify;
  text-justify: inter-word;
}


/* ===== Home banner slider ===== */
.home-banner-slider{
  padding-top:36px;
}
.home-banner-slider .container{
  max-width:1200px;
}
.banner-slider{
  position:relative;
  width:100%;
  overflow:hidden;
  border-radius:24px;
  box-shadow:var(--shadow);
  background:#eef6ff;
}
.banner-track{
  display:flex;
  width:100%;
  transition:transform .65s ease;
  will-change:transform;
}
.banner-slide{
  flex:0 0 100%;
  width:100%;
}
.banner-slide img{
  width:100%;
  display:block;
  border-radius:24px;
  box-shadow:none;
}
.banner-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:40px;
  height:56px;
  border:0;
  border-radius:0;
  background:transparent;
  color:#fff;
  font-size:54px;
  line-height:54px;
  text-shadow:0 3px 12px rgba(15,23,42,.55);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.2s ease;
  z-index:3;
}
.banner-nav:hover{
  background:transparent;
  transform:translateY(-50%) scale(1.08);
}

.banner-dots{
  position:absolute;
  left:50%;
  bottom:14px;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:10px;
  z-index:4;
}
.banner-dots button{
  width:34px;
  height:3px;
  border:0;
  padding:0;
  border-radius:999px;
  background:rgba(255,255,255,.55);
  cursor:pointer;
  transition:.2s ease;
}
.banner-dots button.active{
  width:46px;
  background:#ffffff;
}

.banner-prev{
  left:18px;
}
.banner-next{
  right:18px;
}
@media(max-width:768px){
  .home-banner-slider{
    padding-top:20px;
  }
  .banner-nav{
    width:34px;
    height:34px;
    font-size:30px;
    line-height:30px;
  }
  .banner-prev{left:10px;}
  .banner-next{right:10px;}
  .banner-dots{bottom:8px; gap:8px;}
  .banner-dots button{width:24px;}
  .banner-dots button.active{width:34px;}
}
