/* ==========================================================================
   KOSMOS INC — Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --indigo-900: #241a5c;
  --indigo-800: #302278;
  --indigo-700: #3d2c8d;
  --indigo-600: #4a35a8;
  --indigo-100: #ece9fb;
  --orange-600: #e8670f;
  --orange-500: #f5821f;
  --orange-100: #fef0e2;
  --ink-900: #16161f;
  --ink-700: #3b3b47;
  --ink-500: #6b6b78;
  --ink-300: #a6a6b3;
  --line: #e4e2ee;
  --bg: #ffffff;
  --bg-soft: #f6f5fb;
  --bg-alt: #efeafc;
  --white: #ffffff;
  --success: #1f8a4c;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(22,22,31,0.08);
  --shadow-md: 0 8px 24px rgba(36,26,92,0.10);
  --shadow-lg: 0 20px 48px rgba(36,26,92,0.16);
  --container: 1220px;
  --font-head: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink-900);
  line-height: 1.2;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }

@media (max-width: 768px) {
  section { padding: 56px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange-600);
  background: var(--orange-100);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.eyebrow.on-dark { background: rgba(255,255,255,0.12); color: #ffd9b0; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.section-head p { font-size: 17px; color: var(--ink-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange-500); color: #fff; box-shadow: 0 10px 24px rgba(245,130,31,0.32); }
.btn-primary:hover { background: var(--orange-600); box-shadow: 0 14px 30px rgba(245,130,31,0.4); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; transform: translateY(-2px); }
.btn-dark { background: var(--indigo-700); color: #fff; }
.btn-dark:hover { background: var(--indigo-800); transform: translateY(-2px); }
.btn-ghost { background: var(--indigo-100); color: var(--indigo-700); }
.btn-ghost:hover { background: var(--indigo-700); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--indigo-900);
  color: #cfc7f2;
  font-size: 13.5px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: #ecebff; }
.topbar-links { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-links span, .topbar-links a { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 14px; height: 14px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); }
.brand-mark { width: 46px; height: 46px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 21px; font-weight: 800; color: var(--ink-900); letter-spacing: .01em; }
.brand-text span { font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--orange-600); text-transform: uppercase; }

.site-logo { height: 40px; width: auto; display: block; }
.logo-badge { background: #ffffff; padding: 8px 16px; border-radius: 10px; display: inline-flex; align-items: center; }
.logo-badge .site-logo { height: 30px; }
.mobile-logo-img { height: 30px; width: auto; display: block; }

.header-tagline { font-family: var(--font-head); font-size: 12.5px; font-weight: 600; color: var(--ink-500); white-space: nowrap; padding-left: 14px; margin-left: 14px; border-left: 1px solid var(--line); }
@media (max-width: 860px) { .header-tagline { display: none; } }
.footer-tagline { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: #fff; margin-top: 14px; }

.nav-main { display: flex; align-items: center; gap: 4px; }
.nav-main > li { position: relative; }
.nav-main > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-700);
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
}
.nav-main > li > a:hover, .nav-main > li > a.active { color: var(--indigo-700); background: var(--bg-soft); }
.nav-main > li > a svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-main li:hover > a svg { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 300px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-main li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-700);
}
.dropdown a:hover { background: var(--bg-soft); color: var(--indigo-700); }
.dropdown .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange-500); flex-shrink: 0;
}
.dropdown .view-all { margin-top: 4px; border-top: 1px solid var(--line); padding-top: 12px; font-weight: 700; color: var(--indigo-700); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 26px; height: 2.5px; background: var(--ink-900); border-radius: 2px; transition: transform .25s, opacity .25s; }

@media (max-width: 980px) {
  .nav-main { display: none; }
  .nav-cta .btn-sm-hide { display: none; }
  .nav-toggle { display: flex; }
  body.nav-open .mobile-nav { transform: translateX(0); }
  body.nav-open .nav-scrim { opacity: 1; visibility: visible; }
}

.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(340px, 86vw);
  background: #fff;
  z-index: 400;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0,0,0,0.2);
}
.mobile-nav-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px; border-bottom: 1px solid var(--line);
}
.mobile-nav-close { background: none; border: none; font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink-500); }
.mobile-nav ul { padding: 10px; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--line); }
.mobile-nav a { display: block; padding: 15px 10px; font-family: var(--font-head); font-weight: 600; color: var(--ink-900); }
.mobile-nav .msub { display: none; padding-left: 14px; }
.mobile-nav .msub.open { display: block; }
.mobile-nav .msub a { font-size: 14px; font-weight: 500; padding: 11px 10px; color: var(--ink-700); }
.mobile-nav-foot { padding: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.msub-toggle { display: flex !important; justify-content: space-between; align-items: center; cursor: pointer; }
.msub-toggle svg { width: 16px; height: 16px; transition: transform .2s; }
.msub-toggle.open svg { transform: rotate(180deg); }

.nav-scrim {
  position: fixed; inset: 0; background: rgba(22,22,31,0.5);
  z-index: 300; opacity: 0; visibility: hidden; transition: opacity .3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--indigo-900), var(--indigo-700) 60%, #5a3fb0);
  color: #fff;
  overflow: hidden;
  padding: 92px 0 100px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 25%, rgba(255,255,255,0.09) 0, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(245,130,31,0.22) 0, transparent 50%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { font-size: clamp(34px, 5vw, 54px); color: #fff; margin-bottom: 20px; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--orange-500); }
.hero p.lead { font-size: 18px; color: #d9d4f5; max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--font-head); font-size: 26px; color: #fff; }
.hero-stats div span { font-size: 13px; color: #b9b0e6; }

.hero-visual {
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  padding: 20px;
  backdrop-filter: blur(4px);
}
.hero-visual .frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3.1;
}
.hero-badge {
  position: absolute;
  bottom: -18px; left: -18px;
  background: #fff;
  color: var(--indigo-800);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
}
.hero-badge .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--orange-100); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-badge .ic svg { width: 22px; height: 22px; color: var(--orange-600); }
.hero-badge strong { display: block; font-size: 15px; }
.hero-badge span { font-size: 12px; color: var(--ink-500); font-weight: 500; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto 20px; }
}

/* ---------- Placeholder machine art (CSS-drawn, no external images) ---------- */
.machine-art {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  color: #fff;
}
.machine-art svg { width: 78%; height: 78%; }

