/* ===== NOVIMAT Design System =====
   Deep blue gradient #014DB2 → #001645 · warm white #F9F9F9
   Inter (UI) + JetBrains Mono (specs)                */

:root {
  --blue-900: #001645;
  --blue-700: #014DB2;
  --blue-500: #2E7BE8;
  --blue-50:  #EAF1FB;
  --ink:      #0A1628;
  --gray:     #47546A;
  --gray-600: #6B7280;
  --gray-400: #98A2B3;
  --line:     #E5E7EB;
  --bg:       #F9F9F9;
  --green:    #2FA771;
  --white:    #FFFFFF;
  --hero-light: #B9CBE8;
  --hero-mid:   #9EC1F5;
  --hero-dim:   #8FA9D6;
  --radius: 12px;
  --shadow-card: 0 2px 8px rgba(1, 77, 178, 0.06);
  --shadow-cta: 0 4px 12px rgba(1, 77, 178, 0.25);
  --font-ui: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.mono { font-family: var(--font-mono); }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: all .18s ease; border: none; }
.btn-primary { background: var(--blue-700); color: var(--white); padding: 12px 24px; font-size: 14px; box-shadow: var(--shadow-cta); }
.btn-primary:hover { background: #013AA0; transform: translateY(-1px); }
.btn-white-lg { background: var(--white); color: var(--blue-700); padding: 15px 30px; font-size: 16px; box-shadow: 0 8px 20px rgba(0, 20, 69, .4); }
.btn-white-lg:hover { transform: translateY(-2px); }
.btn-outline-lg { border: 1.5px solid rgba(255,255,255,.45); color: var(--white); padding: 15px 30px; font-size: 16px; font-weight: 500; background: transparent; }
.btn-outline-lg:hover { border-color: rgba(255,255,255,.8); background: rgba(255,255,255,.08); }

/* ===== Utility Bar ===== */
.utility-bar {
  background: var(--blue-900); color: #94A3C8;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 64px; height: 40px; font-size: 12px;
}
.utility-right { display: flex; gap: 24px; }
.utility-right a { color: var(--hero-mid); display: inline-flex; align-items: center; gap: 6px; }
.utility-right a:hover { color: var(--white); }
.ub-ic { width: 14px; height: 14px; flex: none; }

/* ===== Navbar ===== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 64px;
  height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo-lockup { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 56px; width: auto; display: block; }
.logo-mark { width: 36px; height: 36px; flex-shrink: 0; }
.logo-word { font-size: 22px; font-weight: 700; letter-spacing: 1.5px; color: var(--ink); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 17px; font-weight: 500; color: var(--gray); transition: color .15s; }
.nav-links a:hover { color: var(--blue-700); }
.nav-links a.active { color: var(--blue-700); }
.nav-cta { white-space: nowrap; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); transition: .2s; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-900) 100%);
  padding: 72px 64px;
}
.hero-inner {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 560px; gap: 48px; align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; max-width: 780px; }
.hero-badge {
  align-self: flex-start;
  border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.14);
  color: #DCE8FA; font-size: 13px; font-weight: 500;
  padding: 7px 16px; border-radius: 999px;
}
.hero h1 { color: var(--white); font-size: 54px; line-height: 1.15; font-weight: 700; }
.hero-sub { color: var(--hero-light); font-size: 18px; line-height: 1.55; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; justify-content: space-between; gap: 24px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.15); }
.hero-stats strong { display: block; color: var(--white); font-family: var(--font-mono); font-weight: 500; font-size: 26px; }
.hero-stats span { color: var(--hero-dim); font-size: 12px; }

.hero-visual {
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 48px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.18);
  display: flex; flex-direction: column;
  height: 520px;
}
.hero-carousel {
  flex: 1; position: relative; min-height: 0; background: #fff;
  overflow: hidden; cursor: grab;
}
.hero-carousel:active { cursor: grabbing; }
.hero-track { display: flex; height: 100%; transition: transform .5s ease; }
.hero-slide {
  flex: 0 0 100%; width: 100%; height: 100%;
  object-fit: contain; background: #fff;
  user-select: none; -webkit-user-drag: none; pointer-events: none;
}
.hero-spec-bar {
  background: var(--blue-900); height: 56px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
}
.hero-spec-bar span { font-size: 12px; }
.hero-spec-bar span:first-child { color: var(--hero-mid); font-weight: 500; }
.hero-spec-bar span:last-child { color: #DCE8FA; }

/* ===== Industries ===== */
.industries { padding: 40px 64px; text-align: center; }
.industries-head { font-size: 12px; font-weight: 600; letter-spacing: 2px; color: var(--gray-400); margin-bottom: 24px; }
.industry-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 48px; }
.industry-chips li { font-size: 14px; font-weight: 500; color: var(--gray); }

