:root {
  --ink: #17211c;
  --forest: #1e3a32;
  --forest-deep: #13241e;
  --brass: #c4a574;
  --brass-deep: #8d7044;
  --paper: #f4f0e8;
  --card: #fffcf7;
  --muted: #5c655f;
  --line: rgba(23, 33, 28, 0.12);
  --bs-body-font-family: "Source Sans 3", "Segoe UI", sans-serif;
  --bs-body-color: #3d463f;
  --bs-body-bg: var(--paper);
  --bs-primary: var(--forest);
  --bs-border-radius: 1rem;
}

body {
  color: var(--bs-body-color);
  background:
    radial-gradient(1200px 400px at 10% -10%, rgba(196, 165, 116, 0.18), transparent 55%),
    var(--paper);
}

h1, h2, h3, h4, .navbar-brand, .brand-word, .stat-num {
  font-family: Outfit, "Segoe UI", sans-serif;
  color: var(--ink);
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); font-weight: 600; line-height: 0.95; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }

a { color: var(--forest); }
img { max-width: 100%; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: #fff;
  color: var(--ink);
  padding: 0.5rem 0.8rem;
}
.skip-link:focus { top: 1rem; }

.topbar {
  background: var(--forest-deep);
  color: #efe7da;
  font-size: 0.92rem;
}
.topbar a { color: inherit; text-decoration: none; }
.topbar .container { padding-top: 0.45rem; padding-bottom: 0.45rem; }
.topbar i { color: var(--brass); margin-right: 0.35rem; }

.site-head {
  position: sticky;
  top: 0;
  z-index: 1030;
}
.site-nav {
  background: rgba(255, 252, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--forest);
  color: var(--brass);
  font-family: Outfit, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand-word { display: flex; flex-direction: column; line-height: 1.05; }
.brand-word strong { font-size: 1.05rem; }
.brand-word small { color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.68rem; }
.navbar-nav .nav-link {
  color: var(--ink);
  font-weight: 600;
  padding: 0.7rem 0.85rem;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover { color: var(--brass-deep); }
.site-nav .dropdown { position: relative; }
.site-nav .dropdown-menu {
  top: calc(100% - 0.2rem);
  left: 0;
  border: 0;
  box-shadow: 0 18px 40px rgba(19, 36, 30, 0.12);
  padding: 0.5rem;
  min-width: 14rem;
}
.site-nav .dropdown-toggle::after { margin-left: 0.4rem; vertical-align: 0.15em; }
.dropdown-item { border-radius: 0.6rem; font-weight: 600; }
.dropdown-item:hover { background: var(--paper); color: var(--forest); }
.navbar-toggler { border-color: var(--line); }

.btn-brass {
  background: var(--brass);
  color: var(--forest-deep);
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.7rem 1.2rem;
}
.btn-brass:hover { background: #d7bc90; color: var(--forest-deep); }
.btn-outline-dark {
  border-radius: 999px;
  border-color: var(--forest);
  color: var(--forest);
  font-weight: 700;
  padding: 0.7rem 1.3rem;
}
.btn-outline-dark:hover { background: var(--forest); color: #fff; }

.hero-slide {
  min-height: 78vh;
  display: grid;
  align-items: end;
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 22, 18, 0.82) 0%, rgba(14, 22, 18, 0.28) 70%);
}
.hero-slide .container { position: relative; padding-top: 6rem; padding-bottom: 5.5rem; max-width: 760px; margin-left: max(1rem, calc((100% - 1140px) / 2)); }
.hero-slide h1, .hero-slide p, .page-hero h1 { color: #fff; }
.hero-slide p { font-size: 1.2rem; max-width: 38rem; }
.hero .carousel-indicators { margin-bottom: 1.4rem; }
.hero .carousel-control-prev,
.hero .carousel-control-next { width: 8%; }

.eyebrow {
  color: var(--brass-deep);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.6rem;
}
.hero-slide .eyebrow { color: var(--brass); }
.page-hero .eyebrow { color: var(--brass); }

.section { padding: 5rem 0; }
.section-paper { background: rgba(255, 255, 255, 0.55); }
.section-head { margin-bottom: 2rem; max-width: 40rem; }
.lead-copy { font-size: 1.2rem; color: var(--ink); }

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--card);
  border-radius: 1.2rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(19, 36, 30, 0.1); color: inherit; }
.product-card-media { aspect-ratio: 1; background: #e7e1d6; overflow: hidden; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.product-card:hover img { transform: scale(1.04); }
.product-card-body { display: flex; flex-direction: column; gap: 0.2rem; padding: 1rem 1.1rem 1.2rem; }
.product-card-body small { color: var(--brass-deep); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.product-card-body strong { font-family: Outfit, sans-serif; font-size: 1.25rem; color: var(--ink); }
.load-more { margin-top: 2rem; }

.rounded-frame {
  width: 100%;
  border-radius: 1.4rem;
  object-fit: cover;
  max-height: 560px;
  box-shadow: 0 20px 40px rgba(19, 36, 30, 0.12);
}
.icon-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.1rem;
  height: 100%;
}
.icon-card i { color: var(--brass-deep); font-size: 1.4rem; }
.icon-card p { margin: 0.4rem 0 0; }

.skill { margin-bottom: 1rem; }
.skill-top { display: flex; justify-content: space-between; font-weight: 700; color: var(--ink); margin-bottom: 0.35rem; }
.skill .progress { height: 0.45rem; background: #e5dfd4; }
.skill .progress-bar { width: 0; background: var(--forest); transition: width 1s ease; }

.shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #ddd;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
}
.shot img { width: 100%; height: 180px; object-fit: cover; display: block; }
.shot.captioned span {
  display: block;
  padding: 0.7rem 0.8rem 0.85rem;
  text-align: left;
  background: var(--card);
  color: var(--ink);
  font-weight: 700;
}

.stats {
  background: var(--forest);
  color: #f6f1e8;
  padding: 4rem 0;
}
.stats h3, .stat-num { color: #fff; }
.stat-num { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 0; }
.stats h3 { font-size: 1rem; letter-spacing: 0.04em; font-weight: 500; margin-top: 0.3rem; }

.cert-image {
  max-width: 420px;
  margin: 1rem auto 0;
  border-radius: 1rem;
  box-shadow: 0 16px 36px rgba(19, 36, 30, 0.12);
}
.cta-band {
  background: var(--forest-deep);
  color: #f6f1e8;
  padding: 3rem 0;
}
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { margin: 0.3rem 0 0; }

.page-hero {
  min-height: 320px;
  display: grid;
  align-items: end;
  background-size: cover;
  background-position: center;
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 36, 30, 0.15), rgba(19, 36, 30, 0.78));
}
.page-hero .container { position: relative; padding-bottom: 2.4rem; }

.philosophy-card {
  background: var(--card);
  border-radius: 1.2rem;
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--line);
}
.philosophy-card img { width: 100%; height: 180px; object-fit: cover; }
.philosophy-card div { padding: 1.1rem 1.15rem 1.3rem; }
.philosophy-card p { margin: 0; }

