/**
 * Ogola Obella & Co. Advocates LLP — public frontend
 * Layout: giplast / RVSC header + hero; Elkit Consult section rhythm.
 * Color scale: Rift Valley Sports Club tokens.
 */
:root {
  --oo-primary: #0584bf;
  --oo-primary-rgb: 5, 132, 191;
  --oo-primary-dark: #046fa3;
  --oo-primary-light: #3da8d9;
  --oo-accent: #2caccf;
  --oo-accent-rgb: 44, 172, 207;
  --oo-accent-dark: #1e8fb0;
  --oo-accent-light: #7dd4ea;
  --oo-dark: #040e26;
  --oo-dark-soft: #653945;
  --oo-heading: #32353a;
  --oo-text: #52565e;
  --oo-muted: #70778b;
  --oo-bg: #f5f6f8;
  --oo-white: #ffffff;
  --oo-contrast: #ffffff;
  --oo-btn-radius: 0;
  --font-default: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Segoe UI", system-ui, -apple-system, sans-serif;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }

body.oo-public {
  font-family: var(--font-default);
  color: var(--oo-text);
  background: var(--oo-white);
  overflow-x: hidden;
}

a { color: var(--oo-primary); text-decoration: none; }
a:hover { color: var(--oo-primary-dark); }

:focus-visible {
  outline: 2px solid var(--oo-primary);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -10000px;
  top: 0;
  z-index: 10000;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  padding: 0;
  background: var(--oo-dark);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus,
.skip-link:focus-visible {
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  padding: 0.75rem 1.1rem;
  color: #fff;
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--oo-heading);
  font-weight: 600;
}

img { max-width: 100%; height: auto; }

.section { overflow: hidden; }

/* ── Header ── */
.header {
  color: var(--oo-text);
  transition: all 0.5s;
  z-index: 997;
  background-color: var(--oo-white);
  border-bottom: 3px solid var(--oo-primary);
}

.header .topbar {
  background: var(--oo-primary-dark);
  min-height: 40px;
  height: auto;
  padding: 0;
  font-size: 14px;
  transition: all 0.5s;
}

.header .topbar,
.header .topbar .contact-info,
.header .topbar .contact-info i,
.header .topbar .contact-info a,
.header .topbar .contact-info span {
  font-style: normal;
  color: #fff;
}

.header .topbar .contact-info a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 8px;
  color: #fff;
}

.header .topbar .contact-info a:hover,
.header .topbar .contact-info a:focus {
  color: #fff;
  text-decoration: underline;
}

.header .topbar .contact-phones .bi,
.header .topbar .contact-email .bi {
  margin-right: 4px;
  color: #fff;
}

.header .topbar .social-links a {
  color: #fff;
  line-height: 0;
  transition: 0.3s;
  margin-left: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

.header .topbar .social-links a:hover { color: var(--oo-contrast); }

.header .branding { min-height: 60px; padding: 10px 0; }

.header .header-branding-inner { gap: 1.5rem 2rem; }

.header .logo { flex-shrink: 0; margin-right: 1.5rem; }

.header .logo img {
  max-height: 64px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 1200px) {
  .header .logo { margin-right: 2.5rem; }
  .header .navbar { flex: 1; min-width: 0; margin-left: 1rem; margin-right: 1rem; }
  .header .navbar ul { justify-content: center; width: 100%; }
  .header .navbar > ul > li:first-child > a { padding-left: 0; }
}

.header .cta-btn,
.header .cta-btn:focus {
  display: inline-block;
  flex-shrink: 0;
  color: var(--oo-contrast);
  background: var(--oo-primary);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 25px;
  margin: 0;
  border-radius: var(--oo-btn-radius);
  border: none;
  transition: 0.3s;
  white-space: nowrap;
}

.header .cta-btn:hover,
.header .cta-btn.active {
  background: var(--oo-primary-dark);
  color: var(--oo-contrast);
}

@media (max-width: 1199px) {
  .header .cta-btn { padding: 6px 15px; }
}

body.scrolled .header { box-shadow: 0 0 18px rgba(0, 0, 0, 0.1); }

.navbar { padding: 0; }

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li { position: relative; }

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-size: 13.8px;
  font-weight: 600;
  color: #111;
  white-space: nowrap;
  text-transform: uppercase;
  transition: 0.3s;
}

.navbar a i { font-size: 12px; line-height: 0; margin-left: 5px; }

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a { color: var(--oo-primary); }

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0 0 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
  border-top: 2px solid var(--oo-primary);
  min-width: 300px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  color: #111;
}

.navbar .dropdown ul a:hover { color: var(--oo-primary); }

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.mobile-nav-toggle {
  display: none;
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--oo-primary-dark);
  cursor: pointer;
}

