/**
 * Legal Aid Translation — Theme CSS
 * Design System: Navy (#0C2340) + Teal (#0E7C6B) + Source Serif 4 + DM Sans
 *
 * @package LegalAid
 * @version 1.0.0
 */

/* ═══════════════════════════════════════
   CSS VARIABLES
   ═══════════════════════════════════════ */
:root {
  --lat-navy: #0C2340;
  --lat-navy-dark: #081A2F;
  --lat-navy-light: #163A5F;
  --lat-teal: #0E7C6B;
  --lat-teal-light: #12A08A;
  --lat-teal-pale: #E6F5F2;
  --lat-gold: #C4973B;
  --lat-gold-light: #F5EDD8;
  --lat-slate: #4A5568;
  --lat-slate-light: #718096;
  --lat-gray-50: #F9FAFB;
  --lat-gray-100: #F3F4F6;
  --lat-gray-200: #E5E7EB;
  --lat-gray-300: #D1D5DB;
  --lat-white: #FFFFFF;
  --lat-black: #1A1A1A;
  --lat-font-serif: 'Source Serif 4', Georgia, serif;
  --lat-font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --lat-max-width: 1200px;
  --lat-header-height: 80px;
  --lat-topbar-height: 40px;
  --lat-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --lat-radius: 8px;
  --lat-radius-lg: 16px;
  --lat-shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --lat-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --lat-shadow-lg: 0 12px 40px rgba(12,35,64,0.12);
}

/* ═══════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--lat-font-sans);
  font-size: 16px;
  color: var(--lat-slate);
  line-height: 1.6;
  background: var(--lat-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; transition: color var(--lat-transition); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ═══════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════ */
.lat-container {
  max-width: var(--lat-max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.lat-container--narrow { max-width: 800px; }

.lat-site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.lat-main { flex: 1; }

/* ═══════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--lat-font-serif);
  color: var(--lat-navy);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(34px, 4vw, 50px); font-weight: 700; }
h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; }
h3 { font-size: clamp(20px, 2.5vw, 24px); font-weight: 600; }
h4 { font-size: 17px; font-weight: 600; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

/* ═══════════════════════════════════════
   TOP BAR
   ═══════════════════════════════════════ */
.lat-topbar {
  background: var(--lat-navy-dark);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.lat-topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--lat-topbar-height);
}
.lat-topbar__left { display: flex; gap: 24px; align-items: center; }
.lat-topbar__link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.85);
}
.lat-topbar__link svg { fill: var(--lat-teal-light); }
.lat-topbar__link:hover { color: var(--lat-teal-light); }
.lat-topbar__right { display: flex; gap: 16px; align-items: center; }
.lat-topbar__right a { display: flex; }
.lat-topbar__right svg { fill: rgba(255,255,255,0.6); transition: fill var(--lat-transition); }
.lat-topbar__right a:hover svg { fill: var(--lat-teal-light); }

/* ═══════════════════════════════════════
   HEADER
   ═══════════════════════════════════════ */
.lat-header {
  background: var(--lat-white);
  height: var(--lat-header-height);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--lat-gray-200);
  box-shadow: var(--lat-shadow-sm);
}
.lat-header .lat-container {
  height: 100%;
}
.lat-header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 16px;
}
.lat-header__inner .lat-logo { margin-right: auto; }
.lat-header__inner .lat-nav { margin: 0 auto; }
.lat-header__inner .lat-header__cta { margin-left: auto; flex-shrink: 0; }

