/* ============================================
   Kinmotor | Intelligent Lifting Solutions
   Color Palette (from catalog analysis):
   - Primary Blue: #1189CC
   - Dark Blue: #0d6fa3
   - Red Accent: #D92528
   - Dark: #1a1d20
   - Gray: #57585A
   - Light Gray: #C4CED3 / #f1f2f2
   - White: #FFFFFF
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1d20;
  background: #f9fafb;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #1189CC; text-decoration: none; transition: color 0.2s; }
a:hover { color: #0d6fa3; }

h2 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #1a1d20;
}

h3 { font-size: 1.375rem; font-weight: 700; margin-bottom: 0.5rem; }
h4 { font-size: 1.125rem; font-weight: 700; margin-bottom: 0.25rem; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-lead {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #57585A;
  line-height: 1.7;
}

section { padding: 5rem 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: #1189CC;
  color: #fff;
  border-color: #1189CC;
}
.btn-primary:hover { background: #0d6fa3; border-color: #0d6fa3; color: #fff; }

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; color: #fff; }

.btn-full { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26,29,32,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #fff;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:hover { color: #fff; }

.nav-cta {
  background: #1189CC;
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
}
.nav-cta:hover { background: #0d6fa3; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background: #0b1a28;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(17,137,204,0.15) 0%, rgba(26,29,32,0.9) 60%),
    linear-gradient(180deg, rgba(11,26,40,0.95) 0%, rgba(17,137,204,0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero-eyebrow {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-title br { display: none; }
@media (min-width: 768px) { .hero-title br { display: block; } }

.hero-sub {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-dealer {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

/* ---------- About ---------- */
.about { background: #fff; }

.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  color: #57585A;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-text p:last-child { margin-bottom: 0; }

.about-badge { display: flex; justify-content: center; }

.badge-card {
  background: linear-gradient(135deg, #1189CC, #0b1a28);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  color: #fff;
}

.badge-icon {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.badge-icon img {
  border-radius: 8px;
}

.badge-card p {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ---------- Dealer Banner ---------- */
.dealer-banner {
  background: #1189CC;
  color: #fff;
  padding: 2.5rem 0;
}

.dealer-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 900px;
}

.dealer-tag {
  display: inline-block;
  background: #fff;
  color: #1189CC;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.dealer-content p { font-size: 1.05rem; line-height: 1.7; }

/* ---------- Solution / Combo ---------- */
.solution { background: #f1f2f2; }

.combo-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.combo-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  flex: 1;
  max-width: 440px;
}

.combo-main { border-top: 4px solid #1189CC; }
.combo-secondary { border-top: 4px solid #D92528; }

.combo-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f1f2f2;
}
.combo-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
}

.combo-info {
  padding: 1.5rem 2rem 2rem;
}

.combo-series {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.combo-main .combo-series { background: #e8f4fb; color: #1189CC; }
.combo-secondary .combo-series { background: #fde8e8; color: #D92528; }

.combo-info h3 { margin-bottom: 0.75rem; }
.combo-info ul {
  list-style: none;
  margin-bottom: 1.5rem;
}
.combo-info ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  color: #57585A;
}
.combo-info ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1189CC;
}
.combo-secondary .combo-info ul li::before { background: #D92528; }

.combo-spec {
  font-weight: 600;
  color: #D92528;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.combo-plus {
  display: flex;
  align-items: center;
  justify-content: center;
}
.combo-plus span {
  font-size: 2.5rem;
  font-weight: 300;
  color: #C4CED3;
}

/* Workflow */
.combo-workflow {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  text-align: center;
}
.combo-workflow h3 { margin-bottom: 2rem; }

.workflow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.step {
  flex: 1;
  min-width: 140px;
  max-width: 200px;
  padding: 0 0.5rem;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1189CC;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.step h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.step p { font-size: 0.9rem; color: #57585A; line-height: 1.5; }

.step-arrow {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  color: #C4CED3;
  padding-top: 0.5rem;
  flex-shrink: 0;
}

/* ---------- Products ---------- */
.products { background: #fff; }

.product-category {
  margin-bottom: 3.5rem;
}
.product-category:last-child { margin-bottom: 0; }

.cat-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #1189CC;
  display: inline-block;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.cat-grid-2 { grid-template-columns: repeat(2, 1fr); }

.prod-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
}
.prod-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.prod-highlight {
  border-color: #1189CC;
  box-shadow: 0 0 0 1px #1189CC;
}

.prod-badge {
  position: absolute;
  top: -11px;
  right: 1.5rem;
  background: #D92528;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.prod-img {
  background: #f1f2f2;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
  aspect-ratio: 4/3;
}
.prod-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
}

.prod-card h4 { margin-bottom: 0.5rem; }
.prod-card > p {
  font-size: 0.9rem;
  color: #57585A;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.prod-features {
  list-style: none;
}
.prod-features li {
  font-size: 0.85rem;
  color: #1189CC;
  padding: 0.15rem 0;
}
.prod-features li::before {
  content: '+ ';
  font-weight: 700;
}

/* ---------- Industries ---------- */
.industries { background: #0b1a28; color: #fff; }

.industries h2 { color: #fff; }
.industries .section-lead { color: rgba(255,255,255,0.65); }

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.industry-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  transition: background 0.25s;
}
.industry-card:hover { background: rgba(255,255,255,0.1); }

.industry-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  color: #1189CC;
}
.industry-icon svg { width: 100%; height: 100%; }

.industry-card h3 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.industry-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ---------- Video ---------- */
.video-section { background: #f1f2f2; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.video-card {
  background: #1a1d20;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  gap: 1rem;
}

.video-play-icon {
  width: 60px;
  height: 60px;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.video-play-icon svg { width: 100%; height: 100%; }
.video-card:hover .video-play-icon { color: #1189CC; }

.video-placeholder p {
  font-size: 0.9rem;
  text-align: center;
  padding: 0 1rem;
}

.video-note {
  text-align: center;
}
.video-note .btn-outline {
  color: #1189CC;
  border-color: #1189CC;
}
.video-note .btn-outline:hover { background: #1189CC; color: #fff; }

/* ---------- Case Studies ---------- */
.case { background: #fff; }

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.case-card {
  border-radius: 10px;
  overflow: hidden;
  background: #f1f2f2;
}
.case-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.case-card h4 {
  padding: 1rem;
  font-size: 0.95rem;
  text-align: center;
}

/* ---------- Inquiry ---------- */
.inquiry { background: #f1f2f2; }

.inquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.inquiry-info h2 { margin-bottom: 1rem; }
.inquiry-info > p {
  color: #57585A;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.inquiry-contact {
  margin-bottom: 2rem;
}

.contact-item {
  margin-bottom: 1rem;
}
.contact-item strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #57585A;
  margin-bottom: 0.15rem;
}
.contact-item span { color: #1a1d20; font-size: 1.05rem; }

.dealer-note {
  background: #fff;
  border-left: 4px solid #1189CC;
  padding: 1.25rem;
  border-radius: 0 8px 8px 0;
}
.dealer-note p { font-size: 0.95rem; color: #57585A; }
.dealer-note strong { color: #1a1d20; }

/* Form */
.inquiry-form {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #1a1d20;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  color: #1a1d20;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1189CC;
  box-shadow: 0 0 0 3px rgba(17,137,204,0.12);
}

.form-note {
  text-align: center;
  font-size: 0.85rem;
  color: #9ca3af;
  margin-top: 1rem;
}

/* ---------- Footer ---------- */
.footer {
  background: #1a1d20;
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h4 {
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-brand > p:first-of-type {
  color: #1189CC;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.footer-sub {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-nav h5,
.footer-contact h5 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-nav ul { list-style: none; }
.footer-nav ul li { margin-bottom: 0.4rem; }

.footer-nav a,
.footer-contact p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
}
.footer-nav a:hover { color: #1189CC; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .combo-hero { flex-direction: column; }
  .combo-plus { transform: rotate(90deg); }
  .combo-item { max-width: 100%; }

  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid-2 { grid-template-columns: 1fr; }

  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }

  .inquiry-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

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

  h2 { font-size: 1.75rem; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(26,29,32,0.98);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.active { display: flex; }
  .nav-toggle { display: flex; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .dealer-content { flex-direction: column; text-align: center; }

  .cat-grid,
  .cat-grid-2 { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }

  .workflow-steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); }
  .step { max-width: 100%; }

  .form-row { grid-template-columns: 1fr; }

  .inquiry-form { padding: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