.check-list, .spec-list, .office-list, .zones ul, .footer-list { list-style: none; padding: 0; margin: 0; }
.check-list li, .spec-list li, .office-list li { position: relative; padding-left: 1.6rem; margin: 0.45rem 0; }
.check-list li::before, .spec-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--brass);
}
.office-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.4rem 1.5rem; }

.crumb { color: var(--muted); }
.crumb a { text-decoration: none; font-weight: 700; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; list-style: none; }
.tag-list li { background: #efe6d6; color: var(--forest); border-radius: 999px; padding: 0.25rem 0.7rem; font-weight: 700; }
.spec-title { margin-top: 1.4rem; }
.note { background: #fff; border-left: 3px solid var(--brass); padding: 0.7rem 0.9rem; }
.accordion-item { border-color: var(--line); background: transparent; }
.accordion-button { font-weight: 700; background: var(--card); color: var(--ink); }
.accordion-button:not(.collapsed) { background: var(--forest); color: #fff; box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 0.2rem rgba(196, 165, 116, 0.35); }

.contact-card, .contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  padding: 1.4rem;
}
.contact-card h3 { margin-top: 1.2rem; }
.contact-card h3:first-child { margin-top: 0; }
.zones { margin-top: 2rem; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.legal { max-width: 46rem; }
.legal h2 { margin-top: 1.6rem; font-size: 1.5rem; }

.site-footer { background: var(--forest-deep); color: #e7e0d4; padding-top: 3.5rem; }
.site-footer h2 { color: #fff; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer a { color: #fff; text-decoration: none; }
.footer-brand { display: flex; align-items: center; gap: 0.7rem; color: #fff; text-decoration: none; margin-bottom: 0.8rem; }
.footer-list li { display: flex; gap: 0.6rem; margin: 0 0 0.7rem; }
.footer-list i { color: var(--brass); }
.footer-list.checks li::before { content: "–"; color: var(--brass); margin-right: 0.4rem; }
.footer-bar { border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 2rem; padding: 1rem 0; }
.footer-bar p { margin: 0; }
.legal span, .footer-bar .legal span { margin: 0 0.4rem; color: var(--brass); }

.to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--brass);
  color: var(--forest-deep);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 30;
}
.to-top.show { opacity: 1; pointer-events: auto; }

#galleryModal .modal-content { background: #111815; color: #fff; border: 0; }
#galleryModal .modal-header { border: 0; }
#galleryModal .modal-title { margin: 0; min-height: 1.2rem; }
#galleryModal .modal-body { position: relative; padding-top: 0; }
#galleryImage { width: 100%; max-height: 75vh; object-fit: contain; }
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.gallery-nav.prev { left: 0.6rem; }
.gallery-nav.next { right: 0.6rem; }

@media (min-width: 992px) {
  .site-nav .dropdown:hover > .dropdown-menu,
  .site-nav .dropdown:focus-within > .dropdown-menu {
    display: block;
  }
}

@media (max-width: 991.98px) {
  .site-nav .dropdown-menu {
    position: static;
    box-shadow: none;
    background: transparent;
    padding: 0.15rem 0 0.4rem 0.8rem;
  }

  .hero-slide { min-height: 70vh; }
  .hero-slide::before { background: linear-gradient(180deg, rgba(14, 22, 18, 0.35), rgba(14, 22, 18, 0.82)); }
  .hero-slide .container { margin-left: 0; }
  .section { padding: 3.2rem 0; }
}
