/* ==========================================================================
   Public website styles. Colours, fonts and corner radius come from CSS
   variables that the admin panel controls (Theme & Colours).
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
}
body.lang-hi, body.lang-bn { line-height: 1.75; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, .h1 { font-family: var(--font-heading); line-height: 1.25; margin: 0 0 .5em; color: inherit; }
body.lang-hi :is(h1, h2, h3, h4, .h1), body.lang-bn :is(h1, h2, h3, h4, .h1) { line-height: 1.4; }
/* letter-spacing breaks up Devanagari / Bengali conjuncts */
body.lang-hi :is(.kicker, .hero-kicker, .contact-lines small, .tp-kick), body.lang-bn :is(.kicker, .hero-kicker, .contact-lines small) { letter-spacing: 0; }
h1, .h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
.ic { width: 1.1em; height: 1.1em; flex: none; display: inline-block; vertical-align: -.15em; }

:root {
  --border: color-mix(in srgb, var(--text) 12%, transparent);
  --shadow: 0 10px 30px -12px color-mix(in srgb, var(--secondary) 35%, transparent);
  --shadow-sm: 0 4px 14px -6px color-mix(in srgb, var(--secondary) 30%, transparent);
  --primary-soft: color-mix(in srgb, var(--primary) 12%, var(--bg));
  --primary-dark: color-mix(in srgb, var(--primary) 82%, #000);
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 860px; }
.center { text-align: center; }
.mt { margin-top: 36px; }
.hide-sm, .hide-md { }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--primary); color: var(--on-primary); padding: 8px 14px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 80%, transparent); outline-offset: 2px; }

