/*
Theme Name: Sellunk
Theme URI: https://sellunk.com
Author: Sellunk Group
Author URI: https://sellunk.com
Description: Official Sellunk Group website theme. Navy parent brand, Amber for Sellunk Mobility, Teal for Sellunk Consultancy.
Version: 1.0.0
License: Private
Text Domain: sellunk
*/

/* ═══════════════════════════════════════════════════════════
   SELLUNK BRAND COLOUR SYSTEM
   Sellunk (parent)    → #0C405C Navy ONLY
   Sellunk Mobility    → #0C405C Navy  +  #C8782A Amber
   Sellunk Consultancy → #0C405C Navy  +  #4ABFB0 Teal
═══════════════════════════════════════════════════════════ */

:root {
  --navy:       #0C405C;
  --navy-dark:  #082F44;
  --navy-mid:   #1A5C80;
  --navy-light: #D6E8F2;
  --amber:      #C8782A;
  --amber-dark: #9A5A1E;
  --amber-pale: #FDF0E0;
  --teal:       #4ABFB0;
  --teal-dark:  #2A9688;
  --teal-light: #E0F5F3;
  --white:      #FFFFFF;
  --off-white:  #F7F9FB;
  --light-gray: #E8EEF3;
  --mid-gray:   #8096A7;
  --text-dark:  #1A2E3B;
  --text-body:  #3D5466;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ── NAVIGATION ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--light-gray);
  box-shadow: 0 2px 16px rgba(12,64,92,0.08);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  height: 68px;
  gap: 1.5rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-wordmark { line-height: 1.1; }
.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.logo-sub {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: none;
}
body.page-template-mobility    .logo-sub { display: block; color: var(--amber); }
body.page-template-consultancy .logo-sub { display: block; color: var(--teal-dark); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  list-style: none;
}
.site-nav a {
  display: block;
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  border-radius: 6px;
  transition: all 0.2s;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav .current-menu-item a { color: var(--navy); background: var(--navy-light); font-weight: 600; }
.site-nav .menu-mobility a     { color: var(--amber-dark); }
.site-nav .menu-mobility a:hover,
.site-nav .menu-mobility.current-menu-item a { background: var(--amber-pale); color: var(--amber-dark); }
.site-nav .menu-consultancy a  { color: var(--teal-dark); }
.site-nav .menu-consultancy a:hover,
.site-nav .menu-consultancy.current-menu-item a { background: var(--teal-light); color: var(--teal-dark); }
.nav-cta a {
  background: var(--navy) !important;
  color: white !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  margin-left: 0.75rem;
}
.nav-cta a:hover { background: var(--navy-dark) !important; }

/* ── MAIN CONTENT ── */
.site-main { padding-top: 68px; min-height: 60vh; }

/* ── HERO ── */
.hero {
  padding: 6rem 2rem 5rem;
  text-align: center;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.hero.hero-mobility    { border-top: 4px solid var(--amber); }
.hero.hero-consultancy { border-top: 4px solid var(--teal); }

.hero-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  opacity: 0.7;
  color: var(--navy-light);
}
.hero-mobility    .hero-eyebrow { color: var(--amber); }
.hero-consultancy .hero-eyebrow { color: var(--teal); }

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: white;
  max-width: 800px;
  margin: 0 auto 1.25rem;
}
.hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  line-height: 1;
}
.btn-amber  { background: var(--amber); color: white; }
.btn-amber:hover  { background: var(--amber-dark); color: white; }
.btn-teal   { background: var(--teal);  color: white; }
.btn-teal:hover   { background: var(--teal-dark); color: white; }
.btn-navy   { background: var(--navy);  color: white; }
.btn-navy:hover   { background: var(--navy-dark); color: white; }
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.85);
}
.btn-outline:hover { border-color: rgba(255,255,255,0.7); color: white; }

/* ── SECTIONS ── */
.section          { padding: 5rem 2rem; }
.section-alt      { background: var(--off-white); }
.section-navy     { background: var(--navy); }
.section-inner    { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 0.75rem;
  display: block;
}
.section-navy .section-label { color: var(--navy-light); }

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-navy .section-title { color: white; }

