:root {
  --site-primary: #9b462e;
  --site-primary-dark: #720900;
  --site-accent: #0086b4;
  --site-secondary: #667a45;
  --site-primary-light: #d58872;
  --site-surface: #fff9f8;
  --site-text-secondary: #60524e;
  --bs-body-bg: #fff0ee;
  --bs-body-color: #190e0b;
  --bs-body-font-family: 'DM Sans', sans-serif;
  --bs-link-color: #9b462e;
  --bs-link-hover-color: #720900;
}

body {
  background: var(--bs-body-bg);
  color: var(--bs-body-color);
  font-family: var(--bs-body-font-family);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Sans', serif;
}

.btn-primary {
  background-color: var(--site-primary);
  border-color: var(--site-primary);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--site-primary-dark);
  border-color: var(--site-primary-dark);
  color: #fff;
}

.btn-outline-primary {
  color: var(--site-primary);
  border-color: var(--site-primary);
  background-color: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--site-primary);
  border-color: var(--site-primary);
  color: #fff;
}

.bg-primary {
  background-color: var(--site-primary) !important;
}

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

.border-primary {
  border-color: var(--site-primary) !important;
}

a {
  color: var(--site-primary);
}

a:hover {
  color: var(--site-primary-dark);
}

.btn {
  border-radius: 0;
  padding: 0.8rem 1.25rem;
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--site-primary);
  letter-spacing: 0.01em;
  transition: box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border-width: 3px;
}

.btn:hover,
.btn:focus {
  box-shadow: 0 0 0 transparent;
  transform: translate(2px, 2px);
}

.card {
  border-radius: 10px;
  border: 1px solid rgba(102, 122, 69, 0.35);
  box-shadow: none;
  background: var(--site-surface);
}

.form-control,
.form-select {
  border-radius: 5px;
  border: 3px solid var(--site-primary);
  padding: 0.8rem 0.95rem;
  background: var(--site-surface);
  color: var(--bs-body-color);
  box-shadow: none;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--site-primary-dark);
  box-shadow: none;
  background: #fff;
}

img {
  border-radius: 8px;
}

.navbar {
  background: rgba(255, 249, 248, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(102, 122, 69, 0.18);
}

.navbar-brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
}

.nav-link {
  font-weight: 600;
  color: var(--bs-body-color);
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--site-primary);
}

.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.hero-copy .lead {
  color: var(--site-text-secondary);
  max-width: 40rem;
}

.hero-mosaic {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(2, minmax(150px, 1fr));
  gap: 1rem;
  min-height: 360px;
}

.hero-mosaic .hero-main {
  grid-row: 1 / span 2;
}

.hero-tile,
.hero-main {
  overflow: hidden;
  border: 2px solid rgba(102, 122, 69, 0.22);
  background: var(--site-surface);
}

.hero-tile img,
.hero-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-rule {
  width: 60%;
  margin: 0 auto;
  border: 0;
  border-top: 1px solid rgba(102, 122, 69, 0.55);
  opacity: 1;
}

section {
  background: var(--bs-body-bg);
}

.section-eyebrow {
  color: var(--site-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 700;
}

.niche-tile {
  height: 100%;
  padding: 1.3rem;
}

.niche-tile h3,
.service-item h3 {
  font-size: 1.18rem;
}

.service-image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.about-list,
.check-list {
  padding-left: 1.1rem;
  color: var(--site-text-secondary);
}

.about-list li,
.check-list li {
  margin-bottom: 0.7rem;
}

.contact-panel {
  border: 1px solid rgba(102, 122, 69, 0.35);
  border-radius: 10px;
  background: var(--site-surface);
  padding: 1.5rem;
}

.map-embed {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 8px;
}

footer {
  background: var(--site-surface);
  border-top: 1px solid rgba(102, 122, 69, 0.2);
}

.footer-links a {
  text-decoration: none;
  color: var(--bs-body-color);
}

.footer-links a:hover {
  color: var(--site-primary);
}

.newsletter-form .form-control {
  min-width: 220px;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1080;
  background: var(--site-surface);
  border: 1px solid rgba(102, 122, 69, 0.35);
  border-radius: 10px;
  padding: 1rem;
}

.cookie-banner[hidden] {
  display: none !important;
}

.legal-content h2 {
  margin-top: 2rem;
}

.legal-content h3 {
  margin-top: 1.25rem;
}

.page-hero {
  max-width: 48rem;
}

@media (max-width: 991.98px) {
  .hero-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, minmax(150px, 1fr));
    min-height: auto;
  }

  .hero-mosaic .hero-main {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 260px;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: stretch !important;
  }
}

@media (max-width: 575.98px) {
  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }
}