.mobile-nav-toggle i { font-size: 28px; line-height: 1; }

@media (max-width: 1199px) {
  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    margin-right: 10px;
    transition: color 0.3s;
  }

  .navbar ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navbar a,
  .navbar a:focus {
    color: var(--oo-heading);
    padding: 10px 20px;
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
  }

  .navbar a i {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(var(--oo-primary-rgb), 0.12);
  }

  .navbar .dropdown ul {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    margin: 10px 20px;
    border-top: none;
  }

  .navbar .dropdown > .dropdown-active { display: block; background-color: rgba(4, 14, 38, 0.03); }

  body.mobile-nav-active { overflow: hidden; }

  body.mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    top: 8px;
    right: 8px;
    margin-right: 0;
    z-index: 9999;
  }

  body.mobile-nav-active .mobile-nav-toggle i { font-size: 32px; }

  body.mobile-nav-active .navbar {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(4, 14, 38, 0.85);
    transition: 0.3s;
  }

  body.mobile-nav-active .navbar > ul { display: block; }
}

/* ── Buttons ── */
.btn-get-started {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 2rem;
  background: var(--oo-primary);
  color: #fff !important;
  font-weight: 600;
  line-height: 1.25;
  border: 2px solid var(--oo-primary);
  border-radius: var(--oo-btn-radius) !important;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-get-started:hover {
  background: var(--oo-primary-dark);
  border-color: var(--oo-primary-dark);
  color: #fff !important;
}

.btn-get-started.btn-outline-hero {
  background: transparent;
  border-color: #fff;
}

.btn-get-started.btn-outline-hero:hover {
  background: #fff;
  color: var(--oo-primary-dark) !important;
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 3rem;
  padding: 0 1.75rem;
  background: var(--oo-accent);
  color: #fff !important;
  font-weight: 600;
  border: 2px solid var(--oo-accent);
  border-radius: var(--oo-btn-radius);
  transition: all 0.3s;
}

.btn-accent:hover {
  background: var(--oo-accent-dark);
  border-color: var(--oo-accent-dark);
  color: #fff !important;
}

.oo-link-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--oo-primary);
  transition: color 0.3s, gap 0.3s;
}

.oo-link-cta:hover {
  color: var(--oo-primary-dark);
  gap: 12px;
}

/* ── Hero ── */
.hero { overflow-x: hidden; padding: 0; }

.hero .carousel {
  width: 100%;
  min-height: 90vh;
  margin: 0;
  position: relative;
}

.hero .carousel-inner {
  position: relative;
  width: 100%;
  min-height: 90vh;
}

.hero .carousel.carousel-fade .carousel-item {
  opacity: 0;
  transition-property: opacity;
  transition-duration: 0.9s;
  transition-timing-function: ease-in-out;
  display: block;
  float: none;
}

.hero .carousel.carousel-fade .carousel-item.active {
  opacity: 1;
  z-index: 1;
}

.hero .carousel-item {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 90vh;
  overflow: hidden;
  z-index: 0;
}

.hero .carousel-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(4, 14, 38, 0.72);
  z-index: 1;
}

.hero .hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 90vh;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  will-change: transform;
}

.hero picture.hero-slide-bg { display: block; }

.hero .hero-slide-bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.hero .carousel-item.active .hero-slide-bg.is-ken-burns {
  animation: ooHeroKenBurns 8s ease-out forwards;
}

@keyframes ooHeroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero .carousel.carousel-fade .carousel-item { transition: none; }
  .hero .hero-slide-bg.is-ken-burns {
    animation: none !important;
    transform: scale(1) !important;
  }
}

.hero .info {
  position: absolute;
  inset: 0;
  z-index: 2;
  text-align: left;
  padding-bottom: 80px;
}

.hero .info h1,
.hero .info p,
.hero .hero-btns { text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); }