/* ---------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .72em 1.4em; border-radius: calc(var(--radius) * .75 + 2px);
  font-weight: 600; font-size: .95rem; line-height: 1.2; border: 2px solid transparent;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  white-space: nowrap; text-decoration: none !important;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 85%, #000); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--on-primary); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-light { background: #fff; color: var(--primary); }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe5a; }
.btn-sm { padding: .5em 1em; font-size: .85rem; }
.btn-lg { padding: .9em 1.7em; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Top bar */
.topbar { background: var(--secondary); color: var(--on-secondary); font-size: .84rem; }
.topbar a { color: inherit; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.tb-left, .tb-right { display: flex; align-items: center; gap: 18px; min-width: 0; }
.tb-left > * { display: inline-flex; align-items: center; gap: 6px; opacity: .92; white-space: nowrap; }
.tb-left > a:hover { opacity: 1; text-decoration: none; }
.tb-social { display: flex; gap: 10px; }
.tb-social a { opacity: .85; display: inline-flex; }
.tb-social a:hover { opacity: 1; }
.tb-social .ic { width: 15px; height: 15px; }
.lang-switch { display: flex; align-items: center; gap: 2px; background: rgba(255,255,255,.1); border-radius: 999px; padding: 3px 4px 3px 9px; }
.lang-switch > .ic { width: 15px; height: 15px; margin-right: 4px; opacity: .8; }
.lang-switch a { padding: 2px 9px; border-radius: 999px; font-weight: 600; font-size: .8rem; line-height: 1.6; }
.lang-switch a:hover { background: rgba(255,255,255,.15); text-decoration: none; }
.lang-switch a.active { background: var(--accent); color: var(--on-accent); }

/* ---------- Header & navigation */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); color: var(--header-text); border-bottom: 1px solid var(--border); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: var(--shadow); }
.header-in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; min-width: 0; margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand-logo { width: auto; max-width: 220px; object-fit: contain; }
.brand-mark { width: 46px; height: 46px; border-radius: calc(var(--radius) * .8); display: grid; place-items: center; background: var(--primary); color: var(--on-primary); flex: none; }
.brand-mark .ic { width: 26px; height: 26px; }
.brand-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.brand-text strong { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; letter-spacing: .2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text small { font-size: .76rem; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav a, .main-nav .sub-toggle {
  display: flex; align-items: center; gap: 4px; padding: 10px 12px; color: inherit; font-weight: 500; font-size: .93rem;
  border-radius: calc(var(--radius) * .6); background: none; border: 0; white-space: nowrap;
}
.main-nav a:hover, .main-nav .sub-toggle:hover { color: var(--primary); text-decoration: none; background: var(--primary-soft); }
.main-nav a.active, .main-nav li.active > .sub-toggle { color: var(--primary); font-weight: 600; }
.main-nav .sub-toggle .ic { width: 15px; height: 15px; transition: transform .2s; }
.has-sub { position: relative; }
.sub {
  position: absolute; top: 100%; left: 0; min-width: 210px; padding: 8px; background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s ease; z-index: 5;
}
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover > .sub-toggle .ic, .has-sub.open > .sub-toggle .ic { transform: rotate(180deg); }
.sub a { padding: 9px 12px; }
.nav-cta { display: none !important; }
.menu-btn { display: none; background: var(--primary-soft); color: var(--primary); border: 0; width: 46px; height: 46px; border-radius: calc(var(--radius) * .7); place-items: center; }
.menu-btn .ic { width: 24px; height: 24px; }
.menu-btn .i-close { display: none; }
.menu-open .menu-btn .i-open { display: none; }
.menu-open .menu-btn .i-close { display: grid; }

/* ---------- Hero slider */
.hero { position: relative; overflow: hidden; color: #fff; min-height: 560px; background: var(--secondary); isolation: isolate; }
.slide {
  position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden;
  transition: opacity .8s ease, visibility .8s;
  background:
    radial-gradient(circle at 85% 30%, color-mix(in srgb, var(--primary) 55%, transparent) 0, transparent 55%),
    radial-gradient(circle at 10% 90%, color-mix(in srgb, var(--accent) 12%, transparent) 0, transparent 45%),
    linear-gradient(125deg, var(--secondary) 0%, color-mix(in srgb, var(--primary) 55%, var(--secondary)) 100%);
  background-size: cover; background-position: center;
}
.slide::after { /* subtle grid pattern */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.slide.has-img::after { opacity: 1; background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.45) 60%, rgba(0,0,0,.25) 100%); mask-image: none; }
.slide { z-index: 0; }
.slide.is-active { opacity: 1; visibility: visible; position: relative; min-height: 560px; z-index: 1; }
.slide-in { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; padding-top: 70px; padding-bottom: 90px; position: relative; z-index: 1; }
.slide-text { max-width: 640px; }
.slide-text h1, .slide-text .h1 { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.slide-text p { font-size: 1.15rem; opacity: .92; max-width: 560px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero-kicker .ic { color: var(--accent); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.slide-art img { width: 100%; max-width: 460px; margin-left: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.slide.is-active .slide-text > * { animation: rise .8s both; }
.slide.is-active .slide-text > :nth-child(2) { animation-delay: .1s; }
.slide.is-active .slide-text > :nth-child(3) { animation-delay: .2s; }
.slide.is-active .slide-text > :nth-child(4) { animation-delay: .3s; }
.slide.is-active .slide-art img { animation: float 6s ease-in-out infinite, fadein 1s both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.2); color: #fff; display: grid; place-items: center; }
.hero-arrow:hover { background: var(--primary); border-color: var(--primary); }
.hero-arrow.prev { left: 18px; }
.hero-arrow.next { right: 18px; }
.hero-arrow .ic { width: 22px; height: 22px; }
.hero-dots { position: absolute; bottom: 26px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.hero-dots button { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: rgba(255,255,255,.45); transition: width .3s, background .3s; }
.hero-dots button.active { width: 30px; background: var(--accent); }

/* ---------- Intro strip */
.intro-strip { background: var(--primary); color: var(--on-primary); }
.intro-in { display: flex; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.intro-in p { margin: 0; flex: 1; font-weight: 500; font-size: 1.05rem; }
.intro-ic { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.15); display: grid; place-items: center; flex: none; }
.intro-ic .ic { width: 24px; height: 24px; }

/* ---------- Sections */
.section { padding: 84px 0; }
.section.alt { background: var(--surface); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head p { color: var(--muted); }
.kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; position: relative; padding-left: 34px; }
.section-head .kicker { padding: 0 34px; }
.kicker::before, .section-head .kicker::after { content: ""; position: absolute; top: 50%; width: 24px; height: 2px; background: currentColor; }
.kicker::before { left: 0; }
.section-head .kicker::after { right: 0; }
.lead { font-size: 1.08rem; color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Why choose us */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-media { position: relative; }
.why-img { border-radius: calc(var(--radius) * 1.5); overflow: hidden; background: var(--primary-soft); aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
.why-img img { width: 100%; height: 100%; object-fit: cover; }
.why-badge { position: absolute; right: -18px; bottom: -22px; background: var(--accent); color: var(--on-accent); padding: 18px 24px; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; max-width: 210px; }
.why-badge strong { font-family: var(--font-heading); font-size: 2rem; line-height: 1.1; }
.why-badge span { font-size: .85rem; font-weight: 600; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 22px 0 30px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.checks .ic { color: var(--on-primary); background: var(--primary); border-radius: 50%; padding: 4px; width: 24px; height: 24px; margin-top: 1px; }
.prose p { color: var(--muted); }
.prose p:first-child { color: var(--text); font-size: 1.08rem; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-top: 70px; }
.stat { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 20px; text-align: center; box-shadow: var(--shadow-sm); border-top: 4px solid var(--primary); }
.section.alt .stat { background: var(--bg); }
.stat strong { display: block; font-family: var(--font-heading); font-size: 2.1rem; color: var(--primary); line-height: 1.2; }
.stat span { color: var(--muted); font-weight: 500; }

/* ---------- Categories */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.cat-grid li { display: flex; align-items: center; gap: 12px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; font-weight: 500; transition: .2s; }
.cat-grid li:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.cat-ic { width: 30px; height: 30px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.cat-ic .ic { width: 16px; height: 16px; }

/* ---------- Products */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.product-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pc-img { aspect-ratio: 4 / 3; background: linear-gradient(160deg, var(--surface), color-mix(in srgb, var(--primary) 8%, var(--surface))); display: grid; place-items: center; overflow: hidden; }
.pc-img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .4s; }
.product-card:hover .pc-img img { transform: scale(1.05); }
.pc-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.pc-body h3 { margin-bottom: 12px; }
.specs { display: grid; gap: 7px; margin-bottom: 18px; flex: 1; font-size: .9rem; color: var(--muted); }
.specs li { display: flex; gap: 8px; align-items: flex-start; }
.specs .ic { color: var(--primary); margin-top: 4px; width: 15px; height: 15px; }
.pc-body .btn { align-self: flex-start; }

/* ---------- Services */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.service-card, .mv-card, .contact-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; transition: .25s; position: relative; overflow: hidden; }
.service-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--primary); transition: width .35s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card:hover::before { width: 100%; }
.service-card p, .mv-card p, .contact-card p { color: var(--muted); margin: 0; }
.svc-ic { width: 60px; height: 60px; border-radius: calc(var(--radius) * .9); display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 18px; transition: .25s; }
.svc-ic .ic { width: 28px; height: 28px; }
.service-card:hover .svc-ic { background: var(--primary); color: var(--on-primary); }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; font-weight: 600; position: relative; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 30px; left: calc(50% + 40px); right: calc(-50% + 40px); border-top: 2px dashed color-mix(in srgb, var(--primary) 40%, transparent); }
.step-n { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); font-size: 1.4rem; font-family: var(--font-heading); box-shadow: 0 0 0 8px var(--primary-soft); }

/* ---------- Certificates & galleries */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.cert { display: block; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; color: var(--text); text-align: center; transition: .25s; }
.cert:hover { box-shadow: var(--shadow); transform: translateY(-4px); text-decoration: none; }
.cert img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: calc(var(--radius) * .6); }
.cert span { display: block; margin-top: 10px; font-weight: 600; font-size: .92rem; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.photo { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); border: 1px solid var(--border); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.photo:hover img { transform: scale(1.07); }
.photo-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; color: #fff; font-weight: 500; font-size: .9rem; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.video { margin: 0; }
.video-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-frame img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(255,255,255,.2); transition: transform .2s; }
.video-frame:hover .play { transform: scale(1.1); }
.video .play .ic { width: 28px; height: 28px; margin-left: 4px; }
.video figcaption { margin-top: 10px; font-weight: 600; }

.doc-list { display: grid; gap: 14px; }
.doc { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); }
.doc-ic { position: relative; width: 50px; height: 50px; display: grid; place-items: center; color: var(--primary); background: var(--primary-soft); border-radius: calc(var(--radius) * .7); flex: none; }
.doc-ic .ic { width: 26px; height: 26px; }
.doc-ic em { position: absolute; bottom: -6px; font-style: normal; font-size: .62rem; font-weight: 700; background: var(--primary); color: var(--on-primary); padding: 0 5px; border-radius: 4px; }
.doc-title { flex: 1; font-weight: 600; min-width: 0; }

/* ---------- CTA band */
.cta-band { background: linear-gradient(120deg, var(--primary), color-mix(in srgb, var(--primary) 50%, var(--secondary))); color: var(--on-primary); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -120px; top: -200px; background: rgba(255,255,255,.08); }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 56px; padding-bottom: 56px; position: relative; }
.cta-in h2 { margin-bottom: 8px; }
.cta-in p { margin: 0; opacity: .9; max-width: 620px; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Enquiry form */
.section-form { background: var(--surface); }
.form-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.contact-lines { display: grid; gap: 18px; margin-top: 26px; }
.contact-lines li { display: flex; gap: 14px; align-items: flex-start; }
.contact-lines small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .8px; font-weight: 600; }
.contact-lines a, .contact-lines span { font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.ci { width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; flex: none; }
.ci-wa { background: #25d366; color: #fff; }
.enquiry-form { padding: 30px; display: grid; gap: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.enquiry-form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; min-width: 0; }
.enquiry-form input:not([type=checkbox]), .enquiry-form textarea, .subscribe input {
  width: 100%; font: inherit; font-weight: 400; font-size: .95rem; color: var(--text); background: var(--bg);
  border: 1.5px solid var(--border); border-radius: calc(var(--radius) * .6 + 2px); padding: 11px 14px; transition: border-color .2s, box-shadow .2s;
}
.enquiry-form input:focus, .enquiry-form textarea:focus, .subscribe input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.enquiry-form textarea { resize: vertical; min-height: 110px; }
.enquiry-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.enquiry-form .check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--primary); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-msg { margin: 0; font-weight: 600; font-size: .92rem; min-height: 1.2em; }
.form-msg.ok { color: #1a9a50; }
.form-msg.err { color: #d93025; }
.invalid { border-color: #d93025 !important; }

/* ---------- Page banner & content pages */
.page-banner {
  color: #fff; padding: 70px 0 60px; position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 90% 20%, color-mix(in srgb, var(--primary) 60%, transparent) 0, transparent 50%),
    linear-gradient(120deg, var(--secondary), color-mix(in srgb, var(--primary) 45%, var(--secondary)));
}
.page-banner::after { content: ""; position: absolute; inset: 0; opacity: .1; background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px); background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent, #000); }
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 10px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .92rem; opacity: .9; }
.crumbs a { color: #fff; }
.crumbs .ic { width: 14px; height: 14px; opacity: .7; }
.card-plain { background: var(--bg); }
.page-img { border-radius: var(--radius); margin-bottom: 26px; width: 100%; }
.prose { font-size: 1.02rem; }

.faq-list { display: grid; gap: 14px; }
.faq { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s; }
.faq[open] { box-shadow: var(--shadow-sm); border-color: color-mix(in srgb, var(--primary) 40%, transparent); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 600; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--primary); transition: transform .25s; }
.faq[open] summary .ic { transform: rotate(180deg); }
.faq-a { padding: 0 22px 18px; color: var(--muted); }
.faq-a p:last-child { margin: 0; }
.faq-more { text-align: center; margin-top: 44px; padding: 30px; border-radius: var(--radius); background: var(--surface); }
.faq-more .cta-btns { justify-content: center; }

.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.contact-card { text-align: center; }
.contact-card .svc-ic { margin: 0 auto 16px; }
.contact-card p { overflow-wrap: anywhere; }
.contact-card .btn { margin-top: 14px; }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }

.nf { padding: 110px 0; }
.nf-code { font-family: var(--font-heading); font-size: clamp(5rem, 18vw, 9rem); font-weight: 800; line-height: 1; color: var(--primary); opacity: .9; }

/* ---------- Footer */
.site-footer { background: var(--secondary); color: color-mix(in srgb, var(--on-secondary) 78%, transparent); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr 1.4fr; gap: 36px; padding-top: 70px; padding-bottom: 50px; }
.site-footer h4 { color: var(--on-secondary); font-size: 1.05rem; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 2px; background: var(--accent); }
.site-footer h4.f-small { font-size: .95rem; margin-top: 8px; }
.site-footer a { color: inherit; }
.site-footer a:hover { color: var(--accent); text-decoration: none; }
.brand-footer { color: var(--on-secondary); margin-bottom: 16px; }
.f-links { display: grid; gap: 10px; }
.f-links a { display: inline-flex; gap: 6px; transition: padding .2s; }
.f-links a:hover { padding-left: 4px; }
.f-contact { display: grid; gap: 14px; }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; }
.f-contact .ic { color: var(--accent); margin-top: 4px; }
.f-contact a { overflow-wrap: anywhere; }
.f-social { display: flex; gap: 10px; }
.f-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: .2s; }
.f-social a:hover { background: var(--accent); color: var(--on-accent); }
.f-social .ic { width: 17px; height: 17px; }
.subscribe { display: flex; gap: 8px; flex-wrap: wrap; }
.subscribe input { flex: 1 1 160px; min-width: 0; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: var(--on-secondary); }
.subscribe input::placeholder { color: color-mix(in srgb, var(--on-secondary) 55%, transparent); }
.site-footer .form-msg { margin-top: 8px; }
.site-footer .form-msg.ok { color: #4cd787; }
.site-footer .form-msg.err { color: #ff8a80; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.fb-in { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }

/* ---------- Floating buttons & lightbox */
.float-wa { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); animation: pulse 2.4s infinite; }
.float-wa .ic { width: 30px; height: 30px; }
.float-wa:hover { transform: scale(1.06); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.to-top { position: fixed; right: 26px; bottom: 88px; z-index: 59; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; box-shadow: var(--shadow-sm); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,10,20,.92); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; border-radius: 8px; background: #fff; }
.lightbox figcaption { color: #fff; margin-top: 12px; text-align: center; }
.lightbox button { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
.lightbox button:hover { background: var(--primary); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; }
  .f-sub { grid-column: 1 / -1; max-width: 520px; }
}
@media (max-width: 1100px) {
  .header-cta { display: none; }
  .menu-btn { display: grid; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%; background: var(--header-bg); color: var(--header-text);
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow); padding: 10px 20px 20px;
    max-height: calc(100vh - 120px); overflow-y: auto; display: none;
  }
  .menu-open .main-nav { display: block; animation: drop .25s ease; }
  @keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--border); }
  .main-nav a, .main-nav .sub-toggle { padding: 14px 6px; width: 100%; justify-content: space-between; font-size: 1rem; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 14px; display: none; min-width: 0; background: transparent; color: inherit; }
  .has-sub.open > .sub { display: block; }
  .has-sub:hover > .sub-toggle .ic { transform: none; }
  .has-sub.open > .sub-toggle .ic { transform: rotate(180deg); }
  .sub a { padding: 10px 6px; }
  .main-nav a.nav-cta { display: flex !important; margin-top: 16px; width: 100%; justify-content: center; background: var(--primary); color: var(--on-primary); font-weight: 600; padding: 13px; }
  .main-nav a.nav-cta:hover { background: var(--primary-dark); color: var(--on-primary); }
  .site-header .container { position: static; }
}
@media (max-width: 960px) {
  .hide-md { display: none !important; }
  .section { padding: 64px 0; }
  .slide-in { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 80px; text-align: left; }
  .slide-art { display: none; }
  .hero, .slide.is-active { min-height: 480px; }
  .why-grid, .form-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-badge { right: 14px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 34px; }
  .step::after { display: none; }
  .cta-in { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-about, .f-sub { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .topbar-in { min-height: 38px; }
  .tb-left { gap: 12px; }
  .header-in { min-height: 66px; gap: 12px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-mark .ic { width: 22px; height: 22px; }
  .brand-text strong { font-size: 1.05rem; }
  .brand-text small { font-size: .7rem; }
  .brand-logo { max-width: 150px; max-height: 52px; }
  .hero, .slide.is-active { min-height: 440px; }
  .slide-text p { font-size: 1rem; }
  .hero-arrow { display: none; }
  .btns .btn { flex: 1 1 auto; }
  .intro-in { flex-wrap: wrap; }
  .intro-in p { flex: 1 1 200px; font-size: .98rem; }
  .checks { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 56px; }
  .stat { padding: 18px 10px; }
  .stat strong { font-size: 1.6rem; }
  .cat-grid, .product-grid, .service-grid, .mv-grid { grid-template-columns: 1fr; }
  .photo-grid, .cert-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .video-grid { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .enquiry-form { padding: 22px 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 50px; }
  .doc { flex-wrap: wrap; }
  .doc-title { flex-basis: calc(100% - 70px); }
  .doc .btn { width: 100%; }
  .lightbox { padding: 60px 10px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .cta-btns .btn { flex: 1 1 auto; }
  .float-wa { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .to-top { right: 18px; bottom: 76px; }
}
@media (max-width: 380px) {
  .lang-switch a { padding: 2px 7px; }
  .tb-left a span { font-size: .78rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