/* Logo */
.lat-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}
.lat-logo__icon {
  width: 42px;
  height: 42px;
  background: var(--lat-navy);
  border-radius: var(--lat-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lat-logo__icon svg { fill: var(--lat-teal-light); }
.lat-logo__text {
  font-family: var(--lat-font-serif);
  font-weight: 700;
  font-size: 20px;
  color: var(--lat-navy);
}
.lat-logo__text em {
  font-style: normal;
  color: var(--lat-teal);
}
.lat-logo--footer .lat-logo__text { color: var(--lat-white); }
.lat-logo--footer .lat-logo__text em { color: var(--lat-teal-light); }

/* WordPress custom-logo override */
.lat-logo .custom-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 100%;
}
.lat-logo .custom-logo-link img,
.lat-logo .custom-logo {
  display: block;
  max-height: 44px;
  width: auto;
  max-width: 200px;
  height: auto;
  object-fit: contain;
}

/* Footer logo image - dedicated upload (no filter) */
.lat-footer__logo-img {
  display: block;
  max-height: 44px;
  width: auto;
  max-width: 200px;
  height: auto;
  object-fit: contain;
}
/* Fallback: header logo used in footer gets white filter */
.lat-footer__logo-img--filtered {
  filter: brightness(0) invert(1);
}
.lat-logo--footer .custom-logo-link img,
.lat-logo--footer .custom-logo {
  max-height: 44px;
  width: auto;
  max-width: 200px;
  filter: brightness(0) invert(1);
}

/* Footer social icons */
.lat-footer__social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.lat-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: rgba(255,255,255,0.6);
  transition: all var(--lat-transition);
}
.lat-footer__social a:hover {
  background: var(--lat-teal);
  border-color: var(--lat-teal);
  color: var(--lat-white);
}
.lat-footer__social svg { fill: currentColor; }

/* Navigation */
.lat-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.lat-nav__item { position: relative; }
.lat-nav__item > a,
.lat-nav__toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  font-family: var(--lat-font-sans);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--lat-navy);
  border-radius: 6px;
  transition: all var(--lat-transition);
  white-space: nowrap;
}
.lat-nav__item > a:hover,
.lat-nav__toggle:hover { background: var(--lat-gray-50); color: var(--lat-teal); }
.lat-nav__chevron {
  transition: transform var(--lat-transition);
  color: var(--lat-slate-light);
}
.lat-nav__item:hover .lat-nav__chevron,
.lat-nav__item.is-open .lat-nav__chevron { transform: rotate(180deg); }

/* Dropdowns */
.lat-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--lat-white);
  border: 1px solid var(--lat-gray-200);
  border-radius: 12px;
  box-shadow: var(--lat-shadow-lg), 0 2px 8px rgba(12,35,64,0.06);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}
.lat-nav__item:hover > .lat-dropdown,
.lat-nav__item.is-open > .lat-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lat-dropdown__inner { display: flex; flex-direction: column; }
.lat-dropdown__link,
.lat-dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 450;
  color: var(--lat-slate);
  border-radius: 8px;
  transition: all var(--lat-transition);
}
.lat-dropdown__link:hover,
.lat-dropdown a:hover { background: var(--lat-teal-pale); color: var(--lat-teal); }

/* WordPress menu classes override */
.lat-nav .menu-item-has-children { position: relative; }
.lat-nav .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--lat-white);
  border: 1px solid var(--lat-gray-200);
  border-radius: 12px;
  box-shadow: var(--lat-shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 100;
  list-style: none;
}
.lat-nav .menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lat-nav .sub-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--lat-slate);
  border-radius: 8px;
}
.lat-nav .sub-menu a:hover { background: var(--lat-teal-pale); color: var(--lat-teal); }

/* Mobile Toggle */
.lat-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.lat-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--lat-navy);
  border-radius: 2px;
  transition: all var(--lat-transition);
}
.lat-mobile-toggle.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.lat-mobile-toggle.is-active span:nth-child(2) { opacity: 0; }
.lat-mobile-toggle.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.lat-mobile-menu {
  display: none;
  position: fixed;
  top: var(--lat-header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--lat-white);
  z-index: 999;
  overflow-y: auto;
  padding: 24px;
}
.lat-mobile-menu.is-open { display: block; }
.lat-mobile-menu__nav { display: flex; flex-direction: column; gap: 4px; }
.lat-mobile-menu__nav li a {
  display: block;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--lat-navy);
  border-radius: 8px;
}
.lat-mobile-menu__nav li a:hover { background: var(--lat-gray-50); }
.lat-mobile-menu__nav .sub-menu { padding-left: 16px; }
.lat-mobile-menu__nav .sub-menu a { font-size: 14px; font-weight: 400; color: var(--lat-slate); }
.lat-mobile-menu__cta { margin-top: 24px; width: 100%; justify-content: center; }