.hero .eyebrow {
  color: var(--oo-accent-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero .info h1 {
  color: #fff;
  margin-bottom: 30px;
  padding-bottom: 30px;
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  position: relative;
  text-align: left;
}

.hero .info h1::after {
  content: '';
  position: absolute;
  display: block;
  width: 80px;
  height: 4px;
  background: var(--oo-primary);
  left: 0;
  bottom: 0;
}

.hero .info h1 span { color: #d7f6ff; }

.hero .info p {
  color: #f3f6fa;
  font-size: 18px;
  max-width: 560px;
  margin-bottom: 24px;
}

.hero .carousel-control-prev { justify-content: flex-start; }
.hero .carousel-control-next { justify-content: flex-end; }

@media (min-width: 640px) {
  .hero .carousel-control-prev { padding-left: 15px; }
  .hero .carousel-control-next { padding-right: 15px; }
}

.hero .carousel-control-next-icon,
.hero .carousel-control-prev-icon {
  font-size: 26px;
  line-height: 0;
  background: rgba(4, 14, 38, 0.55);
  color: #fff;
  border-radius: 50px;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  z-index: 3;
  transition: 0.3s;
  opacity: 1;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover { opacity: 1; }

.hero .carousel-indicators {
  z-index: 3;
  bottom: 28px;
  margin-bottom: 0;
}

.hero .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  margin: 0 6px;
}

.hero .carousel-indicators .active { background-color: var(--oo-primary); }

@media (max-width: 768px) {
  .hero .info { padding: 0 24px 100px; }
  .hero .info h1 {
    color: #fff;
    font-size: 28px;
    line-height: 1.25;
  }
  .hero .info h1 span { color: #d7f6ff; }
  .hero .info p { font-size: 16px; }
  .hero .carousel-control-prev,
  .hero .carousel-control-next {
    display: none;
  }
}

/* Overlapping hero cards */
.hero-overlap {
  position: relative;
  z-index: 4;
  margin-top: -90px;
  padding-bottom: 20px;
}

.hero-overlap-card {
  background: var(--oo-dark);
  color: #fff;
  padding: 28px 26px;
  height: 100%;
  box-shadow: 0 16px 40px rgba(4, 14, 38, 0.22);
}

.hero-overlap-card.alt { background: var(--oo-primary); }

.hero-overlap-card .icon {
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--oo-accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}

.hero-overlap-card.alt .icon { color: #fff; }

.hero-overlap-card h2,
.hero-overlap-card h3 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-overlap-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.55;
}

/* ── Section helpers ── */
.oo-section { padding: 90px 0; }

.oo-section-alt { background: var(--oo-bg); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--oo-primary);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--oo-accent);
  display: block;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-lead {
  color: var(--oo-muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 640px;
}

.bg-watermark {
  position: absolute;
  top: -12px;
  left: 0;
  font-family: var(--font-heading);
  font-size: clamp(56px, 10vw, 88px);
  font-weight: 900;
  line-height: 1;
  color: rgba(var(--oo-primary-rgb), 0.07);
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: -2px;
}

/* ── About ── */
.about .about-gallery {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: 0 72px 88px 0;
}

.about .about-gallery-primary {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(4, 14, 38, 0.16);
}

.about .about-gallery-primary img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.about .about-gallery-secondary {
  position: absolute;
  right: 0;
  bottom: 28px;
  z-index: 2;
  width: 48%;
  max-width: 230px;
  margin: 0;
  overflow: hidden;
  border: 8px solid var(--oo-white);
  box-shadow: 0 14px 32px rgba(4, 14, 38, 0.2);
}

.about .about-gallery-secondary img {
  width: 100%;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.about-badge {
  position: absolute;
  left: 18px;
  bottom: 0;
  z-index: 3;
  background: var(--oo-dark);
  color: #fff;
  padding: 22px 26px 18px;
  min-width: 150px;
  text-align: left;
  box-shadow: 0 12px 28px rgba(4, 14, 38, 0.22);
}

.about-badge::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--oo-accent);
}

.about-badge .badge-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.about-badge .badge-text {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
}

.about .section-label::before { display: none; }

.about .section-label::after {
  content: '';
  width: 36px;
  height: 3px;
  background: var(--oo-accent);
  display: block;
  margin-left: 4px;
}

.about .lead-text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--oo-text);
  margin-bottom: 18px;
}

.about-quote {
  margin: 0 0 24px;
  padding: 4px 0 4px 18px;
  border-left: 4px solid var(--oo-accent);
  color: var(--oo-heading);
  font-size: 16px;
  font-style: italic;
  line-height: 1.7;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 8px;
}

.about-feature .icon {
  width: 48px;
  height: 48px;
  background: rgba(var(--oo-accent-rgb), 0.12);
  color: var(--oo-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.about-feature h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-feature p {
  margin: 0;
  font-size: 14px;
  color: var(--oo-muted);
  line-height: 1.55;
}

@media (max-width: 991.98px) {
  .about .about-gallery {
    padding: 0 56px 80px 0;
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .about .about-gallery {
    padding: 0 0 72px;
  }

  .about .about-gallery-primary img {
    aspect-ratio: 4 / 5;
  }

  .about .about-gallery-secondary {
    width: 58%;
    max-width: 200px;
    right: 12px;
    bottom: 48px;
    border-width: 6px;
  }

  .about-badge {
    left: 12px;
    bottom: 0;
    min-width: 132px;
    padding: 16px 18px 14px;
  }
}

/* ── Practice areas ── */
.practice-card {
  background: var(--oo-white);
  padding: 28px 24px;
  height: 100%;
  box-shadow: 0 8px 28px rgba(4, 14, 38, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.practice-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(var(--oo-primary-rgb), 0.14);
}

.practice-card.featured {
  background: var(--oo-dark);
  color: #fff;
}

.practice-card.featured h3,
.practice-card.featured p { color: #fff; }

.practice-card .icon {
  width: 54px;
  height: 54px;
  background: rgba(var(--oo-primary-rgb), 0.12);
  color: var(--oo-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.practice-card.featured .icon {
  background: rgba(255, 255, 255, 0.12);
  color: var(--oo-accent-light);
}

.practice-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.practice-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--oo-muted);
  margin-bottom: 16px;
}

.practice-card .oo-link-cta { font-size: 14px; }

.practice-card.featured .oo-link-cta {
  color: var(--oo-accent-light);
}

.practice-card.featured .oo-link-cta:hover {
  color: #fff;
}

/* ── Process ── */
.process-label::before { display: none; }

.process-label::after {
  content: '';
  width: 36px;
  height: 3px;
  background: var(--oo-accent);
  display: block;
  margin-left: 4px;
}

.process-intro {
  font-size: 15px;
  line-height: 1.7;
  color: var(--oo-muted);
}

.process-card {
  background: var(--oo-white);
  padding: 32px 28px 28px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(4, 14, 38, 0.06);
  border-bottom: 4px solid var(--oo-accent);
}

.process-card .icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 1.75rem;
  color: var(--oo-accent);
  margin-bottom: 18px;
}

.process-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.process-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--oo-muted);
}

.process-card.featured {
  background: var(--oo-dark);
}

.process-card.featured h3,
.process-card.featured p { color: #fff; }

.process-card.featured p { color: rgba(255, 255, 255, 0.82); }

.process-card.featured .icon { color: #fff; }

/* ── Why choose / USP ── */
.usp {
  position: relative;
  background: #eef4f8;
  overflow: hidden;
}

.usp-media {
  min-height: 420px;
  background-size: cover;
  background-position: center;
}

.usp-content {
  padding: 80px 12% 80px 48px;
}

.usp .section-label { color: var(--oo-primary); }
.usp .section-label::before { background: var(--oo-accent); }
.usp .section-title { color: var(--oo-heading); }
.usp .lead-text { color: var(--oo-text); }

.usp-feature {
  display: flex;
  gap: 14px;
  margin-top: 22px;
}

.usp-feature .icon {
  width: 46px;
  height: 46px;
  background: rgba(var(--oo-primary-rgb), 0.12);
  color: var(--oo-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.usp-feature h3,
.usp-feature h4 {
  color: var(--oo-heading);
  font-size: 1rem;
  margin-bottom: 4px;
}

.usp-feature p {
  margin: 0;
  color: var(--oo-muted);
  font-size: 14px;
}

@media (min-width: 992px) {
  .usp-media { clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%); }
}

@media (max-width: 991.98px) {
  .usp-content { padding: 50px 1.5rem; }
}

/* ── Inner page hero ── */
.page-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 110px 0 90px;
  color: #fff;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(4, 14, 38, 0.78);
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero .breadcrumb {
  margin-bottom: 16px;
  background: none;
  padding: 0;
}

.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a,
.page-hero .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.page-hero .breadcrumb-item a:hover { color: #fff; }

.page-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.45);
  content: '/';
}

.page-hero .breadcrumb-item.active { color: #fff; }

.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p {
  max-width: 42rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ── About page extras ── */
.about-facts { margin-top: 8px; }

.about-fact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
  color: var(--oo-text);
  font-size: 15px;
}

.about-fact i {
  width: 28px;
  height: 28px;
  background: var(--oo-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}

.mission-band {
  margin-top: 56px;
  background: var(--oo-bg);
  padding: 40px 44px;
  border-left: 4px solid var(--oo-accent);
}

.mission-band blockquote {
  margin: 0;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.75;
  color: var(--oo-heading);
}

.competency-card,
.office-card {
  background: var(--oo-white);
  padding: 32px 28px 28px;
  height: 100%;
  border-bottom: 4px solid var(--oo-accent);
  box-shadow: 0 10px 30px rgba(4, 14, 38, 0.06);
}

.competency-card .icon,
.office-card .icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 1.75rem;
  color: var(--oo-accent);
  margin-bottom: 16px;
}

.competency-card h3,
.office-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.competency-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.competency-card li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--oo-muted);
}

.competency-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--oo-accent);
}

.competency-card.featured,
.office-card.featured {
  background: var(--oo-dark);
}

.competency-card.featured h3,
.office-card.featured h3 { color: #fff; }

.competency-card.featured li,
.office-card.featured p { color: rgba(255, 255, 255, 0.82); }

.competency-card.featured .icon,
.office-card.featured .icon { color: var(--oo-accent-light); }

.office-card p {
  margin-bottom: 8px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--oo-muted);
}

/* ── Team ── */
.team { background: var(--oo-white); }

.team-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.05fr 1.05fr;
  gap: 28px;
  align-items: stretch;
}

.team-member {
  position: relative;
  min-height: 480px;
  overflow: hidden;
}

.team-member img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-member.featured::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 14, 38, 0.08) 28%, rgba(4, 14, 38, 0.88) 100%);
}

