:root {
  --navy: #07172e;
  --navy-2: #0f2547;
  --blue: #0064ff;
  --blue-dark: #004ec7;
  --cyan: #0ea5e9;
  --cyan-glow: rgba(14, 165, 233, 0.45);
  --bg: #ffffff;
  --surface: #f4f7fb;
  --surface-2: #eaf1fb;
  --ink: #0f172a;
  --body: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(7, 23, 46, 0.08);
  --shadow-lg: 0 20px 50px rgba(7, 23, 46, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

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

/* Topbar */
.topbar {
  background: var(--navy);
  color: #cbd5e1;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 36px; gap: 16px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px;
}
.topbar-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.topbar-right a:hover { color: #fff; }
.topbar .sep { opacity: 0.35; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 74px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff; font-weight: 800; font-size: 16px; letter-spacing: 0.5px;
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0, 100, 255, 0.28);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 18px; color: var(--navy); letter-spacing: -0.3px; }
.brand-text small { font-size: 9.5px; color: var(--muted); letter-spacing: 0.9px; margin-top: 2px; }
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small { color: #94a3b8; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 9px; font-size: 13.5px; font-weight: 500; color: #334155;
  border-radius: 7px; transition: all 0.2s; white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--blue); background: var(--surface-2); }
.nav-cta { margin-left: 8px; white-space: nowrap; flex-shrink: 0; }

.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: 100%; left: 0; min-width: 210px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all 0.2s; z-index: 120;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: block; padding: 9px 12px; font-size: 13.5px; color: #334155; border-radius: 6px;
}
.dropdown-menu a:hover { background: var(--surface-2); color: var(--blue); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 9px; font-weight: 600; font-size: 14.5px;
  cursor: pointer; border: 1.5px solid transparent; transition: all 0.2s;
}
.btn-sm { padding: 8px 16px; font-size: 13.5px; }
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 8px 20px rgba(0, 100, 255, 0.25);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-ghost-light {
  background: rgba(255,255,255,0.12); color: #fff;
  border-color: rgba(255,255,255,0.3); backdrop-filter: blur(6px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.22); }

/* Hero Carousel */
.hero {
  position: relative; background: var(--navy); color: #fff;
  min-height: 580px; overflow: hidden; display: flex; align-items: center;
}
.hero-slide {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  transition: opacity 0.7s ease;
  display: flex; align-items: center;
}
.hero-slide.active { opacity: 1; pointer-events: auto; position: relative; width: 100%; }
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.03);
}
.hero-glow-breathing .hero-bg {
  animation: heroBreath 6s ease-in-out infinite;
}
@keyframes heroBreath {
  0%, 100% { filter: brightness(0.95) saturate(1.05); transform: scale(1.02); }
  50% { filter: brightness(1.12) saturate(1.2); transform: scale(1.05); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(7,23,46,0.92) 0%, rgba(7,23,46,0.72) 52%, rgba(7,23,46,0.25) 100%);
}
.hero-content {
  position: relative; z-index: 2; padding: 86px 0 96px; max-width: 680px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(14, 165, 233, 0.18); border: 1px solid rgba(56, 189, 248, 0.35);
  color: #7dd3fc; font-size: 12.5px; font-weight: 600; letter-spacing: 0.6px;
  text-transform: uppercase; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(32px, 4.4vw, 50px); line-height: 1.14; font-weight: 800;
  letter-spacing: -0.8px; margin-bottom: 18px;
}
.hero p { font-size: 17px; color: #cbd5e1; margin-bottom: 28px; max-width: 580px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-controls {
  position: absolute; bottom: 26px; left: 0; right: 0; z-index: 5;
}
.hero-controls-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.hero-dots { display: flex; gap: 10px; }
.hero-dot {
  width: 34px; height: 5px; border-radius: 99px; border: 0; cursor: pointer;
  background: rgba(255,255,255,0.28); transition: all 0.25s;
}
.hero-dot.active { width: 56px; background: #38bdf8; }
.hero-pause {
  background: rgba(255,255,255,0.12); color: #e2e8f0; border: 1px solid rgba(255,255,255,0.22);
  border-radius: 99px; padding: 5px 14px; font-size: 12px; cursor: pointer;
}
.hero-pause:hover { background: rgba(255,255,255,0.22); }

/* Sections */
.section { padding: 76px 0; }
.section-alt { background: var(--surface); }
.section-dark { background: var(--navy); color: #fff; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 20px; margin-bottom: 40px; flex-wrap: wrap;
}
.section-head-center { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 8px;
}
.section-dark .eyebrow { color: #38bdf8; }
.section h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.2; font-weight: 800; letter-spacing: -0.4px; }
.section-sub { color: var(--body); margin-top: 10px; font-size: 15.5px; }
.section-dark .section-sub { color: #cbd5e1; }

/* Page Header Banner (Subpages) */
.page-hero {
  background: linear-gradient(120deg, var(--navy) 0%, #102a54 100%);
  color: #fff; padding: 62px 0; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(0,100,255,0.32), transparent 70%);
}
.page-hero h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; margin-bottom: 12px; position: relative; }
.page-hero p { color: #cbd5e1; max-width: 720px; font-size: 16px; position: relative; }

/* Grids & Cards */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all 0.25s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cbd5e1; }
.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.card-text { font-size: 14px; color: var(--body); flex: 1; }
.card-img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; background: #0f172a; }
.card-link {
  margin-top: 14px; color: var(--blue); font-weight: 600; font-size: 13.5px;
  display: inline-flex; align-items: center; gap: 4px;
}

.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; transition: all 0.2s;
}
.feature-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--surface-2);
  color: var(--blue); display: grid; place-items: center; font-size: 20px; margin-bottom: 16px;
}
.feature-card h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.feature-card p { font-size: 14px; color: var(--body); }