.ph-photo {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4/3;
  background: linear-gradient(160deg, var(--indigo-700), var(--indigo-900));
}
.ph-photo.orange { background: linear-gradient(160deg, var(--orange-500), #b6470c); }
.ph-photo.light { background: linear-gradient(160deg, #e9e6f9, #cfc7f2); }
.ph-photo svg { width: 46%; height: 46%; color: rgba(255,255,255,0.92); }
.ph-photo.light svg { color: var(--indigo-700); }
.ph-tag {
  position: absolute; bottom: 10px; left: 10px;
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(3px);
}

/* ---------- Trust bar ---------- */
.trustbar { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 26px 0; }
.trustbar .container { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink-700); }
.trust-item svg { width: 22px; height: 22px; color: var(--indigo-700); flex-shrink: 0; }

/* ---------- Category / product cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-media { position: relative; }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 18.5px; }
.card-body p { font-size: 14.5px; color: var(--ink-500); flex: 1; }
.card-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--indigo-900); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  padding: 5px 11px; border-radius: 999px; text-transform: uppercase;
}
.card-tag.new { background: var(--orange-500); }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--indigo-700); margin-top: 4px; }
.card-link svg { width: 16px; height: 16px; transition: transform .18s; }
.card:hover .card-link svg { transform: translateX(4px); }

.spec-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.spec-chip { font-size: 12px; font-weight: 600; background: var(--bg-soft); color: var(--ink-700); padding: 5px 10px; border-radius: 6px; }

/* ---------- Filter bar ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 42px; }
.filter-btn {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink-700);
  cursor: pointer;
  transition: all .18s ease;
}
.filter-btn:hover { border-color: var(--indigo-600); color: var(--indigo-700); }
.filter-btn.active { background: var(--indigo-700); border-color: var(--indigo-700); color: #fff; }

/* ---------- Feature list ---------- */
.feature-row { display: flex; gap: 18px; }
.feature-row .ic {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  background: var(--indigo-100); display: flex; align-items: center; justify-content: center;
}
.feature-row .ic svg { width: 26px; height: 26px; color: var(--indigo-700); }
.feature-row h4 { font-size: 17px; margin-bottom: 6px; }
.feature-row p { font-size: 14.5px; color: var(--ink-500); }

/* ---------- Icon circle (tool types etc.) ---------- */
.tool-row { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; }
.tool-item { text-align: center; width: 118px; }
.tool-circle {
  width: 96px; height: 96px; border-radius: 50%;
  background: linear-gradient(160deg, var(--indigo-100), #fff);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  box-shadow: var(--shadow-sm);
}
.tool-circle svg { width: 42px; height: 42px; color: var(--indigo-700); }
.tool-item span { font-size: 13.5px; font-weight: 700; font-family: var(--font-head); color: var(--ink-900); }

/* ---------- Badge pill ---------- */
.pill-banner {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--indigo-700); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  padding: 14px 30px; border-radius: 999px;
  box-shadow: var(--shadow-md);
}

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split.rev .split-media { order: 2; }
@media (max-width: 900px) { .split.rev .split-media { order: -1; } }

.check-list li { display: flex; gap: 12px; padding: 9px 0; font-size: 15px; color: var(--ink-700); }
.check-list li svg { width: 20px; height: 20px; color: var(--success); flex-shrink: 0; margin-top: 1px; }

/* ---------- Tables ---------- */
.spec-table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--line); }
table.spec-table { width: 100%; border-collapse: collapse; min-width: 560px; background: #fff; }
table.spec-table th, table.spec-table td { padding: 15px 20px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line); }
table.spec-table thead th { background: var(--indigo-700); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; letter-spacing: .03em; text-transform: uppercase; }
table.spec-table thead th:first-child { border-top-left-radius: var(--radius-md); }
table.spec-table thead th:last-child { border-top-right-radius: var(--radius-md); }
table.spec-table tbody tr:nth-child(even) { background: var(--bg-soft); }
table.spec-table tbody tr:last-child td { border-bottom: none; }
table.spec-table td:first-child { font-weight: 600; color: var(--ink-900); }

/* ---------- Product detail ---------- */
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--ink-500); padding: 18px 0; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--indigo-700); }
.breadcrumb svg { width: 13px; height: 13px; }