.team-member-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 28px 20px 26px;
  text-align: center;
  color: #fff;
}

.team-member-info h3 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.3;
}

.team-member-info span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.team-social a {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--oo-accent);
  color: #fff !important;
  font-size: 14px;
}

.team-social a:hover { background: var(--oo-accent-dark); }

.team-scene {
  margin: 0;
  min-height: 480px;
  overflow: hidden;
}

.team-scene img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 4px 8px 8px;
}

.team-copy .section-label::before { display: none; }

.team-copy .section-label::after {
  content: '';
  width: 36px;
  height: 3px;
  background: var(--oo-accent);
  display: block;
  margin-left: 4px;
}

.team-copy .lead-text {
  color: var(--oo-muted);
  margin-bottom: 28px;
}

@media (max-width: 991.98px) {
  .team-grid { grid-template-columns: 1fr 1fr; }

  .team-copy {
    grid-column: 1 / -1;
    padding: 12px 0 0;
  }
}

@media (max-width: 575.98px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-member,
  .team-scene { min-height: 420px; }
  .team-scene img { min-height: 420px; }
}

@media (max-width: 767px) {
  .page-hero { padding: 80px 0 64px; }
  .mission-band { padding: 28px 22px; }
}

/* ── Stats ── */
.stats-bar {
  background: var(--oo-dark);
  padding: 48px 0;
}