/* ═══════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════ */
.lat-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  font-family: var(--lat-font-sans);
  font-size: 14px;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--lat-radius);
  cursor: pointer;
  transition: all var(--lat-transition);
  white-space: nowrap;
  text-decoration: none;
}
.lat-btn--primary {
  background: var(--lat-teal);
  color: var(--lat-white);
  border-color: var(--lat-teal);
}
.lat-btn--primary:hover {
  background: var(--lat-teal-light);
  border-color: var(--lat-teal-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14,124,107,0.3);
  color: var(--lat-white);
}
.lat-btn--outline {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.2);
}
.lat-btn--outline:hover {
  background: rgba(255,255,255,0.14);
  color: var(--lat-white);
}
.lat-btn--white {
  background: var(--lat-white);
  color: var(--lat-teal);
}
.lat-btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  color: var(--lat-teal);
}
.lat-btn--lg { padding: 14px 28px; font-size: 15px; }
.lat-btn--full { width: 100%; justify-content: center; }
.lat-btn svg { width: 16px; height: 16px; fill: currentColor; }

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.lat-hero {
  background: linear-gradient(135deg, var(--lat-navy) 0%, var(--lat-navy-dark) 60%, #091E33 100%);
  position: relative;
  overflow: hidden;
}
.lat-hero__bg {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(14,124,107,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.lat-hero__grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
  position: relative;
  z-index: 1;
}
.lat-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(14,124,107,0.15);
  border: 1px solid rgba(14,124,107,0.25);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--lat-teal-light);
  margin-bottom: 24px;
}
.lat-hero__title {
  color: var(--lat-white) !important;
  margin-bottom: 20px;
  line-height: 1.15;
}
.lat-hero__title em { font-style: normal; color: var(--lat-teal-light); }
.lat-hero__sub {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
  max-width: 540px;
}
.lat-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.lat-hero__trust {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.lat-hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.lat-hero__trust-item svg { fill: var(--lat-teal-light); flex-shrink: 0; }
.lat-hero__trust-item strong { color: rgba(255,255,255,0.85); }

/* Hero Quote Card */
.lat-hero__card {
  background: var(--lat-white);
  border-radius: var(--lat-radius-lg);
  padding: 36px 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.lat-hero__card h3 {
  font-size: 20px;
  color: var(--lat-navy);
  margin-bottom: 6px;
}
.lat-hero__card-sub {
  font-size: 13.5px;
  color: var(--lat-slate-light);
  margin-bottom: 24px;
}

/* Steps */
.lat-steps { display: flex; flex-direction: column; gap: 20px; }
.lat-step { display: flex; gap: 14px; align-items: flex-start; }
.lat-step__num {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: var(--lat-teal-pale);
  color: var(--lat-teal);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.lat-step__text { font-size: 14px; color: var(--lat-slate); line-height: 1.5; padding-top: 4px; }
.lat-step__text strong { color: var(--lat-navy); }
.lat-hero__card .lat-btn { margin-top: 24px; border-radius: 10px; padding: 14px; font-size: 15px; }

/* ═══════════════════════════════════════
   ACCREDITATIONS BAR
   ═══════════════════════════════════════ */
.lat-accreditations {
  background: var(--lat-gray-50);
  border-bottom: 1px solid var(--lat-gray-200);
  padding: 24px 0;
}
.lat-accreditations__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.lat-accred {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--lat-slate-light);
  opacity: 0.7;
  transition: opacity var(--lat-transition);
}
.lat-accred:hover { opacity: 1; }
.lat-accred__icon {
  width: 36px;
  height: 36px;
  background: var(--lat-white);
  border: 1px solid var(--lat-gray-200);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lat-accred__icon svg { fill: var(--lat-navy); }

/* ═══════════════════════════════════════
   SECTION COMMON
   ═══════════════════════════════════════ */
.lat-section { padding: 80px 0; }
.lat-section--gray { background: var(--lat-gray-50); }
.lat-section--navy { background: var(--lat-navy); }
.lat-section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.lat-section__header p {
  font-size: 16px;
  color: var(--lat-slate-light);
  line-height: 1.65;
}
.lat-section--navy .lat-section__header h2 { color: var(--lat-white); }
.lat-section--navy .lat-section__header p { color: rgba(255,255,255,0.6); }

/* ═══════════════════════════════════════
   SERVICE CARDS
   ═══════════════════════════════════════ */
.lat-services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.lat-service-card {
  background: var(--lat-white);
  border: 1px solid var(--lat-gray-200);
  border-radius: var(--lat-radius-lg);
  padding: 40px 36px;
  transition: all var(--lat-transition);
  position: relative;
  overflow: hidden;
}
.lat-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--lat-teal);
  transform: scaleX(0);
  transition: transform var(--lat-transition);
}
.lat-service-card:hover { border-color: var(--lat-teal); box-shadow: 0 8px 30px rgba(14,124,107,0.08); }
.lat-service-card:hover::before { transform: scaleX(1); }
.lat-service-card__icon {
  width: 56px;
  height: 56px;
  background: var(--lat-teal-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.lat-service-card__icon svg { fill: var(--lat-teal); }
.lat-service-card h3 { margin-bottom: 12px; }
.lat-service-card p { font-size: 15px; line-height: 1.65; margin-bottom: 20px; }

/* Tags */
.lat-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.lat-tag {
  padding: 5px 12px;
  background: var(--lat-gray-50);
  border: 1px solid var(--lat-gray-200);
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--lat-slate);
}

/* Link Arrow */
.lat-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--lat-teal);
  transition: gap var(--lat-transition);
}
.lat-link-arrow:hover { gap: 10px; color: var(--lat-teal); }
.lat-link-arrow svg { fill: currentColor; }