.section-sub {
  font-size: 1.0625rem;
  color: var(--text-body);
  max-width: 600px;
  font-weight: 300;
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* ── CARDS ── */
.card-grid   { display: grid; gap: 1.5rem; }
.grid-2      { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3      { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4      { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: white;
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover        { box-shadow: 0 8px 32px rgba(12,64,92,0.1); transform: translateY(-2px); }
.card.amber-top    { border-top: 3px solid var(--amber); }
.card.teal-top     { border-top: 3px solid var(--teal); }
.card.navy-top     { border-top: 3px solid var(--navy); }
.card h3           { font-size: 1.125rem; color: var(--navy); margin-bottom: 0.5rem; }
.card p            { font-size: 0.9375rem; color: var(--text-body); line-height: 1.65; }

/* ── PILLARS ── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--light-gray);
}
.pillar {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--light-gray);
}
.pillar:last-child { border-right: none; }
.pillar-num   { font-family: 'DM Mono', monospace; font-size: 0.7rem; color: var(--mid-gray); margin-bottom: 0.4rem; }
.pillar-label { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.2rem; }
.pillar-sub   { font-size: 0.8rem; color: var(--mid-gray); font-style: italic; margin-bottom: 1rem; }
.pillar-body  { font-size: 0.9375rem; color: var(--text-body); line-height: 1.65; margin-bottom: 1rem; }
.pillar-tag   {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
}
.tag-amber { background: var(--amber-pale); color: var(--amber-dark); }
.tag-teal  { background: var(--teal-light); color: var(--teal-dark); }
.tag-navy  { background: var(--navy-light); color: var(--navy); }

/* ── MISSION / VISION ── */
.mv-grid {
  display: block;
  border-radius: 12px;
  overflow: hidden;
}
.mv-mission { background: var(--navy); padding: 2.5rem; }
.mv-vision  { background: white; padding: 2.5rem; border: 1px solid var(--light-gray); border-top: none; }
.mv-label   {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
  font-weight: 500;
}
.mv-mission .mv-label { color: rgba(214,232,242,0.7); }
.mv-vision  .mv-label { color: var(--mid-gray); }
.mv-headline { font-size: 1.375rem; font-weight: 700; margin-bottom: 0.85rem; line-height: 1.25; }
.mv-mission .mv-headline { color: white; }
.mv-vision  .mv-headline { color: var(--navy); }
.mv-mission p { color: rgba(255,255,255,0.65); font-size: 0.9375rem; line-height: 1.65; }
.mv-vision  p { color: var(--text-body); font-size: 0.9375rem; line-height: 1.65; }

/* ── VALUES ── */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 1rem; }
.value-item  { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 1.25rem; }
.value-item h4 { color: white; font-size: 0.9375rem; margin-bottom: 0.35rem; }
.value-item p  { color: rgba(255,255,255,0.55); font-size: 0.875rem; line-height: 1.55; }

/* ── CAR LISTINGS ── */
.listings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.filter-bar { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filter-btn {
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--light-gray);
  background: white;
  color: var(--text-body);
  transition: all 0.2s;
}
.filter-btn.active-amber { background: var(--amber); color: white; border-color: var(--amber); }
.filter-btn.active-navy  { background: var(--navy);  color: white; border-color: var(--navy); }
.filter-btn:hover        { border-color: var(--navy); }

.pathway-tabs {
  display: flex;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--light-gray);
  margin-bottom: 3rem;
  max-width: 420px;
}
.pathway-tab {
  flex: 1;
  padding: 0.85rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: white;
  color: var(--mid-gray);
  transition: all 0.2s;
  text-align: center;
}
.pathway-tab.active-sales { background: var(--amber); color: white; }
.pathway-tab.active-rent  { background: var(--navy);  color: white; }

.car-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 1.5rem; }
.car-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--light-gray);
  transition: box-shadow 0.2s, transform 0.2s;
}
.car-card:hover { box-shadow: 0 8px 32px rgba(12,64,92,0.12); transform: translateY(-3px); }
.car-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--light-gray);
}
.car-thumb-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--light-gray) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid-gray);
  font-size: 0.875rem;
}
.car-thumb-wrap { position: relative; }
.car-badge {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
}
.badge-used  { background: var(--amber); }
.badge-new   { background: var(--navy);  }
.badge-short { background: var(--teal);  }
.badge-long  { background: var(--navy-dark); }
.badge-avail { background: #1D9E75; }
.badge-hired { background: #8096A7; }

.car-info   { padding: 1.25rem; }
.car-make   { font-size: 0.75rem; color: var(--mid-gray); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.car-model  { font-size: 1.125rem; color: var(--navy); font-weight: 700; margin: 0.15rem 0 0.5rem; }
.car-specs  { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.85rem; }
.car-spec   { font-size: 0.8rem; color: var(--mid-gray); }
.car-desc   { font-size: 0.8125rem; color: var(--text-body); line-height: 1.55; margin-bottom: 0.85rem; }
.car-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--light-gray);
}
.car-price      { font-size: 1.375rem; font-weight: 700; color: var(--navy); }
.car-price-note { font-size: 0.75rem; color: var(--mid-gray); }
.car-enquire {
  padding: 0.55rem 1rem;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}
.car-enquire.amber { background: var(--amber-pale); color: var(--amber-dark); }
.car-enquire.amber:hover { background: var(--amber); color: white; }
.car-enquire.navy  { background: var(--navy-light); color: var(--navy); }
.car-enquire.navy:hover  { background: var(--navy); color: white; }

/* ── CONSULTANCY STEPS ── */
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.step-card  { border-radius: 12px; padding: 2rem; color: white; }
.step-card.assess    { background: var(--teal); }
.step-card.define    { background: var(--teal-dark); }
.step-card.implement { background: var(--navy); }
.step-num   { font-family: 'DM Mono', monospace; font-size: 0.7rem; letter-spacing: 0.12em; opacity: 0.6; margin-bottom: 0.5rem; }
.step-title { font-size: 1.75rem; font-weight: 700; margin-bottom: 1rem; }
.step-card p{ font-size: 0.9375rem; line-height: 1.65; opacity: 0.82; }

/* ── BLOG ── */
.blog-grid  { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 1.5rem; }
.blog-card  {
  background: white;
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.blog-card:hover { box-shadow: 0 6px 24px rgba(12,64,92,0.09); }
.blog-thumb { width: 100%; height: 180px; object-fit: cover; background: var(--light-gray); }
.blog-info  { padding: 1.25rem; }
.blog-cat   {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.65rem;
}
.blog-title { font-size: 1.0625rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; line-height: 1.35; }
.blog-excerpt { font-size: 0.875rem; color: var(--text-body); line-height: 1.6; margin-bottom: 0.85rem; }
.blog-meta  { font-size: 0.75rem; color: var(--mid-gray); }
.blog-read-more { color: var(--navy); font-weight: 600; font-size: 0.875rem; text-decoration: none; }
.blog-read-more:hover { color: var(--amber); }

/* ── FORMS ── */
.enquiry-wrap {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--light-gray);
}
.form-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-full  { grid-column: 1/-1; }
label       { font-size: 0.8125rem; font-weight: 600; color: var(--navy); }
input[type="text"],input[type="email"],input[type="tel"],select,textarea {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--text-dark);
  transition: border-color 0.2s;
  background: white;
  width: 100%;
}
input:focus,select:focus,textarea:focus {
  outline: none;
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px var(--navy-light);
}
textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%;
  padding: 0.9rem;
  border: none;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: all 0.2s;
}
.submit-amber { background: var(--amber); color: white; }
.submit-amber:hover { background: var(--amber-dark); }
.submit-teal  { background: var(--teal);  color: white; }
.submit-teal:hover  { background: var(--teal-dark); }
.submit-navy  { background: var(--navy);  color: white; }
.submit-navy:hover  { background: var(--navy-dark); }

