:root {
  --green: #1d3b2f;
  --green-soft: #2c5242;
  --paper: #f4f6f1;
  --white: #ffffff;
  --yellow: #f5b800;
  --text: #1b2a23;
  --muted: #55655c;
  --line: #d3dbd0;
  --maxw: 880px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  font-size: 1.0625rem; line-height: 1.55; color: var(--text); background: var(--paper);
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* header + menu */
.top { background: var(--green); color: var(--white); position: sticky; top: 0; z-index: 30; }
.top .wrap { max-width: 1040px; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; }
.brand { font-weight: 800; letter-spacing: .01em; text-decoration: none; font-size: 1.1rem; white-space: nowrap; }
.top nav { display: flex; align-items: center; gap: 22px; }
.top nav a { text-decoration: none; font-size: .97rem; opacity: .92; padding: 6px 0; border-bottom: 2px solid transparent; }
.top nav a:hover { opacity: 1; border-bottom-color: rgba(255,255,255,.5); }
.top nav a[aria-current="page"] { opacity: 1; border-bottom-color: var(--yellow); }
.top nav a.nav-tel { background: var(--yellow); color: var(--green); font-weight: 800; padding: 7px 14px; border-radius: 6px; border-bottom: 0; opacity: 1; }
.menu-btn {
  display: none; background: none; border: 2px solid rgba(255,255,255,.7); color: var(--white);
  font: inherit; font-weight: 700; padding: 6px 14px; border-radius: 6px; cursor: pointer;
}
@media (max-width: 1000px) {
  .menu-btn { display: block; }
  .top nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; background: var(--green); padding: 4px 20px 14px;
    border-top: 1px solid rgba(255,255,255,.18); box-shadow: 0 10px 20px rgba(0,0,0,.25);
  }
  .top nav.open { display: flex; }
  .top nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 1.05rem; }
  .top nav a[aria-current="page"] { color: var(--yellow); border-bottom-color: rgba(255,255,255,.14); }
  .top nav a.nav-tel { margin-top: 12px; text-align: center; padding: 13px 14px; }
}

/* buttons */
.btn {
  display: inline-block; padding: 14px 24px; border-radius: 6px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; font-size: 1.05rem; cursor: pointer; font-family: inherit; line-height: 1.2;
}
.btn-main { background: var(--yellow); color: var(--green); }
.btn-main:hover { background: #ffc61a; }
.btn-line { border-color: var(--white); color: var(--white); }
.btn-line:hover { background: rgba(255,255,255,.12); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-soft); }