.stat-item { text-align: center; color: #fff; }

.stat-item .purecounter,
.stat-item .stat-value {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-item .stat-suffix {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--oo-accent-light);
}

.stat-item p {
  margin: 10px 0 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* ── Consultation CTA ── */
.consult-cta {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 100px 0;
}

.consult-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(4, 14, 38, 0.78);
}

.consult-cta .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.consult-cta h2 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
}

.consult-cta p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto 28px;
}

.consult-cta .d-flex { justify-content: center; }

/* ── FAQ + contact ── */
.contact-panel {
  background: var(--oo-dark);
  color: #fff;
  padding: 36px 32px;
  height: 100%;
}

.contact-panel h2,
.contact-panel h3 { color: #fff; margin-bottom: 18px; }

.contact-panel .item {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-panel .item i {
  color: var(--oo-primary-light);
  font-size: 1.15rem;
  margin-top: 3px;
}

.contact-panel .item span,
.contact-panel .item a { color: rgba(255, 255, 255, 0.82); }

.contact-panel .item a:hover { color: var(--oo-accent-light); }

/* ── Letterhead contact strip ── */
.contact-strip {
  position: relative;
  background: var(--oo-white);
  border: 1px solid rgba(4, 14, 38, 0.08);
  padding: 8px 4px;
}

.contact-strip::before,
.contact-strip::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: rgba(var(--oo-primary-rgb), 0.35);
  border-style: solid;
  pointer-events: none;
}

.contact-strip::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.contact-strip::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

.contact-strip-item {
  text-align: center;
  padding: 28px 18px;
  position: relative;
}

@media (min-width: 992px) {
  .contact-strip-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 22%;
    right: 0;
    width: 1px;
    height: 56%;
    background: rgba(4, 14, 38, 0.12);
  }
}

.contact-strip-item i {
  display: block;
  font-size: 1.65rem;
  color: var(--oo-primary);
  margin-bottom: 12px;
}

.contact-strip-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--oo-muted);
  letter-spacing: 0.02em;
}

.contact-strip-item a { color: var(--oo-heading); }
.contact-strip-item a:hover { color: var(--oo-primary); }

.oo-phone-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.contact-strip-item .oo-phone-stack {
  align-items: center;
}

.oo-phone-stack a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 6px 4px;
}

.contact-panel .item .oo-phone-stack {
  margin-top: 4px;
}

.faq .accordion-item {
  border: 0;
  border-bottom: 1px solid rgba(4, 14, 38, 0.08);
  background: transparent;
}

.faq .accordion-button {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--oo-heading);
  background: transparent;
  box-shadow: none;
  padding: 18px 0;
}

.faq .accordion-button:not(.collapsed) { color: var(--oo-primary); }

.faq .accordion-button::after { filter: none; }