.pd-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; padding-top: 12px; }
@media (max-width: 900px) { .pd-hero { grid-template-columns: 1fr; gap: 30px; } }
.pd-gallery-main { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 14px; aspect-ratio: 4/3.2; }
.pd-thumbs { display: flex; gap: 12px; }
.pd-thumbs .ph-photo { width: 84px; height: 64px; aspect-ratio: auto; border-radius: 10px; cursor: pointer; border: 2px solid transparent; }
.pd-thumbs .ph-photo.active { border-color: var(--orange-500); }
.pd-thumbs .ph-photo svg { width: 40%; height: 40%; }

.pd-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 10px; }
.pd-title-row h1 { font-size: clamp(26px, 3.4vw, 36px); }
.badge-instock { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--success); background: #e6f6ec; padding: 6px 13px; border-radius: 999px; white-space: nowrap; }
.badge-instock::before { content: ''; width: 7px; height: 7px; background: var(--success); border-radius: 50%; }
.pd-lead { font-size: 16px; color: var(--ink-500); margin-bottom: 22px; }
.pd-quick-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 26px; }
.qs-item { background: var(--bg-soft); border-radius: 10px; padding: 13px 16px; }
.qs-item span { display: block; font-size: 12px; color: var(--ink-500); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 3px; }
.qs-item strong { font-family: var(--font-head); font-size: 15px; color: var(--ink-900); }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.pd-contact-mini { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-500); }
.pd-contact-mini strong { color: var(--ink-900); }

