:root {
  --ink: #1f2a24;
  --muted: #5b6b62;
  --line: #dde3de;
  --bg: #fbfaf7;
  --card: #ffffff;
  --brand: #2f5d4f;
  --brand-dark: #1f3f35;
  --accent: #c9742f;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

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

img { max-width: 100%; height: auto; }

/* Header / nav */
.site-header {
  background: var(--brand);
  color: #fff;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
}
.brand {
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.brand-logo {
  height: 32px;
  width: auto;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.95rem;
}
.nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.nav > ul > li {
  position: relative;
}
.nav > ul > li > a {
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  display: block;
  border-radius: 6px;
  font-size: 0.95rem;
}
.nav > ul > li > a:hover,
.nav > ul > li:hover > a {
  background: rgba(255,255,255,0.12);
}
.submenu-toggle {
  display: none;
}
.nav .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-width: 220px;
  padding: 6px;
  z-index: 20;
}
.has-children:hover .submenu,
.has-children:focus-within .submenu {
  display: block;
}
.submenu li a {
  color: var(--ink);
  text-decoration: none;
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.92rem;
}
.submenu li a:hover {
  background: #f1f3ee;
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    width: 100%;
  }
  .nav.open { display: block; }
  .nav > ul {
    flex-direction: column;
  }
  .has-children {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .has-children > a {
    flex: 1;
  }
  .submenu-toggle {
    display: block;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1rem;
    padding: 8px 12px;
    cursor: pointer;
  }
  .nav .submenu {
    display: none;
    position: static;
    border: none;
    box-shadow: none;
    padding-left: 12px;
    background: transparent;
    width: 100%;
    order: 3;
  }
  .submenu li a { color: rgba(255,255,255,0.85); }
  .submenu li a:hover { background: rgba(255,255,255,0.1); }
  .has-children.open .submenu { display: block; }
}

/* Content */
.site-main {
  min-height: 60vh;
}
.page {
  padding: 40px 20px 60px;
}
.page h1 {
  margin-top: 0;
  font-size: 2rem;
}
.page h2 {
  margin-top: 2em;
  color: var(--brand-dark);
}
.page table {
  border-collapse: collapse;
  width: 100%;
  margin: 1.2em 0;
}
.page table td, .page table th {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
}
.page p {
  clear: both;
}
.page .alignleft {
  float: left;
  margin: 0 16px 12px 0;
}
.page .alignright {
  float: right;
  margin: 0 0 12px 16px;
}
.page .aligncenter {
  display: block;
  margin: 12px auto;
}
.page .wp-caption {
  margin: 0 0 16px;
  max-width: 100%;
}
.page .wp-caption.alignleft {
  float: left;
  margin: 0 16px 12px 0;
}
.page .wp-caption.alignright {
  float: right;
  margin: 0 0 12px 16px;
}
.page .wp-caption.aligncenter {
  margin: 12px auto;
  text-align: center;
}
.page .wp-caption img {
  display: block;
  margin: 0 auto;
}
.page .wp-caption figcaption {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-top: 6px;
}
.page iframe {
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}

/* Gallery grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 1.5em 0;
}
.gallery-item {
  margin: 0;
}
.gallery-item a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.18s ease;
}
.gallery-item a:hover img {
  transform: scale(1.03);
}
.gallery-item figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.35;
}

/* Home page hero */
.home-hero {
  background: var(--brand-dark);
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}
.home-hero h1 {
  font-size: 2.4rem;
  margin: 0 0 12px;
}
.home-hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
}

/* Contact form */
.contact-form {
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 1.5em;
}
.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
}
.contact-form input,
.contact-form textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 1rem;
  font-family: inherit;
}
.contact-form .honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.btn {
  display: inline-block;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
}
.btn.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.btn.primary:hover {
  background: var(--brand-dark);
}
.form-status {
  min-height: 1.2em;
  color: var(--muted);
  font-size: 0.9rem;
}

footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  color: var(--muted);
  font-size: 0.9rem;
}
