/*
Theme Name: JTD Services
Theme URI: https://jtdservices.ca
Author: JTD Services
Author URI: https://jtdservices.ca
Description: Custom WordPress theme for JTD Services — Uber Fleet Partner offering food/package delivery and taxi services across Ontario.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jtd-services
Tags: transport, delivery, logistics, business
*/

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --primary:        #1e3a6e;
  --primary-light:  #2d5499;
  --primary-dark:   #132447;
  --accent:         #f59e0b;
  --accent-dark:    #d97706;
  --text-dark:      #1f2937;
  --text-mid:       #374151;
  --text-light:     #6b7280;
  --bg-light:       #f1f5f9;
  --bg-section:     #f8fafc;
  --white:          #ffffff;
  --border:         #e2e8f0;
  --shadow-sm:      0 1px 3px rgba(0,0,0,.08);
  --shadow-md:      0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:      0 8px 32px rgba(0,0,0,.16);
  --radius:         8px;
  --radius-lg:      16px;
  --transition:     0.25s ease;
  --max-width:      1200px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p  { color: var(--text-mid); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 80px 0; }
.section-light { background: var(--bg-section); }
.section-dark  { background: var(--primary-dark); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: .75rem; }
.section-header p  { font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.section-line {
  width: 60px; height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: .75rem auto 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-secondary:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2.5rem; font-size: 1.1rem; }
.btn-sm { padding: .5rem 1.25rem; font-size: .9rem; }

/* ============================================================
   SITE HEADER / NAVIGATION
   ============================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary-dark);
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 1rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.logo-icon {
  width: 44px; height: 44px;
  background: var(--accent);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: .02em;
}
.logo-sub {
  font-size: .7rem;
  color: var(--accent);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Nav */
.main-nav { display: flex; align-items: center; gap: .25rem; }
.main-nav a {
  color: rgba(255,255,255,.85);
  padding: .5rem .85rem;
  border-radius: var(--radius);
  font-size: .92rem;
  font-weight: 500;
  transition: all var(--transition);
}
.main-nav a:hover,
.main-nav a.current_page_item > a,
.main-nav .current-menu-item > a { color: var(--accent); background: rgba(255,255,255,.08); }
.main-nav .menu-cta > a {
  background: var(--accent);
  color: var(--primary-dark) !important;
  font-weight: 700;
  padding: .5rem 1.1rem;
}
.main-nav .menu-cta > a:hover { background: var(--accent-dark); color: var(--white) !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: .75rem 1rem; border-radius: var(--radius); }
  .main-nav .menu-cta { margin-top: .5rem; }
  .main-nav .menu-cta > a { text-align: center; }
  #site-header { position: relative; }
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 { color: var(--white); margin-bottom: .5rem; position: relative; }
.page-hero p  { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 600px; margin: 0 auto; position: relative; }
.page-hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: .8rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ============================================================
   HOME PAGE — HERO
   ============================================================ */
.home-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.home-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}
.hero-content {}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(245,158,11,.15);
  border: 1px solid rgba(245,158,11,.4);
  color: var(--accent);
  padding: .35rem 1rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-badge::before { content: '✦'; font-size: .7rem; }
.home-hero h1 { color: var(--white); margin-bottom: 1rem; }
.home-hero h1 span { color: var(--accent); }
.home-hero > .container > .hero-content > p {
  color: rgba(255,255,255,.8);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform var(--transition);
}
.hero-card:hover { transform: translateX(6px); }
.hero-card-icon {
  width: 48px; height: 48px;
  background: var(--accent);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.hero-card h4 { color: var(--white); margin-bottom: .2rem; }
.hero-card p  { color: rgba(255,255,255,.65); font-size: .88rem; margin: 0; }

@media (max-width: 768px) {
  .home-hero .container { grid-template-columns: 1fr; }
  .home-hero { padding: 60px 0; }
  .hero-visual { display: none; }
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--accent);
  padding: 24px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-item {}
.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
}
.stat-label {
  font-size: .85rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: .25rem;
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.service-card-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.service-card-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,.15);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}
.service-card-header h3 { color: var(--white); }
.service-card-header .badge {
  display: inline-block;
  font-size: .7rem;
  background: var(--accent);
  color: var(--primary-dark);
  padding: .15rem .5rem;
  border-radius: 999px;
  font-weight: 700;
  margin-top: .3rem;
}
.service-card-body { padding: 1.5rem; flex: 1; }
.service-card-body p { font-size: .95rem; margin-bottom: 1rem; }
.region-list {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.region-tag {
  background: var(--bg-light);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.service-coming-soon {
  opacity: .65;
}
.service-coming-soon .service-card-header {
  background: linear-gradient(135deg, #374151, #4b5563);
}
.coming-soon-badge {
  display: inline-block;
  background: rgba(255,255,255,.2);
  color: var(--white);
  font-size: .7rem;
  padding: .15rem .5rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: .3rem;
}

/* ============================================================
   UBER PARTNER SECTION
   ============================================================ */
.partner-section {
  background: var(--white);
}
.partner-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.partner-badge-box {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.partner-badge-box::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 150px; height: 150px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
}
.partner-uber-logo {
  font-size: 4rem;
  margin-bottom: 1rem;
}
.partner-badge-box h3 { color: var(--white); font-size: 1.4rem; margin-bottom: .5rem; }
.partner-badge-box p  { color: rgba(255,255,255,.75); }
.verified-seal {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--accent);
  color: var(--primary-dark);
  padding: .5rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
  margin-top: 1.5rem;
}
.partner-text h2 { margin-bottom: 1rem; }
.partner-text p   { font-size: 1rem; margin-bottom: 1.5rem; }
.feature-list { display: flex; flex-direction: column; gap: .75rem; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .75rem;
  background: var(--bg-section);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}
.feature-item-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: .1rem; }
.feature-item h4 { font-size: .95rem; margin-bottom: .2rem; color: var(--primary-dark); }
.feature-item p  { font-size: .85rem; margin: 0; }

@media (max-width: 768px) {
  .partner-content { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================================
   COVERAGE / CITIES
   ============================================================ */
.coverage-tabs {
  display: flex;
  gap: .5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.tab-btn {
  padding: .6rem 1.25rem;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: transparent;
  color: var(--text-mid);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: all var(--transition);
}
.tab-btn.active, .tab-btn:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}
.tab-content { display: none; }
.tab-content.active { display: block; }
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .75rem;
}
.city-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: all var(--transition);
}
.city-item:hover { border-color: var(--primary); color: var(--primary); background: var(--bg-light); }
.city-item::before { content: '📍'; font-size: .9rem; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.why-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.why-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem;
}
.why-card h3 { margin-bottom: .5rem; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner h2 { color: var(--white); margin-bottom: .75rem; position: relative; }
.cta-banner p  { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 2rem; max-width: 550px; margin-left: auto; margin-right: auto; position: relative; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ============================================================
   FLEET PAGE
   ============================================================ */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.fleet-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
}
.fleet-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.fleet-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
}
.fleet-card-body { padding: 1.5rem; }
.fleet-card-body h3 { margin-bottom: .5rem; }
.fleet-card-body p  { font-size: .9rem; margin-bottom: 1rem; }
.fleet-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}
.fleet-spec {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: .5rem .75rem;
  font-size: .8rem;
}
.fleet-spec strong { color: var(--primary); display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; }

