@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/montserrat-latin-wght-normal.woff2") format("woff2"); }
:root {
  --primary: #1d6a3b;
  --primary-dark: #14502b;
  --cream: #f4f1e8;
  --ink: #272626;
  --max: 1140px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: "Montserrat", sans-serif; line-height: 1.65; color: var(--ink); background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--primary); }
.container { max-width: var(--max); margin-inline: auto; padding-inline: 20px; }
h1, h2, h3 { color: var(--ink); line-height: 1.2; }
h1 { font-size: 2.4rem; margin: 0 0 1rem; }
h2 { font-size: 1.9rem; margin: 2.5rem 0 1rem; }
h3, .h3 { font-size: 1.35rem; margin: 0 0 .5rem; font-weight: 700; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* header */
.navbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; max-width: var(--max); margin-inline: auto; padding: 10px 20px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .9rem; color: var(--ink); text-decoration: none; }
.brand img { display: block; width: 90px; height: auto; }
.brand-text { font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.brand-text small { display: block; font-weight: 400; font-size: .85rem; color: #555; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.menu a:not(.btn) { display: block; padding: .5rem .8rem; color: var(--ink); text-decoration: none; font-size: 1.05rem; border-bottom: 3px solid transparent; }
.menu a:not(.btn):hover { color: var(--primary); }
.menu a[aria-current="page"] { border-bottom-color: var(--primary); }
.menu-phone { margin: 0 0 0 .5rem; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(0,0,0,.25); border-radius: 4px; padding: 6px 10px; color: #444; cursor: pointer; }
.btn { display: inline-block; padding: .6rem 1.2rem; background: var(--primary); color: #fff; text-decoration: none; border-radius: 4px; font-weight: 600; transition: background .2s; }
.btn:hover, .btn:focus-visible { background: var(--primary-dark); }

/* hero */
.hero { position: relative; min-height: 540px; display: grid; place-items: center; overflow: hidden; background: #333; }
.hero picture, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.hero-content { position: relative; z-index: 1; text-align: center; padding: 2rem 20px; color: #fff; }
.hero h1 { color: #fff; font-size: 2.8rem; text-shadow: 2px 2px 8px rgba(0,0,0,.7); margin: 0 0 .25rem; }
.tagline { font-size: 1.5rem; margin: 0; text-shadow: 2px 2px 8px rgba(0,0,0,.7); }
.hero-actions { margin-top: 1.5rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero .btn { background: #fff; color: var(--primary-dark); }
.hero .btn:hover, .hero .btn:focus-visible { background: var(--cream); }

/* home cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-block: 70px; }
.card { background: var(--cream); border-radius: 6px; overflow: hidden; padding: 0 0 1.5rem; display: flex; flex-direction: column; }
.card h2 { margin: 0; padding: 1.25rem 1.25rem .75rem; font-size: 1.6rem; }
.card h2 a { color: var(--ink); text-decoration: none; }
.card h2 a:hover { color: var(--primary); }
.card img { display: block; width: 100%; height: 220px; object-fit: cover; }
.card p { margin: 1rem 1.25rem 0; }
.card p:last-child { margin-top: auto; padding-top: 1rem; }

/* inner pages */
.page { padding-block: 50px 20px; }
.lead-in { font-size: 1.15rem; max-width: 60rem; }
.unit { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; padding-block: 2rem; border-top: 1px solid #ddd; }
.unit-photo img { display: block; width: 100%; border-radius: 4px; }
.unit.flip .unit-photo { order: 2; }
.unit-text p { margin: 0 0 1rem; }
.zoom { display: block; cursor: zoom-in; }
.about { grid-template-columns: 2fr 3fr; border-top: 0; }
.cta { margin-top: 2.5rem; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.contact .h3 { margin-top: 1.5rem; }
.contact > div > .h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: .6rem; }
.prose h2 { border-top: 1px solid #ddd; padding-top: 1.5rem; }
iframe { border: 0; display: block; max-width: 100%; }
.notfound { padding-block: 120px; }

/* footer */
.content-info { margin-top: 70px; padding: 45px 0 25px; background: var(--cream); border-top: 5px solid var(--primary); }
.content-info a { color: var(--primary-dark); }
.footer-title { font-weight: 700; margin: 0 0 .5rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.footer-row img { width: 130px; }
.copyright { text-align: center; padding: 25px 0 0; margin: 0; }

#scrolltotop { position: fixed; bottom: 24px; right: 24px; width: 48px; height: 48px; display: grid; place-items: center; background: var(--primary); color: #fff; border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,.35); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s, background .2s; z-index: 10; }
#scrolltotop.show { opacity: 1; visibility: visible; }
#scrolltotop:hover { background: var(--primary-dark); }
:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 2px; }

#lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
#lightbox::backdrop { background: rgba(0,0,0,.85); }
#lightbox[open] { display: grid; place-items: center; }
#lightbox img { max-width: 92vw; max-height: 92vh; width: auto; height: auto; object-fit: contain; box-shadow: 0 4px 24px rgba(0,0,0,.5); }
.lb-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #fff; color: #000; cursor: pointer; }
.lb-close:hover { background: #ddd; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: #fff; color: #000; padding: .6rem 1rem; border-radius: 4px; }
.skip:focus { top: 8px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .menu { display: none; width: 100%; flex-direction: column; align-items: stretch; }
  .menu.open { display: flex; }
  .menu-phone { margin: .5rem 0 0; text-align: center; }
  .cards, .unit, .about, .contact { grid-template-columns: 1fr; }
  .unit.flip .unit-photo { order: 0; }
  .hero { min-height: 440px; }
  .hero h1 { font-size: 2.1rem; }
  h1 { font-size: 2rem; }
}
.footer-row img { mix-blend-mode: multiply; }
.footer-row p { margin: 0; }
.footer-title { margin-bottom: .5rem !important; }