/* ===== Section headers ===== */
.section-head { max-width: 720px; display: flex; flex-direction: column; gap: 8px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 2px; color: var(--blue-700); }
.eyebrow-light { color: var(--hero-mid); }
.section-head h2 { font-size: 38px; font-weight: 700; line-height: 1.2; }
.section-sub { font-size: 16px; color: var(--gray-600); }
.section-sub-light { color: var(--hero-light); font-size: 16px; }

/* ===== Product Lines ===== */
.product-lines { background: var(--bg); padding: 80px 64px; display: flex; flex-direction: column; gap: 36px; }
.product-lines .section-head, .product-lines .product-cards, .product-lines .browse-bar { max-width: 1440px; margin: 0 auto; width: 100%; }
.product-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow-card); padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.card-icon {
  width: 44px; height: 44px; border-radius: 10px; background: var(--blue-50);
  display: flex; align-items: center; justify-content: center;
}
.card-icon svg { width: 24px; height: 24px; }
.product-card h3 { font-size: 20px; font-weight: 700; }
.card-tag { font-size: 13px; color: var(--gray-600); }
.card-items { display: flex; flex-direction: column; gap: 12px; }
.card-items li { display: flex; flex-direction: column; gap: 3px; }
.card-items strong { font-size: 14px; font-weight: 600; }
.card-items span { font-size: 12px; color: var(--gray-600); }

.browse-bar {
  background: var(--blue-50); border-radius: 10px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; gap: 16px;
}
.browse-bar p { font-size: 14px; color: #0A3A8F; }
.browse-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--blue-700); white-space: nowrap; }
.browse-link:hover { text-decoration: underline; }

/* ===== Custom Standards ===== */
.custom-standards {
  background: linear-gradient(225deg, var(--blue-700) 0%, var(--blue-900) 100%);
  padding: 80px 64px;
}
.custom-inner {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: 620px 1fr; gap: 56px; align-items: center;
}
.custom-copy { display: flex; flex-direction: column; gap: 20px; }
.custom-copy h2 { color: var(--white); font-size: 36px; line-height: 1.2; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-size: 15px; font-weight: 600; margin-top: 8px; }
.text-link:hover { text-decoration: underline; }
.custom-steps { display: flex; flex-direction: column; gap: 16px; }
.step-card {
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 20px;
  display: flex; flex-direction: column; gap: 6px;
}
.step-label { font-size: 11px; font-weight: 500; letter-spacing: 1.5px; color: var(--hero-mid); }
.step-card p { color: var(--white); font-size: 15px; font-weight: 600; }

/* ===== Why ===== */
.why-section { padding: 80px 64px; display: flex; flex-direction: column; gap: 32px; }
.why-section .section-head, .why-section .why-cards { max-width: 1440px; margin: 0 auto; width: 100%; }
.why-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.why-card h3 { font-size: 17px; font-weight: 700; }
.why-card p { font-size: 13px; color: var(--gray-600); line-height: 1.55; }

