:root {
  --brand-deep: #0c2f29;
  --brand-teal: #1e6b5e;
  --brand-accent: #f5a524;
  --brand-light: #f2f7f5;
  --brand-muted: #f9f1e8;
  --text-dark: #10231f;
  --text-muted: #51615b;
  --section-spacing: 4rem;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI Variable", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  background-color: #fff;
  color: var(--text-dark);
  line-height: 1.7;
  padding-top: 4.5rem;
}

img, svg {
  max-width: 100%;
  height: auto;
  border-radius: 0.35rem;
}

section {
  padding: 0;
  margin: 1rem 0;
}
section .container {
  padding: 1rem !important;
}

.hero {
  background: linear-gradient(135deg, #eff8f4, #ffffff);
  color: var(--text-dark);
  border-radius: 1.5rem;
  box-shadow: 0 2rem 3rem rgba(12, 47, 41, 0.08);
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-image {
  border-radius: 1.25rem;
  width: 100%;
  display: block;
}

.info-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(16, 35, 31, 0.08);
}

.navbar-brand img {
  max-height: 66px;
}

@media (min-width: 992px) {
  .navbar-brand img {
    max-height: 97px;
    transition: max-height 0.3s linear;
  }

  .navbar.navbar-shrink .navbar-brand img {
    max-height: 54px;
  }
}

.nav-link {
  font-weight: 600;
  color: var(--text-dark) !important;
  font-size: 1.1rem;
  border-radius: 0.375rem;
}

.phone-link {
  font-weight: 700;
  color: var(--brand-teal) !important;
}

.page-hero h1, .hero h1 {
  border-bottom: 1px solid #1e6b5e29;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.phone-link:hover {
  color: #155649 !important;
}

.see-more-link {
  text-decoration: none;
  color: #1e6b5e;
  font-weight: 600;
}

.see-more-link:hover {
  text-decoration: underline;
  color: #155649;
}

.nav-link:hover {
  color: #fff !important;
  background-color: var(--brand-teal);
  padding-left: 1rem;
  padding-right: 1rem;
}

.nav-item .nav-link.active,
.nav-item .nav-link.active:hover {
  color: var(--brand-teal) !important;
  background-color: transparent;
  cursor: default;
}

.nav-link.nav-icon:hover,
.nav-link.nav-icon:focus {
  color: inherit !important;
  background-color: transparent;
  cursor: pointer;
}

.nav-icon {
  padding: 0.35rem;
}

.nav-social-icon {
  width: 32px;
  height: 32px;
  display: block;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 992px) {
  .page-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
}

.content-column {
  min-width: 0;
}

@media (min-width: 992px) {
  .content-column {
    position: sticky;
    top: 2rem;
  }
}

.content-column > section:first-of-type {
  padding-top: 1.5rem;
}

.hero {
  margin-top: 0;
  padding-top: 0;
}

.sidebar {
  background: linear-gradient(180deg, rgba(30, 107, 94, 0.08), rgba(30, 107, 94, 0.15));
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 1rem 2.5rem rgba(12, 47, 41, 0.12);
  position: sticky;
  top: 6rem;
}

@media (max-width: 991px) {
  .sidebar {
    position: static;
  }
}

.sidebar-label {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.sidebar-testimonial {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid rgba(16, 35, 31, 0.08);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 0.75rem 1.5rem rgba(16, 35, 31, 0.08);
}

.sidebar-testimonial:last-child {
  margin-bottom: 0;
}

.sidebar-testimonial p {
  font-style: italic;
  margin: 0;
}

.sidebar-author {
  display: block;
  margin-top: 0.75rem;
  font-weight: 600;
  color: var(--brand-teal);
}

.btn-brand {
  background-color: var(--brand-teal);
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
}

.btn-brand:hover {
  background-color: #155649;
  color: #fff;
}

.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--brand-muted);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--brand-deep);
}

.shadow-soft {
  box-shadow: 0 1.25rem 2rem rgba(0, 0, 0, 0.08);
}

.text-muted {
  color: var(--text-muted) !important;
}

.badge-soft {
  background: rgba(30, 107, 94, 0.12);
  color: var(--brand-teal);
  font-weight: 600;
}