/* ═══════════════════════════════════════
   WHY CARDS
   ═══════════════════════════════════════ */
.lat-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.lat-why-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--lat-white);
  border: 1px solid var(--lat-gray-200);
  border-radius: 14px;
  transition: all var(--lat-transition);
}
.lat-why-card:hover { transform: translateY(-4px); box-shadow: var(--lat-shadow-md); }
.lat-why-card__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  background: var(--lat-navy);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lat-why-card__icon svg { fill: var(--lat-teal-light); }
.lat-why-card h4 { margin-bottom: 8px; }
.lat-why-card p { font-size: 13.5px; color: var(--lat-slate-light); line-height: 1.6; }

/* ═══════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════ */
.lat-stats { padding: 60px 0; }
.lat-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.lat-stat h3 {
  font-size: 42px;
  font-weight: 700;
  color: var(--lat-teal);
  line-height: 1;
  margin-bottom: 8px;
}
.lat-stat p { font-size: 14px; font-weight: 500; color: var(--lat-slate-light); }

/* ═══════════════════════════════════════
   SECTOR CARDS
   ═══════════════════════════════════════ */
.lat-sectors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lat-sector-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  transition: all var(--lat-transition);
}
.lat-sector-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--lat-teal);
  transform: translateY(-2px);
  color: inherit;
}
.lat-sector-card__icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(14,124,107,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lat-sector-card__icon svg { fill: var(--lat-teal-light); }
.lat-sector-card h4 { font-family: var(--lat-font-sans); font-size: 15px; font-weight: 600; color: var(--lat-white); margin-bottom: 3px; }
.lat-sector-card p { font-size: 13px; color: rgba(255,255,255,0.5); margin: 0; }

/* ═══════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════ */
.lat-cta {
  background: linear-gradient(135deg, var(--lat-teal) 0%, #0a6558 100%);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.lat-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
}
.lat-cta h2 { color: var(--lat-white) !important; margin-bottom: 14px; position: relative; }
.lat-cta p { font-size: 16px; color: rgba(255,255,255,0.75); margin-bottom: 32px; position: relative; }

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.lat-footer {
  background: var(--lat-navy-dark);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 0;
}
.lat-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.lat-footer__brand { padding-right: 20px; }
.lat-footer__desc {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.5);
  margin: 16px 0 20px;
}
.lat-footer__contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  margin-bottom: 8px;
}
.lat-footer__contact-item svg { fill: var(--lat-teal-light); flex-shrink: 0; }
.lat-footer__contact-item a { color: rgba(255,255,255,0.6); }
.lat-footer__contact-item a:hover { color: var(--lat-teal-light); }
.lat-footer__heading {
  font-family: var(--lat-font-sans);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.lat-footer__links { list-style: none; padding: 0; margin: 0; }
.lat-footer__links li { margin: 0; }
.lat-footer__links a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.lat-footer__links a:hover { color: var(--lat-teal-light); }

/* Footer Bottom */
.lat-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}
.lat-footer__legal-links { display: flex; gap: 24px; }
.lat-footer__legal-links a { color: rgba(255,255,255,0.45); }
.lat-footer__legal-links a:hover { color: var(--lat-teal-light); }

