/* LocoMotion Accessibility Consulting — Main Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary:       #2B328C;
  --primary-light: #4d59a8;
  --primary-dark:  #1e2468;
  --accent:        #5c6bc0;
  --text:          #2c2c2c;
  --text-muted:    #666;
  --light-bg:      #E0D3BC;
  --white:         #EBDFCC;
  --border:        #D4C8B0;
  --shadow:        0 2px 14px rgba(43, 50, 140, 0.10);
  --shadow-hover:  0 8px 28px rgba(43, 50, 140, 0.18);
  --radius:        6px;
  --max-width:     1160px;
  --transition:    0.22s ease;
}

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
h1 { font-size: clamp(1.85rem, 4vw, 3rem);   font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(1.4rem,  3vw, 2.1rem); font-weight: 700; line-height: 1.25; }
h3 { font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 700; line-height: 1.3; }

/* ─── UTILITIES ──────────────────────────────────────────── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5.5rem 0; }
.section-alt { background: var(--light-bg); }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary-light);
  margin-bottom: 0.6rem;
  display: block;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-header h2 { margin-bottom: 0.85rem; }
.section-header p  { color: var(--text-muted); font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7rem 1.7rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.93rem;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: 0.01em;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.8);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--light-bg); }

/* ─── NAVIGATION ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 200;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 38px; width: auto; }
.nav-logo-text {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.nav-logo-text span { display: block; font-size: 0.62rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
.nav-links a {
  font-size: 0.91rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links .nav-cta {
  background: var(--primary);
  color: #fff;
  padding: 0.48rem 1.2rem;
  border-radius: var(--radius);
  border: none;
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: var(--primary-dark); color: #fff; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 201;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 65% center;
  opacity: 0.45;
}
.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 5rem 0;
  max-width: 680px;
}
.hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
  line-height: 1.15;
}
.hero-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2.2rem;
  max-width: 520px;
  line-height: 1.65;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ─── MISSION ────────────────────────────────────────────── */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.mission-text h2 { margin-bottom: 1.1rem; }
