/* ═══════════════════════════════════════════════════════════════
   CARPINOY LOGISTICS — Light, Modern, Clean
   Magaan · Elegant · Madaling Unawain
   ═══════════════════════════════════════════════════════════════ */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #ffffff;
  --bg2: #f8f9fa;
  --bg3: #f1f3f5;
  --text: #1a1a2e;
  --text2: #4a4a5a;
  --text3: #6b7280;
  --accent: #E8720C;
  --accent-hover: #d96508;
  --accent-muted: rgba(232,114,12,0.08);
  --border: rgba(0,0,0,0.08);
  --border2: rgba(0,0,0,0.06);
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
  --radius: 12px;
  --radius-lg: 16px;
  --mw: 1120px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; }

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--border); backdrop-filter: blur(12px);
  transition: box-shadow 0.2s;
}
.nav.sc { box-shadow: var(--shadow); }
.nav-logo img { height: 36px; width: auto; display: block; }
.nl { display: flex; align-items: center; gap: 28px; }
.nl a {
  font-size: 14px; font-weight: 500; color: var(--text2);
  text-decoration: none; transition: color 0.2s;
}
.nl a:hover, .nl a.act { color: var(--accent); }
.b3 {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: 10px; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: all 0.2s; cursor: pointer; border: none;
}
.b3o { background: var(--accent); color: #fff; }
.b3o:hover { background: var(--accent-hover); transform: translateY(-1px); }
.b3n { background: var(--bg2); color: var(--text); border: 1px solid var(--border); }
.b3n:hover { background: var(--bg3); }
.b3s { padding: 8px 16px; font-size: 13px; }
.nt { display: none; width: 40px; height: 40px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; border-radius: 8px; }
.nt span { width: 20px; height: 2px; background: var(--text2); border-radius: 1px; transition: all 0.2s; }
.nt:hover span { background: var(--text); }

/* Business Package dropdown in nav */
.nav-dropdown { position: relative; }
.nav-dropdown .nav-parent { display: inline-flex; align-items: center; gap: 4px; }
.nav-dropdown .nav-sub {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 8px;
  min-width: 200px; padding: 8px 0; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border); list-style: none;
  opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s;
}
.nav-dropdown:hover .nav-sub { opacity: 1; visibility: visible; }
.nav-sub li { margin: 0; }
.nav-sub a {
  display: block; padding: 10px 20px; font-size: 14px; font-weight: 500; color: var(--text2);
  text-decoration: none; transition: background 0.15s, color 0.15s;
}
.nav-sub a:hover, .nav-sub a.act { background: var(--accent-muted); color: var(--accent); }

/* Sub-tab bar under Business Package (vehicle units) */
.bp-subtabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 32px; border-bottom: 1px solid var(--border); padding-bottom: 0; }
.bp-subtabs a {
  padding: 12px 20px; font-size: 14px; font-weight: 600; color: var(--text2); text-decoration: none;
  border-bottom: 3px solid transparent; margin-bottom: -1px; transition: color 0.2s, border-color 0.2s;
}
.bp-subtabs a:hover { color: var(--accent); }
.bp-subtabs a.act { color: var(--accent); border-bottom-color: var(--accent); }

@media (max-width: 768px) {
  .nl { position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; padding: 20px; background: #fff; border-bottom: 1px solid var(--border); gap: 16px; display: none; box-shadow: var(--shadow); }
  .nl.op { display: flex; }
  .nt { display: flex; }
  .nav-dropdown .nav-sub {
    position: static; transform: none; margin-top: 4px; margin-left: 12px; box-shadow: none; border: none;
    opacity: 1; visibility: visible; padding: 0 0 0 8px; border-left: 2px solid var(--border);
  }
  .nav-sub a { padding: 6px 12px; }
}

/* ─── CONTAINER ─── */
.container { max-width: var(--mw); margin: 0 auto; padding: 0 24px; }

/* ─── SECTIONS ─── */
.section { padding: 80px 0; }
.st { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.sh { font-size: clamp(28px, 4vw, 36px); font-weight: 700; letter-spacing: -0.02em; color: var(--text); line-height: 1.2; }
.ss { font-size: 16px; color: var(--text2); max-width: 560px; margin-top: 12px; line-height: 1.7; }

/* ─── HERO ─── */
.hero { padding: 140px 0 100px; text-align: left; background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%); }
.hero-h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--text); margin-bottom: 20px; }
.hero-p { font-size: 18px; color: var(--text2); max-width: 480px; margin-bottom: 32px; line-height: 1.7; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── CARDS ─── */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 24px; transition: box-shadow 0.2s, border-color 0.2s;
}
.card:hover { box-shadow: var(--shadow); border-color: var(--border2); }
.card-title { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.card-text { font-size: 14px; color: var(--text2); line-height: 1.6; }
.g2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .g3 { grid-template-columns: repeat(2, 1fr); } .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

/* ─── STATS BAR ─── */
.stats-bar { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 48px 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); max-width: var(--mw); margin: 0 auto; padding: 0 24px; gap: 24px; }
.stat-item { text-align: center; }
.stat-num { font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--accent); letter-spacing: -0.02em; line-height: 1.1; }
.stat-label { font-size: 13px; color: var(--text2); margin-top: 4px; }
.stat-live { font-size: 11px; color: #22c55e; margin-top: 6px; font-weight: 500; }
.stat-live::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #22c55e; margin-right: 6px; vertical-align: middle; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@media (max-width: 768px) { .stats-inner { grid-template-columns: repeat(2, 1fr); } }

/* ─── ICONS ─── */
.svc-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; background: var(--accent-muted); }
.why-icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font-size: 22px; background: var(--accent-muted); margin-bottom: 14px; }

