/* ==========================================================
   JPN CONSULTANCY - MODERN DESIGN LAYER
   Loaded AFTER style.css. It restyles the whole site (colors, type,
   spacing, cards, header, footer, mobile) without touching any content.
   Delete this file and the site simply falls back to the older look.
   ========================================================== */
:root{
  --radius:18px;
  --radius-sm:12px;
  --shadow:0 1px 2px rgba(24,11,51,.04), 0 8px 24px rgba(50,20,120,.07);
  --shadow-lg:0 2px 4px rgba(24,11,51,.05), 0 24px 56px rgba(80,20,200,.16);
  --grad-brand:linear-gradient(135deg,#5B0CED 0%,#7A2CF5 55%,#E90683 130%);
  --grad-cta:linear-gradient(135deg,#FFB35C 0%,#FB9A2D 55%,#F2751A 100%);
  --grad-dark:linear-gradient(160deg,#2A0A6B 0%,#3A0F94 55%,#1E0650 100%);
  --font-display:'Plus Jakarta Sans','Inter','Noto Sans Bengali',sans-serif;
  --font-body:'Inter','Noto Sans Bengali',system-ui,sans-serif;
  --ring:0 0 0 4px rgba(91,12,237,.18);
}

body{ font-size:16px; line-height:1.65; background:#FBFAFF; text-rendering:optimizeLegibility; }
h1,h2,h3,h4{ font-family:var(--font-display); letter-spacing:-.02em; color:var(--ink); }
h2.section-title{ font-size:clamp(28px,4.2vw,44px); font-weight:800; }
h3{ font-weight:700; }
section{ padding:clamp(56px,8vw,96px) 0; }
.container{ max-width:1200px; padding:0 clamp(16px,4vw,28px); }
::selection{ background:#5B0CED; color:#fff; }
:focus-visible{ outline:3px solid #FB9A2D; outline-offset:3px; border-radius:6px; }
img{ height:auto; }
.skip-link{ position:absolute; left:-999px; top:8px; background:#5B0CED; color:#fff; padding:10px 16px; border-radius:8px; z-index:1000; }
.skip-link:focus{ left:12px; }

/* ---------- eyebrow / section heads ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px; padding:6px 14px; border-radius:999px;
  background:rgba(91,12,237,.08); color:#5B0CED; font-family:var(--font-body); font-weight:700;
  font-size:12px; letter-spacing:.08em; text-transform:uppercase;
}
.eyebrow::before{ display:none; }
.bg-navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow{ background:rgba(255,255,255,.12); color:#FFD9A8; }
.section-head p{ font-size:17px; color:var(--slate); }

/* ---------- buttons ---------- */
.btn{
  border-radius:14px; padding:14px 26px; min-height:48px; font-weight:700; font-size:15px; letter-spacing:-.005em;
  justify-content:center; transition:transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn i, .btn svg{ width:18px; height:18px; }
.btn-gold{ background:var(--grad-cta); color:#2A0A00; box-shadow:0 8px 22px rgba(251,154,45,.38); }
.btn-gold:hover{ background:var(--grad-cta); transform:translateY(-2px); box-shadow:0 14px 30px rgba(251,154,45,.48); }
.btn-navy{ background:var(--grad-brand); color:#fff; box-shadow:0 8px 22px rgba(91,12,237,.32); }
.btn-navy:hover{ background:var(--grad-brand); transform:translateY(-2px); box-shadow:0 14px 30px rgba(91,12,237,.42); }
.btn-outline{ border:1.5px solid rgba(91,12,237,.3); color:#5B0CED; background:#fff; }
.btn-outline:hover{ border-color:#5B0CED; background:rgba(91,12,237,.05); transform:translateY(-2px); }
.btn-outline-light{ border:1.5px solid rgba(255,255,255,.4); color:#fff; backdrop-filter:blur(6px); }
.btn-outline-light:hover{ background:rgba(255,255,255,.12); transform:translateY(-2px); }
.btn-whatsapp{ background:#1FB855; box-shadow:0 8px 22px rgba(31,184,85,.32); }
.btn-whatsapp:hover{ transform:translateY(-2px); }

/* ---------- header ---------- */
.site-header{
  background:rgba(255,255,255,.82); backdrop-filter:saturate(180%) blur(14px); -webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid rgba(91,12,237,.08); box-shadow:0 1px 0 rgba(255,255,255,.6) inset;
}
.header-inner{ padding-top:10px; padding-bottom:10px; gap:24px; }
.brand-logo-img{ height:44px; border-radius:8px; }
.brand-text strong{ font-family:var(--font-display); font-weight:800; font-size:18px; color:var(--ink); }
.main-nav{ gap:4px; }
.main-nav a{ padding:9px 15px; border-radius:11px; border-bottom:0; font-weight:600; font-size:14.5px; color:#3A3152; transition:.18s ease; }
.main-nav a:hover{ background:rgba(91,12,237,.07); color:#5B0CED; }
.main-nav a.active{ background:rgba(91,12,237,.1); color:#5B0CED; border:0; }
.lang-mini-select{ border-radius:11px; background:#fff; padding:9px 10px; font-weight:600; }
.header-cta .btn{ padding:11px 20px; min-height:44px; font-size:14px; }
.nav-drawer-cta{ display:none; }
.nav-backdrop{ display:none; }
.nav-toggle{ width:46px; height:46px; border-radius:12px; background:rgba(91,12,237,.08); align-items:center; justify-content:center; }

/* ---------- hero ---------- */
.hero{
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(233,6,131,.42) 0, transparent 60%),
    radial-gradient(800px 520px at 100% 110%, rgba(251,154,45,.30) 0, transparent 60%),
    var(--grad-dark);
  padding:clamp(64px,9vw,120px) 0 clamp(56px,8vw,104px);
}
.hero::before{
  opacity:1;
  background-image:linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size:56px 56px; -webkit-mask-image:radial-gradient(ellipse at 30% 30%, #000 0, transparent 75%); mask-image:radial-gradient(ellipse at 30% 30%, #000 0, transparent 75%);
}
.hero-eyebrow{
  display:inline-block; font-family:var(--font-body); font-weight:700; letter-spacing:.09em; font-size:12px; color:#FFD9A8;
  background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.16); padding:8px 16px; border-radius:999px; margin-bottom:22px;
}
.hero h1{ font-size:clamp(34px,5.6vw,62px); font-weight:800; line-height:1.06; letter-spacing:-.03em; }
.hero p.lead{ color:#DCD6F0; font-size:clamp(16px,1.6vw,19px); line-height:1.65; }
.hero-stats{ border-top:0; padding-top:0; gap:14px; }
.hero-stat{
  border:1px solid rgba(255,255,255,.16); background:rgba(255,255,255,.07); backdrop-filter:blur(8px);
  border-radius:16px; padding:16px 22px; margin:0; min-width:130px;
}
.hero-stat .num{ font-family:var(--font-display); font-weight:800; color:#FFB35C; font-size:30px; }
.hero-stat .label{ color:#CFC7E8; }
.hero-seal{ border:0; background:conic-gradient(from 140deg, rgba(251,154,45,.55), rgba(233,6,131,.5), rgba(91,12,237,.6), rgba(251,154,45,.55)); padding:3px; box-shadow:0 30px 80px rgba(0,0,0,.35); }
.hero-seal-inner{ width:100%; height:100%; background:linear-gradient(160deg,#2B0B72,#1B0648); border:0; }
.hero-seal-inner strong{ font-family:var(--font-display); font-weight:800; }

/* Inner-page hero (blog, blog post) */
.page-hero{
  position:relative; color:#fff; padding:clamp(48px,7vw,84px) 0 clamp(40px,6vw,64px); overflow:hidden;
  background:
    radial-gradient(700px 380px at 90% -20%, rgba(233,6,131,.4) 0, transparent 60%),
    radial-gradient(600px 380px at 0% 120%, rgba(251,154,45,.25) 0, transparent 60%), var(--grad-dark);
}
.page-hero h1{ color:#fff; font-size:clamp(30px,4.6vw,50px); font-weight:800; line-height:1.1; margin:14px 0 14px; max-width:880px; }
.page-hero .lead{ color:#DCD6F0; font-size:clamp(16px,1.5vw,18px); max-width:660px; margin:0 0 26px; }

/* ---------- cards ---------- */
.card{ border-radius:var(--radius); border:1px solid rgba(91,12,237,.09); box-shadow:var(--shadow); padding:28px 24px; }
.card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); border-color:rgba(91,12,237,.14); }
.service-card .icon-wrap{ width:56px; height:56px; border-radius:16px; background:linear-gradient(135deg,rgba(91,12,237,.12),rgba(233,6,131,.1)); color:#5B0CED; }
.service-card:hover .icon-wrap{ background:var(--grad-brand); color:#fff; }
.service-card h3{ font-size:18px; }
.industry-pill, .service-tag{ border-radius:999px; border:1px solid rgba(91,12,237,.12); box-shadow:0 1px 2px rgba(24,11,51,.03); transition:.18s ease; }
.service-tag:hover{ border-color:#5B0CED; transform:translateY(-2px); }
.counter-card{ background:var(--grad-dark) !important; border:1px solid rgba(255,255,255,.14) !important; box-shadow:var(--shadow); }
.counter-card .label{ color:#DCD6F0; }
.counter-card .num{ font-family:var(--font-display); font-weight:800; }
.bg-navy{ background:var(--grad-dark); }
.bg-paper{ background:#fff; }
.testimonial-card .stars{ color:#FB9A2D; }
.testimonial-avatar, .how-it-works-num{ background:var(--grad-brand); color:#fff; }
.founder-shortcut-inner{ border-radius:24px; background:linear-gradient(135deg,#fff,#F6F1FF); box-shadow:var(--shadow); }
.founder-shortcut-quote{ font-family:var(--font-display); font-style:normal; font-weight:600; }

/* ---------- FAQ ---------- */
.faq-item{ border-radius:16px; border:1px solid rgba(91,12,237,.1); box-shadow:var(--shadow); }
.faq-q{ padding:20px 22px; gap:14px; }
.faq-item.open{ border-color:#5B0CED; }
.faq-item.open .faq-a{ max-height:1200px; }

/* ---------- forms ---------- */
.form-group input, .form-group select, .form-group textarea, .faq-search input{
  border-radius:var(--radius-sm); border:1.5px solid #E2DAF3; padding:14px 16px; min-height:50px; background:#fff; transition:border-color .15s, box-shadow .15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus, .faq-search input:focus{ outline:none; border-color:#5B0CED; box-shadow:var(--ring); }
.contact-info-card{ border-radius:var(--radius); background:var(--grad-dark); }
.map-embed{ border-radius:var(--radius); box-shadow:var(--shadow); }
.gallery-item{ border-radius:var(--radius-sm); box-shadow:var(--shadow); }

/* ---------- footer ---------- */
.site-footer{ background:linear-gradient(180deg,#1E0650 0%,#12032F 100%); border-top:4px solid; border-image:linear-gradient(90deg,#5B0CED,#E90683,#FB9A2D) 1; }
.footer-col h4{ font-family:var(--font-display); font-weight:700; color:#fff; }
.social-icons a{ border-radius:12px; }

/* ---------- popup / floating ---------- */
.popup-box{ border-radius:22px; }
.fab{ box-shadow:0 10px 26px rgba(24,11,51,.28); }
.live-notice{ border-radius:14px; }

/* ==========================================================
   BLOG
   ========================================================== */
.blog-search{
  display:flex; align-items:center; gap:10px; max-width:640px; background:#fff; border-radius:18px; padding:8px 8px 8px 18px;
  box-shadow:0 18px 40px rgba(0,0,0,.25);
}
.blog-search i, .blog-search svg{ color:#7A6E93; width:20px; height:20px; flex-shrink:0; }
.blog-search input{ flex:1; min-width:0; border:0; outline:none; font-family:var(--font-body); font-size:16px; padding:12px 4px; color:var(--ink); background:transparent; }
.blog-search .btn{ padding:12px 22px; min-height:46px; }

.blog-section{ background:#FBFAFF; padding-top:36px; }
.chip-row{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:22px; }
.chip{
  padding:9px 16px; border-radius:999px; background:#fff; border:1px solid rgba(91,12,237,.14); font-size:13.5px; font-weight:600;
  color:#4A3F66; white-space:nowrap; transition:.16s ease;
}
.chip:hover{ border-color:#5B0CED; color:#5B0CED; }
.chip.active{ background:var(--grad-brand); color:#fff; border-color:transparent; box-shadow:0 6px 16px rgba(91,12,237,.3); }
.result-note{ color:var(--slate); font-size:14px; margin:0 0 24px; }
.empty-state{ text-align:center; padding:60px 20px; background:#fff; border-radius:var(--radius); border:1px dashed #D9CEF2; }

.post-tag{
  display:inline-block; background:rgba(91,12,237,.09); color:#5B0CED; font-size:11.5px; font-weight:700;
  letter-spacing:.05em; text-transform:uppercase; padding:5px 11px; border-radius:999px; margin-bottom:12px;
}
.post-tag.on-dark{ background:rgba(255,255,255,.14); color:#FFD9A8; }
.post-meta{ display:flex; flex-wrap:wrap; align-items:center; gap:6px 16px; font-size:13px; color:#7A6E93; margin-top:auto; }
.post-meta span{ display:inline-flex; align-items:center; gap:6px; }
.post-meta span + span::before{ content:''; width:4px; height:4px; border-radius:50%; background:#C7BBE3; display:inline-block; }
.post-meta.on-dark{ color:#D7CFEE; }
.post-meta.on-dark span + span::before{ display:none; }
.post-meta svg, .post-meta i{ width:15px; height:15px; }

.featured-post{
  display:grid; grid-template-columns:1.15fr 1fr; background:#fff; border-radius:24px; overflow:hidden; margin-bottom:34px;
  box-shadow:var(--shadow); border:1px solid rgba(91,12,237,.09); transition:.25s ease;
}
.featured-post:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.featured-media{ background:#2A0A6B; display:flex; align-items:center; }
.featured-media img{ width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; }
.featured-body{ padding:clamp(22px,3.4vw,42px); display:flex; flex-direction:column; justify-content:center; gap:4px; }
.featured-body h2{ font-size:clamp(22px,2.6vw,32px); font-weight:800; line-height:1.18; margin:0 0 10px; }
.featured-body p{ color:var(--slate); margin:0 0 16px; }
.featured-body .post-meta{ margin:0 0 18px; }

.post-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.post-card{
  display:flex; flex-direction:column; background:#fff; border-radius:20px; overflow:hidden; border:1px solid rgba(91,12,237,.09);
  box-shadow:var(--shadow); transition:transform .25s ease, box-shadow .25s ease; height:100%;
}
.post-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.post-card-media{ position:relative; aspect-ratio:16/9; overflow:hidden; background:#2A0A6B; }
.post-card-media img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.post-card:hover .post-card-media img{ transform:scale(1.05); }
.post-card-body{ padding:20px 22px 22px; display:flex; flex-direction:column; flex:1; }
.post-card-body h3{ font-size:18px; line-height:1.28; margin:0 0 8px; font-weight:700; }
.post-card-body p{ color:var(--slate); font-size:14.5px; line-height:1.55; margin:0 0 14px;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }

.pagination{ display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:8px; margin:44px 0 6px; }
.pg-btn{ min-width:44px; height:44px; padding:0 14px; display:inline-flex; align-items:center; justify-content:center; border-radius:12px; background:#fff; border:1px solid rgba(91,12,237,.14); font-weight:600; font-size:14px; color:#4A3F66; transition:.15s; }
.pg-btn:hover{ border-color:#5B0CED; color:#5B0CED; }
.pg-btn.active{ background:var(--grad-brand); color:#fff; border-color:transparent; }
.pg-gap{ color:#9A90B3; padding:0 2px; }

/* Blog post page */
.breadcrumb{ display:flex; flex-wrap:wrap; gap:8px; font-size:13.5px; color:#CFC7E8; margin-bottom:18px; }
.breadcrumb a{ color:#FFD9A8; }
.breadcrumb a:hover{ text-decoration:underline; }
.post-section{ background:#fff; padding-top:clamp(28px,4vw,48px); }
.post-layout{ display:grid; grid-template-columns:minmax(0,760px) 320px; gap:56px; justify-content:center; align-items:start; }
.post-cover{ width:100%; border-radius:20px; margin-bottom:28px; box-shadow:var(--shadow); aspect-ratio:16/9; object-fit:cover; }
.post-content{ font-size:17.5px; line-height:1.85; color:#2B2340; }
.post-content h2{ font-size:clamp(23px,2.6vw,29px); font-weight:800; margin:2.1em 0 .6em; line-height:1.2; scroll-margin-top:96px; color:var(--ink); }
.post-content h2::before{ content:''; display:block; width:44px; height:4px; border-radius:2px; background:var(--grad-brand); margin-bottom:14px; }
.post-content h3{ font-size:clamp(18px,2vw,21px); margin:1.6em 0 .5em; color:#3A0F94; }
.post-content p{ margin:0 0 1.15em; }
.post-content a{ color:#5B0CED; text-decoration:underline; text-underline-offset:3px; font-weight:600; }
.post-content ul, .post-content ol{ margin:0 0 1.3em; padding-left:1.4em; }
.post-content ul{ list-style:disc; } .post-content ol{ list-style:decimal; }
.post-content li{ margin-bottom:.5em; padding-left:.2em; }
.post-content li::marker{ color:#FB9A2D; font-weight:700; }
.post-content strong{ color:var(--ink); }
.post-content table{ width:100%; border-collapse:separate; border-spacing:0; margin:1.6em 0; font-size:15px; display:block; overflow-x:auto; border:1px solid #E5DCF6; border-radius:14px; }
.post-content th{ background:#F3ECFF; color:#3A0F94; text-align:left; font-weight:700; }
.post-content th, .post-content td{ padding:12px 16px; border-bottom:1px solid #EEE7FA; vertical-align:top; min-width:120px; }
.post-content tr:last-child td{ border-bottom:0; }
.post-content blockquote{ margin:1.6em 0; padding:16px 22px; background:#F8F4FF; border-left:4px solid #5B0CED; border-radius:0 14px 14px 0; }
.post-content img{ border-radius:14px; margin:1.4em 0; }

.toc-inline{ background:#F8F4FF; border:1px solid #E5DCF6; border-radius:16px; padding:6px 20px; margin-bottom:28px; }
.toc-inline summary{ cursor:pointer; padding:12px 0; font-weight:700; color:#3A0F94; display:flex; align-items:center; gap:10px; list-style:none; }
.toc-inline summary::-webkit-details-marker{ display:none; }
.toc-inline ol, .toc-card ol{ list-style:decimal; margin:0 0 14px; padding-left:1.3em; font-size:14.5px; }
.toc-inline li, .toc-card li{ margin-bottom:8px; } .toc-inline a:hover, .toc-card a:hover{ color:#5B0CED; text-decoration:underline; }

.post-aside{ position:sticky; top:96px; display:flex; flex-direction:column; gap:20px; }
.aside-card{ background:#fff; border:1px solid rgba(91,12,237,.12); border-radius:20px; padding:22px; box-shadow:var(--shadow); }
.aside-card h4{ font-size:16px; margin:0 0 12px; }
.toc-card{ max-height:52vh; overflow:auto; }
.cta-card{ background:var(--grad-dark); color:#fff; border:0; }
.cta-card h4{ color:#fff; font-size:19px; } .cta-card p{ color:#DCD6F0; font-size:14.5px; margin:0 0 16px; }
.cta-card .btn{ margin-bottom:10px; }
.aside-phone{ display:flex; align-items:center; justify-content:center; gap:8px; color:#FFD9A8; font-weight:600; margin-top:4px; }

.share-row{ display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin:38px 0 20px; padding:18px 0; border-top:1px solid #EEE7FA; border-bottom:1px solid #EEE7FA; }
.share-row a{ width:44px; height:44px; border-radius:50%; background:#F3ECFF; color:#5B0CED; display:flex; align-items:center; justify-content:center; transition:.18s; }
.share-row a:hover{ background:#5B0CED; color:#fff; transform:translateY(-2px); }
.disclaimer{ font-size:13px; color:#7A6E93; background:#FAF7FF; border-radius:12px; padding:14px 16px; }
.related-section{ background:#FBFAFF; }

/* ==========================================================
   SCROLL REVEAL (only active when JavaScript is running)
   ========================================================== */
.js .reveal{ opacity:0; transform:translateY(22px); transition:opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion:reduce){
  *{ animation:none !important; transition:none !important; scroll-behavior:auto !important; }
  .js .reveal{ opacity:1; transform:none; }
}

/* ==========================================================
   MOBILE ACTION BAR + TABLET / PHONE LAYOUT
   ========================================================== */
.mobile-bar{ display:none; }

@media(max-width:1000px){
  .post-layout{ grid-template-columns:minmax(0,1fr); gap:34px; }
  .post-aside{ position:static; }
  .toc-card{ display:none; }
  .post-grid{ grid-template-columns:repeat(2,1fr); }
  .featured-post{ grid-template-columns:1fr; }
}
@media(min-width:1001px){ .toc-inline{ display:none; } }

@media(max-width:720px){
  body{ padding-bottom:78px; }
  /* backdrop-filter would trap the fixed drawer inside the header and widen the page, so use a solid bar on phones */
  .site-header{ position:sticky; background:#fff; backdrop-filter:none; -webkit-backdrop-filter:none; }
  .header-inner{ gap:10px; padding-top:8px; padding-bottom:8px; }
  .brand-logo-img{ height:38px; }
  .brand-text strong{ font-size:16px; }
  .brand-text small{ display:none; }
  .header-cta{ margin-left:auto; }
  .nav-toggle{ display:flex; }

  /* slide-in drawer */
  .main-nav{
    position:fixed; top:0; right:0; left:auto; width:min(86vw,340px); height:100vh; height:100dvh; padding:84px 20px 28px; gap:6px; background:#fff;
    flex-direction:column; align-items:stretch; overflow-y:auto; z-index:250; box-shadow:-20px 0 60px rgba(24,11,51,.3); margin:0;
    transform:translateX(110%); visibility:hidden; transition:transform .3s cubic-bezier(.2,.7,.2,1), visibility .3s;
  }
  .main-nav.open{ transform:none; visibility:visible; }
  .main-nav a{ font-size:17px; padding:14px 16px; min-height:50px; display:flex; align-items:center; border-radius:14px; }
  .lang-mini-select{ width:100%; min-height:50px; font-size:16px; margin:8px 0 0; }
  .nav-drawer-cta{ display:inline-flex !important; margin-top:14px; width:100%; }
  .nav-backdrop{ display:block; position:fixed; inset:0; background:rgba(18,3,47,.55); opacity:0; pointer-events:none; transition:opacity .25s; z-index:240; backdrop-filter:blur(2px); }
  .nav-backdrop.show{ opacity:1; pointer-events:auto; }
  .nav-toggle{ position:relative; z-index:260; }

  /* hero */
  .hero{ padding:52px 0 44px; }
  .hero-inner{ gap:24px; }
  .hero h1{ font-size:clamp(30px,8.4vw,40px); }
  .hero-ctas{ flex-direction:column; gap:10px; margin-bottom:28px; }
  .hero-ctas .btn{ width:100%; }
  .hero-stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
  .hero-stat{ padding:12px 8px; min-width:0; text-align:center; margin:0; border-right:1px solid rgba(255,255,255,.16); }
  .hero-stat .num{ font-size:22px; } .hero-stat .label{ font-size:10px; letter-spacing:.03em; }
  .page-hero{ padding:38px 0 34px; }

  /* grids */
  .grid-4{ grid-template-columns:repeat(2,1fr); gap:12px; }
  .grid-3, .grid-2{ grid-template-columns:1fr; gap:16px; }
  .service-card{ padding:18px 14px; } .service-card h3{ font-size:15px; } .service-card p{ font-size:13px; margin-bottom:10px; }
  .service-card .icon-wrap{ width:46px; height:46px; margin-bottom:12px; }
  .counter-card{ padding:22px 10px; } .counter-card .num{ font-size:32px; }
  .card{ padding:22px 18px; }
  .post-grid{ grid-template-columns:1fr; gap:18px; }
  .post-card-body{ padding:16px 18px 18px; }

  /* blog list */
  .blog-search{ flex-wrap:wrap; padding:8px; border-radius:16px; }
  .blog-search i, .blog-search svg{ margin-left:8px; }
  .blog-search input{ flex:1 1 60%; }
  .blog-search .btn{ width:100%; }
  .chip-row{ flex-wrap:nowrap; overflow-x:auto; margin:0 -16px 18px; padding:2px 16px 10px; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
  .chip-row::-webkit-scrollbar{ display:none; }
  .post-content{ font-size:16.5px; line-height:1.8; }
  .post-content h2{ margin-top:1.8em; }
  .share-row a{ width:46px; height:46px; }

  /* forms: 16px prevents the iOS zoom-on-focus that made pages look cut off */
  input, select, textarea{ font-size:16px !important; }
  .form-grid{ grid-template-columns:1fr; }
  .contact-grid > *, .form-grid > *, .form-group{ min-width:0; }
  .form-group select, .form-group input, .form-group textarea{ max-width:100%; width:100%; }

  /* bottom action bar replaces the floating buttons */
  .mobile-bar{
    display:grid; grid-template-columns:1fr 1.25fr 1.45fr; gap:8px; position:fixed; left:0; right:0; bottom:0; z-index:280;
    padding:8px 10px calc(8px + env(safe-area-inset-bottom)); background:rgba(255,255,255,.94); backdrop-filter:blur(14px);
    border-top:1px solid rgba(91,12,237,.12); box-shadow:0 -10px 30px rgba(24,11,51,.12);
  }
  .mobile-bar a{ display:flex; align-items:center; justify-content:center; gap:7px; min-height:48px; border-radius:14px; font-weight:700; font-size:13px; padding:0 6px; text-align:center; line-height:1.15; }
  .mobile-bar svg, .mobile-bar i{ width:18px; height:18px; }
  .mb-call{ background:#F3ECFF; color:#5B0CED; }
  .mb-wa{ background:#1FB855; color:#fff; }
  .mb-book{ background:var(--grad-cta); color:#2A0A00; }
  .floating-contact{ bottom:90px; right:14px; }
  .floating-contact .fab-whatsapp, .floating-contact .fab-call{ display:none; }
  .fab{ width:50px; height:50px; }
  .chat-window{ bottom:152px; right:10px; left:10px; width:auto; max-width:none; height:min(460px,60vh); }
  .live-notice{ display:none; }
  .popup-box{ width:92%; }
  .footer-grid{ gap:28px; }
  .site-footer{ padding-top:48px; }
}
@media(max-width:380px){
  .grid-4{ grid-template-columns:1fr; }
  .mobile-bar a span{ font-size:12.5px; }
}

/* Service & location pages */
.mini-h{ font-size:22px; font-weight:800; margin:2em 0 .7em; }
.link-list{ list-style:none; margin:0; padding:0; }
.link-list li{ padding:9px 0; border-bottom:1px solid #EEE7FA; font-size:15px; }
.link-list li:last-child{ border-bottom:0; }
.link-list a{ color:#3A0F94; font-weight:600; } .link-list a:hover{ color:#5B0CED; text-decoration:underline; }
a.service-tag:hover{ background:#5B0CED; color:#fff; }
a.service-tag:hover i, a.service-tag:hover svg{ color:#fff; }

/* About page additions */
.about-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.about-stats>div{background:#fff;border:1px solid var(--line,#e7e2f5);border-radius:16px;padding:20px 12px;text-align:center;box-shadow:0 6px 20px rgba(60,20,150,.06)}
.about-stats strong{display:block;font-size:28px;color:var(--navy,#1c1236);font-family:'Plus Jakarta Sans',sans-serif}
.about-stats span{font-size:13.5px;color:var(--slate,#6b6285)}
.about-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.about-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px;display:block}
@media(max-width:720px){.about-stats{grid-template-columns:repeat(2,1fr)}.about-gallery{grid-template-columns:repeat(2,1fr)}}

/* Footer SEO link blocks */
.footer-seo{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:26px 0;border-top:1px solid rgba(255,255,255,.12)}
.footer-seo h4{margin:0 0 10px;font-size:15px}
.footer-seo p{display:flex;flex-wrap:wrap;gap:6px 14px;margin:0}
.footer-seo a{font-size:13px;opacity:.8;color:inherit}
.footer-seo a:hover{opacity:1;text-decoration:underline}
@media(max-width:720px){.footer-seo{grid-template-columns:1fr}}

/* Developer credit in footer */
.dev-credit{margin-left:6px}
.dev-credit a{color:var(--gold-light,#ffc46b);font-weight:600}
.dev-credit a:hover{text-decoration:underline}

/* ===== JPN Smart Assistant chat widget ===== */
.chat-window{ width:380px; max-width:calc(100vw - 24px); height:560px; max-height:min(78vh, 640px); border-radius:22px; box-shadow:0 30px 80px rgba(24,11,51,.32), 0 0 0 1px rgba(91,12,237,.08); bottom:100px; }
.chat-window-header{ background:linear-gradient(135deg,#2a0d6b 0%,#5B0CED 60%,#7A2CF5 100%); padding:14px 14px 14px 16px; align-items:center; }
.chat-head-id{ display:flex; align-items:center; gap:10px; min-width:0; }
.chat-head-id strong{ display:block; font-size:15px; line-height:1.15; font-family:'Plus Jakarta Sans',Inter,sans-serif; }
.chat-head-id small{ display:block; font-size:11px; opacity:.85; font-weight:500; margin-top:2px; white-space:nowrap; }
.chat-avatar{ width:38px; height:38px; border-radius:12px; background:rgba(255,255,255,.16); display:grid; place-items:center; flex-shrink:0; }
.chat-dot{ display:inline-block; width:7px; height:7px; border-radius:50%; background:#3ddc84; box-shadow:0 0 0 3px rgba(61,220,132,.25); margin-right:4px; vertical-align:middle; }
.chat-head-actions{ display:flex; align-items:center; gap:6px; }
.chat-head-actions select{ background:rgba(255,255,255,.14); color:#fff; border:1px solid rgba(255,255,255,.25); border-radius:8px; font-size:12px; padding:5px 6px; font-family:inherit; }
.chat-head-actions select option{ color:#1c1236; }
.chat-head-actions button{ background:rgba(255,255,255,.14); border:0; color:#fff; width:32px; height:32px; border-radius:9px; display:grid; place-items:center; cursor:pointer; }
.chat-head-actions button:hover{ background:rgba(255,255,255,.26); }
.chat-window-body{ background:#f6f3fd; padding:16px 14px; gap:10px; }
.chat-msg{ max-width:86%; font-size:14px; line-height:1.55; padding:11px 14px; border-radius:16px; word-wrap:break-word; overflow-wrap:anywhere; }
.chat-msg-bot{ background:#fff; border:1px solid #ebe6f8; border-bottom-left-radius:6px; box-shadow:0 4px 14px rgba(60,20,150,.06); color:#1c1236; }
.chat-msg-user{ background:linear-gradient(135deg,#5B0CED,#7A2CF5); color:#fff; border-bottom-right-radius:6px; }
.chat-msg a{ color:#5B0CED; font-weight:600; text-decoration:underline; text-underline-offset:2px; }
.chat-msg-user a{ color:#fff; }
.chat-typing{ display:flex; gap:5px; align-items:center; padding:14px 16px; }
.chat-typing span{ width:7px; height:7px; border-radius:50%; background:#b7a6e6; animation:chatBounce 1.1s infinite ease-in-out; }
.chat-typing span:nth-child(2){ animation-delay:.15s } .chat-typing span:nth-child(3){ animation-delay:.3s }
@keyframes chatBounce{ 0%,80%,100%{ transform:translateY(0); opacity:.5 } 40%{ transform:translateY(-5px); opacity:1 } }
.chat-chips{ display:none; flex-wrap:wrap; gap:7px; padding:6px 14px 10px; background:#f6f3fd; }
.chat-chips button{ border:1px solid #d9cff6; background:#fff; color:#4a1fb8; font-weight:600; font-size:12.5px; padding:7px 12px; border-radius:999px; cursor:pointer; font-family:inherit; transition:.15s; }
.chat-chips button:hover{ background:#5B0CED; color:#fff; border-color:#5B0CED; }
.chat-window-input{ border-top:1px solid #ebe6f8; background:#fff; padding:8px 8px 8px 6px; align-items:center; gap:4px; }
.chat-window-input input{ font-size:16px; padding:12px 12px; background:transparent; }
.chat-window-input button{ width:42px; height:42px; border-radius:12px; background:linear-gradient(135deg,#5B0CED,#7A2CF5); color:#fff; padding:0; display:grid; place-items:center; }
.chat-foot{ font-size:11px; color:#7b729a; text-align:center; padding:6px 10px 9px; background:#fff; }
.chat-foot a{ color:#5B0CED; font-weight:600; }
.fab-chat{ background:linear-gradient(135deg,#5B0CED,#7A2CF5); position:relative; }
.fab-chat::after{ content:''; position:absolute; inset:-4px; border-radius:50%; border:2px solid rgba(91,12,237,.45); animation:fabPulse 2.2s infinite; }
@keyframes fabPulse{ 0%{ transform:scale(.9); opacity:.9 } 100%{ transform:scale(1.35); opacity:0 } }
@media (max-width:640px){
  .chat-window{ left:8px; right:8px; width:auto; max-width:none; bottom:8px; height:calc(100vh - 90px); height:calc(100dvh - 90px); max-height:none; border-radius:20px; z-index:1200; }
  body.chat-open .mobile-action-bar, body.chat-open .floating-contact{ display:none !important; }
  .chat-head-id small{ font-size:10.5px; }
}