.mission-text p  { color: var(--text-muted); font-size: 1.02rem; margin-bottom: 1rem; }
.mission-img {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.mission-img img { width: 100%; height: 420px; object-fit: cover; }

/* ─── SOLUTIONS BANNER ───────────────────────────────────── */
.solutions-banner {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 5.5rem 0;
}
.solutions-banner .eyebrow { color: rgba(255,255,255,0.65); }
.solutions-banner h2 { color: #fff; margin-bottom: 1.1rem; font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.solutions-banner p { opacity: 0.85; max-width: 600px; margin: 0 auto 2.2rem; font-size: 1.05rem; }

/* ─── SECTORS ────────────────────────────────────────────── */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.sector-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.sector-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.sector-img { height: 230px; overflow: hidden; }
.sector-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.sector-card:hover .sector-img img { transform: scale(1.06); }
.sector-body { padding: 1.6rem; }
.sector-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.sector-body h3 { color: var(--primary); margin-bottom: 0.65rem; }
.sector-body p   { color: var(--text-muted); font-size: 0.91rem; line-height: 1.65; }

/* ─── BLOG CARDS ─────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.blog-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.blog-card-img { height: 210px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-meta { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.5rem; letter-spacing: 0.04em; }
.blog-card-body h3 { font-size: 0.98rem; margin-bottom: 0.7rem; flex: 1; line-height: 1.5; }
.blog-card-body p  { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; margin-bottom: 1rem; }
.read-more {
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--transition);
}
.read-more::after { content: '→'; }
.read-more:hover  { gap: 0.55rem; }

/* ─── PAGE HERO (interior pages) ────────────────────────── */
.page-hero {
  background: var(--primary);
  color: #fff;
  padding: 4.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  opacity: 0.7;
}
.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.3;
  object-position: center 38%;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero p  { opacity: 0.88; max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

/* ─── SERVICES PAGE ──────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}
.service-item {
  background: #fff;
  border-radius: 10px;
  padding: 2rem 2rem 2rem 1.75rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
  transition: box-shadow var(--transition);
}
.service-item:hover { box-shadow: var(--shadow-hover); }
.service-item h3 { color: var(--primary); margin-bottom: 0.7rem; }
.service-item p  { color: var(--text-muted); font-size: 0.97rem; line-height: 1.7; }

.services-cta-box {
  text-align: center;
  margin-top: 4rem;
  padding: 3.5rem 2rem;
  background: var(--primary);
  border-radius: 12px;
  color: #fff;
}
.services-cta-box h3 { color: #fff; margin-bottom: 0.75rem; font-size: 1.5rem; }
.services-cta-box p  { opacity: 0.85; margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.phone-link-large {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  display: block;
  margin-bottom: 0.5rem;
  transition: opacity var(--transition);
}
.phone-link-large:hover { opacity: 0.8; }

/* ─── ABOUT PAGE ─────────────────────────────────────────── */
.stat-banner {
  background: var(--primary);
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}
.stat-banner h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); }
.stat-banner p  { opacity: 0.8; font-size: 1.1rem; margin-top: 0.75rem; }

.about-subtitle {
  background: var(--primary-dark);
  color: #fff;
  padding: 2.5rem 0;
  text-align: center;
}
.about-subtitle p {
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0 auto;
  opacity: 0.88;
  font-style: italic;
  line-height: 1.65;
}

.founder-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3.5rem;
  align-items: start;
}
.founder-photo { border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.founder-photo img { width: 100%; }
.founder-info blockquote {
  font-style: italic;
  font-size: 1.08rem;
  color: var(--text-muted);
  border-left: 3px solid var(--primary);
  padding-left: 1.1rem;
  margin: 1rem 0 1.4rem;
  line-height: 1.6;
}
.founder-info > p { color: var(--text-muted); font-size: 0.98rem; margin-bottom: 0.75rem; }

.contact-card-aside {
  background: var(--light-bg);
  border-radius: 10px;
  padding: 1.75rem;
  margin-top: 1.75rem;
  border: 1px solid var(--border);
}
.contact-card-aside .label { font-weight: 700; color: var(--text); display: block; margin-bottom: 0.1rem; }
.contact-card-aside .sub   { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 1rem; display: block; }
.contact-card-aside a, .contact-card-aside span {
  display: block;
  font-size: 0.94rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}
.contact-card-aside a:hover { color: var(--primary); }

.barriers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.barriers-text h2 { margin-bottom: 1rem; }
.barriers-text p  { color: var(--text-muted); font-size: 0.99rem; margin-bottom: 1rem; line-height: 1.75; }
.barriers-imgs { display: flex; flex-direction: column; gap: 1rem; }
.barriers-imgs img { border-radius: 10px; box-shadow: var(--shadow); width: 100%; object-fit: cover; height: 200px; }

.about-cta-banner {
  background: var(--primary);
  color: #fff;
  padding: 4.5rem 0;
  text-align: center;
}
.about-cta-banner h2 { color: #fff; margin-bottom: 1rem; max-width: 640px; margin-left: auto; margin-right: auto; }
.about-cta-banner p  { opacity: 0.85; max-width: 600px; margin: 0 auto 2.2rem; font-size: 1.04rem; }

/* ─── CONTACT PAGE ───────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-info blockquote {
  font-style: italic;
  font-size: 1.08rem;
  color: var(--text-muted);
  border-left: 3px solid var(--primary);
  padding-left: 1.1rem;
  margin: 1rem 0 1.5rem;
}
.contact-info > p { color: var(--text-muted); font-size: 0.98rem; margin-bottom: 0.75rem; }
.contact-detail {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 1.1rem;
}
.contact-detail-icon {
  width: 40px; height: 40px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-detail-text strong { display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-muted); margin-bottom: 0.1rem; }
.contact-detail-text a,
.contact-detail-text span { font-size: 1rem; color: var(--text); font-weight: 600; }
.contact-detail-text a:hover { color: var(--primary); }

.contact-reach-box {
  background: var(--light-bg);
  border-radius: 12px;
  padding: 2.5rem;
  border: 1px solid var(--border);
}
.contact-reach-box h3 { margin-bottom: 0.75rem; }
.contact-reach-box > p { color: var(--text-muted); margin-bottom: 2rem; font-size: 0.97rem; }
.email-btn {
  display: block;
  background: var(--primary);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 1rem;
  transition: background var(--transition);
  word-break: break-all;
}
.email-btn:hover { background: var(--primary-dark); }
.phone-btn {
  display: block;
  background: transparent;
  color: var(--primary);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.15rem;
  text-align: center;
  border: 2px solid var(--primary);
  transition: all var(--transition);
}
.phone-btn:hover { background: var(--primary); color: #fff; }

/* ─── BLOG PAGE ──────────────────────────────────────────── */
/* Re-uses .blog-grid and .blog-card from above */

/* ─── BLOG POST ──────────────────────────────────────────── */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3.5rem;
  align-items: start;
}
.post-main { min-width: 0; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 2rem;
  transition: gap var(--transition);
}
.back-link:hover { gap: 0.65rem; }
.post-header h1 { color: var(--primary); margin-bottom: 0.5rem; }
.post-date { font-size: 0.83rem; color: var(--text-muted); display: block; margin-bottom: 1.75rem; }
.post-hero-img {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 2.2rem;
  box-shadow: var(--shadow);
}
.post-hero-img img { width: 100%; height: 420px; object-fit: cover; }
.post-body h2 { font-size: 1.25rem; color: var(--primary); margin: 2rem 0 0.75rem; }
.post-body p  { color: var(--text-muted); margin-bottom: 1.1rem; line-height: 1.8; font-size: 1rem; }
.post-body ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.1rem; }
.post-body ul li { color: var(--text-muted); margin-bottom: 0.4rem; line-height: 1.7; }
.post-body a { color: var(--primary); text-decoration: underline; word-break: break-word; }
.post-source { font-size: 0.83rem !important; border-top: 1px solid var(--border); padding-top: 1rem; margin-top: 2rem; }