/* ─── CTA ─── */
.cta-section { background: var(--bg2); text-align: center; }
.cta-section .sh { margin-bottom: 16px; }
.cta-section p { margin: 0 auto 24px; }

/* ─── BRAD AI BANNER ─── */
.brad-banner { padding: 48px 24px; text-align: center; background: var(--bg); border-top: 1px solid var(--border); }
.brad-banner h3 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.brad-banner p { font-size: 15px; color: var(--text2); max-width: 480px; margin: 0 auto 16px; line-height: 1.7; }
.brad-online { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 10px; background: rgba(34,197,94,0.1); color: #16a34a; font-size: 13px; font-weight: 600; }
.brad-online::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: pulse 2s infinite; }

/* ─── FOOTER ─── */
.footer { background: var(--text); color: rgba(255,255,255,0.8); padding: 48px 24px 24px; }
.footer-inner { max-width: var(--mw); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-inner img { height: 36px; opacity: 0.9; margin-bottom: 16px; }
.footer-desc { font-size: 14px; line-height: 1.7; max-width: 280px; margin-bottom: 20px; }
.footer-title { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { max-width: var(--mw); margin: 32px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,0.5); }
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; text-align: center; } .footer-desc { margin: 0 auto 20px; } }

/* ─── REVEAL ─── */
.rv { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.rv.vi { opacity: 1; transform: translateY(0); }

/* ─── INFO CARD (Contact, etc) ─── */
.info-card { padding: 20px 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.info-card__label { font-size: 12px; color: var(--text3); margin-bottom: 4px; }
.info-card__value { font-size: 15px; font-weight: 600; color: var(--text); }

/* ─── AGENT CARDS (Mitsubishi Associates roster) ─── */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}
.agent-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.agent-card:hover { box-shadow: var(--shadow); border-color: var(--border2); }
.agent-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  background: var(--bg2);
}
.agent-card__body { padding: 16px; }
.agent-card__name { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; line-height: 1.3; }
.agent-card__phone { font-size: 13px; color: var(--text2); margin-bottom: 12px; }
.agent-card__viber { display: inline-block; margin-left: 6px; padding: 2px 6px; border-radius: 4px; background: rgba(115,62,162,0.12); color: #733ea2; font-size: 11px; font-weight: 600; }
.agent-card__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.agent-card__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  padding: 8px 14px; border-radius: 8px; font-size: 12px; font-weight: 600;
  text-decoration: none; transition: all 0.2s; border: none; cursor: pointer;
}
.agent-card__btn--call { background: var(--accent); color: #fff; }
.agent-card__btn--call:hover { background: var(--accent-hover); }
.agent-card__btn--sms { background: var(--bg2); color: var(--text2); border: 1px solid var(--border); }
.agent-card__btn--sms:hover { background: var(--bg3); color: var(--text); }
@media (max-width: 600px) { .agent-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } .agent-card__body { padding: 12px; } }