.faq .accordion-body {
  padding: 0 0 18px;
  color: var(--oo-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ── FAQ page ── */
.faq-dark {
  background: var(--oo-dark);
  padding: 90px 0;
}

.faq-dark .section-label { color: var(--oo-accent-light); }
.faq-dark .section-label::before { background: var(--oo-accent); }
.faq-dark .section-title { color: #fff; }

.faq-dark-lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 28px;
}

.faq-dark-media {
  position: relative;
  padding-bottom: 72px;
}

.faq-dark-media img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.faq-dark-card {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(88%, 320px);
  background: rgba(5, 132, 191, 0.94);
  color: #fff;
  padding: 22px 22px 20px;
}

.faq-dark-card h2,
.faq-dark-card h3 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.faq-dark-card p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.faq-dark-card a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  margin-top: 8px;
}

.faq-dark-card a:hover { color: var(--oo-accent-light); }

.faq-accordion-dark .accordion-item {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  margin-bottom: 12px;
}

.faq-accordion-dark .accordion-button {
  font-family: var(--font-heading);
  font-weight: 600;
  color: #fff;
  background: transparent;
  box-shadow: none;
  padding: 16px 18px;
}

.faq-accordion-dark .accordion-button:not(.collapsed) {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.faq-accordion-dark .accordion-button::after {
  filter: brightness(0) invert(1);
}

.faq-accordion-dark .accordion-body {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.7;
  padding: 0 18px 18px;
}

.faq-accordion-light .accordion-item {
  border: 0;
  border-bottom: 1px solid rgba(4, 14, 38, 0.1);
  background: transparent;
}

.faq-accordion-light .accordion-button {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--oo-heading);
  background: transparent;
  box-shadow: none;
  padding: 16px 18px;
}

.faq-accordion-light .accordion-button:not(.collapsed) {
  color: #fff;
  background: var(--oo-primary);
}

.faq-accordion-light .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.faq-accordion-light .accordion-body {
  color: var(--oo-muted);
  font-size: 15px;
  line-height: 1.7;
  padding: 16px 18px 18px;
  background: var(--oo-bg);
}

.faq-ask-card {
  background: var(--oo-dark);
  color: #fff;
  padding: 32px 26px;
  height: 100%;
}

.faq-ask-card h3 {
  color: #fff;
  margin-bottom: 8px;
}

.faq-ask-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 22px;
}

.faq-ask-card input,
.faq-ask-card textarea {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 14px;
}

.faq-ask-card input::placeholder,
.faq-ask-card textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.faq-ask-card input:focus,
.faq-ask-card textarea:focus {
  outline: 1px solid var(--oo-accent);
  background: rgba(255, 255, 255, 0.12);
}

.blog-card-photo {
  position: relative;
}

.blog-card-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.blog-badge,
.blog-date {
  position: absolute;
  top: 14px;
  background: var(--oo-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
}

.blog-badge { left: 14px; }
.blog-date { right: 14px; }

.insight-featured-media {
  position: relative;
  display: block;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(4, 14, 38, 0.16);
}

.insight-featured-media img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.insight-featured-media .blog-badge {
  top: 18px;
  left: 18px;
}

.insight-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.insight-filter {
  border: 1px solid rgba(4, 14, 38, 0.12);
  background: var(--oo-white);
  color: var(--oo-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 16px;
  cursor: pointer;
  transition: 0.2s;
}

.insight-filter:hover,
.insight-filter.is-active {
  background: var(--oo-primary);
  border-color: var(--oo-primary);
  color: #fff;
}

.insight-item.is-hidden { display: none; }

.contact-office {
  background: var(--oo-white);
  box-shadow: 0 10px 30px rgba(4, 14, 38, 0.06);
  padding: 24px 24px 0;
  height: 100%;
}

.contact-office h2,
.contact-office h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.contact-office p {
  color: var(--oo-muted);
  font-size: 14.5px;
  margin-bottom: 16px;
}

.contact-map {
  margin: 0 -24px;
  overflow: hidden;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
}

.contact-form-card {
  background: var(--oo-white);
  box-shadow: 0 10px 30px rgba(4, 14, 38, 0.06);
  padding: 36px 32px;
  height: 100%;
}

.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  border: 1px solid rgba(4, 14, 38, 0.12);
  background: var(--oo-bg);
  color: var(--oo-heading);
  padding: 12px 14px;
  font-size: 14px;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
  outline: 1px solid var(--oo-primary);
  background: var(--oo-white);
}

@media (max-width: 575.98px) {
  .contact-form-card { padding: 28px 20px; }
}

@media (max-width: 991.98px) {
  .faq-dark { padding: 70px 0; }
}

/* ── Blog ── */
.blog-card {
  background: var(--oo-white);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(4, 14, 38, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(var(--oo-primary-rgb), 0.14);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.blog-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }

.blog-card .meta {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--oo-primary);
  font-weight: 700;
  margin-bottom: 8px;
}

.blog-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.blog-card p {
  color: var(--oo-muted);
  font-size: 14.5px;
  line-height: 1.6;
  flex: 1;
}

/* ── Insight article ── */
.article-media {
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(4, 14, 38, 0.14);
  margin-bottom: 28px;
}

.article-media img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-media .blog-badge {
  top: 18px;
  left: 18px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(4, 14, 38, 0.08);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--oo-muted);
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.article-meta i { color: var(--oo-primary); }

.article-body h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 2rem 0 0.85rem;
}

