:root {
  --brand-navy: #0c2340;
  --brand-orange: #e56e34;
  --brand-sand: #f5ebdc;
  --brand-ink: #1d2939;
  --brand-muted: #526071;
  --brand-line: #d8e2ea;
  --brand-soft: #f5f8fb;
  --brand-green: #2f6f59;
  --shadow-soft: 0 24px 60px rgba(12, 35, 64, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto", Arial, sans-serif;
  color: var(--brand-ink);
  background: linear-gradient(180deg, #f8fbfd 0%, #ffffff 240px, #ffffff 100%);
  line-height: 1.72;
}

img {
  max-width: 100%;
  display: block;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

a {
  color: var(--brand-navy);
  text-decoration: none;
}

a:hover {
  color: var(--brand-orange);
}

.topbar {
  background: var(--brand-navy);
  color: #fff;
  font-size: 0.92rem;
  padding: 0.7rem 0;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.topbar-links a {
  color: #fff;
}

.divider-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
}

.navbar {
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(216, 226, 234, 0.7);
  position: sticky;
  top: 0;
  z-index: 1040;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  color: var(--brand-navy);
}

.navbar-brand img {
  width: 300px;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 1.06rem;
}

.brand-copy small {
  color: var(--brand-muted);
  font-size: 0.82rem;
}

.nav-link {
  color: var(--brand-ink);
  font-weight: 600;
  padding: 0.8rem 0.9rem !important;
}

.nav-link.active,
.nav-link:hover,
.dropdown-item:hover {
  color: var(--brand-orange);
}

.dropdown-menu {
  min-width: 24rem;
  width: min(92vw, 30rem);
  border: 1px solid var(--brand-line);
  border-radius: 18px;
  padding: 0.8rem;
  box-shadow: var(--shadow-soft);
}

.dropdown-item {
  border-radius: 12px;
  padding: 0.55rem 0.8rem;
  white-space: normal;
}

.btn {
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.btn-brand {
  background: linear-gradient(135deg, var(--brand-orange), #c94f20);
  border: 1px solid transparent;
  color: #fff;
  box-shadow: 0 18px 35px rgba(229, 110, 52, 0.28);
}

.btn-brand:hover {
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-brand {
  border: 1px solid rgba(12, 35, 64, 0.18);
  color: var(--brand-navy);
  background: #fff;
}

.btn-outline-brand:hover {
  background: var(--brand-navy);
  color: #fff;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 4.6rem 0 4rem;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.24;
  z-index: 0;
}

.hero-section::before {
  width: 320px;
  height: 320px;
  background: rgba(229, 110, 52, 0.22);
  top: -90px;
  right: -40px;
}

.hero-section::after {
  width: 240px;
  height: 240px;
  background: rgba(12, 35, 64, 0.12);
  bottom: 10px;
  left: -70px;
}

.hero-section .container,
.section-space .container,
.stats-strip .container {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  background: rgba(12, 35, 64, 0.08);
  color: var(--brand-navy);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-section h1 {
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  line-height: 1.14;
  font-weight: 900;
  margin: 1rem 0 1.1rem;
  color: var(--brand-navy);
}

.lead {
  color: var(--brand-muted);
  font-size: 1.08rem;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  background: #fff;
  border: 1px solid rgba(12, 35, 64, 0.08);
  color: var(--brand-ink);
  box-shadow: 0 10px 22px rgba(12, 35, 64, 0.05);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-visual {
  background: #fff;
  border: 1px solid rgba(216, 226, 234, 0.85);
  border-radius: 32px;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.stats-strip {
  margin-top: -1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card {
  background: #fff;
  border: 1px solid rgba(216, 226, 234, 0.85);
  border-radius: 24px;
  padding: 1.35rem 1.5rem;
  box-shadow: 0 14px 28px rgba(12, 35, 64, 0.06);
}

.stat-card strong {
  display: block;
  color: var(--brand-navy);
  margin-bottom: 0.4rem;
}

.stat-card span {
  color: var(--brand-muted);
  font-size: 0.95rem;
}

.section-space {
  padding: 4.4rem 0;
}

.section-soft {
  background: linear-gradient(180deg, #ffffff 0%, var(--brand-soft) 100%);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2.2rem;
}

.section-heading h2,
.content-section h2,
.site-footer h2,
.site-footer h3,
.contact-card h2,
.content-shell h2,
.cta-band h2 {
  color: var(--brand-navy);
}

.section-heading h2 {
  font-size: clamp(1.65rem, 2.4vw, 2.35rem);
  font-weight: 900;
  line-height: 1.2;
  margin: 0.9rem 0 0.85rem;
}

.section-heading p,
.content-article p,
.contact-card p,
.content-shell p {
  color: var(--brand-muted);
}

.service-grid,
.mini-card-grid,
.post-grid {
  display: grid;
  gap: 1.25rem;
}

.service-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.mini-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.post-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service-card,
.mini-card,
.content-shell,
.contact-card,
.post-card,
.sidebar-card,
.notice-box {
  background: #fff;
  border: 1px solid rgba(216, 226, 234, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 42px rgba(12, 35, 64, 0.07);
}

.service-card,
.mini-card,
.contact-card,
.sidebar-card,
.notice-box {
  padding: 1.5rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 100%;
}

.service-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 6px);
  display: block;
}

.service-card-kicker {
  color: var(--brand-orange);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-card h3,
.mini-card h3,
.content-section h3,
.post-card h3,
.sidebar-card h2,
.price-table th {
  color: var(--brand-navy);
  font-weight: 800;
  line-height: 1.32;
}

.service-card p,
.mini-card p,
.post-card p,
.sidebar-card p,
.accordion-body,
.price-table td,
.notice-box p,
.form-note {
  color: var(--brand-muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  margin-top: auto;
}

.icon-shell {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(12, 35, 64, 0.08);
  color: var(--brand-orange);
  flex: 0 0 auto;
}

.icon-shell svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.process-list {
  display: grid;
  gap: 1rem;
}

.process-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.2rem;
  background: #fff;
  border: 1px solid rgba(216, 226, 234, 0.8);
  border-radius: 20px;
  box-shadow: 0 14px 28px rgba(12, 35, 64, 0.05);
}

.process-item span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--brand-navy);
  color: #fff;
  font-weight: 800;
  flex: 0 0 auto;
}

.process-item h3 {
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.reviews-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.review-card {
  background: #fff;
  border: 1px solid rgba(216, 226, 234, 0.9);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(12, 35, 64, 0.07);
  padding: 1.35rem;
}

.review-stars {
  color: #d48b22;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
}

.review-card p {
  color: var(--brand-muted);
  margin-bottom: 0.9rem;
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.review-meta strong {
  color: var(--brand-navy);
}

.review-meta span {
  color: var(--brand-muted);
  font-size: 0.92rem;
}

.locality-cloud,
.county-grid,
.footer-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.locality-cloud a,
.county-badge,
.footer-cloud a {
  display: inline-flex;
  align-items: center;
  padding: 0.68rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(12, 35, 64, 0.1);
  background: #fff;
  font-weight: 600;
  color: var(--brand-ink);
  box-shadow: 0 12px 25px rgba(12, 35, 64, 0.04);
}

.locality-cloud a:hover,
.county-badge-link:hover,
.footer-cloud a:hover {
  background: var(--brand-navy);
  color: #fff;
}

.content-shell {
  padding: 2rem;
}

.content-article {
  display: grid;
  gap: 2rem;
}

.content-section h2 {
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.9rem;
}

.content-section h3 {
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  font-weight: 800;
  line-height: 1.35;
  margin-top: 1.3rem;
  margin-bottom: 0.45rem;
}

.section-image {
  width: 100%;
  border-radius: 24px;
  margin: 1.25rem 0;
  border: 1px solid rgba(216, 226, 234, 0.85);
  box-shadow: 0 18px 42px rgba(12, 35, 64, 0.08);
}

.breadcrumb-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-size: 0.92rem;
  margin-bottom: 1.6rem;
  color: var(--brand-muted);
}

.sidebar-stack {
  display: grid;
  gap: 1rem;
}

.sidebar-link-list {
  display: grid;
  gap: 0.65rem;
}

.sidebar-link-list a {
  display: block;
  padding: 0.78rem 0.95rem;
  background: rgba(12, 35, 64, 0.04);
  border-radius: 14px;
  font-weight: 600;
}

.sidebar-link-list a:hover,
.sidebar-link-list a.is-current {
  background: var(--brand-navy);
  color: #fff;
}

.sticky-top {
  position: static !important;
  top: auto !important;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: linear-gradient(135deg, var(--brand-navy), #14345b);
  color: #fff;
  padding: 2rem;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.cta-band h2,
.cta-band p,
.cta-band .eyebrow {
  color: #fff;
}

.cta-band h2 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 800;
  line-height: 1.25;
}

.cta-band .eyebrow {
  background: rgba(255, 255, 255, 0.15);
}

.faq-accordion .accordion-item {
  border: 1px solid rgba(216, 226, 234, 0.95);
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 0.9rem;
}

.faq-accordion .accordion-button {
  font-weight: 700;
  color: var(--brand-navy);
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: rgba(12, 35, 64, 0.05);
}

.price-table thead th {
  background: var(--brand-navy);
  color: #fff;
  border: none;
}

.price-table tbody td {
  background: #fff;
}

.post-card {
  overflow: hidden;
}

.post-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.post-card-body {
  padding: 1.35rem;
}

.post-badge {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(229, 110, 52, 0.12);
  color: var(--brand-orange);
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.post-badge-muted {
  background: rgba(12, 35, 64, 0.08);
  color: var(--brand-muted);
}

.contact-list {
  padding-left: 1.1rem;
  display: grid;
  gap: 0.75rem;
}

.form-control,
.form-select {
  border-radius: 16px;
  border: 1px solid rgba(12, 35, 64, 0.12);
  padding: 0.88rem 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(229, 110, 52, 0.55);
  box-shadow: 0 0 0 0.25rem rgba(229, 110, 52, 0.15);
}

.site-footer {
  background: var(--brand-navy);
  color: rgba(255, 255, 255, 0.88);
  margin-top: 4rem;
  padding: 4rem 0 2rem;
}

.footer-top {
  margin-bottom: 2rem;
}

.footer-top > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.footer-brand img {
  width: 300px;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
}

.site-footer h2,
.site-footer h3,
.site-footer a {
  color: #fff;
}

.site-footer .footer-top h2,
.site-footer .footer-top h3,
.site-footer .footer-localities h3 {
  font-size: 1.02rem;
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 0.85rem;
}

.site-footer .footer-brand p,
.site-footer .footer-link-list a,
.site-footer .footer-contact a,
.site-footer .footer-contact span {
  font-size: 0.92rem;
  line-height: 1.55;
}

.footer-contact,
.footer-link-list {
  display: grid;
  gap: 0.7rem;
}

.footer-policy-links {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-localities {
  margin-top: 0.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-localities h3 {
  margin-bottom: 0.85rem;
}

.footer-link-list.footer-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-footer .footer-cloud a {
  display: inline-flex;
  align-items: center;
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 600;
  padding: 0.4rem 0.62rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
  box-shadow: none;
}

.site-footer .footer-cloud a:hover {
  background: #ffffff;
  color: var(--brand-navy);
  border-color: #ffffff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  top: 50%;
  width: calc(100% - 2rem);
  max-width: 520px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2.5rem 1.35rem 1.35rem;
  background: rgba(12, 35, 64, 0.96);
  color: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  z-index: 1200;
}

.cookie-banner p {
  margin: 0;
}

.cookie-banner .btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

.cookie-close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.95rem;
  line-height: 1;
}

.cookie-close:hover,
.cookie-close:focus {
  background: rgba(255, 255, 255, 0.22);
}

.page-404 {
  min-height: 56vh;
  display: flex;
  align-items: center;
}

@media (max-width: 991.98px) {
  .navbar .navbar-collapse {
    margin-top: 0.8rem;
    padding: 0.7rem;
    border: 1px solid rgba(12, 35, 64, 0.12);
    border-radius: 16px;
    background: #fff;
  }

  .navbar .navbar-nav {
    gap: 0.3rem;
  }

  .navbar .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-top: 0.35rem;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(12, 35, 64, 0.08);
  }

  .navbar .dropdown-item {
    padding: 0.72rem 0.9rem;
  }

  .hero-section {
    padding: 3.5rem 0 3rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    padding-top: 3rem;
  }
}

@media (max-width: 767.98px) {
  body {
    line-height: 1.64;
  }

  .topbar .container,
  .footer-bottom,
  .hero-actions,
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar-brand {
    max-width: calc(100% - 72px);
  }

  .content-shell,
  .service-card,
  .mini-card,
  .sidebar-card,
  .contact-card,
  .notice-box {
    padding: 1.25rem;
  }

  .section-space {
    padding: 3.4rem 0;
  }

  .hero-chip-row,
  .locality-cloud,
  .county-grid,
  .footer-cloud {
    gap: 0.55rem;
  }

  .footer-localities {
    margin-top: 0.8rem;
    padding-top: 1rem;
  }
}