/* ─── CAR LOAN APPLICATION (aligned with theme) ─── */
.cl-wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.cl-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 32px);
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.cl-title { font-size: clamp(20px, 3vw, 28px); font-weight: 800; color: var(--text); text-align: center; margin: 0 0 6px; }
.cl-sub { font-size: 14px; color: var(--text2); text-align: center; margin: 0 0 24px; line-height: 1.6; }
.cl-steps { display: flex; gap: 6px; justify-content: center; margin: 0 0 24px; flex-wrap: wrap; }
.cl-step { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--text3); transition: color 0.2s; }
.cl-step.active { color: var(--accent); }
.cl-step.done { color: var(--text2); }
.cl-step-n {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800;
  border: 2px solid currentColor; transition: all 0.2s;
}
.cl-step.active .cl-step-n { background: var(--accent); border-color: var(--accent); color: #fff; }
.cl-step.done .cl-step-n { background: var(--accent-muted); border-color: var(--accent); color: var(--accent); }
.cl-step-line { width: 16px; height: 2px; background: var(--border); border-radius: 2px; margin: 0 2px; }
.cl-panel { display: none; }
.cl-panel.active { display: block; }
.cl-sec {
  font-weight: 700; font-size: 14px; color: var(--text); margin: 20px 0 12px; padding-bottom: 8px;
  border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px;
}
.cl-sec:first-child { margin-top: 0; }
.cl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.cl-row.full { grid-template-columns: 1fr; }
.cl-row.tri { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 520px) { .cl-row, .cl-row.tri { grid-template-columns: 1fr; } }
.cl-field { display: flex; flex-direction: column; gap: 4px; }
.cl-label { font-size: 12px; font-weight: 600; color: var(--text2); }
.cl-label .req { color: #dc2626; }
.cl-input {
  padding: 10px 14px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font-size: 14px; font-family: inherit;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.cl-input:focus { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-muted); }
.cl-input::placeholder { color: var(--text3); }
select.cl-input { cursor: pointer; }
select.cl-input option { background: #fff; color: var(--text); }
.cl-units { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin: 12px 0; }
.cl-unit {
  cursor: pointer; padding: 12px 14px; border-radius: var(--radius); border: 2px solid var(--border);
  background: var(--bg2); display: flex; align-items: center; gap: 10px; transition: all 0.2s;
}
.cl-unit:hover { border-color: var(--text3); background: var(--bg3); }
.cl-unit.sel { border-color: var(--accent); background: var(--accent-muted); }
.cl-unit input { display: none; }
.cl-unit-dot {
  width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--text3);
  flex-shrink: 0; display: grid; place-items: center; font-size: 10px; transition: all 0.2s;
}
.cl-unit.sel .cl-unit-dot { border-color: var(--accent); background: var(--accent); color: #fff; }
.cl-unit-name { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.3; }
.cl-privacy-box {
  padding: 16px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--bg2); margin: 12px 0; max-height: 180px; overflow-y: auto;
}
.cl-privacy-box p { font-size: 13px; line-height: 1.7; color: var(--text2); margin: 0; white-space: pre-line; }
.cl-check { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0; cursor: pointer; }
.cl-check input { margin-top: 3px; accent-color: var(--accent); }
.cl-check span { font-size: 14px; color: var(--text); line-height: 1.4; }
.cl-actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 20px; flex-wrap: wrap; }
.cl-btn {
  padding: 12px 24px; border-radius: var(--radius); font-size: 14px; font-weight: 600; font-family: inherit;
  cursor: pointer; border: none; transition: all 0.2s;
}
.cl-btn-next { background: var(--accent); color: #fff; }
.cl-btn-next:hover { background: var(--accent-hover); transform: translateY(-1px); }
.cl-btn-next:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.cl-btn-back { background: var(--bg2); color: var(--text2); border: 1px solid var(--border); }
.cl-btn-back:hover { border-color: var(--text3); color: var(--text); }
.cl-error {
  display: none; padding: 12px 16px; border-radius: var(--radius);
  background: rgba(220, 38, 38, 0.08); border: 1px solid rgba(220, 38, 38, 0.2);
  color: #dc2626; font-size: 13px; font-weight: 600; margin: 12px 0;
}
.cl-error.show { display: block; }
.cl-success { text-align: center; padding: 48px 24px; }
.cl-success .emoji { font-size: 48px; margin-bottom: 16px; }
.cl-success h2 { font-size: 22px; font-weight: 800; color: var(--text); margin: 0 0 12px; }
.cl-success p { font-size: 15px; color: var(--text2); line-height: 1.7; margin: 0; }
.cl-success a { color: var(--accent); font-weight: 700; text-decoration: none; }
.cl-success a:hover { text-decoration: underline; }
