/* ─── PARCELWAY SHARED STYLES ─────────────────────────────── */
:root {
  --navy:   #0D2235;
  --blue:   #1A3C5E;
  --accent: #00A8E8;
  --accent-dark: #0088C0;
  --white:  #FFFFFF;
  --frost:  #F0F6FB;
  --mid:    #E2EEF7;
  --border: #C8DCF0;
  --text:   #4A5568;
  --muted:  #718096;
  --success:#27AE60;
  --warn:   #E67E22;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4,h5 { font-family: 'DM Sans', sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ─── NAV ─── */
.nav { position: sticky; top: 0; z-index: 200; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1120px; margin: 0 auto; padding: 0 5%; display: flex; align-items: center; height: 100px; gap: 40px; }
.nav-logo img { height: 52px; width: auto; max-width: 240px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; flex: 1; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text); text-decoration: none; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.btn-nav-ghost { font-size: 14px; font-weight: 600; color: var(--blue); text-decoration: none; padding: 8px 16px; border-radius: 7px; border: 1.5px solid var(--border); font-family: 'DM Sans', sans-serif; transition: all .2s; white-space: nowrap; }
.btn-nav-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-nav { font-size: 14px; font-weight: 600; color: white; background: var(--accent); text-decoration: none; padding: 9px 20px; border-radius: 7px; font-family: 'DM Sans', sans-serif; transition: background .2s; white-space: nowrap; border: none; cursor: pointer; }
.btn-nav:hover { background: var(--accent-dark); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; color: var(--navy); margin-left: auto; }
.mobile-nav { display: none; flex-direction: column; background: white; border-top: 1px solid var(--border); padding: 16px 5%; gap: 4px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 15px; font-weight: 500; color: var(--text); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--mid); }
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav .btn-nav { display: inline-flex; align-items: center; justify-content: center; margin-top: 8px; border-radius: 7px; }
@media (max-width: 768px) { .nav-toggle { display: flex; align-items: center; justify-content: center; } .nav-actions { display: none; } .nav-links { display: none; } }

/* ─── BUTTONS ─── */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: 'DM Sans', sans-serif; font-weight: 600; border-radius: 9px; border: none; cursor: pointer; text-decoration: none; transition: background .2s, transform .15s; }
.btn-lg { font-size: 16px; padding: 15px 32px; }
.btn-md { font-size: 14px; padding: 11px 24px; }
.btn-sm { font-size: 13px; padding: 8px 18px; }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-secondary { background: var(--navy); color: white; }
.btn-secondary:hover { background: var(--blue); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--blue); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-white { background: white; color: var(--navy); }
.btn-white:hover { transform: translateY(-2px); }

/* ─── LAYOUT ─── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 5%; }
.section { padding: 88px 5%; }
.section-sm { padding: 64px 5%; }
.bg-white  { background: var(--white); }
.bg-frost  { background: var(--frost); }
.bg-navy   { background: var(--navy); }
.bg-mid    { background: var(--mid); }

/* ─── TYPOGRAPHY ─── */
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 14px; }
.eyebrow-white { color: rgba(255,255,255,.55); }
.h1 { font-size: clamp(38px, 5.5vw, 60px); font-weight: 700; color: var(--navy); line-height: 1.08; letter-spacing: -0.035em; }
.h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; color: var(--navy); line-height: 1.12; letter-spacing: -0.025em; }
.h3 { font-size: clamp(18px, 2.5vw, 24px); font-weight: 700; color: var(--navy); line-height: 1.25; letter-spacing: -0.015em; }
.h4 { font-size: 16px; font-weight: 700; color: var(--navy); }
.white { color: white !important; }
.muted { color: var(--muted); }
.lead { font-size: 18px; line-height: 1.7; color: var(--text); }
.lead-lg { font-size: 20px; line-height: 1.7; color: var(--text); }