.post-sidebar { position: sticky; top: 90px; }
.sidebar-box {
  background: var(--light-bg);
  border-radius: 10px;
  padding: 1.5rem;
  border: 1px solid var(--border);
}
.sidebar-box h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 1rem; }
.sidebar-link {
  display: block;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text);
  transition: color var(--transition);
  line-height: 1.45;
}
.sidebar-link:last-child { border-bottom: none; }
.sidebar-link:hover { color: var(--primary); }
.sidebar-see-all {
  display: block;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  transition: text-decoration var(--transition);
}
.sidebar-see-all:hover { text-decoration: underline; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.80);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 3.5rem;
  padding-bottom: 3rem;
}
.footer-logo { margin-bottom: 1.1rem; display: flex; align-items: center; }
.footer-logo img { height: 34px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.88rem; line-height: 1.65; opacity: 0.75; }

.footer-col h4 {
  color: #fff;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.1rem;
}
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col ul li a { font-size: 0.88rem; opacity: 0.72; transition: opacity var(--transition); }
.footer-col ul li a:hover { opacity: 1; }
.footer-contact-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.8rem;
}
.footer-contact-item .label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.55; margin-bottom: 0.1rem; }
.footer-contact-item a,
.footer-contact-item span { font-size: 0.9rem; opacity: 0.82; transition: opacity var(--transition); }
.footer-contact-item a:hover { opacity: 1; }
.footer-phone { font-size: 1.2rem !important; font-weight: 700; opacity: 0.95 !important; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1.5rem 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  opacity: 0.55;
  line-height: 1.65;
}

/* ─── SCROLL REVEAL ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .mission-grid,
  .barriers-grid,
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .sectors-grid,
  .blog-grid       { grid-template-columns: repeat(2, 1fr); }
  .services-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
  .founder-grid    { grid-template-columns: 1fr; }
  .founder-photo   { max-width: 200px; }
  .post-layout     { grid-template-columns: 1fr; }
  .post-sidebar    { position: static; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.4rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .site-header { position: relative; }

  .sectors-grid,
  .blog-grid,
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; gap: 2rem; }

  .section       { padding: 3.5rem 0; }
  .solutions-banner { padding: 3.5rem 0; }
  .hero-content  { padding: 3.5rem 0; }
  .hero          { min-height: 380px; }
  .post-hero-img img { height: 220px; }
  .hero-btns     { flex-direction: column; width: fit-content; }
  .footer-bottom-inner { flex-direction: column; gap: 0.5rem; }
}