/* ===== Inquiry ===== */
.inquiry-section { background: var(--bg); padding: 80px 64px; display: flex; flex-direction: column; gap: 40px; }
.inquiry-section .section-head, .inquiry-section .inquiry-grid { max-width: 1440px; margin: 0 auto; width: 100%; }
.inquiry-grid { display: grid; grid-template-columns: 1fr 400px; gap: 24px; align-items: stretch; }
.inquiry-form {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 12px; font-weight: 500; color: var(--gray); }
.form-field input, .form-field textarea {
  border: 1px solid #D6DAE0; border-radius: 8px; padding: 12px 14px;
  font-size: 14px; font-family: var(--font-ui); color: var(--ink);
  transition: border-color .15s, box-shadow .15s; resize: vertical;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue-700); box-shadow: 0 0 0 3px rgba(1,77,178,.12);
}
.btn-submit { justify-content: center; height: 50px; font-size: 15px; width: 100%; }
.btn-submit.is-loading { background: #98A2B3; box-shadow: none; cursor: wait; animation: btnPulse 1.1s ease-in-out infinite; }
.btn-submit.is-success { background: #12876F; box-shadow: none; }
@keyframes btnPulse { 0%, 100% { opacity: .72; } 50% { opacity: 1; } }
.form-note { font-size: 12px; color: var(--gray-400); }
/* Channel toggle (Email / WhatsApp) */
.channel-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.channel-opt input { position: absolute; opacity: 0; pointer-events: none; }
.channel-box { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1.5px solid #D8E0EC; border-radius: 10px; cursor: pointer; transition: border-color .15s, background .15s; background: #fff; }
.channel-box strong { font-size: 14px; color: var(--ink); }
.channel-box small { font-size: 11.5px; color: var(--gray-600); line-height: 1.4; }
.channel-opt input:checked + .channel-box { border-color: var(--blue-700); background: var(--blue-50); }
.channel-opt input:checked + .channel-box strong { color: var(--blue-700); }
@media (max-width: 640px) { .channel-toggle { grid-template-columns: 1fr; } }

.contact-card {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  border-radius: var(--radius); padding: 32px;
  display: flex; flex-direction: column; gap: 24px; justify-content: space-between;
}
.contact-card h3 { color: var(--white); font-size: 20px; font-weight: 700; }
.contact-row { display: flex; gap: 14px; align-items: center; }
.contact-icon {
  width: 40px; height: 40px; border-radius: 8px; background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-label { display: block; font-size: 11px; font-weight: 600; letter-spacing: 1.5px; color: var(--hero-mid); }
.contact-row a, .contact-value { font-size: 15px; color: var(--white); }
.contact-row a:hover { text-decoration: underline; }
.contact-promise { font-size: 12px; color: var(--hero-light); border-top: 1px solid rgba(255,255,255,.15); padding-top: 16px; }

/* ===== Footer ===== */
.footer { background: var(--blue-900); padding: 56px 64px 32px; }
.footer-top {
  max-width: 1440px; margin: 0 auto;
  display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap;
}
.footer-brand { max-width: 380px; display: flex; flex-direction: column; gap: 14px; }
.footer-logo { display: inline-flex; align-items: center; }
.footer-logo img { height: 78px; width: auto; display: block; }
.footer-tagline { font-size: 13px; color: var(--hero-dim); line-height: 1.55; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; color: var(--hero-mid); }
.footer-col a { font-size: 13px; color: var(--hero-light); }
.footer-col a:hover { color: var(--white); }
.footer-divider { max-width: 1440px; margin: 32px auto 0; height: 1px; background: rgba(255,255,255,.12); }
.footer-bottom {
  max-width: 1440px; margin: 24px auto 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 12px; color: var(--hero-dim);
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .hero h1 { font-size: 44px; }
  .product-cards, .why-cards { grid-template-columns: repeat(2, 1fr); }
  .inquiry-grid { grid-template-columns: 1fr; }
  .custom-inner { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .utility-bar { padding: 0 24px; }
  .utility-left { display: none; }
  .nav-inner { padding: 0 24px; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 16px 24px; gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .hero, .product-lines, .custom-standards, .why-section, .inquiry-section, .industries { padding-left: 24px; padding-right: 24px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 430px; }
  .hero h1 { font-size: 34px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero-stats div { min-width: 40%; }
  .footer, .footer-top, .footer-bottom { padding-left: 24px; padding-right: 24px; }
  .footer { padding: 40px 24px 24px; }
}
@media (max-width: 560px) {
  .product-cards, .why-cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .hero-visual { height: 380px; }
  .logo-img { height: 34px; }
  .hero-sub { font-size: 15px; }
  .section-head h2 { font-size: 28px; }
  .btn-white-lg, .btn-outline-lg { padding: 13px 22px; font-size: 15px; }
  .browse-bar { flex-direction: column; align-items: flex-start; }
  .utility-right { font-size: 11px; gap: 12px; }
}

/* ===== Popular Searches ===== */
.pop-search { max-width: 1200px; margin: 0 auto; padding: 72px 24px 8px; }
.pop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; }
.pop-grid a {
  border: 1px solid var(--line); background: var(--white); border-radius: 10px;
  padding: 13px 16px; font-size: 13.5px; font-weight: 500; color: #33445F; line-height: 1.45;
  transition: border-color .15s ease, color .15s ease, transform .15s ease;
}
.pop-grid a:hover { border-color: #014DB2; color: #014DB2; transform: translateY(-1px); }
@media (max-width: 900px) { .pop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pop-grid { grid-template-columns: 1fr; } .pop-search { padding-top: 48px; } }

/* ===== Deep-link affordance: industry chips & product-card items ===== */
.industry-chips li a {
  color: inherit; text-decoration: none; padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.industry-chips li a:hover, .industry-chips li a:focus-visible { color: #014DB2; border-color: #014DB2; }

.card-items li a {
  position: relative; display: flex; flex-direction: column; gap: 3px;
  color: inherit; text-decoration: none; padding-right: 24px;
}
.card-items li a .li-go {
  position: absolute; top: 1px; right: 0; margin: 0;
  font-size: 15px; color: #014DB2; opacity: .4;
  transition: opacity .15s ease, transform .15s ease;
}
.card-items li a:hover strong, .card-items li a:focus-visible strong { color: #014DB2; }
.card-items li a:hover .li-go, .card-items li a:focus-visible .li-go { opacity: 1; transform: translateX(3px); }

/* ===== WhatsApp floating button ===== */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
  transition: transform .15s ease, box-shadow .15s ease;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, .28); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float .wa-tip {
  position: absolute; right: 68px; top: 50%; transform: translateY(-50%);
  white-space: nowrap; background: #101E36; color: #fff;
  font: 600 12.5px/1 'Inter', sans-serif; padding: 9px 13px; border-radius: 8px;
  opacity: 0; pointer-events: none; transition: opacity .15s ease;
}
.wa-float:hover .wa-tip { opacity: 1; }
@media (max-width: 720px) {
  .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .wa-float svg { width: 28px; height: 28px; }
}