/* ─── CARDS ─── */
.card { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.card-dark { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 28px; }
.card-accent { border-top: 3px solid var(--accent); }
.card:hover { box-shadow: 0 8px 32px rgba(0,168,232,.09); }

/* ─── GRIDS ─── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-60 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 72px; align-items: center; }

/* ─── FORM ─── */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-family: 'DM Sans', sans-serif; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 14px; color: var(--navy); font-family: 'Inter', sans-serif; background: white;
  transition: border-color .2s; outline: none; -webkit-appearance: none; appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { min-height: 80px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ─── DIVIDER ─── */
.divider { width: 40px; height: 3px; background: var(--accent); border-radius: 2px; margin: 20px 0; }

/* ─── BADGE / TAG ─── */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 100px; }
.badge-blue { background: var(--frost); border: 1px solid var(--border); color: var(--blue); }
.badge-green { background: #E8F8EE; border: 1px solid #A8D5B5; color: #1A6B3C; }
.badge-accent { background: rgba(0,168,232,.12); border: 1px solid rgba(0,168,232,.25); color: var(--accent-dark); }

/* ─── LIVE DOT ─── */
.live-dot { width: 7px; height: 7px; background: var(--success); border-radius: 50%; animation: pulse 1.5s infinite; display: inline-block; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ─── CHAT ─── */
.chat-widget { background: white; border-radius: 16px; border: 1px solid var(--border); overflow: hidden; display: flex; flex-direction: column; }
.chat-head { background: var(--navy); padding: 14px 18px; display: flex; align-items: center; gap: 12px; }
.chat-avatar { width: 34px; height: 34px; background: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.chat-messages { padding: 18px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; }
.msg-bot { align-self: flex-start; max-width: 86%; }
.msg-user { align-self: flex-end; max-width: 82%; }
.bubble-bot { background: var(--frost); color: var(--navy); padding: 10px 14px; border-radius: 12px 12px 12px 3px; font-size: 13px; line-height: 1.55; }
.bubble-user { background: var(--accent); color: white; padding: 10px 14px; border-radius: 12px 12px 3px 12px; font-size: 13px; line-height: 1.55; }
.chat-quick { padding: 10px 14px; border-top: 1px solid var(--mid); display: flex; gap: 6px; flex-wrap: wrap; }
.chat-quick button { background: var(--frost); border: 1px solid var(--border); border-radius: 100px; padding: 5px 12px; font-size: 12px; font-weight: 500; color: var(--blue); cursor: pointer; white-space: nowrap; transition: background .2s; }
.chat-quick button:hover { background: var(--mid); }
.chat-input-row { padding: 10px 14px; border-top: 1px solid var(--border); display: flex; gap: 8px; align-items: center; }
.chat-input-row input { flex: 1; border: 1.5px solid var(--border); border-radius: 8px; padding: 9px 13px; font-size: 13px; font-family: 'Inter', sans-serif; outline: none; transition: border-color .2s; }
.chat-input-row input:focus { border-color: var(--accent); }
.chat-send { background: var(--accent); color: white; border: none; border-radius: 8px; width: 36px; height: 36px; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .2s; }
.chat-send:hover { background: var(--accent-dark); }

/* ─── FOOTER ─── */
.footer { background: var(--navy); padding: 52px 5% 28px; }
.footer-inner { max-width: 1120px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 48px; }
.footer-col h5 { font-size: 12px; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; font-family: 'DM Sans', sans-serif; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12px; color: rgba(255,255,255,.3); }

/* ─── FADE ─── */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ─── TICKER ─── */
.ticker-wrap { overflow: hidden; position: relative; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: white; }
.ticker-wrap::before, .ticker-wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.ticker-wrap::before { left: 0; background: linear-gradient(to right, white, transparent); }
.ticker-wrap::after { right: 0; background: linear-gradient(to left, white, transparent); }
.ticker-track { display: flex; align-items: center; width: max-content; animation: ticker 28s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.ticker-set { display: flex; align-items: center; }
.ticker-item { display: flex; align-items: center; justify-content: center; padding: 18px 36px; border-right: 1px solid var(--border); height: 80px; }
.ticker-item img { opacity: .75; filter: grayscale(20%); transition: all .2s; object-fit: contain; }
.ticker-item:hover img { opacity: 1; filter: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .split, .split-60, .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
}