/* ============================================================
   QUOTE / TRACKING FORMS
   ============================================================ */
.form-section {
  max-width: 720px;
  margin: 0 auto;
}
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  overflow: hidden;
}
.form-card-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 2rem;
  text-align: center;
}
.form-card-header h2 { color: var(--white); margin-bottom: .25rem; }
.form-card-header p  { color: rgba(255,255,255,.75); margin: 0; }
.form-card-body { padding: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .4rem;
  color: var(--text-dark);
}
.form-group label .required { color: #ef4444; margin-left: .2rem; }
.form-control {
  width: 100%;
  padding: .7rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--bg-light);
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: inherit;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(30,58,110,.15);
}
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.form-submit { margin-top: 1.5rem; }
.form-submit .btn { width: 100%; justify-content: center; padding: .875rem; }
.form-note {
  text-align: center;
  font-size: .82rem;
  color: var(--text-light);
  margin-top: .75rem;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-visual {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  font-size: 8rem;
  line-height: 1;
}
.about-text h2 { margin-bottom: 1rem; }
.about-text p  { font-size: 1rem; margin-bottom: 1rem; }
.values-list { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }
.value-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .875rem;
  background: var(--bg-section);
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
}
.value-icon { font-size: 1.25rem; flex-shrink: 0; }
.value-item h4 { font-size: .95rem; margin-bottom: .2rem; }
.value-item p  { font-size: .85rem; margin: 0; }
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-visual { display: none; }
}

/* ============================================================
   TEAM / CONTACT INFO
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-info-card h4 { margin-bottom: .25rem; font-size: .9rem; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.contact-info-card p  { font-size: 1rem; margin: 0; font-weight: 500; }
.contact-info-card a  { color: var(--text-dark); font-weight: 500; }
.contact-info-card a:hover { color: var(--primary); }
@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* ============================================================
   TRACKING PAGE
   ============================================================ */
.tracking-hero { text-align: center; margin-bottom: 3rem; }
.tracking-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
  position: relative;
}
.tracking-steps::before {
  content: '';
  position: absolute;
  top: 32px; left: 12%; right: 12%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.track-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.track-step-num {
  width: 64px; height: 64px;
  background: var(--bg-light);
  border: 3px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto .75rem;
  transition: all var(--transition);
}
.track-step.active .track-step-num {
  background: var(--primary);
  border-color: var(--primary);
}
.track-step h4 { font-size: .9rem; margin-bottom: .25rem; }
.track-step p  { font-size: .8rem; margin: 0; }
@media (max-width: 600px) {
  .tracking-steps { grid-template-columns: repeat(2, 1fr); }
  .tracking-steps::before { display: none; }
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.8);
  padding-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand {}
.footer-brand .logo-name { color: var(--white); font-size: 1.4rem; }
.footer-brand .logo-sub  { color: var(--accent); }
.footer-brand p {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  margin-top: 1rem;
  max-width: 280px;
}
.footer-social { display: flex; gap: .75rem; margin-top: 1.25rem; }
.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,.8);
  transition: all var(--transition);
}
.social-link:hover { background: var(--accent); color: var(--primary-dark); }
.footer-col h4 {
  color: var(--white);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul li a {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-service-area {
  background: rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding: 1rem;
}
.footer-service-area h5 { color: var(--accent); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .5rem; }
.footer-service-area p  { font-size: .8rem; color: rgba(255,255,255,.55); margin: 0; line-height: 1.7; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-size: .85rem;
  color: rgba(255,255,255,.45);
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: var(--accent); }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.text-accent { color: var(--accent); }
.text-white  { color: var(--white); }
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-3 { margin-bottom: 1.5rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-1 { gap: .5rem; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: .95rem;
}
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* WordPress Alignment Classes */
.alignleft  { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .85rem; color: var(--text-light); text-align: center; margin-top: .25rem; }

/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px; left: 0;
  background: var(--primary);
  color: var(--white);
  padding: .5rem 1rem;
  z-index: 9999;
}
.skip-link:focus { top: 0; }
