/* ============================================================
   Gensis Micro Technologies — Site Stylesheet
   Premium corporate design system · mobile-first responsive
   ============================================================ */

:root {
  --primary: #2b2a72;
  --primary-dark: #1e1d54;
  --primary-light: #3d3b96;
  --secondary: #12b0a0;
  --accent: #e2372b;
  --accent-dark: #c22a20;
  --ink: #171930;
  --body: #4b5169;
  --muted: #7b8199;
  --line: #e6e8f2;
  --bg: #ffffff;
  --bg-alt: #f6f7fc;
  --bg-dark: #14132f;
  --white: #ffffff;
  --font-head: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 2px 10px rgba(23, 25, 48, .06);
  --shadow-md: 0 10px 30px rgba(23, 25, 48, .1);
  --shadow-lg: 0 24px 60px rgba(23, 25, 48, .16);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset & base ---------- */
*, *::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(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.22;
  margin: 0 0 .6em;
  font-weight: 800;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.container { width: min(1200px, 92%); margin-inline: auto; }
.container-narrow { width: min(860px, 92%); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--primary); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: all .25s var(--ease); line-height: 1.2;
  white-space: nowrap;
}
.btn svg { transition: transform .25s var(--ease); flex: none; }
.btn:hover svg { transform: translateX(3px); }
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(43, 42, 114, .28); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(226, 55, 43, .3); }
.btn-accent:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--primary); box-shadow: var(--shadow-md); }
.btn-light:hover { color: var(--accent); transform: translateY(-2px); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(4px); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.14); color: #fff; }
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, .3); }
.btn-wa:hover { background: #1eb857; color: #fff; transform: translateY(-2px); }

/* ---------- Announcement ---------- */
.announcement-bar {
  background: var(--primary-dark); color: #dfe1f5;
  font-size: .85rem; text-align: center; padding: 8px 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 120;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand-logo { height: 60px; width: auto; }
.brand-text { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--primary); }

.nav-list {
  display: flex; align-items: center; gap: 6px;
  list-style: none; margin: 0; padding: 0;
}
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block; padding: 10px 15px; font-family: var(--font-head);
  font-weight: 600; font-size: .96rem; color: var(--ink); border-radius: 8px;
}
.nav-list > li > a:hover, .nav-list > li > a.active { color: var(--accent); }
.nav-list > li > a.active { position: relative; }