.article-body p,
.article-body li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--oo-text);
}

.article-body p { margin-bottom: 1.1rem; }

.article-body ul {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
}

.article-body li { margin-bottom: 0.45rem; }

.article-quote {
  margin: 2rem 0;
  padding: 28px 32px;
  background: var(--oo-dark);
  color: #fff;
  position: relative;
}

.article-quote p {
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.6;
  margin: 0 0 10px;
}

.article-quote cite {
  color: var(--oo-accent-light);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-note {
  background: var(--oo-bg);
  border-left: 4px solid var(--oo-primary);
  padding: 18px 20px;
  margin: 1.75rem 0;
  font-size: 14.5px;
  color: var(--oo-muted);
}

.article-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(4, 14, 38, 0.08);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.article-tags a,
.article-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(4, 14, 38, 0.12);
  color: var(--oo-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-tags a:hover,
.article-share a:hover {
  background: var(--oo-primary);
  border-color: var(--oo-primary);
  color: #fff;
}

.article-share {
  display: flex;
  gap: 8px;
  align-items: center;
}

.article-share a {
  width: 38px;
  padding: 0;
}

.article-author {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 32px;
  padding: 22px;
  background: var(--oo-bg);
}

.article-author img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  flex-shrink: 0;
}

.article-author h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.article-author p {
  margin: 0;
  font-size: 14.5px;
  color: var(--oo-muted);
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.article-nav a {
  display: block;
  padding: 18px 20px;
  background: var(--oo-white);
  box-shadow: 0 8px 24px rgba(4, 14, 38, 0.06);
  color: var(--oo-heading);
}

.article-nav a:hover { color: var(--oo-primary); }

.article-nav span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--oo-primary);
  margin-bottom: 6px;
}

.article-nav strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

.article-nav .is-next { text-align: right; }

.article-sidebar .sidebar-widget {
  background: var(--oo-white);
  box-shadow: 0 10px 30px rgba(4, 14, 38, 0.06);
  padding: 26px 24px;
  margin-bottom: 24px;
}

.article-sidebar h3 {
  font-size: 1.05rem;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--oo-primary);
}

.sidebar-search {
  display: flex;
}

.sidebar-search input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(4, 14, 38, 0.12);
  background: var(--oo-bg);
  padding: 11px 12px;
  font-size: 14px;
}

.sidebar-search button {
  width: 48px;
  border: 0;
  background: var(--oo-primary);
  color: #fff;
}

.sidebar-cats a,
.sidebar-posts a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(4, 14, 38, 0.06);
  color: var(--oo-heading);
  font-size: 14.5px;
}

.sidebar-cats a:last-child,
.sidebar-posts a:last-child { border-bottom: 0; }

.sidebar-cats a:hover,
.sidebar-posts a:hover { color: var(--oo-primary); }

.sidebar-posts a span {
  color: var(--oo-muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.sidebar-cta {
  background: var(--oo-dark) !important;
  color: #fff;
}

.sidebar-cta h3 {
  color: #fff;
  border-bottom-color: var(--oo-accent);
}

.sidebar-cta p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.sidebar-cta .oo-link-cta { color: var(--oo-accent-light); }
.sidebar-cta .oo-link-cta:hover { color: #fff; }

@media (max-width: 575.98px) {
  .article-nav { grid-template-columns: 1fr; }
  .article-nav .is-next { text-align: left; }
  .article-author { flex-direction: column; align-items: flex-start; }
}

/* ── Footer ── */
#oo-footer { color: #f2f4f7; }

#oo-footer a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.25s ease;
}

#oo-footer a:hover { color: var(--oo-accent-light); }

.oo-footer-top {
  background: var(--oo-dark);
  padding: 4rem 0 3rem;
}

.oo-footer-bottom {
  background: #020812;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  font-size: 0.875rem;
}

.oo-footer-logo { display: inline-block; margin-bottom: 1.25rem; }

.oo-footer-logo img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
  background: #fff;
  padding: 6px 10px;
  border-radius: 4px;
}

.oo-footer-about {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #e8ecf2;
}

#oo-footer h2,
#oo-footer h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.oo-footer-links-col h2,
.oo-footer-links-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding-bottom: 0.65rem;
}