/* Split Showcase (Why Choose Us / About) */
.split {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
}
.split-media {
  position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg);
}
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.stat-badge {
  position: absolute; bottom: 18px; left: 18px;
  background: rgba(7, 23, 46, 0.9); color: #fff; backdrop-filter: blur(8px);
  padding: 14px 18px; border-radius: 12px; border: 1px solid rgba(56,189,248,0.35);
}
.stat-badge strong { display: block; font-size: 26px; color: #38bdf8; line-height: 1.1; }
.stat-badge span { font-size: 12.5px; color: #cbd5e1; }
.check-list { margin: 20px 0 26px; display: grid; gap: 10px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: #334155;
}
.check-list li::before {
  content: "✓"; color: var(--blue); font-weight: 800; flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2);
  display: grid; place-items: center; font-size: 12px; margin-top: 2px;
}

/* Tags & Chips */
.tag-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.tag {
  font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 99px;
  background: var(--surface-2); color: var(--blue);
}
.tag-dark { background: #1e293b; color: #e2e8f0; }

/* Products Layout */
.catalog-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.catalog-sidebar {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; position: sticky; top: 96px;
}
.catalog-sidebar h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.8px; color: var(--muted); margin-bottom: 12px; }
.cat-btn {
  width: 100%; text-align: left; padding: 10px 14px; border-radius: 8px;
  border: 0; background: transparent; cursor: pointer; font-size: 14px; font-weight: 500;
  color: #334155; display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 4px; transition: all 0.15s;
}
.cat-btn:hover { background: #fff; color: var(--blue); }
.cat-btn.active { background: var(--blue); color: #fff; font-weight: 600; }

/* Spec Table */
.spec-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.spec-table th, .spec-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.spec-table th { width: 34%; background: var(--surface); color: var(--navy); font-weight: 600; }

/* Process Steps */
.steps-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.step-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; position: relative;
}
.step-num {
  width: 32px; height: 32px; border-radius: 8px; background: var(--blue); color: #fff;
  font-weight: 800; font-size: 14px; display: grid; place-items: center; margin-bottom: 12px;
}
.step-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.step-card p { font-size: 13.5px; color: var(--body); }

/* FAQ Accordion */
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; padding: 18px 22px;
  font-size: 15.5px; font-weight: 700; color: var(--navy); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-a { padding: 0 22px 18px; font-size: 14.5px; color: var(--body); display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-q span { font-size: 20px; color: var(--blue); transition: transform 0.2s; }

/* CTA Banner */
.cta-banner {
  background: linear-gradient(115deg, var(--navy) 0%, #0a2e6d 65%, var(--blue) 100%);
  color: #fff; border-radius: 20px; padding: 48px 44px;
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; margin-bottom: 8px; }
.cta-banner p { color: #dbeafe; max-width: 600px; }

/* Contact Form */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 32px; box-shadow: var(--shadow);
}
.form-group-title {
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--blue); margin: 22px 0 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line);
}
.form-group-title:first-child { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: #334155; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #cbd5e1; border-radius: 8px;
  font: inherit; font-size: 14px; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,100,255,0.12);
}
.form-feedback {
  margin-top: 16px; padding: 14px 16px; border-radius: 10px;
  background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; font-size: 14px; display: none;
}

/* Footer */
.site-footer { background: var(--navy); color: #cbd5e1; padding-top: 64px; margin-top: 40px; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 48px;
}
.footer-brand p { font-size: 13.5px; color: #94a3b8; margin: 16px 0; }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-badges span {
  font-size: 11.5px; padding: 4px 10px; border-radius: 99px;
  background: rgba(255,255,255,0.08); color: #e2e8f0;
}
.site-footer h4 { color: #fff; font-size: 14.5px; margin-bottom: 14px; }
.site-footer li { margin-bottom: 9px; font-size: 13.5px; }
.site-footer a:hover { color: #38bdf8; }
.contact-list .addr { color: #94a3b8; font-size: 12.5px; margin-top: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; font-size: 12.5px; color: #94a3b8; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Right Floating Quick Contact */
.quick-contact {
  position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 90;
  display: flex; flex-direction: column; gap: 8px;
}
.qc-item {
  width: 64px; padding: 10px 6px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 10.5px; font-weight: 600; color: var(--navy); transition: all 0.2s;
}
.qc-item:hover { transform: translateX(-3px); border-color: var(--blue); color: var(--blue); }
.qc-wa { background: #16a34a; color: #fff; border-color: #16a34a; }
.qc-wa:hover { background: #15803d; color: #fff; border-color: #15803d; }
.qc-quote { background: var(--blue); color: #fff; border-color: var(--blue); }
.qc-quote:hover { background: var(--blue-dark); color: #fff; }
.qc-icon { font-size: 17px; line-height: 1; }

/* Responsive */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: 74px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    display: none;
  }
  .main-nav.open { display: flex; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; }
  .nav-cta { margin: 10px 0 0; }
}
@media (max-width: 760px) {
  .grid-3, .grid-2, .split, .catalog-layout, .form-grid, .footer-grid, .steps-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .quick-contact { top: auto; bottom: 14px; right: 14px; transform: none; flex-direction: row; }
  .qc-item { width: 54px; padding: 8px 4px; }
  .cta-banner { padding: 32px 24px; }
}
