:root {
  --bg: #f4efe8;
  --surface: #fffdf9;
  --surface-alt: #efe4d4;
  --text: #2c2018;
  --muted: #6c5a4e;
  --brand: #7c4c24;
  --brand-dark: #51311a;
  --accent: #b6864a;
  --border: rgba(81, 49, 26, 0.12);
  --shadow: 0 18px 40px rgba(44, 32, 24, 0.12);
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(182, 134, 74, 0.16), transparent 36%),
    linear-gradient(180deg, #fbf7f1 0%, var(--bg) 100%);
}

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

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

.site-header {
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar-brand img {
  height: 52px;
  width: auto;
}

.navbar-brand span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  max-width: 320px;
  white-space: normal;
  line-height: 1.35;
}

.navbar-nav .nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-dark);
}

.dropdown-menu {
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero {
  padding: 4rem 0 3rem;
}

.hero-panel,
.page-panel,
.contact-card,
.product-card,
.reference-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 2.5rem;
}

.eyebrow {
  display: inline-block;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-copy h1,
.page-head h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: 0;
  margin-bottom: 1rem;
}

.hero-image,
.page-hero-image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 1.25rem;
}

.section-block {
  padding: 1.25rem 0 3.5rem;
}

.section-title {
  font-size: 1.9rem;
  margin-bottom: 0.75rem;
}

.section-intro,
.page-lead,
.muted {
  color: var(--muted);
}

.stat-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.stat-strip .item {
  background: var(--surface-alt);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
}

.stat-strip strong {
  display: block;
  font-size: 1.35rem;
  color: var(--brand-dark);
}

.product-card,
.reference-card {
  height: 100%;
  overflow: hidden;
}

.product-card img,
.reference-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.product-card .body,
.reference-card .body {
  padding: 1.25rem;
}

.page-head {
  padding: 3rem 0 1rem;
}

.page-panel {
  padding: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1rem;
}

.gallery-link {
  display: block;
  text-decoration: none;
}

.gallery-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(44, 32, 24, 0.12);
}

.gallery-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.gallery-card span {
  display: block;
  padding: 0.8rem 0.9rem;
  color: var(--text);
  font-size: 0.92rem;
  min-height: 3.8rem;
}

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

.info-list .item,
.contact-card {
  padding: 1.3rem;
}

.site-footer {
  padding: 2rem 0 3rem;
  color: var(--muted);
}

.site-footer .footer-meta {
  font-size: 0.92rem;
}

.site-footer .footer-meta > div {
  margin: 0.2rem 0;
}

.site-footer .footer-meta a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(108, 90, 78, 0.28);
}

.site-footer .footer-meta a:hover {
  color: var(--brand-dark);
  border-bottom-color: rgba(81, 49, 26, 0.45);
}

.modal-content {
  background: #1d140e;
  color: #fff;
}

.modal-body img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.gallery-nav {
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 1.4rem;
}

.contact-map-note {
  background: var(--surface-alt);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
}

@media (max-width: 991.98px) {
  .navbar-brand span {
    max-width: 240px;
  }

  .hero-copy,
  .page-panel {
    padding: 1.5rem;
  }

  .stat-strip {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-copy {
    padding: 2.75rem;
  }

  .hero-copy h1 {
    font-size: 3.15rem;
    line-height: 1.04;
    max-width: 8.5ch;
  }

  .hero-copy .page-lead {
    max-width: 28rem;
  }

  .stat-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .hero {
    padding-top: 2rem;
  }

  .hero-copy {
    padding: 1.4rem;
  }

  .hero-copy h1,
  .page-head h1 {
    font-size: 2.1rem;
    line-height: 1.02;
  }

  .hero-image,
  .page-hero-image {
    min-height: 0;
    height: auto;
  }

  .home-secondary-visual {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .gallery-card img {
    height: 130px;
  }

  .site-footer {
    padding: 1.5rem 0 2.25rem;
  }

  .site-footer .footer-meta {
    text-align: center;
    gap: 0.35rem;
  }

  .site-footer .footer-meta > div {
    width: 100%;
    margin: 0;
  }
}