/* hero (home) */
.hero { background: var(--green); color: var(--white); padding: 48px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 5.5vw, 3.1rem); line-height: 1.08; margin: 0 0 16px; font-weight: 800; letter-spacing: -.01em; }
.hero p { margin: 0 0 26px; max-width: 34em; color: #dbe6df; font-size: 1.15rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero img { width: 100%; height: 260px; object-fit: cover; border-radius: 8px; display: block; }
@media (max-width: 720px) { .hero .wrap { grid-template-columns: 1fr; } .hero img { height: 200px; } }
.hero .wrap:not(:has(img)) { grid-template-columns: 1fr; }

/* page head (department pages) */
.page-head { background: var(--green); color: var(--white); padding: 26px 0 34px; }
.crumb { margin: 0 0 14px; font-size: .92rem; }
.crumb a { color: #cfdcd4; }
.page-head h1 { font-size: clamp(1.8rem, 4.5vw, 2.5rem); line-height: 1.1; margin: 0 0 10px; font-weight: 800; letter-spacing: -.01em; }
.page-head p.lead { color: #dbe6df; margin: 0; max-width: 36em; font-size: 1.1rem; }

/* sections */
section { padding: 48px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { font-size: 1.8rem; line-height: 1.15; margin: 0 0 8px; letter-spacing: -.01em; }
.lead { color: var(--muted); margin: 0 0 28px; max-width: 38em; }

/* department tiles (home) */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 720px) { .tiles { grid-template-columns: 1fr; } }
.tile {
  display: flex; flex-direction: column; gap: 10px; text-decoration: none; background: var(--white);
  border: 1px solid var(--line); border-top: 5px solid var(--green); border-radius: 6px; padding: 20px 22px 22px;
}
.tile:hover { border-color: var(--green); }
.tile h3 { margin: 0; font-size: 1.35rem; }
.tile p { margin: 0; color: var(--muted); flex: 1; }
.tile .tag { align-self: flex-start; }
.tile .go { font-weight: 700; color: var(--green-soft); text-decoration: underline; }

/* price list */
.price-list { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--green); }
.price-list > li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.item-name { font-weight: 600; flex: 1 1 0; min-width: 0; }
.item-note { display: block; font-weight: 400; font-size: .92rem; color: var(--muted); }
.tag {
  position: relative; flex: none; background: var(--yellow); color: var(--green); font-weight: 800;
  padding: 6px 12px 6px 22px; border-radius: 0 5px 5px 0; white-space: nowrap;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%);
}
.tag small { font-weight: 600; font-size: .78rem; margin-left: 2px; }

.terms { background: var(--white); border-left: 5px solid var(--green); padding: 18px 22px; margin-top: 26px; border-radius: 0 6px 6px 0; }
.terms h2 { font-size: 1.1rem; margin: 0 0 8px; }
.terms ul { margin: 0; padding-left: 20px; }
.terms li { margin: 4px 0; }

/* search */
.search { margin: 0 0 26px; }
.search label { display: block; font-weight: 700; margin-bottom: 6px; }
.search input { width: 100%; font-size: 1.1rem; min-height: 50px; padding: 12px 14px; }
.results { margin-top: 8px; }
.results-list { list-style: none; margin: 0; padding: 0; background: var(--white); border: 2px solid var(--line); border-radius: 6px; }
.results-list li + li { border-top: 1px solid var(--line); }
.results-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 13px 14px; text-decoration: none; font-weight: 600; }
.results-list a:hover, .results-list a:focus-visible { background: #fff3c4; }
.results-list small { color: var(--muted); font-weight: 400; font-size: .9rem; text-align: right; }
.results-none { margin: 4px 0 0; color: var(--muted); }
.price-list > li:target { background: #fff3c4; box-shadow: -12px 0 0 #fff3c4, 12px 0 0 #fff3c4; }

/* gallery link + lightbox */
.item-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 3px; }
.gal {
  display: block; margin: 0; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: .9rem; font-weight: 600; color: var(--green-soft); text-decoration: underline;
}
.gal:hover { color: var(--green); }
.details { flex: 0 0 100%; margin-top: 12px; background: var(--white); border-left: 5px solid var(--green); border-radius: 0 6px 6px 0; padding: 14px 18px; font-weight: 400; font-size: 1rem; cursor: auto; }
.details[hidden] { display: none; }
.details p { margin: 0 0 8px; }
.details ul { margin: 0 0 8px; padding-left: 20px; list-style: disc; }
.details > :last-child { margin-bottom: 0; }
.gal[hidden], .lb-btn[hidden] { display: none; }
dialog#lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; width: 960px; overflow: visible; color: var(--white); }
dialog#lightbox::backdrop { background: rgba(10, 20, 15, .9); }
.lb-title { margin: 0 0 10px; font-weight: 700; font-size: 1.1rem; padding-right: 56px; }
.lb-stage { position: relative; }
.lb-stage img { width: 100%; max-height: 76vh; object-fit: contain; display: block; border-radius: 8px; background: #0b1510; }
.lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.92); color: var(--green); font-size: 1.6rem; line-height: 1; cursor: pointer; font-family: inherit;
}
.lb-prev { left: 10px; } .lb-next { right: 10px; }
.lb-close {
  position: absolute; top: -4px; right: 0; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--yellow); color: var(--green); font-size: 1.5rem; font-weight: 800; cursor: pointer; line-height: 1;
}
.lb-count { margin: 10px 0 0; font-size: .9rem; color: #cfdcd4; text-align: center; }

/* steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; }
.steps li::before { content: counter(s); width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: var(--white); font-weight: 800; display: grid; place-items: center; }
.steps strong { display: block; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 20px; }
.contact-list li { margin: 8px 0; }
.contact-list a { font-weight: 700; font-size: 1.25rem; }
form { display: grid; gap: 14px; }
label { display: grid; gap: 4px; font-weight: 600; font-size: .95rem; }
input, textarea { font: inherit; padding: 11px 12px; border: 2px solid var(--line); border-radius: 6px; background: var(--white); color: var(--text); }
input:focus, textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(245,184,0,.5); }
textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }

/* contact buttons */
.actions-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* call-to-action band + other departments */
.cta { background: var(--green); color: var(--white); padding: 40px 0; border-top: 0; }
.cta h2 { font-size: 1.5rem; margin-bottom: 6px; }
.cta p { margin: 0 0 20px; color: #dbe6df; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.more-links { display: flex; flex-wrap: wrap; gap: 10px; }
.more-links a { text-decoration: none; background: var(--white); border: 2px solid var(--line); border-radius: 6px; padding: 10px 16px; font-weight: 700; }
.more-links a:hover { border-color: var(--green); }

footer { background: #15291f; color: #cfdcd4; padding: 32px 0; font-size: .94rem; }
footer .wrap { max-width: 1040px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
@media (max-width: 720px) { footer .wrap { grid-template-columns: 1fr; gap: 20px; } }
footer h2 { font-size: 1rem; color: var(--white); margin: 0 0 8px; letter-spacing: 0; }
footer a { color: var(--white); }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin: 4px 0; }

/* mobile call bar */
.callbar { display: none; }
@media (max-width: 1000px) {
  footer { padding-bottom: 96px; }
  .callbar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--green);
    box-shadow: 0 -2px 10px rgba(0,0,0,.2);
  }
  .callbar .btn { display: block; text-align: center; width: 100%; }
}
