: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 {
  max-width: 900px;
  min-height: 45vh;
}

.blog-list {
  display: grid;
  gap: 1.5rem;
}

.blog-card, .blog-article {
  background: var(--brand-light);
  border-radius: 1rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.blog-card h2 {
  margin: 0.5rem 0;
}

.blog-card a, .blog-article a {
  color: var(--brand-teal);
}

.blog-card time, .blog-article time, .blog-updated {
  color: var(--text-muted);
}

.blog-updated {
  display: inline-block;
  margin-left: 0.75rem;
}

.blog-content {
  margin-top: 2rem;
  overflow-wrap: anywhere;
}

.blog-content img {
  max-width: 100%;
}

.blog-content pre {
  overflow-x: auto;
  padding: 1rem;
  border-radius: 0.5rem;
  background: #e8efeb;
}
