/* ===========================================================
   Welcome Transportation — Blog & Vlog stylesheet
   =========================================================== */

:root {
  --navy: #0a2540;
  --navy-dark: #071a2e;
  --red: #c8102e;
  --gold: #c9a227;
  --gold-light: #e0bc4c;
  --cream: #f7f5f0;
  --bg: #f4f6f9;
  --gray: #5b6673;
  --white: #ffffff;
  --border: #e3e8ee;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(10, 37, 64, .10);
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--navy); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0 0 .5em; line-height: 1.15; }
p { margin: 0 0 1em; line-height: 1.65; color: var(--gray); }
.section-inner { max-width: 1180px; margin: 0 auto; padding: 70px 24px; }
.eyebrow { color: var(--gold); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; margin-bottom: .6em; }
.eyebrow.center { text-align: center; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--navy); }
.section-title.center { text-align: center; margin-bottom: 1em; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: .92rem; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary, .btn-quote { background: var(--gold); color: var(--navy-dark); box-shadow: 0 8px 20px rgba(201,162,39,.32); }
.btn-primary:hover, .btn-quote:hover { background: var(--gold-light); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-dark); color: rgba(255,255,255,.85); font-size: .8rem; }
.topbar-inner { max-width: 1180px; margin: 0 auto; padding: 8px 24px; display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; justify-content: center; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-item:hover { color: var(--gold-light); }
@media (max-width: 640px) { .topbar-web { display: none; } }

/* ---------- Header ---------- */
.site-header { background: var(--white); box-shadow: 0 2px 14px rgba(10,37,64,.06); position: sticky; top: 0; z-index: 50; }
.header-inner { max-width: 1180px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--navy); }
.logo-img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; }
.logo em { color: var(--gold); font-style: normal; }
.logo small { display: block; font-family: var(--font-body); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .58rem; color: var(--gray); }
.main-nav { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: .92rem; }
.main-nav a:hover { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); display: block; }

@media (max-width: 880px) {
  .main-nav { position: fixed; inset: 66px 0 auto 0; background: var(--white); flex-direction: column; align-items: flex-start; padding: 18px 24px; gap: 16px; box-shadow: 0 12px 20px rgba(10,37,64,.08); transform: translateY(-130%); transition: transform .2s ease; }
  .main-nav.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .header-actions .btn-quote span.full { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 62vh; display: flex; align-items: center; color: var(--white); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-color: var(--navy); }
.hero-content { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 60px 24px; width: 100%; }
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); max-width: 800px; color: var(--white); }
.hero-sub { max-width: 620px; color: rgba(255,255,255,.82); font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 2em 0 0; }

/* ---------- Track split (Industry / Riders) ---------- */
.tracks { background: var(--white); }
.track-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 760px) { .track-grid { grid-template-columns: 1fr 1fr; } }
.track-card { border-radius: 16px; padding: 34px 30px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.track-card.industry { background: linear-gradient(135deg, var(--navy), var(--navy-dark)); color: var(--white); }
.track-card.riders { background: var(--cream); color: var(--navy); border: 1px solid var(--border); }
.track-card h3 { font-size: 1.4rem; }
.track-card.industry h3 { color: var(--white); }
.track-card p { color: inherit; opacity: .85; }
.track-card .btn { margin-top: 1.2em; }

/* ---------- Filter tabs ---------- */
.filter-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.js-filter-tab { padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--white); font-weight: 600; font-size: .88rem; cursor: pointer; color: var(--gray); }
.js-filter-tab.active { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ---------- Cards (blog + vlog) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease; }
.post-card:hover { transform: translateY(-6px); }
.post-card-media { position: relative; }
.post-card-img { width: 100%; height: 200px; object-fit: cover; background: var(--navy); }
.post-card-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(10,37,64,.25); }
.post-card-play svg { width: 52px; height: 52px; fill: rgba(255,255,255,.92); }
.post-card-body { padding: 24px 24px 28px; }
.post-tags { display: flex; gap: 8px; margin-bottom: .8em; }
.tag { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tag-industry { background: #e7edf5; color: var(--navy); }
.tag-riders { background: #fbeae2; color: var(--red); }
.tag-type { background: var(--cream); color: var(--gold); }
.post-card h3 { font-size: 1.2rem; margin-bottom: .4em; }
.post-card-date { font-size: .78rem; color: var(--gray); margin-top: 1em; }
.post-card-link { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 700; font-size: .88rem; margin-top: .6em; }
.post-card-link svg { width: 13px; height: 13px; transition: transform .15s ease; }
.post-card:hover .post-card-link svg { transform: translateX(4px); }

.empty-state { text-align: center; padding: 60px 24px; background: var(--white); border-radius: var(--radius); border: 1px dashed var(--border); color: var(--gray); }
.empty-state svg { width: 44px; height: 44px; fill: var(--gold); margin-bottom: 1em; }

/* ---------- Article ---------- */
.article-hero { min-height: 58vh; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; color: rgba(255,255,255,.75); font-size: .9rem; margin-top: 1.4em; }
.article-meta strong { color: var(--white); }
.article-lang-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 1.6em; padding: 8px 16px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font-size: .82rem; color: rgba(255,255,255,.9); }
.article-body { background: var(--white); }
.article-inner { max-width: 720px; margin: 0 auto; padding: 60px 24px; }
.article-logo-row { display: flex; justify-content: center; margin-bottom: 2.6rem; }
.article-logo-row img { max-width: 200px; height: auto; }
.article-inner p { color: var(--navy); font-size: 1.05rem; }
.article-inner > p:first-of-type { font-size: 1.15rem; }

.founder-block { display: flex; align-items: center; gap: 20px; margin: 2.4em 0; padding: 22px 24px; background: var(--cream); border-radius: var(--radius); }
.founder-avatar { flex: none; width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--navy-dark)); color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; box-shadow: var(--shadow); overflow: hidden; }
.founder-avatar img { width: 100%; height: 100%; object-fit: cover; }
.founder-block strong { display: block; color: var(--navy); }
.founder-block span { font-size: .85rem; color: var(--gray); }