.oo-footer-links-col h2::after,
.oo-footer-links-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--oo-accent);
}

#oo-footer .footer-links { list-style: none; padding: 0; margin: 0; }

#oo-footer .footer-links li {
  padding: 5px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.875rem;
}

#oo-footer .footer-links i {
  color: var(--oo-primary-light);
  font-size: 0.75rem;
  margin-top: 5px;
}

.oo-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  line-height: 1.55;
  margin-bottom: 0.65rem;
}

.oo-footer-contact li i {
  color: var(--oo-primary-light);
  margin-top: 2px;
}

.oo-footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.25rem; }

.oo-footer-social a {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--oo-btn-radius);
  background: var(--oo-primary);
  color: var(--oo-white) !important;
  transition: background 0.25s ease, transform 0.25s ease;
}

.oo-footer-social a:hover {
  background: var(--oo-accent);
  transform: translateY(-2px);
}

.oo-footer-copyright { color: #f2f4f7; margin: 0; }

.oo-footer-disclaimer {
  color: #d5dbe3;
  font-size: 0.875rem;
  line-height: 1.55;
  max-width: 52rem;
}

/* ── Services page ── */
.services-intro-media {
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(4, 14, 38, 0.16);
}

.services-intro-media img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.services-intro-icon,
.service-media-icon,
.services-band-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--oo-accent);
  color: #fff;
}

.services-intro-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  transform: translate(-50%, -50%);
  font-size: 1.6rem;
  box-shadow: 0 10px 28px rgba(4, 14, 38, 0.28);
}

.service-media-card {
  height: 100%;
  background: transparent;
}

.service-media-photo {
  position: relative;
  overflow: hidden;
}

.service-media-photo img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.service-media-icon {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  z-index: 2;
}

.service-media-body {
  position: relative;
  z-index: 1;
  margin: -48px 16px 0;
  padding: 22px 20px 20px;
  background: var(--oo-white);
  box-shadow: 0 12px 32px rgba(4, 14, 38, 0.1);
}

.service-media-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-media-body p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--oo-muted);
}

.service-media-card:hover .service-media-body {
  box-shadow: 0 16px 36px rgba(var(--oo-primary-rgb), 0.16);
}

.services-band {
  position: relative;
  min-height: 220px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(4, 14, 38, 0.45);
}

.services-band .container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.services-band-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  font-size: 2rem;
  box-shadow: 0 12px 32px rgba(4, 14, 38, 0.28);
}

.practice-media {
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(4, 14, 38, 0.14);
  margin-bottom: 28px;
}

.practice-media img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.practice-media .service-media-icon {
  top: 18px;
  left: 18px;
  width: 52px;
  height: 52px;
  font-size: 1.25rem;
}

.practice-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.article-body ul.practice-checks {
  padding-left: 0;
  list-style: none;
}

.practice-checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--oo-text);
  margin: 0;
}

.practice-checks i {
  color: var(--oo-primary);
  margin-top: 3px;
  flex-shrink: 0;
}

.sidebar-services a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(4, 14, 38, 0.06);
  color: var(--oo-heading);
  font-size: 14.5px;
  font-weight: 600;
}

.sidebar-services a:last-child { border-bottom: 0; }

.sidebar-services a i {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--oo-bg);
  color: var(--oo-primary);
  flex-shrink: 0;
}

.sidebar-services a:hover,
.sidebar-services a.is-active {
  color: var(--oo-primary);
}

.sidebar-services a.is-active i {
  background: var(--oo-primary);
  color: #fff;
}

.practice-related {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
  padding: 16px;
  background: var(--oo-bg);
  text-decoration: none;
}

.practice-related:hover strong { color: var(--oo-primary); }

.practice-related img {
  width: 96px;
  height: 72px;
  object-fit: cover;
  flex-shrink: 0;
}

.practice-related span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--oo-primary);
  margin-bottom: 4px;
}

.practice-related strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--oo-heading);
}

@media (max-width: 575.98px) {
  .practice-checks { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
  .services-intro-media img { aspect-ratio: 4 / 5; }
  .service-media-body { margin: -40px 12px 0; }
}

/* ── Scroll top ── */
.oo-scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 996;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--oo-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s;
}

.oo-scroll-top.active { opacity: 1; visibility: visible; }
.oo-scroll-top:hover { background: var(--oo-primary-dark); color: #fff; }

@media (max-width: 767px) {
  .oo-section { padding: 70px 0; }
  .hero-overlap { margin-top: -40px; }
}

/* Bot honeypot: off-screen, not display:none (some bots skip that) */
.oo-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