/* ═══════════════════════════════════════
   PAGE CONTENT (for Elementor / WP content)
   ═══════════════════════════════════════ */
.lat-page { min-height: 40vh; }
.lat-page--full-width .lat-page__content { max-width: 100%; }
.lat-page__content { padding: 0; }

/* Single Post */
.lat-single { padding: 60px 0; }
.lat-single__header { margin-bottom: 40px; }
.lat-single__meta { font-size: 14px; color: var(--lat-teal); margin-bottom: 16px; }
.lat-single__title { margin-bottom: 24px; }
.lat-single__featured { border-radius: var(--lat-radius-lg); overflow: hidden; margin-top: 32px; }
.lat-single__content { font-size: 17px; line-height: 1.75; }
.lat-single__content h2 { margin-top: 2em; margin-bottom: 0.5em; }
.lat-single__content p { margin-bottom: 1.5em; }
.lat-single__content ul, .lat-single__content ol { margin: 1.5em 0; padding-left: 1.5em; }
.lat-single__content li { margin-bottom: 0.5em; list-style: disc; }

/* Blog listing */
.lat-content { padding: 60px 0; }
.lat-article { margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--lat-gray-200); }
.lat-article:last-child { border-bottom: none; }
.lat-article__title a { color: var(--lat-navy); }
.lat-article__title a:hover { color: var(--lat-teal); }
.lat-article__meta { font-size: 14px; color: var(--lat-slate-light); margin: 8px 0 16px; }

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */
@keyframes latFadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.lat-animate { animation: latFadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .lat-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .lat-hero__card { max-width: 480px; }
  .lat-services-grid { grid-template-columns: 1fr; }
  .lat-why-grid { grid-template-columns: repeat(2, 1fr); }
  .lat-sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .lat-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .lat-footer__brand { grid-column: 1 / -1; }
  .lat-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 768px) {
  .lat-topbar { display: none; }
  .lat-nav { display: none; }
  .lat-header__cta { display: none; }
  .lat-mobile-toggle { display: flex; }
  .lat-hero__grid { padding: 48px 0; }
  .lat-section { padding: 56px 0; }
  .lat-why-grid { grid-template-columns: 1fr; }
  .lat-sectors-grid { grid-template-columns: 1fr; }
  .lat-footer__grid { grid-template-columns: 1fr; }
  .lat-footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
  .lat-hero__trust { flex-direction: column; align-items: flex-start; gap: 12px; }
  .lat-accreditations__inner { gap: 24px; justify-content: flex-start; }
}

/* ═══════════════════════════════════════
   UTILITY CLASSES (for Elementor users)
   ═══════════════════════════════════════ */
.lat-text-navy { color: var(--lat-navy); }
.lat-text-teal { color: var(--lat-teal); }
.lat-text-white { color: var(--lat-white); }
.lat-text-slate { color: var(--lat-slate); }
.lat-bg-navy { background-color: var(--lat-navy); }
.lat-bg-teal { background-color: var(--lat-teal); }
.lat-bg-gray { background-color: var(--lat-gray-50); }
.lat-bg-white { background-color: var(--lat-white); }
.lat-font-serif { font-family: var(--lat-font-serif); }
.lat-font-sans { font-family: var(--lat-font-sans); }
.lat-rounded { border-radius: var(--lat-radius); }
.lat-rounded-lg { border-radius: var(--lat-radius-lg); }
.lat-shadow { box-shadow: var(--lat-shadow-md); }
.lat-shadow-lg { box-shadow: var(--lat-shadow-lg); }