.article-figure { margin: 2.6em 0; }
.article-figure img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-figure figcaption { margin-top: .7em; font-size: .82rem; color: var(--gray); text-align: center; }

.chart-card { margin: 2.6em 0; padding: 28px 26px 22px; background: var(--cream); border-radius: var(--radius); box-shadow: var(--shadow); }
.chart-card h3 { font-size: 1.05rem; margin-bottom: 1.2em; text-align: center; }
.chart-card svg { width: 100%; height: auto; display: block; }
.chart-bar-60 { fill: var(--navy); }
.chart-bar-75 { fill: var(--red); }
.chart-axis { stroke: #d8dde3; stroke-width: 1; }
.chart-value { font-weight: 700; font-size: 15px; fill: var(--navy); }
.chart-label { font-weight: 600; font-size: 12px; fill: var(--gray); }
.chart-card figcaption { margin-top: 1em; font-size: .78rem; color: var(--gray); text-align: center; }

.disclaimer-box { margin: 2.4em 0; padding: 16px 20px; background: var(--bg); border-left: 3px solid var(--gold); border-radius: 4px; font-size: .85rem; color: var(--gray); font-style: italic; }
.fma-badge { display: inline-flex; align-items: center; gap: 12px; margin: 1.6em 0; padding: 10px 18px; background: var(--navy); color: var(--white); border-radius: 999px; font-size: .82rem; font-weight: 600; }
.fma-badge svg { width: 16px; height: 16px; fill: var(--gold-light); flex: none; }
.fma-logo { width: 30px; height: 30px; object-fit: contain; flex: none; border-radius: 4px; background: #fff; padding: 2px; }

.lang-divider { display: flex; align-items: center; gap: 16px; margin: 3.4em 0 2em; }
.lang-divider::before, .lang-divider::after { content: ''; flex: 1; height: 1px; background: #e2e6ea; }
.lang-divider span { flex: none; color: var(--gold); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; }

.article-contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 3em; padding-top: 2em; border-top: 1px solid #e2e6ea; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; font-weight: 600; font-size: .85rem; }
.chip-phone { background: var(--red); color: #fff; }
.chip-email { background: var(--cream); color: var(--navy); border: 1px solid var(--border); }
.chip-web { background: var(--navy); color: var(--gold-light); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.65); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding-top: 60px; padding-bottom: 36px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-logo { color: var(--white); margin-bottom: 14px; }
.footer-grid h4 { color: var(--white); font-family: var(--font-body); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1em; }
.footer-grid a { display: block; margin-bottom: .6em; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-note { font-size: .82rem; margin-top: .8em; }
.founder-tag { display: flex; align-items: center; gap: 12px; margin-top: 1.4em; }
.founder-tag-avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--navy-dark); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: .85rem; }
.founder-tag strong { display: block; color: var(--white); font-size: .88rem; }
.founder-tag span { font-size: .76rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 24px; text-align: center; font-size: .78rem; }
.footer-bottom a { text-decoration: underline; }

@media (max-width: 560px) {
  .founder-block { flex-direction: column; text-align: center; }
}
