/* Katelyn Laskosky - warm editorial treatment over the consulting-pro template. */
:root {
  --background-color: #fbf8f4;
  --surface-color: #ffffff;
  --default-color: #4a5158;
  --heading-color: #141a20;
  --accent-color: #c0632e;
  --contrast-color: #ffffff;
  --ink: #141a20;
  --ink-soft: #4a5158;
  --line-color: rgba(20, 26, 32, 0.12);
  --default-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --heading-font: "Fraunces", Georgia, "Times New Roman", serif;
  --nav-font: "Inter", system-ui, -apple-system, sans-serif;
  --nav-color: rgba(251, 248, 244, 0.78);
  --nav-hover-color: #e08a52;
}

:root {
  --nav-hover-color: #e08a52;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #141a20;
  --nav-dropdown-hover-color: #c0632e;
}

.light-background {
  --background-color: #f4efe8;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #141a20;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #e08a52;
  --surface-color: #1d242c;
  --contrast-color: #141a20;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display-title {
  font-family: var(--heading-font);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--heading-color);
}

h1 {
  line-height: 1.08;
}

p, li, .lead {
  font-family: var(--default-font);
}

.lead {
  color: var(--ink-soft);
}

.btn-primary,
.btn-primary:focus {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #ffffff;
  font-family: var(--default-font);
  font-weight: 600;
  border-radius: 2px;
  padding: 0.85rem 1.6rem;
}

.btn-primary:hover {
  background-color: #a55223;
  border-color: #a55223;
  color: #ffffff;
}

.stats-item span,
.purecounter {
  font-family: var(--heading-font);
  color: var(--accent-color);
}

.section .description-title,
.panel-kicker,
.footer-kicker {
  font-family: var(--default-font);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
}

/* Contact panel used in the consultation section. */
.kl-panel {
  background: var(--surface-color);
  border: 1px solid var(--line-color);
  border-radius: 3px;
  padding: 2rem;
}

.kl-panel h3 {
  margin-bottom: 0.6rem;
}

.kl-panel p {
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}

.kl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.kl-actions .btn {
  flex: 1 1 auto;
  text-align: center;
}

.kl-btn-secondary {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--default-font);
  font-weight: 600;
  border-radius: 2px;
  padding: 0.85rem 1.6rem;
  text-decoration: none;
  display: inline-block;
}

.kl-btn-secondary:hover {
  background: var(--ink);
  color: #ffffff;
}

.kl-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

.about .about-img img,
.member-img img {
  border-radius: 3px;
}

/* Four service cards read better as a 2x2 grid than as 3 + 1 orphan. */
@media (min-width: 992px) {
  .services .row > [class*="col-lg-4"] {
    flex: 0 0 auto;
    width: 50%;
  }
}

/* Section diagrams are illustrative SVGs, not photographs. */
.about-image img.main-image,
.why-choose-us img.main-image {
  border: 1px solid var(--line-color);
  border-radius: 3px;
  background: #f4efe8;
}

/* The header CTA collides with the wordmark below the lg breakpoint.
   The hero carries the same call to action one screen down, so hide it there. */
@media (max-width: 1199px) {
  .header .btn-getstarted {
    display: none;
  }
}

/* On narrow screens the experience badge covers the diagram it sits on. */
@media (max-width: 991px) {
  .about .about-image .experience-badge,
  .why-choose-us .about-image .experience-badge {
    position: static;
    display: inline-block;
    margin-top: 14px;
    padding: 14px 18px;
  }
  .about .about-image .experience-badge .years,
  .why-choose-us .about-image .experience-badge .years {
    font-size: 1.6rem;
  }
}