.tab-bar { display: flex; gap: 6px; border-bottom: 2px solid var(--line); margin-bottom: 32px; flex-wrap: wrap; }
.tab-btn { font-family: var(--font-head); font-weight: 700; font-size: 14.5px; padding: 13px 22px; background: none; border: none; cursor: pointer; color: var(--ink-500); position: relative; top: 2px; }
.tab-btn.active { color: var(--indigo-700); border-bottom: 2.5px solid var(--indigo-700); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadein .3s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px);} to { opacity: 1; transform: none; } }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--indigo-800), var(--indigo-700));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 20%, rgba(245,130,31,0.25), transparent 55%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(24px,3vw,32px); margin-bottom: 8px; }
.cta-band p { color: #cfc7f2; font-size: 15.5px; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Form ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; font-family: var(--font-head); color: var(--ink-900); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 14.5px; color: var(--ink-900); background: var(--bg-soft);
  transition: border-color .18s, background .18s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo-600); background: #fff; }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 13px; color: var(--ink-500); margin-top: 10px; }
.form-success { display: none; background: #e6f6ec; color: var(--success); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14.5px; font-weight: 600; margin-bottom: 16px; }
.form-success.show { display: block; }

/* ---------- Testimonial / stats ---------- */
.stats-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
@media (max-width: 768px) { .stats-strip { grid-template-columns: repeat(2,1fr); } }
.stat-card { text-align: center; padding: 30px 16px; border-radius: var(--radius-md); background: var(--bg-soft); }
.stat-card strong { display: block; font-family: var(--font-head); font-size: 34px; color: var(--indigo-700); }
.stat-card span { font-size: 13.5px; color: var(--ink-500); font-weight: 600; }

/* ---------- Timeline (about) ---------- */
.timeline { border-left: 2px solid var(--line); padding-left: 30px; display: flex; flex-direction: column; gap: 34px; }
.timeline .t-item { position: relative; }
.timeline .t-item::before { content: ''; position: absolute; left: -37px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--orange-500); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--orange-500); }
.timeline .t-item h4 { color: var(--indigo-700); font-size: 14px; letter-spacing: .04em; margin-bottom: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--indigo-900); color: #c9c1ee; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.12); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 14px; color: #b6adde; max-width: 300px; }
.site-footer h5 { font-family: var(--font-head); color: #fff; font-size: 15px; margin-bottom: 18px; }
.site-footer ul li { margin-bottom: 11px; font-size: 14.5px; }
.site-footer ul li a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; color: var(--orange-500); }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: background .18s; }
.social-row a:hover { background: var(--orange-500); }
.social-row svg { width: 17px; height: 17px; color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-size: 13px; color: #9990c9; flex-wrap: wrap; gap: 10px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Floating WhatsApp ---------- */
.float-whatsapp {
  position: fixed; bottom: 26px; right: 26px; z-index: 250;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37,211,102,0.5);
  transition: transform .2s;
}
.float-whatsapp:hover { transform: scale(1.08); }
.float-whatsapp svg { width: 28px; height: 28px; color: #fff; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  background: linear-gradient(120deg, var(--indigo-900), var(--indigo-700));
  color: #fff;
  padding: 54px 0 46px;
}
.page-banner h1 { color: #fff; font-size: clamp(28px, 4vw, 40px); }
.page-banner p { color: #cfc7f2; margin-top: 10px; max-width: 560px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Blueprint illustration (technical line-art hero art) ---------- */
.ph-photo.blueprint {
  background:
    radial-gradient(rgba(255,255,255,0.16) 1px, transparent 1px) 0 0/18px 18px,
    linear-gradient(160deg, var(--indigo-700), var(--indigo-900));
  position: relative;
}
.ph-photo.blueprint.light-bp {
  background:
    radial-gradient(rgba(61,44,141,0.14) 1px, transparent 1px) 0 0/18px 18px,
    linear-gradient(160deg, #f2f0fb, #e2ddf7);
}
.ph-photo.blueprint svg { width: 62%; height: 62%; }
.ph-photo.blueprint.light-bp svg { color: var(--indigo-700); }
.ph-photo.blueprint .bp-corner {
  position: absolute; font-family: var(--font-head); font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,0.55);
}
.ph-photo.blueprint.light-bp .bp-corner { color: rgba(61,44,141,0.45); }
.ph-photo.blueprint .bp-corner.tl { top: 12px; left: 14px; }
.ph-photo.blueprint .bp-corner.br { bottom: 12px; right: 14px; }

/* ---------- Model / variant cards ---------- */
.variant-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.variant-card {
  border: 1.5px solid var(--line); border-radius: var(--radius-md); padding: 22px;
  background: #fff; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.variant-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--indigo-600); }
.variant-card.hd { border-color: var(--orange-500); background: var(--orange-100); }
.vc-model-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.vc-model { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--indigo-700); }
.vc-badge { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--orange-500); color: #fff; padding: 4px 10px; border-radius: 999px; }
.vc-specs { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; flex: 1; }
.vc-specs li { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--ink-500); border-bottom: 1px dashed var(--line); padding-bottom: 7px; }
.vc-specs li strong { color: var(--ink-900); font-weight: 700; text-align: right; }
.vc-actions { display: flex; gap: 8px; }
.vc-actions .btn { flex: 1; padding: 10px 12px; font-size: 13px; }

/* ---------- Sticky mobile CTA bar ---------- */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 260;
  display: none; gap: 8px; background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(22,22,31,0.12); padding: 9px 12px;
}
.sticky-cta a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  padding: 9px 4px; border-radius: 10px; font-family: var(--font-head); font-weight: 700; font-size: 11.5px;
}
.sticky-cta a svg { width: 19px; height: 19px; }
.sticky-cta .sc-call { background: var(--indigo-100); color: var(--indigo-700); }
.sticky-cta .sc-whatsapp { background: #e6f9ee; color: #1f8a4c; }
.sticky-cta .sc-quote { background: var(--orange-500); color: #fff; }
@media (max-width: 760px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 66px; }
  .float-whatsapp { bottom: 88px; }
}

/* ---------- Service area chips ---------- */
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.area-chip {
  display: flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line);
  padding: 9px 17px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--ink-700);
}
.area-chip svg { width: 15px; height: 15px; color: var(--orange-600); flex-shrink: 0; }
.area-chip.hq { background: var(--indigo-700); border-color: var(--indigo-700); color: #fff; }
.area-chip.hq svg { color: #ffd9b0; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: #fff; }
.faq-q {
  width: 100%; text-align: left; padding: 19px 22px; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-head); font-weight: 700; font-size: 15.5px; color: var(--ink-900);
}
.faq-q svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .25s ease; color: var(--indigo-700); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.faq-a p { padding: 0 22px 20px; font-size: 14.5px; color: var(--ink-500); }
.faq-item.open .faq-a { max-height: 300px; }

/* ---------- Mini quick-enquiry (homepage) ---------- */
.quick-enquiry { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md); }
.form-row-sal { display: grid; grid-template-columns: 108px 1fr; gap: 16px; }
@media (max-width: 480px) { .form-row-sal { grid-template-columns: 1fr; } }

/* ---------- Misc ---------- */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.divider { height: 1px; background: var(--line); margin: 40px 0; }
.bg-soft-section { background: var(--bg-soft); }
