/* ==========================================================================
   Sigma Bangladesh — front-end styles
   Brand: deep navy + royal blue (trust, engineering) with signal red (energy)
   ========================================================================== */
:root {
  --navy-950: #050e24;
  --navy-900: #0a1b3f;
  --navy-800: #0f2658;
  --navy-700: #16327a;
  --blue-600: #1d4ed8;
  --blue-500: #2f6bff;
  --blue-100: #dce7ff;
  --blue-50: #eef3ff;
  --red-600: #e0162b;
  --red-700: #bf0f22;
  --red-500: #f0283c;
  --red-50: #fff0f2;
  --ink: #0d1526;
  --text: #3c4658;
  --muted: #6b7588;
  --line: #e4e8f0;
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(10, 27, 63, .06);
  --shadow: 0 14px 40px -12px rgba(10, 27, 63, .18);
  --shadow-lg: 0 30px 80px -20px rgba(10, 27, 63, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --header-h: 84px;
}

*, *::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.7;
  color: var(--text); background: var(--bg); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.ic.fill { fill: currentColor; }
.container { width: 100%; max-width: 1260px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.mt-40 { margin-top: 40px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--red-600);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.2; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s;
}
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn-primary { background: linear-gradient(135deg, var(--red-500), var(--red-700)); color: #fff; box-shadow: 0 10px 24px -8px rgba(224, 22, 43, .6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(224, 22, 43, .7); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--blue-600); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--navy-900); }
.btn-white { background: #fff; color: var(--navy-900); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--navy-900); background: var(--navy-900); color: #fff; }
.btn-soft { background: var(--blue-50); color: var(--blue-600); border: 0; }
.btn-soft:hover { background: var(--blue-600); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.icon-btn {
  width: 46px; height: 46px; border-radius: 50%; display: inline-grid; place-items: center;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); transition: .25s;
}
.icon-btn:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.icon-btn.glass { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); color: #fff; backdrop-filter: blur(8px); }
.icon-btn.glass:hover { background: #fff; color: var(--navy-900); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue-600); font-size: 15px; }
.link-arrow .ic { transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--red-600); }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.light { color: #ff8a96; }
.sec-head { max-width: 720px; margin: 0 auto 48px; }
.sec-head.center { text-align: center; }
.sec-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.sec-head.left { margin: 0 0 40px; }
.sec-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); font-weight: 700; }
.sec-head p { font-size: 17px; color: var(--muted); margin: 0; }
.sec-head.light h2 { color: #fff; }
.sec-head.light p { color: rgba(255, 255, 255, .7); }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.head-row .sec-head { margin-bottom: 0; }
.rich { font-size: 16.5px; }
.rich h2, .rich h3 { margin-top: 1.4em; }
.rich h3 { font-size: 1.3rem; }
.rich ul { padding-left: 0; list-style: none; margin: 0 0 1.2em; }
.rich ul li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.rich ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 16px; height: 9px; border-left: 2.5px solid var(--red-600); border-bottom: 2.5px solid var(--red-600); transform: rotate(-45deg) scale(.8); }
.rich ul.two-col { columns: 2; column-gap: 32px; }
.rich img { border-radius: var(--radius-sm); }
.rich a { color: var(--blue-600); text-decoration: underline; }
.table-wrap { overflow-x: auto; margin: 0 0 1.5em; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.check-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.check-table th { background: var(--navy-900); color: #fff; text-align: left; padding: 12px 16px; font-family: var(--font-head); font-weight: 600; }
.check-table td { padding: 11px 16px; border-top: 1px solid var(--line); }
.check-table td:first-child { width: 52px; color: var(--red-600); font-weight: 700; }
.check-table tr.grp td { background: var(--blue-50); color: var(--navy-800); font-weight: 700; font-family: var(--font-head); }
.check-table tbody tr:not(.grp):hover { background: var(--bg-soft); }

.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink); line-height: 1.5; }
.ticks li .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--red-50); color: var(--red-600); stroke-width: 3; margin-top: 1px; }
.ticks.grid2 { grid-template-columns: 1fr 1fr; }
.ticks.light li { color: #fff; }
.ticks.light li .ic { background: rgba(255, 255, 255, .12); color: #fff; }
.chip { align-self: flex-start; display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue-600); margin-bottom: 10px; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.bg-soft { background: var(--bg-soft); }
.bg-dark { background: radial-gradient(1200px 500px at 85% 0%, rgba(47, 107, 255, .22), transparent 60%), var(--navy-950); color: rgba(255, 255, 255, .75); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: rgba(255, 255, 255, .72); font-size: 13.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 16px; }
.tb-left, .tb-right { display: flex; align-items: center; gap: 22px; min-width: 0; }
.tb-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-item .ic { color: var(--red-500); }
a.tb-item:hover { color: #fff; }
.tb-live i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.tb-soc { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.tb-soc:hover { background: var(--red-600); color: #fff; }
.tb-soc .ic { width: 14px; height: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(10, 27, 63, .35); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo-mark { width: 48px; height: 48px; filter: drop-shadow(0 6px 12px rgba(29, 78, 216, .25)); }
.logo-img { max-height: 56px; width: auto; }
.logo-text { display: grid; line-height: 1; }
.logo-text strong { font-family: var(--font-head); font-weight: 800; font-size: 23px; color: var(--navy-900); letter-spacing: .06em; text-transform: uppercase; }
.logo-text em { font-style: normal; font-family: var(--font-head); font-weight: 700; font-size: 11.5px; letter-spacing: .38em; color: var(--red-600); text-transform: uppercase; margin-top: 4px; }
.logo-text small { font-size: 9.5px; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; margin-top: 4px; font-weight: 600; }
.brand-light .logo-text strong { color: #fff; }
.brand-light .logo-text small { color: rgba(255, 255, 255, .55); }

.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.main-nav > ul > li > a {
  white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 10px;
  font-weight: 600; font-size: 15px; color: var(--ink); position: relative;
}
.main-nav > ul > li > a .ic { width: 15px; height: 15px; transition: transform .25s; }
.main-nav > ul > li > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--red-600); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav > ul > li > a:hover::after, .main-nav > ul > li > a.on::after { transform: scaleX(1); }
.main-nav > ul > li > a.on { color: var(--navy-800); }
.has-drop:hover > a .ic { transform: rotate(180deg); }
.drop {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 10px); min-width: 280px;
  background: #fff; border-radius: 16px; padding: 10px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transition: .25s var(--ease); z-index: 70;
}
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop > a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; font-weight: 500; font-size: 14.5px; color: var(--ink); }
.drop > a .ic { color: var(--blue-600); }
.drop > a:hover { background: var(--bg-soft); color: var(--red-600); }
.drop-mega { display: grid; grid-template-columns: 1fr 250px; gap: 10px; width: 760px; padding: 14px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-item { display: flex; gap: 12px; padding: 12px; border-radius: 12px; align-items: flex-start; transition: background .2s; }
.mega-item:hover { background: var(--bg-soft); }
.mega-item strong { display: block; font-size: 14.5px; color: var(--ink); font-family: var(--font-head); font-weight: 600; }
.mega-item small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.mi-icon { width: 40px; height: 40px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); }
.mega-item:hover .mi-icon { background: var(--red-600); color: #fff; }
.mega-promo { position: relative; border-radius: 14px; overflow: hidden; min-height: 260px; display: block; }
.mega-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mega-promo:hover img { transform: scale(1.06); }
.mega-promo span { position: absolute; inset: auto 0 0; padding: 18px; color: #fff; background: linear-gradient(transparent, rgba(5, 14, 36, .92)); display: grid; gap: 4px; }
.mega-promo small { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: #ff8a96; font-weight: 700; }
.mega-promo strong { font-family: var(--font-head); font-size: 17px; line-height: 1.3; }
.mega-promo em { font-style: normal; font-size: 13px; display: inline-flex; gap: 6px; align-items: center; opacity: .85; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.h-call { display: flex; align-items: center; gap: 10px; }
.h-call-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--red-50); color: var(--red-600); position: relative; }
.h-call-ic::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid rgba(224, 22, 43, .3); animation: ring 2.2s infinite; }
@keyframes ring { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.h-call small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; line-height: 1.2; }
.h-call strong { white-space: nowrap; display: block; font-family: var(--font-head); font-size: 15px; color: var(--ink); line-height: 1.3; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); place-items: center; }
.burger .ic { width: 22px; height: 22px; }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer::before { content: ""; position: absolute; inset: 0; background: rgba(5, 14, 36, .55); opacity: 0; transition: opacity .3s; backdrop-filter: blur(3px); }
.drawer-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(380px, 88vw); background: #fff;
  transform: translateX(100%); transition: transform .35s var(--ease); display: flex; flex-direction: column; overflow-y: auto;
}
.drawer.open { visibility: visible; }
.drawer.open::before { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head .logo-mark { width: 40px; height: 40px; }
.drawer-head .logo-text strong { font-size: 19px; }
.drawer-nav { padding: 12px 20px; display: grid; }
.drawer-nav > a, .drawer-nav summary { padding: 14px 4px; font-weight: 600; font-family: var(--font-head); color: var(--ink); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; }
.drawer-nav summary::-webkit-details-marker { display: none; }
.drawer-nav details[open] summary .ic { transform: rotate(180deg); }
.drawer-nav details a { display: block; padding: 10px 14px; font-size: 15px; color: var(--text); border-left: 2px solid var(--line); margin-left: 4px; }
.drawer-nav details a:hover { color: var(--red-600); border-color: var(--red-600); }
.drawer-nav details { border-bottom: 1px solid var(--line); }
.drawer-nav details summary { border-bottom: 0; }
.drawer-foot { padding: 20px; margin-top: auto; display: grid; gap: 10px; background: var(--bg-soft); }
.drawer-line { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: var(--ink); font-weight: 500; word-break: break-all; }
.drawer-line .ic { color: var(--red-600); }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: clamp(620px, 88vh, 860px); background: var(--navy-950); overflow: hidden; color: #fff; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.slide-bg { position: absolute; inset: -2%; background-size: cover; background-position: center; transform: scale(1.12); transition: transform 7s linear; }
.slide.is-active .slide-bg { transform: scale(1.02); }
.slide-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(5, 14, 36, .96) 0%, rgba(8, 24, 64, .88) 38%, rgba(10, 27, 63, .45) 70%, rgba(10, 27, 63, .25) 100%),
    radial-gradient(900px 500px at 12% 90%, rgba(224, 22, 43, .22), transparent 60%);
}
.slide-shade::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, #000, transparent 60%); }
.slide-inner { position: relative; height: 100%; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; padding-bottom: 70px; }
.slide-copy > * { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.slide.is-active .slide-copy > * { opacity: 1; transform: none; }
.slide.is-active .slide-copy > *:nth-child(2) { transition-delay: .12s; }
.slide.is-active .slide-copy > *:nth-child(3) { transition-delay: .24s; }
.slide.is-active .slide-copy > *:nth-child(4) { transition-delay: .36s; }
.slide-title { color: #fff; font-size: clamp(2.3rem, 5vw, 4.1rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; margin-bottom: 22px; max-width: 14ch; }
.slide-sub { font-size: clamp(1rem, 1.3vw, 1.15rem); color: rgba(255, 255, 255, .78); max-width: 560px; margin-bottom: 34px; }
.slide-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.slide-visual { position: relative; justify-self: end; width: min(400px, 100%); opacity: 0; transform: translateX(40px) scale(.97); transition: opacity 1s var(--ease) .2s, transform 1s var(--ease) .2s; }
.slide.is-active .slide-visual { opacity: 1; transform: none; }
.sv-frame { border-radius: 28px; overflow: hidden; aspect-ratio: 4/5; background: #fff; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6); border: 8px solid rgba(255, 255, 255, .1); outline: 1px solid rgba(255, 255, 255, .25); }
.sv-frame img { width: 100%; height: 100%; object-fit: cover; }
.sv-badge {
  position: absolute; left: -44px; bottom: 60px; display: flex; gap: 12px; align-items: center; padding: 12px 18px 12px 12px;
  background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-lg); animation: float 5s ease-in-out infinite;
}
.sv-badge > span { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--red-600); color: #fff; }
.sv-badge strong { display: block; font-family: var(--font-head); font-size: 14.5px; line-height: 1.2; }
.sv-badge small { font-size: 12.5px; color: var(--muted); }
.sv-badge-2 { left: auto; right: -30px; bottom: auto; top: 40px; animation-delay: -2.5s; }
.sv-badge-2 > span { background: var(--blue-600); }
@keyframes float { 50% { transform: translateY(-10px); } }
.hero-ctrl { position: absolute; left: 0; right: 0; bottom: 96px; z-index: 5; display: flex; justify-content: space-between; align-items: center; }
.hero-dots { display: flex; gap: 22px; }
.hd { background: none; border: 0; color: rgba(255, 255, 255, .55); display: flex; align-items: center; gap: 10px; padding: 6px 0; font-family: var(--font-head); font-weight: 600; font-size: 14px; }
.hd-bar { width: 60px; height: 2px; background: rgba(255, 255, 255, .25); position: relative; overflow: hidden; border-radius: 2px; }
.hd-bar i { position: absolute; inset: 0; background: var(--red-500); transform: scaleX(0); transform-origin: left; }
.hd.is-active { color: #fff; }
.hd.is-active .hd-bar i { animation: bar var(--slide-time, 6.5s) linear forwards; }
.hero.paused .hd.is-active .hd-bar i { animation-play-state: paused; }
@keyframes bar { to { transform: scaleX(1); } }
.hero-arrows { display: flex; gap: 10px; }

/* ---------- Stats ---------- */
.stats-wrap { position: relative; z-index: 10; margin-top: -62px; }
.stats-bar { background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: repeat(4, 1fr); padding: 10px; border: 1px solid var(--line); }
.stat { display: flex; align-items: center; gap: 16px; padding: 22px 24px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.stat-ic { width: 54px; height: 54px; border-radius: 16px; flex: none; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-50), #fff); color: var(--blue-600); border: 1px solid var(--blue-100); }
.stat-ic .ic { width: 24px; height: 24px; }
.stat strong { display: block; font-family: var(--font-head); font-size: 28px; font-weight: 800; color: var(--navy-900); line-height: 1.1; }
.stat small { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.35; margin-top: 3px; }

/* ---------- About (home) ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-media { position: relative; padding: 0 70px 70px 0; }
.am-main { border-radius: 26px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); }
.am-main img, .am-sub img { width: 100%; height: 100%; object-fit: cover; }
.am-sub { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1; border-radius: 22px; overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow-lg); }
.am-badge {
  position: absolute; left: -26px; top: 40px; width: 150px; padding: 22px 16px; border-radius: 20px; text-align: center;
  background: linear-gradient(145deg, var(--red-500), var(--red-700)); color: #fff; box-shadow: 0 20px 40px -12px rgba(224, 22, 43, .6);
}
.am-badge strong { display: block; font-family: var(--font-head); font-size: 40px; font-weight: 800; line-height: 1; }
.am-badge span { display: block; font-size: 13px; margin-top: 8px; line-height: 1.35; opacity: .92; }
.am-dots { position: absolute; right: 30px; top: -24px; width: 120px; height: 120px; z-index: -1; background-image: radial-gradient(var(--blue-100) 2px, transparent 2px); background-size: 16px 16px; }
.about-copy h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.about-copy .rich { color: var(--text); }
.about-actions { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.call-chip { display: flex; gap: 12px; align-items: center; }
.call-chip > span { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); color: var(--red-600); }
.call-chip small { display: block; font-size: 13px; color: var(--muted); }
.call-chip strong { font-family: var(--font-head); color: var(--ink); font-size: 17px; }

/* ---------- Service cards ---------- */
.s-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; display: flex; flex-direction: column; }
.s-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.s-media { aspect-ratio: 16/10; overflow: hidden; display: block; background: var(--navy-900); }
.s-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.s-card:hover .s-media img { transform: scale(1.07); }
.s-body { position: relative; padding: 42px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.s-icon { position: absolute; top: -30px; left: 28px; width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-600), var(--navy-800)); color: #fff; box-shadow: 0 12px 24px -8px rgba(29, 78, 216, .6); border: 4px solid #fff; transition: background .3s; }
.s-card:hover .s-icon { background: linear-gradient(135deg, var(--red-500), var(--red-700)); }
.s-icon .ic { width: 24px; height: 24px; }
.s-body h3 { font-size: 1.25rem; margin-bottom: 10px; }
.s-body h3 a:hover { color: var(--red-600); }
.s-body p { color: var(--muted); font-size: 15px; flex: 1; }

/* ---------- Filter tabs ---------- */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.ft { border: 1.5px solid var(--line); background: #fff; color: var(--ink); padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; transition: .25s; }
.ft:hover { border-color: var(--navy-900); }
.ft.is-on { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.filter-tabs.dark { margin: 0; }
.filter-tabs.dark .ft { background: transparent; color: rgba(255, 255, 255, .75); border-color: rgba(255, 255, 255, .18); }
.filter-tabs.dark .ft.is-on, .filter-tabs.dark .ft:hover { background: #fff; color: var(--navy-900); border-color: #fff; }
.is-hidden { display: none !important; }

/* ---------- Product cards ---------- */
.p-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.p-media { display: block; aspect-ratio: 1/1; background: radial-gradient(circle at 50% 40%, #fff, #eef1f7); position: relative; overflow: hidden; }
.p-media img { width: 100%; height: 100%; object-fit: contain; padding: 22px; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.p-card:hover .p-media img { transform: scale(1.07); }
.p-media .ph, .ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--blue-100); background: linear-gradient(135deg, var(--navy-900), var(--blue-600)); }
.ph .ic { width: 64px; height: 64px; color: rgba(255, 255, 255, .5); }
.p-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.p-body h3 { font-size: 1.08rem; margin-bottom: 4px; }
.p-body h3 a:hover { color: var(--red-600); }
.p-model { font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 6px; }
.p-body p { font-size: 14.5px; color: var(--muted); line-height: 1.6; flex: 1; }
.p-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--line); }
.p-actions .link-arrow { font-size: 14px; }

/* ---------- Why ---------- */
.why { background: var(--navy-950); color: rgba(255, 255, 255, .75); overflow: hidden; }
.why::before { content: ""; position: absolute; inset: 0; background: var(--why-bg) center/cover; opacity: .16; }
.why::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--navy-950) 25%, rgba(5, 14, 36, .78)); }
.why .container { position: relative; z-index: 1; }
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.why-intro h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.why-intro > p { font-size: 17px; margin-bottom: 26px; }
.why-promise { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; }
.why-promise li { display: flex; gap: 12px; color: #fff; font-weight: 500; }
.why-promise .ic { color: #ff5a6a; margin-top: 3px; }
.why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.w-card { padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(6px); transition: background .3s, transform .35s var(--ease), border-color .3s; }
.w-card:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); transform: translateY(-4px); }
.w-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--red-500), var(--red-700)); color: #fff; margin-bottom: 18px; }
.w-card:nth-child(even) .w-ic { background: linear-gradient(135deg, var(--blue-500), var(--blue-600)); }
.w-ic .ic { width: 24px; height: 24px; }
.w-card h3 { color: #fff; font-size: 1.1rem; margin-bottom: 8px; }
.w-card p { font-size: 14.5px; margin: 0; color: rgba(255, 255, 255, .65); line-height: 1.6; }

/* ---------- Design cards / rail ---------- */
.design-rail { --rail-pad: max(24px, calc((100vw - 1260px) / 2 + 24px)); display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px var(--rail-pad) 20px; scroll-padding-inline: var(--rail-pad); scrollbar-width: none; }
.design-rail::after { content: ""; flex: 0 0 1px; }
.design-rail::-webkit-scrollbar { display: none; }
.design-rail .d-card { flex: 0 0 250px; scroll-snap-align: start; }
.rail-ctrl { display: flex; gap: 10px; justify-content: flex-end; margin-top: 12px; }
.rail-ctrl.inline { margin: 0; }
.d-card { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.d-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.d-card > a { display: block; position: relative; aspect-ratio: 3/4.4; overflow: hidden; background: #111; }
.d-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.d-card:hover img { transform: scale(1.06); }
.d-zoom { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--navy-900); opacity: 0; transform: scale(.8); transition: .3s var(--ease); }
.d-card:hover .d-zoom { opacity: 1; transform: none; }
.d-card figcaption { padding: 14px 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.d-card figcaption strong { font-family: var(--font-head); color: var(--ink); font-size: 15px; }
.d-card figcaption span { font-size: 12.5px; color: var(--muted); text-align: right; }
.designs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px; }

/* ---------- Safety ---------- */
.safety-grid { display: grid; grid-template-columns: 1fr .8fr 1fr; gap: 28px; align-items: center; }
.sf-card { background: #fff; border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); height: 100%; }
.sf-card .ticks { gap: 10px; margin: 0; }
.sf-card .ticks li { font-size: 14.5px; }
.sf-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.sf-head span { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-900); color: #fff; }
.sf-head.red span { background: var(--red-600); }
.sf-head h3 { margin: 0; font-size: 1.15rem; }
.sf-visual { background: linear-gradient(180deg, #fff, #f7f1ea); border-radius: 24px; padding: 18px; box-shadow: var(--shadow); height: 100%; display: grid; place-items: center; }
.sf-visual img { width: 100%; max-height: 560px; object-fit: contain; mix-blend-mode: multiply; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.steps::before { content: ""; position: absolute; top: 44px; left: 12%; right: 12%; border-top: 2px dashed var(--blue-100); }
.step { text-align: center; position: relative; padding: 0 10px; }
.step-no { position: absolute; top: -6px; left: 50%; margin-left: 22px; font-family: var(--font-head); font-weight: 800; font-size: 13px; color: #fff; background: var(--red-600); border-radius: 999px; padding: 3px 9px; z-index: 2; }
.step-ic { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 22px; background: #fff; color: var(--blue-600); border: 1.5px solid var(--blue-100); box-shadow: 0 0 0 10px var(--bg), var(--shadow); position: relative; transition: .35s var(--ease); }
.step:hover .step-ic { background: var(--navy-900); color: #fff; transform: translateY(-4px); }
.step-ic .ic { width: 32px; height: 32px; }
.step h3 { font-size: 1.1rem; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ---------- Projects ---------- */
.pr-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/4.6; background: var(--navy-900); }
.pr-media, .pr-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pr-media img { transition: transform .8s var(--ease); }
.pr-card:hover .pr-media img { transform: scale(1.07); }
.pr-over { position: absolute; inset: auto 0 0; padding: 26px; background: linear-gradient(transparent, rgba(5, 14, 36, .95) 55%); color: rgba(255, 255, 255, .75); }
.pr-over h3 { color: #fff; font-size: 1.2rem; margin: 10px 0 4px; padding-right: 50px; }
.pr-over p { margin: 0; font-size: 14px; }
.pr-go { position: absolute; right: 22px; bottom: 26px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy-900); transition: .3s; }
.pr-card:hover .pr-go { background: var(--red-600); color: #fff; transform: rotate(45deg); }
.status { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; backdrop-filter: blur(6px); }
.status.s-complete { background: rgba(34, 197, 94, .2); color: #86efac; }
.status.s-running { background: rgba(47, 107, 255, .25); color: #a8c3ff; }
.status.s-upcoming { background: rgba(245, 158, 11, .22); color: #fcd34d; }

/* ---------- Testimonials ---------- */
.t-rail { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 20px; }
.t-rail::-webkit-scrollbar { display: none; }
.t-card { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; position: relative; display: flex; flex-direction: column; }
.t-quote { position: absolute; right: 26px; top: 24px; color: var(--blue-100); }
.t-quote .ic { width: 44px; height: 44px; }
.t-stars { color: #f59e0b; display: flex; gap: 2px; margin-bottom: 16px; }
.t-card blockquote { margin: 0 0 24px; font-size: 16px; color: var(--ink); flex: 1; }
.t-card figcaption { display: flex; gap: 14px; align-items: center; padding-top: 20px; border-top: 1px solid var(--line); }
.t-card figcaption img, .t-av { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.t-av { display: grid; place-items: center; background: var(--navy-900); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.t-card strong { display: block; font-family: var(--font-head); color: var(--ink); }
.t-card small { color: var(--muted); font-size: 13.5px; }

/* ---------- Clients ---------- */
.clients { padding: 60px 0; border-top: 1px solid var(--line); }
.clients-title { text-align: center; color: var(--muted); font-weight: 600; margin-bottom: 28px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: marquee 35s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.client img { height: 54px; width: auto; filter: grayscale(1); opacity: .65; transition: .3s; }
.client:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 110px; }
.cta-inner {
  border-radius: 28px; padding: 60px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 100% 0%, rgba(240, 40, 60, .55), transparent 70%), linear-gradient(120deg, var(--navy-900), var(--navy-700));
  box-shadow: var(--shadow-lg); color: rgba(255, 255, 255, .8);
}
.cta-inner::after { content: ""; position: absolute; right: -60px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .04); }
.cta-text h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-text p { margin: 0; font-size: 17px; }
.cta-actions { display: grid; gap: 18px; justify-items: start; position: relative; z-index: 1; }
.cta-phone { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; color: #fff; }
.cta-phone span { grid-row: span 2; width: 58px; height: 58px; border-radius: 50%; background: var(--red-600); display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(224, 22, 43, .2); }
.cta-phone span .ic { width: 24px; height: 24px; }
.cta-phone small { font-size: 13px; opacity: .7; }
.cta-phone strong { font-family: var(--font-head); font-size: 24px; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- News ---------- */
.n-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; display: flex; flex-direction: column; }
.n-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.n-media { position: relative; aspect-ratio: 16/10; overflow: hidden; display: block; background: var(--bg-soft); }
.n-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.n-card:hover .n-media img { transform: scale(1.06); }
.n-date { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.n-date .ic { color: var(--red-600); width: 15px; height: 15px; }
.n-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.n-body h3 { font-size: 1.18rem; }
.n-body h3 a:hover { color: var(--red-600); }
.n-body p { color: var(--muted); font-size: 15px; flex: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .62); position: relative; overflow: hidden; padding-top: 90px; font-size: 15px; }
.footer-glow { position: absolute; left: -200px; top: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(47, 107, 255, .18), transparent 65%); pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1.3fr; gap: 50px; position: relative; }
.f-brand p { margin: 22px 0; max-width: 360px; }
.sister { display: inline-grid; padding: 12px 16px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); margin-bottom: 22px; }
.sister span { font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: #ff8a96; font-weight: 700; }
.sister strong { color: #fff; font-family: var(--font-head); font-weight: 600; }
.f-social { display: flex; gap: 10px; }
.f-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; transition: .25s; }
.f-social a:hover { background: var(--red-600); transform: translateY(-3px); }
.f-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.f-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--red-600); }
.f-col > a { display: block; padding: 5px 0; transition: color .2s, transform .2s; }
.f-col > a:hover { color: #fff; transform: translateX(4px); }
.fc-row { display: flex; gap: 12px; margin-bottom: 16px; }
.fc-row .ic { color: var(--red-500); margin-top: 4px; }
.fc-row span { display: grid; gap: 2px; word-break: break-word; }
.fc-row a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px 24px; margin-top: 60px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; }
.footer-bottom a { display: inline-flex; gap: 6px; align-items: center; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Floating buttons ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: grid; gap: 12px; }
.fab a, .fab button { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 0; color: #fff; box-shadow: 0 12px 24px -8px rgba(0, 0, 0, .35); transition: transform .25s var(--ease); }
.fab a:hover, .fab button:hover { transform: scale(1.08); }
.fab .ic { width: 24px; height: 24px; }
.fab-wa { background: #25d366; }
.fab-call { background: var(--red-600); }
.fab-top { background: var(--navy-900); opacity: 0; visibility: hidden; transform: translateY(10px); }
.fab-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5, 14, 36, .65); backdrop-filter: blur(4px); }
.modal-card { position: relative; width: min(880px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 24px; display: grid; grid-template-columns: .85fr 1.15fr; box-shadow: var(--shadow-lg); transform: translateY(20px) scale(.98); transition: transform .35s var(--ease); }
.modal.open .modal-card { transform: none; }
.modal-x { position: absolute; right: 14px; top: 14px; z-index: 2; }
.modal-side { background: radial-gradient(400px 300px at 0% 100%, rgba(224, 22, 43, .45), transparent 70%), linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: rgba(255, 255, 255, .78); padding: 42px 34px; }
.modal-side h3 { color: #fff; font-size: 1.6rem; }
.modal-side .ticks { margin-top: 24px; }
.modal-phone { display: inline-flex; gap: 10px; align-items: center; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 18px; margin-top: 10px; }
.modal-form { padding: 42px 34px 34px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 15px; font-weight: 400; color: var(--ink); background: var(--bg-soft);
  border: 1.5px solid transparent; border-radius: 12px; padding: 13px 16px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(47, 107, 255, .12); }
.f-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 130; background: rgba(3, 8, 22, .94); display: grid; place-items: center; padding: 40px 80px; visibility: hidden; opacity: 0; transition: .3s; }
.lightbox.open { visibility: visible; opacity: 1; }
.lb-stage { display: grid; grid-template-columns: auto 320px; gap: 30px; align-items: center; max-height: 100%; max-width: 1100px; }
.lb-stage img { max-height: calc(100vh - 80px); max-width: 100%; border-radius: 14px; object-fit: contain; }
.lb-info { color: rgba(255, 255, 255, .75); }
.lb-info h4 { color: #fff; font-size: 1.4rem; }
.lb-info p { white-space: pre-line; font-size: 14.5px; }
.lb-info.solo .btn { display: none; }
.lb-x, .lb-prev, .lb-next { position: absolute; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.lb-x { right: 20px; top: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; top: 24px; transform: translateX(-50%); z-index: 140; display: flex; align-items: center; gap: 12px; padding: 14px 16px 14px 18px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); border-left: 4px solid #16a34a; color: var(--ink); font-weight: 500; max-width: calc(100vw - 32px); animation: toastIn .5s var(--ease); }
.toast-error { border-color: var(--red-600); }
.toast > .ic { color: #16a34a; width: 22px; height: 22px; }
.toast-error > .ic { color: var(--red-600); }
.toast button { border: 0; background: none; color: var(--muted); padding: 4px; display: grid; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, -20px); } }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; padding: 110px 0 100px; color: #fff; overflow: hidden; background: var(--navy-950); }
.page-hero-bg { position: absolute; inset: 0; background: var(--hero-bg, none) center/cover; opacity: .35; transform: scale(1.05); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(5, 14, 36, .97) 30%, rgba(10, 27, 63, .6)), radial-gradient(600px 300px at 10% 100%, rgba(224, 22, 43, .3), transparent 70%); }
.page-hero::after { content: ""; position: absolute; right: 8%; bottom: -1px; width: 220px; height: 6px; border-radius: 6px 6px 0 0; background: var(--red-600); z-index: 2; }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; margin: 14px 0 10px; max-width: 900px; }
.page-hero p { color: rgba(255, 255, 255, .75); font-size: 17px; max-width: 640px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: rgba(255, 255, 255, .7); }
.crumbs a { display: inline-flex; gap: 6px; align-items: center; }
.crumbs a:hover { color: #fff; }
.crumbs .sep { width: 14px; height: 14px; opacity: .5; }
.crumbs span { color: #ff8a96; }

/* ---------- Products listing ---------- */
.shop { display: grid; grid-template-columns: 290px 1fr; gap: 40px; align-items: start; }
.side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 22px; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.side-box h4 { font-size: 1rem; margin-bottom: 14px; }
.side-cats a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-weight: 500; font-size: 14.5px; color: var(--ink); }
.side-cats a .ic { color: var(--blue-600); }
.side-cats a small { margin-left: auto; font-size: 12px; background: var(--bg-soft); padding: 2px 8px; border-radius: 999px; color: var(--muted); }
.side-cats a:hover, .side-cats a.on { background: var(--navy-900); color: #fff; }
.side-cats a.on .ic, .side-cats a:hover .ic { color: #fff; }
.side-cats a.on small, .side-cats a:hover small { background: rgba(255, 255, 255, .15); color: #fff; }
.search-box { display: flex; gap: 8px; }
.search-box input { flex: 1; min-width: 0; font: inherit; font-size: 14.5px; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; }
.search-box input:focus { outline: none; border-color: var(--blue-500); }
.search-box button { width: 46px; border-radius: 12px; border: 0; background: var(--navy-900); color: #fff; display: grid; place-items: center; }
.side-help { background: linear-gradient(150deg, var(--navy-900), var(--navy-700)); color: rgba(255, 255, 255, .78); border: 0; }
.side-help h4 { color: #fff; }
.side-help a.ph-line { display: flex; gap: 8px; align-items: center; color: #fff; font-weight: 600; margin-top: 6px; font-size: 15px; }
.side-help .ic { color: #ff8a96; }
.grid-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.list-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.list-top h2 { font-size: 1.5rem; margin: 0; }
.list-top span { color: var(--muted); font-size: 14.5px; }
.empty { text-align: center; padding: 60px 20px; background: var(--bg-soft); border-radius: var(--radius); color: var(--muted); }
.empty .ic { width: 48px; height: 48px; color: var(--blue-100); margin: 0 auto 10px; }

/* ---------- Product detail ---------- */
.pd { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.pd-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.pd-main { border-radius: 22px; overflow: hidden; background: radial-gradient(circle at 50% 40%, #fff, #eef1f7); border: 1px solid var(--line); aspect-ratio: 1; display: grid; place-items: center; cursor: zoom-in; }
.pd-main img { width: 100%; height: 100%; object-fit: contain; padding: 30px; mix-blend-mode: multiply; }
.pd-thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.pd-thumbs button { width: 84px; height: 84px; border-radius: 14px; border: 2px solid var(--line); background: #fff; padding: 6px; overflow: hidden; }
.pd-thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumbs button.on { border-color: var(--red-600); }
.pd-info .pd-title { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 6px 0 12px; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.pd-meta span { font-size: 13.5px; padding: 6px 12px; border-radius: 10px; background: var(--bg-soft); color: var(--ink); }
.pd-meta b { color: var(--muted); font-weight: 500; }
.pd-lead { font-size: 17px; color: var(--text); }
.spec { width: 100%; border-collapse: collapse; margin: 22px 0 26px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); font-size: 15px; }
.spec th, .spec td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 38%; background: var(--bg-soft); color: var(--ink); font-weight: 600; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pd-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.pd-trust div { padding: 16px; border-radius: 14px; border: 1px solid var(--line); display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.pd-trust .ic { color: var(--red-600); width: 22px; height: 22px; }
.pd-desc { margin-top: 70px; display: grid; grid-template-columns: 1fr 340px; gap: 50px; align-items: start; }
.tab-title { font-size: 1.5rem; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 22px; position: relative; }
.tab-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 60px; height: 3px; background: var(--red-600); }

/* ---------- Service detail ---------- */
.detail { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.detail-hero-img { border-radius: 22px; overflow: hidden; margin-bottom: 36px; aspect-ratio: 16/8; box-shadow: var(--shadow); }
.detail-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.detail h2.d-title { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.points-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 34px; }
.point { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: 14px; background: var(--bg-soft); font-weight: 600; color: var(--ink); }
.point .ic { color: #fff; background: var(--red-600); border-radius: 50%; padding: 5px; width: 26px; height: 26px; stroke-width: 3; }
.side-list a { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 12px; background: var(--bg-soft); margin-bottom: 8px; font-weight: 600; color: var(--ink); font-size: 14.5px; transition: .25s; }
.side-list a:hover, .side-list a.on { background: var(--navy-900); color: #fff; }

/* ---------- About page ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mv-card { border-radius: 22px; padding: 40px; background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; }
.mv-card::before { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: var(--blue-50); }
.mv-card.red::before { background: var(--red-50); }
.mv-ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--navy-900); color: #fff; margin-bottom: 20px; position: relative; }
.mv-card.red .mv-ic { background: var(--red-600); }
.mv-ic .ic { width: 28px; height: 28px; }
.mv-card h3 { font-size: 1.5rem; position: relative; }
.mv-card .ticks { position: relative; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.story-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.story-media img { border-radius: 22px; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4.2; box-shadow: var(--shadow); }
.story-media img:last-child { margin-top: 60px; }
.promise-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.promise { padding: 28px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .8); }
.promise b { display: block; font-family: var(--font-head); font-size: 34px; color: #ff5a6a; line-height: 1; margin-bottom: 14px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.c-cards { display: grid; gap: 18px; }
.c-card { display: flex; gap: 18px; padding: 26px; border-radius: 18px; border: 1px solid var(--line); background: #fff; transition: .3s; }
.c-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.c-ic { width: 56px; height: 56px; flex: none; border-radius: 16px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); }
.c-card:nth-child(2) .c-ic { background: var(--red-50); color: var(--red-600); }
.c-ic .ic { width: 24px; height: 24px; }
.c-card h4 { margin-bottom: 6px; font-size: 1.05rem; }
.c-card a, .c-card p { display: block; color: var(--text); margin: 0; word-break: break-word; }
.c-card a:hover { color: var(--red-600); }
.form-card { padding: 44px; border-radius: 24px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card h2 { font-size: 1.9rem; }
.map { margin-top: 80px; border-radius: 24px; overflow: hidden; height: 440px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85); }

/* ---------- Post ---------- */
.post-wrap { max-width: 820px; margin: 0 auto; }
.post-cover { border-radius: 22px; overflow: hidden; margin-bottom: 34px; aspect-ratio: 16/8.5; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-meta { display: flex; gap: 16px; color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }
.post-meta span { display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1500px) {
  .h-call span:last-child { display: none; }
}
@media (max-width: 1200px) {
  .main-nav > ul > li > a { padding: 10px 9px; font-size: 14.5px; }
  .header-cta .btn { display: none; }
  .main-nav > ul > li > a::after { left: 10px; right: 10px; }
  .h-call span:last-child { display: none; }
  .drop-mega { width: 680px; }
}
@media (max-width: 1080px) {
  :root { --header-h: 74px; }
  .main-nav { display: none; }
  .burger { display: grid; }
  .h-call span:last-child { display: block; }
  .header-cta .btn { display: inline-flex; }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .slide-inner { grid-template-columns: 1fr; }
  .slide-visual { display: none; }
  .slide-title { max-width: 18ch; }
  .about-grid, .why-grid, .story-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-media { max-width: 560px; }
  .safety-grid { grid-template-columns: 1fr 1fr; }
  .sf-visual { grid-column: 1 / -1; grid-row: 1; max-width: 420px; justify-self: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shop { grid-template-columns: 1fr; }
  .side { position: static; grid-template-columns: 1fr 1fr; }
  .side-help { display: none; }
  .pd, .pd-desc, .detail { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .lb-stage { grid-template-columns: 1fr; justify-items: center; overflow-y: auto; max-height: calc(100vh - 60px); }
  .lb-stage img { max-height: 70vh; }
  .lb-info { text-align: center; max-width: 520px; }
}
@media (max-width: 860px) {
  .section { padding: 80px 0; }
  .grid-3, .grid-products { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before { display: none; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
  .t-card { flex-basis: calc((100% - 24px) / 2); }
  .cta-inner { grid-template-columns: 1fr; padding: 44px 32px; }
  .modal-card { grid-template-columns: 1fr; }
  .modal-side { padding: 32px 28px 26px; }
  .modal-side .ticks, .modal-side p { display: none; }
  .modal-form { padding: 28px; }
  .mv-grid { grid-template-columns: 1fr; }
  .hide-md, .header-cta .btn { display: none; }
  .tb-live { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { padding: 0 16px; }
  .topbar { display: none; }
  .hero { height: 700px; }
  .slide-inner { padding: 40px 16px 150px; align-content: center; }
  .slide-title { font-size: 2.15rem; margin-bottom: 16px; }
  .slide-sub { font-size: 15px; margin-bottom: 26px; }
  .slide-btns { gap: 10px; }
  .slide-btns .btn { padding: 13px 16px; font-size: 14px; }
  .hero-ctrl { bottom: 78px; }
  .filter-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .ft { flex: none; }
  .filter-tabs.dark { margin: 0 -16px; }
  .s-media { aspect-ratio: 16/8; }
  .hd-bar { width: 32px; }
  .hero-dots { gap: 12px; }
  .hero-arrows .icon-btn { width: 40px; height: 40px; }
  .slide-btns .btn { flex: 1 1 auto; }
  .stats-wrap { margin-top: -52px; }
  .stats-bar { padding: 4px; border-radius: 18px; }
  .stat { flex-direction: column; text-align: center; gap: 10px; padding: 18px 10px; }
  .stat::before { display: none; }
  .stat strong { font-size: 23px; }
  .stat small { font-size: 12.5px; }
  .grid-3, .grid-4, .grid-products { grid-template-columns: 1fr; }
  .grid-4 .p-card, .grid-products .p-card { flex-direction: row; }
  .grid-4 .p-media, .grid-products .p-media { flex: 0 0 38%; aspect-ratio: auto; min-height: 150px; }
  .grid-4 .p-media img, .grid-products .p-media img { padding: 12px; }
  .grid-4 .p-body, .grid-products .p-body { padding: 16px; }
  .grid-4 .p-body p, .grid-products .p-body p { display: none; }
  .p-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
  .about-media { padding: 0 40px 50px 0; }
  .am-badge { left: -8px; top: 20px; width: 118px; padding: 16px 10px; }
  .am-badge strong { font-size: 30px; }
  .ticks.grid2 { grid-template-columns: 1fr; }
  .why-cards { grid-template-columns: 1fr; }
  .w-card { padding: 22px; }
  .safety-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .t-card { flex-basis: 88%; padding: 26px; }
  .design-rail .d-card { flex-basis: 200px; }
  .designs-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .d-card figcaption { flex-direction: column; gap: 2px; padding: 10px 12px; }
  .d-card figcaption span { text-align: left; }
  .cta-inner { padding: 36px 22px; border-radius: 22px; }
  .cta-band { padding-bottom: 80px; }
  .cta-phone strong { font-size: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .site-footer { padding-top: 64px; }
  .footer-bottom { margin-top: 40px; justify-content: center; text-align: center; }
  .f-row2 { grid-template-columns: 1fr; }
  .side { grid-template-columns: 1fr; }
  .page-hero { padding: 70px 0 64px; }
  .pd-trust { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .pd-trust div { padding: 12px 10px; font-size: 12px; }
  .points-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .rich ul.two-col { columns: 1; }
  .lightbox { padding: 60px 12px 20px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .story-media img:last-child { margin-top: 30px; }
  .map { height: 320px; margin-top: 56px; }
  .h-call span:last-child { display: none; }
  .header-inner { gap: 10px; }
  .logo-mark { width: 42px; height: 42px; }
  .logo-text strong { font-size: 19px; }
  .logo-text em { font-size: 10px; letter-spacing: .3em; }
  .logo-text small { display: none; }
  .fab { right: 14px; bottom: 14px; }
  .fab a, .fab button { width: 48px; height: 48px; }
  .head-row { margin-bottom: 28px; }
}
@media (max-width: 380px) {
  .h-call { display: none; }
}