/* Contact Form 7 overrides */
.wpcf7 input[type="submit"] { width: auto !important; }

/* ── BRAND FAMILY BAR ── */
.brand-bar {
  background: var(--off-white);
  border-top: 1px solid var(--light-gray);
  padding: 1.25rem 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--mid-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.brand-bar a { font-weight: 600; text-decoration: none; color: var(--navy); }
.brand-bar a:hover { text-decoration: underline; }

/* ── JOBS ── */
.job-list   { display: flex; flex-direction: column; gap: 1rem; }
.job-card   {
  background: white;
  border: 1px solid var(--light-gray);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  transition: box-shadow 0.2s;
}
.job-card:hover { box-shadow: 0 6px 24px rgba(12,64,92,0.09); }
.job-dot  { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; margin-top: 7px; }
.job-title{ font-size: 1.0625rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
.job-meta { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; font-size: 0.8125rem; color: var(--mid-gray); }
.job-apply {
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: var(--navy-light);
  color: var(--navy);
  transition: all 0.2s;
  text-decoration: none;
  flex-shrink: 0;
}
.job-apply:hover { background: var(--navy); color: white; }

/* ── FOOTER ── */
.site-footer { background: var(--navy-dark); color: white; padding: 3rem 2rem 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}
.footer-brand { font-size: 1.375rem; font-weight: 700; margin-bottom: 0.75rem; font-family: 'Playfair Display', serif; }
.footer-tagline { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.6; margin-bottom: 1rem; }
.footer-col h4 { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 0.85rem; font-family: inherit; }
.footer-col a,
.footer-col p  { display: block; font-size: 0.875rem; color: rgba(255,255,255,0.65); margin-bottom: 0.5rem; text-decoration: none; }
.footer-col a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-copy   { font-size: 0.8125rem; color: rgba(255,255,255,0.35); }
.footer-pills  { display: flex; gap: 0.75rem; }
.fp-amber { background: rgba(200,120,42,0.2); color: #E8A040; padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.75rem; font-weight: 500; text-decoration: none; }
.fp-teal  { background: rgba(74,191,176,0.2);  color: var(--teal); padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.75rem; font-weight: 500; text-decoration: none; }

/* ── NEWSLETTER ── */
.newsletter-form { display: flex; gap: 0.75rem; max-width: 480px; margin-top: 1.25rem; }
.newsletter-form input { flex: 1; }
.newsletter-form button {
  padding: 0.65rem 1.25rem;
  border: none;
  border-radius: 8px;
  background: var(--navy);
  color: white;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: var(--navy-mid); }

/* ── WP ADMIN BAR OFFSET ── */
.admin-bar .site-header { top: 32px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--light-gray); }
  .mv-grid { grid-template-columns: 1fr; }
  .mv-vision { border-left: 1px solid var(--light-gray); border-top: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .form-grid  { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 2rem; }
  .section { padding: 3.5rem 1.25rem; }
  .footer-top { grid-template-columns: 1fr; }
  .pathway-tabs { max-width: 100%; }
}