.has-dropdown { display: flex; align-items: center; }
.dd-toggle {
  background: none; border: 0; padding: 4px; margin-left: -8px; cursor: pointer;
  color: var(--ink); display: inline-flex; align-items: center;
  transition: transform .25s var(--ease);
}
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 280px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  list-style: none; margin: 0; padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .25s var(--ease);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown:hover .dd-toggle, .has-dropdown.open .dd-toggle { transform: rotate(180deg); }
.dropdown a {
  display: block; padding: 10px 14px; border-radius: 9px;
  font-size: .93rem; font-weight: 500; color: var(--body);
}
.dropdown a:hover { background: var(--bg-alt); color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-icon-wa {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: #25d366; color: #fff; transition: transform .2s var(--ease);
}
.btn-icon-wa:hover { transform: scale(1.08); color: #fff; }
.header-cta { padding: 11px 22px; font-size: .92rem; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 10px;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px;
  cursor: pointer;
}
.hamburger span {
  display: block; height: 2.4px; width: 100%; border-radius: 2px;
  background: var(--ink); transition: all .3s var(--ease);
}
.hamburger.active span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(.4); }
.hamburger.active span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

.nav-head, .nav-cta-mobile { display: none; }
.nav-overlay {
  position: fixed; inset: 0; z-index: 130;
  background: rgba(16, 15, 40, .55); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .3s var(--ease);
}
.nav-overlay.visible { opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #191840 0%, var(--primary) 55%, #34317f 100%);
  color: #fff;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(560px 400px at 88% 12%, rgba(226, 55, 43, .17), transparent 62%),
    radial-gradient(640px 480px at 6% 92%, rgba(18, 176, 160, .13), transparent 60%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(75% 75% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(75% 75% at 50% 40%, #000 30%, transparent 100%);
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 48px; align-items: center; padding: 84px 0 96px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  padding: 8px 16px; border-radius: 999px; margin-bottom: 22px;
  backdrop-filter: blur(6px);
}
.hero-badge svg { color: #7ee8db; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero-copy > p { font-size: 1.08rem; color: rgba(255,255,255,.82); max-width: 54ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-points {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  list-style: none; margin: 0; padding: 0;
  font-family: var(--font-head); font-size: .88rem; font-weight: 600;
  color: rgba(255,255,255,.75);
}
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--secondary); box-shadow: 0 0 10px var(--secondary);
}

.hero-visual { position: relative; min-height: 480px; }
.hero-card {
  position: absolute; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-label {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(20, 19, 47, .82); color: #fff; backdrop-filter: blur(6px);
  font-family: var(--font-head); font-size: .74rem; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
}
.hero-card-main {
  right: 6%; top: 50%; transform: translateY(-50%);
  width: min(370px, 78%); aspect-ratio: 1 / 1.04;
  animation: float-a 7s ease-in-out infinite;
}
.hero-card-sm { width: 158px; aspect-ratio: 1 / 1.15; }
.hero-card-a { left: 2%; top: 6%; animation: float-b 8s ease-in-out infinite; }
.hero-card-b { left: 7%; bottom: 4%; aspect-ratio: 1/1; animation: float-b 9s ease-in-out infinite reverse; }
@keyframes float-a { 0%,100% { transform: translateY(-50%); } 50% { transform: translateY(calc(-50% - 13px)); } }
@keyframes float-b { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

/* ---------- Stats band ---------- */
.stats-band {
  background: linear-gradient(180deg, var(--primary-dark), var(--primary));
  padding: 34px 0; color: #fff; border-top: 1px solid rgba(255,255,255,.08);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 8px; }
.stat-value {
  display: block; font-family: var(--font-head); font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.02em;
  background: linear-gradient(90deg, #fff, #b9c0f5);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { font-size: .86rem; color: rgba(255,255,255,.72); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: #c8cbe5; }
.section-dark h2 { color: #fff; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); }
.section-dark .section-head p { color: #9ea3c9; }
.section-more { text-align: center; margin-top: 44px; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: .8rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--accent); margin-bottom: 12px;
}
.eyebrow-light { color: #ff8d84; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cat-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-card-img { height: 210px; overflow: hidden; background: var(--bg-alt); }
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat-card:hover .cat-card-img img { transform: scale(1.05); }
.cat-card-img-icon {
  display: grid; place-items: center; color: var(--primary);
  background: linear-gradient(135deg, #eceefc, #f8f9ff);
}
.cat-card-body { padding: 26px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.cat-card-body h3 { margin-bottom: 2px; }
.cat-card:hover h3 { color: var(--primary); }
.cat-tag {
  font-family: var(--font-head); font-size: .8rem; font-weight: 600;
  color: var(--secondary); margin-bottom: 8px;
}
.cat-card-body > p:last-of-type { flex: 1; font-size: .93rem; color: var(--muted); }
.link-more {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-head); font-weight: 700; font-size: .9rem;
  color: var(--accent); margin-top: 10px;
}
.link-more svg { transition: transform .25s var(--ease); }
.cat-card:hover .link-more svg, .prod-card:hover .link-more svg, .blog-card:hover .link-more svg { transform: translateX(4px); }

/* ---------- Product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.prod-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prod-card-img {
  height: 200px; display: grid; place-items: center; overflow: hidden;
  background: #fff; border-bottom: 1px solid var(--line); color: var(--muted);
  padding: 14px;
}
.prod-card-img img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; transition: transform .45s var(--ease); }
.prod-card:hover .prod-card-img img { transform: scale(1.06); }
.prod-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.prod-cat {
  display: inline-block; font-family: var(--font-head); font-size: .74rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--secondary); margin-bottom: 8px;
}
.prod-card-body h3 { font-size: 1.05rem; }
.prod-card-body p { flex: 1; font-size: .9rem; color: var(--muted); margin-bottom: 4px; }
.prod-card:hover h3 { color: var(--primary); }

/* ---------- About teaser ---------- */
.about-teaser {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center;
}
.about-img-stack { position: relative; padding-bottom: 46px; }
.about-img-1 {
  width: 88%; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3.4; object-fit: cover;
}
.about-img-2 {
  position: absolute; right: 0; bottom: 0; width: 46%;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 5px solid #fff; aspect-ratio: 4/3; object-fit: cover;
}
.about-badge {
  position: absolute; left: 6%; bottom: 8px;
  background: var(--accent); color: #fff; border-radius: 14px;
  padding: 14px 20px; box-shadow: 0 14px 30px rgba(226, 55, 43, .38);
}
.about-badge-num {
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
  line-height: 1.15; display: block; text-align: center;
}
.check-list { list-style: none; padding: 0; margin: 0 0 28px; }
.check-list li {
  position: relative; padding-left: 32px; margin-bottom: 11px;
  color: var(--body); font-size: .97rem;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(18, 176, 160, .14);
}
.check-list li::after {
  content: ""; position: absolute; left: 6px; top: 8px;
  width: 8px; height: 5px;
  border-left: 2.2px solid var(--secondary); border-bottom: 2.2px solid var(--secondary);
  transform: rotate(-45deg);
}

/* ---------- Why grid (dark) ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card {
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius); padding: 30px 26px;
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.why-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.why-icon {
  display: inline-grid; place-items: center; width: 54px; height: 54px;
  border-radius: 14px; margin-bottom: 18px; color: #7ee8db;
  background: linear-gradient(135deg, rgba(18,176,160,.22), rgba(18,176,160,.06));
  border: 1px solid rgba(18,176,160,.3);
}
.why-card h3 { color: #fff; font-size: 1.08rem; }
.why-card p { font-size: .92rem; color: #9ea3c9; margin: 0; }

/* ---------- CTA strip ---------- */
.cta-strip { padding: 0; }
.cta-strip-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 34px;
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 24px; padding: 54px 58px; color: #fff;
  position: relative; overflow: hidden; margin-block: 84px;
}
.cta-strip-inner::before {
  content: ""; position: absolute; right: -70px; top: -70px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(226,55,43,.35), transparent 70%);
}
.cta-strip-inner h2 { color: #fff; max-width: 22ch; }
.cta-strip-inner p { color: rgba(255,255,255,.8); max-width: 52ch; margin: 0; }
.cta-strip-inner > div { position: relative; }
.cta-strip-inner .btn { flex: none; position: relative; }

/* ---------- Blog cards ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card-img { height: 190px; overflow: hidden; background: var(--bg-alt); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-date { font-size: .8rem; color: var(--muted); font-weight: 500; margin-bottom: 8px; }
.blog-card-body h3 { font-size: 1.04rem; }
.blog-card:hover h3 { color: var(--primary); }
.blog-card-body p { flex: 1; font-size: .9rem; color: var(--muted); }

/* ---------- Page hero & breadcrumbs ---------- */
.page-hero {
  background: linear-gradient(135deg, #191840 0%, var(--primary) 60%, #34317f 100%);
  color: #fff; padding: 64px 0 58px; text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px 300px at 85% 20%, rgba(226,55,43,.14), transparent 60%);
}
.page-hero h1 { color: #fff; margin-bottom: 8px; position: relative; }
.page-hero p { color: rgba(255,255,255,.78); max-width: 62ch; margin: 0 auto; position: relative; }
.breadcrumbs { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.breadcrumbs ol {
  display: flex; flex-wrap: wrap; gap: 6px; list-style: none;
  margin: 0; padding: 12px 0; font-size: .84rem;
}
.breadcrumbs li { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; color: var(--line); font-weight: 600; }
.breadcrumbs a { color: var(--body); font-weight: 500; }
.breadcrumbs a:hover { color: var(--accent); }

.cat-section-head { margin-bottom: 36px; max-width: 720px; }
.cat-section-head p { color: var(--muted); margin: 0; }

/* ---------- Product detail ---------- */
.product-detail { padding-top: 56px; }
.product-top { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; margin-bottom: 60px; }
.product-main-img {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; padding: 22px; display: grid; place-items: center;
  min-height: 380px; box-shadow: var(--shadow-sm);
}
.product-main-img img { max-height: 430px; width: auto; max-width: 100%; object-fit: contain; }
.product-noimg { color: var(--muted); text-align: center; gap: 10px; }
.product-noimg svg { margin-inline: auto; opacity: .5; }
.product-thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.thumb {
  width: 84px; height: 72px; padding: 6px; background: #fff;
  border: 2px solid var(--line); border-radius: var(--radius-sm);
  cursor: pointer; transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb:hover { transform: translateY(-2px); }
.thumb.active { border-color: var(--accent); }
.product-summary h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.product-short { font-size: 1.05rem; color: var(--body); margin-bottom: 22px; }
.product-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.product-contact-note { font-size: .9rem; color: var(--muted); }

.product-desc { max-width: 900px; }
.rich-text h2 {
  font-size: 1.45rem; margin-top: 1.6em;
  padding-bottom: 10px; border-bottom: 2px solid var(--line);
}
.rich-text .lead { font-size: 1.13rem; color: var(--ink); font-weight: 500; }
.rich-text ul li { margin-bottom: 8px; }
.rich-text a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.spec-table-wrap { overflow-x: auto; margin: 18px 0; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.spec-table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 520px; }
.spec-table th, .spec-table td { padding: 14px 18px; text-align: left; vertical-align: top; }
.spec-table th {
  width: 240px; background: var(--bg-alt); color: var(--ink);
  font-family: var(--font-head); font-weight: 700; font-size: .9rem;
}
.spec-table .model {
  display: block; font-size: .76rem; color: var(--secondary);
  font-weight: 700; letter-spacing: .04em;
}
.spec-table tr + tr th, .spec-table tr + tr td { border-top: 1px solid var(--line); }

/* ---------- Article ---------- */
.article { padding-top: 56px; }
.article-head { text-align: center; margin-bottom: 34px; }
.article-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 10px 0 14px; }
.article-excerpt { color: var(--muted); font-size: 1.05rem; max-width: 60ch; margin-inline: auto; }
.article-img img {
  width: 100%; max-height: 460px; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.article-img { margin: 0 0 36px; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 54px; align-items: start; }
.contact-cards { list-style: none; padding: 0; margin: 26px 0 0; }
.contact-cards li {
  display: flex; gap: 16px; padding: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 14px; box-shadow: var(--shadow-sm);
}
.contact-cards strong {
  display: block; font-family: var(--font-head); color: var(--ink);
  font-size: .92rem; margin-bottom: 2px;
}
.contact-cards a, .contact-cards span { font-size: .93rem; color: var(--body); word-break: break-word; }
.contact-cards a:hover { color: var(--accent); }
.ci-icon {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 12px; color: var(--primary);
  background: linear-gradient(135deg, #eceefc, #f8f9ff);
  border: 1px solid var(--line);
}
.contact-form-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px; box-shadow: var(--shadow-md);
}
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-family: var(--font-head); font-weight: 600;
  font-size: .88rem; color: var(--ink); margin-bottom: 7px;
}
.form-group label span { color: var(--accent); }
.form-group input, .form-group textarea {
  width: 100%; padding: 13px 16px; font: inherit; font-size: .95rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-alt); color: var(--ink);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); background: #fff;
  box-shadow: 0 0 0 4px rgba(43, 42, 114, .1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.hp-field { position: absolute !important; left: -9999px !important; height: 0; width: 0; opacity: 0; }
.form-error {
  background: #fdecea; color: #b3261e; border: 1px solid #f5c6c2;
  padding: 12px 16px; border-radius: var(--radius-sm); font-size: .92rem;
}
.form-success { text-align: center; padding: 30px 10px; }
.form-success svg { color: var(--secondary); margin: 0 auto 14px; }
.map-section { line-height: 0; }
.map-section iframe { width: 100%; height: 420px; border: 0; filter: saturate(.9); }

/* ---------- Footer CTA & footer ---------- */
.footer-cta { background: var(--bg-alt); padding: 0; }
.footer-cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  background: linear-gradient(120deg, var(--accent) 0%, #f0563c 100%);
  border-radius: 24px; padding: 44px 52px; color: #fff;
  transform: translateY(50%); position: relative; z-index: 2;
  box-shadow: 0 22px 50px rgba(226, 55, 43, .35);
}
.footer-cta-inner h2 { color: #fff; font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin-bottom: 6px; }
.footer-cta-inner p { margin: 0; color: rgba(255,255,255,.88); }
.site-footer {
  background: var(--bg-dark); color: #9ea3c9;
  padding: 150px 0 30px; font-size: .93rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.4fr;
  gap: 44px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.09);
}
.footer-logo-chip {
  display: inline-block; background: #fff; border-radius: 12px;
  padding: 10px 16px; margin-bottom: 16px;
}
.footer-tag { font-family: var(--font-head); font-weight: 600; color: #cdd1f0; font-size: .9rem; }
.footer-desc { font-size: .88rem; }
.footer-col h4 {
  color: #fff; font-size: 1rem; margin-bottom: 18px; position: relative; padding-bottom: 10px;
}
.footer-col h4::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 34px; height: 3px; border-radius: 3px; background: var(--accent);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: #9ea3c9; }
.footer-col ul a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex: none; margin-top: 5px; color: var(--secondary); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.07); color: #cdd1f0;
  transition: all .25s var(--ease);
}
.footer-social a:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: .85rem;
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.footer-legal a { color: #9ea3c9; }
.footer-legal a:hover { color: #fff; }
.agency-credit {
  text-align: center; margin-top: 20px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: .8rem; color: #6f7494;
}
.agency-credit a { color: #a9aed6; font-weight: 600; }
.agency-credit a:hover { color: #fff; }

/* ---------- Floating bits ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: grid; place-items: center; width: 56px; height: 56px;
  border-radius: 50%; background: #25d366; color: #fff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.1); color: #fff; }
.back-top {
  position: fixed; right: 24px; bottom: 92px; z-index: 90;
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; border: 0; background: var(--primary); color: #fff;
  cursor: pointer; box-shadow: var(--shadow-md);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.back-top:hover { transform: translateY(-3px); }
body:not(:has(.wa-float)) .back-top { bottom: 24px; }

/* ---------- 404 ---------- */
.notfound { padding: 110px 0; }
.nf-code {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(4.5rem, 12vw, 8rem);
  line-height: 1; margin: 0 0 6px;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.empty-note { text-align: center; color: var(--muted); padding: 30px 0; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-card { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-card-main { width: min(320px, 82%); }
}

@media (max-width: 991px) {
  :root { --header-h: 74px; }
  .brand-logo { height: 52px; }
  .header-cta { display: none; }

  /* Mobile drawer nav */
  .hamburger { display: flex; }
  .main-nav {
    position: fixed; top: 0; right: 0; z-index: 140;
    width: min(360px, 88vw); height: 100dvh;
    background: #fff; box-shadow: -18px 0 50px rgba(16, 15, 40, .18);
    display: flex; flex-direction: column;
    transform: translateX(105%); visibility: hidden;
    transition: transform .38s var(--ease), visibility .38s;
    overflow-y: auto; overscroll-behavior: contain;
  }
  .main-nav.open { transform: translateX(0); visibility: visible; }
  .nav-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 22px; border-bottom: 1px solid var(--line);
  }
  .nav-title { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 1.05rem; }
  .nav-close {
    display: grid; place-items: center; width: 42px; height: 42px;
    background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px;
    color: var(--ink); cursor: pointer;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 14px; }
  .nav-list > li { border-bottom: 1px solid var(--bg-alt); }
  .nav-list > li:last-child { border-bottom: 0; }
  .nav-list > li > a { padding: 15px 10px; font-size: 1.02rem; }
  .has-dropdown { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .has-dropdown > a { flex: 1; }
  .dd-toggle {
    width: 44px; height: 44px; margin: 0; justify-content: center;
    border-radius: 10px; background: var(--bg-alt);
  }
  .dropdown {
    position: static; width: 100%; min-width: 0; box-shadow: none; border: 0;
    background: var(--bg-alt); border-radius: 12px; margin: 4px 0 12px;
    opacity: 1; visibility: visible; transform: none;
    display: none; padding: 8px;
  }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown:hover .dd-toggle { transform: none; }
  .has-dropdown.open .dd-toggle { transform: rotate(180deg); }
  .nav-cta-mobile {
    display: block; margin-top: auto; padding: 20px 22px 28px;
    border-top: 1px solid var(--line);
  }
  .nav-contact-line {
    display: block; text-align: center; margin-top: 12px;
    font-size: .92rem; font-weight: 600; color: var(--body);
  }

  .hero-inner { grid-template-columns: 1fr; padding: 60px 0 70px; gap: 40px; }
  .hero-visual { min-height: 400px; max-width: 480px; margin-inline: auto; width: 100%; }
  .about-teaser { grid-template-columns: 1fr; gap: 44px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .product-top { grid-template-columns: 1fr; gap: 36px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-strip-inner { flex-direction: column; align-items: flex-start; padding: 42px 36px; }
  .footer-cta-inner { flex-direction: column; align-items: flex-start; padding: 36px 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
}

@media (max-width: 640px) {
  .section { padding: 62px 0; }
  .cat-grid, .prod-grid, .blog-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions .btn { width: 100%; }
  .product-actions .btn { width: 100%; }
  .hero-card-sm { width: 122px; }
  .hero-visual { min-height: 340px; }
  .hero-card-main { width: 74%; right: 2%; }
  .footer-cta-inner { transform: translateY(40%); }
  .site-footer { padding-top: 120px; }
  .contact-form-wrap { padding: 26px 20px; }
  .brand-logo { height: 46px; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .back-top { right: 18px; bottom: 82px; }
}