.testimonial-card {
  background: #fff;
  border: 1px solid #e3ebe7;
  border-radius: 0.75rem;
  padding: 1.5rem;
  height: 100%;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-card cite {
  font-weight: 700;
  color: var(--brand-teal);
}

.cta-banner {
  background: linear-gradient(180deg, rgba(30, 107, 94, 0.08), rgba(30, 107, 94, 0.15));
  border-radius: 1rem;
  padding: 2rem;
}

.section-heading {
  max-width: 720px;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.icon-list i {
  color: var(--brand-teal);
  font-size: 1.25rem;
}

.page-hero {
  background: #f7faf8;
  color: var(--text-dark);
  border-radius: 1.5rem;
  box-shadow: 0 1.5rem 3rem rgba(12, 47, 41, 0.05);
}

.page-hero-img {
  border-radius: 1.25rem;
  width: 100%;
  display: block;
}

.contact-card {
  background: var(--brand-light);
  border-radius: 0.75rem;
  padding: 1.5rem;
  height: 100%;
}

.footer {
  background: var(--brand-deep);
  color: #fff;
  padding: 3rem 0;
}

.footer a {
  color: #fff;
  text-decoration: underline;
}

.footer ul {
  padding-left: 0;
}

.footer ul li {
  margin-bottom: 0.25rem;
}

.footer ul a {
  text-decoration: none;
}

.footer ul a:hover {
  text-decoration: underline;
}

.footer-heading {
  font-size: 1.2rem;
}

.footer-spacer {
  height: 0.75rem;
}

@media (max-width: 767px) {
  body {
    padding-top: 4rem;
  }

  section {
    padding: 3rem 0;
  }

  .hero {
    text-align: center;
  }

  .hero .btn {
    width: 100%;
  }
}

.blog-page .content-column {
  position: static;
}

.blog-page .page-hero {
  margin-bottom: 2rem;
}

.blog-page .sidebar .featured-articles {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.blog-index-hero h1 {
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
}

.blog-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.blog-eyebrow a, .blog-card a, .blog-content-section a {
  color: var(--brand-teal);
}

.blog-meta, .blog-card-meta {
  color: var(--text-muted);
}

.blog-list-section {
  margin-top: 2rem;
}

.blog-list {
  display: grid;
  gap: 1.25rem;
}

.blog-card {
  display: grid;
  grid-template-columns: minmax(0, 205px) minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1rem;
  border: 1px solid #e3ebe7;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 0.75rem 1.5rem rgba(16, 35, 31, 0.06);
}

.blog-card--text-only {
  grid-template-columns: 1fr;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  max-height: 230px;
  object-fit: cover;
  border-radius: 0.75rem;
}

.blog-card-content {
  align-self: center;
}

.blog-card-content h3 {
  margin: 0.4rem 0 0.75rem;
}

.blog-card-content h3 a {
  text-decoration: none;
}

.blog-card-content h3 a:hover {
  text-decoration: underline;
}

.blog-card-content p {
  margin-bottom: 0.75rem;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
}

.blog-content-section {
  padding: 0 1rem 2rem;
}

.blog-content {
  max-width: 70ch;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.blog-content h2, .blog-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--brand-deep);
}

.blog-content p, .blog-content ul, .blog-content ol {
  margin-bottom: 1.25rem;
}

.blog-content img {
  display: block;
  margin: 1.5rem auto;
  border-radius: 1rem;
}

.blog-content blockquote {
  margin: 1.5rem 0;
  border-left: 4px solid var(--brand-accent);
  padding: 0.4rem 0 0.4rem 1rem;
  color: var(--text-muted);
}

.blog-content pre {
  overflow-x: auto;
  padding: 1rem;
  border-radius: 0.5rem;
  background: #e8efeb;
}

@media (max-width: 767px) {
  .blog-card {
    grid-template-columns: 1fr;
  }

  .blog-card-image img {
    max-height: none;
    aspect-ratio: 16 / 9;
  }
}

.blog-topics-section {
  margin-bottom: 2rem;
}

.blog-tag-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.blog-tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border: 1px solid #c8ded5;
  border-radius: 999px;
  background: #f2f8f5;
  color: var(--brand-deep);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}

.blog-tag:hover, .blog-tag:focus-visible {
  background: var(--brand-deep);
  color: #fff;
}

.blog-tag.is-active {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: #fff;
}

.blog-card[hidden] {
  display: none;
}

.blog-results-count {
  color: var(--text-muted);
}

.featured-articles {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(16, 35, 31, 0.15);
}

.featured-article {
  overflow: hidden;
  border: 1px solid rgba(16, 35, 31, 0.08);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 0.75rem 1.5rem rgba(16, 35, 31, 0.08);
}

.featured-article + .featured-article {
  margin-top: 1rem;
}

.featured-article-image {
  display: block;
}

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

.featured-article-content {
  padding: 1rem 1.25rem 1.25rem;
}

.featured-article-content time {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.featured-article-content h3 {
  margin: 0.65rem 0;
}

.featured-article-content h3 a {
  color: var(--brand-deep);
  text-decoration: none;
}

.featured-article-content h3 a:hover {
  color: var(--brand-teal);
  text-decoration: underline;
}

.featured-article-content p {
  margin-bottom: 0.75rem;
}

.featured-article-tags {
  margin: 0.55rem 0 0.2rem;
  gap: 0.4rem;
}

.featured-article-tags .blog-tag {
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
}
