/* =====================================================================
   Ogun State Ministry of Environment — Public Theme
   Aesthetic: "Editorial Authority / Official Gazette"
   Fraunces (display serif) + Public Sans (body) · parchment / forest / ochre
   ===================================================================== */

:root {
  /* Palette */
  --paper: #f6f2e9;          /* parchment background */
  --paper-2: #efe9da;        /* slightly deeper panel */
  --card: #fffdf8;           /* warm white card */
  --ink: #1c2620;            /* near-black text */
  --ink-soft: #54605a;       /* muted text */
  --forest: #134d35;         /* deep green primary */
  --forest-deep: #0c3324;    /* darkest green */
  --forest-mid: #1c6a48;     /* mid green */
  --ochre: #b9822f;          /* refined gold accent */
  --ochre-soft: #d7a24a;
  --line: #ddd6c5;           /* hairline on paper */
  --line-soft: #e8e2d4;

  --radius: 4px;             /* editorial = squarer corners */
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(20,50,36,.05);
  --shadow: 0 18px 50px -22px rgba(12,51,36,.35);
  --shadow-lg: 0 40px 90px -30px rgba(12,51,36,.5);

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 1240px;

  /* ---- Backwards-compatible aliases (older inline styles in some views) ---- */
  --green: var(--forest);
  --green-dark: var(--forest-mid);
  --green-darker: var(--forest-deep);
  --green-soft: var(--paper-2);
  --gold: var(--ochre);
  --gold-light: var(--ochre-soft);
  --muted: var(--ink-soft);
  --bg-alt: var(--paper-2);
  --head: var(--display);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--paper);
  /* subtle paper grain */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--ochre); }

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  color: var(--forest-deep);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
  margin: 0 0 .5em;
}
p { margin: 0 0 1.1rem; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.text-center { text-align: center; }

/* Editorial kicker: small caps label with a leading rule */
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-weight: 700; text-transform: uppercase;
  letter-spacing: .22em; font-size: .72rem; color: var(--ochre);
}
.kicker::before { content: ""; width: 34px; height: 2px; background: var(--ochre); display: inline-block; }
.section-head .kicker { justify-content: center; }
.section-head.left .kicker { justify-content: flex-start; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.7rem; font-family: var(--sans); font-weight: 700;
  font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  border: 1.5px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn-primary { background: var(--ochre); color: #1c1404; }
.btn-primary:hover { background: var(--ochre-soft); color: #1c1404; transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(185,130,47,.7); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; color: var(--forest-deep); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: #fff; }
.btn-dark { background: var(--forest-deep); color: #fff; }
.btn-dark:hover { background: var(--forest); transform: translateY(-2px); }
.btn-sm { padding: .55rem 1.05rem; font-size: .72rem; }

/* ---------- Top utility ribbon ---------- */
.topbar { background: var(--forest-deep); color: #c9dccf; font-size: .8rem; letter-spacing: .01em; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; flex-wrap: wrap; gap: 6px; }
.topbar a { color: #d8e7dd; }
.topbar a:hover { color: var(--ochre-soft); }
.topbar .info span, .topbar .info a { margin-right: 20px; display: inline-flex; align-items: center; gap: 7px; }
.topbar .socials { display: flex; gap: 6px; }
.topbar .socials a { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; font-size: .8rem; }
.topbar .socials a:hover { background: var(--ochre); color: var(--forest-deep); border-color: var(--ochre); }

/* =====================================================================
   Header / Nav — MOBILE-FIRST
   Base styles target small screens; desktop is layered on with min-width.
   ===================================================================== */
.site-header { position: sticky; top: 0; z-index: 900; background: var(--paper); border-bottom: 1px solid var(--line); }

/* brand row (always centered) */
.header-top { padding: 12px 0; }
.header-top .container { display: flex; align-items: center; justify-content: center; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; text-align: left; }
.brand img { height: 46px; width: auto; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1; border-left: 1px solid var(--line); padding-left: 12px; }
.brand .brand-text strong { font-family: var(--display); font-weight: 600; color: var(--forest-deep); font-size: 1.05rem; letter-spacing: -.02em; }
.brand .brand-text span { font-family: var(--sans); font-size: .58rem; color: var(--ochre); letter-spacing: .22em; text-transform: uppercase; margin-top: 5px; }

/* hamburger — visible on mobile, sits at the right of the brand row */
.nav-toggle { position: absolute; right: 0; top: 50%; transform: translateY(-50%); background: none; border: 0; font-size: 1.8rem; color: var(--forest-deep); cursor: pointer; line-height: 1; padding: 4px 6px; }

/* mobile drawer */
.nav-bar { /* wrapper; on mobile the nav inside becomes a drawer */ }
.main-nav {
  position: fixed; inset: 0 0 0 auto; width: min(86%, 360px); background: var(--card);
  transform: translateX(100%); transition: transform .35s cubic-bezier(.6,.1,.2,1);
  box-shadow: var(--shadow-lg); padding: 0 0 30px; overflow-y: auto; z-index: 1000;
}
.main-nav.open { transform: translateX(0); }
.nav-mobile-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--forest-deep); color: #fff; position: sticky; top: 0; }
.nav-mobile-head span { font-family: var(--display); font-size: 1.1rem; }
.nav-close { background: none; border: 0; color: #fff; font-size: 1.2rem; cursor: pointer; }

.main-nav > ul { list-style: none; display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px 14px; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: .95rem .4rem;
  font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.main-nav > ul > li > a .bi-chevron-down { font-size: .6rem; opacity: .6; transition: transform .25s; }
.main-nav > ul > li.open-sub > a .bi-chevron-down { transform: rotate(180deg); }
.main-nav > ul > li > a:hover, .main-nav > ul > li.active > a { color: var(--forest); }

/* sub-lists: collapsed by default on mobile, expand via .open-sub */
.main-nav .dropdown > ul {
  list-style: none; margin: 0; padding: 0 0 6px 14px; display: none;
}
.main-nav .dropdown.open-sub > ul { display: block; }
.main-nav .dropdown ul li a { display: flex; align-items: center; justify-content: space-between; padding: .6rem .4rem; font-size: .82rem; color: var(--ink-soft); font-weight: 500; }
.main-nav .dropdown ul li a:hover { color: var(--forest); }

/* Overlay must sit BELOW the header layer (the drawer lives inside the
   sticky header, so an overlay above the header would cover the drawer). */
.nav-overlay { position: fixed; inset: 0; background: rgba(12,51,36,.5); opacity: 0; visibility: hidden; transition: opacity .3s ease; z-index: 800; }
.nav-overlay.show { opacity: 1; visibility: visible; }

/* ---------- DESKTOP NAV (>= 1100px) ---------- */
@media (min-width: 1100px) {
  .site-header { background: rgba(246,242,233,.94); backdrop-filter: blur(10px); }
  .header-top { padding: 16px 0; }
  .brand img { height: 56px; }
  .brand .brand-text strong { font-size: 1.3rem; }
  .brand .brand-text span { font-size: .66rem; letter-spacing: .28em; }
  .nav-toggle, .nav-mobile-head { display: none; }
  .nav-overlay { display: none; }

  .nav-bar { border-top: 1px solid var(--line); background: var(--card); }
  .main-nav { position: static; width: auto; transform: none; box-shadow: none; padding: 0; overflow: visible; background: transparent; }
  .main-nav > ul { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 2px; padding: 4px 0; }
  .main-nav > ul > li > a {
    padding: .85rem .85rem; font-size: .74rem; letter-spacing: .08em; border-bottom: 0; justify-content: center; position: relative;
  }
  .main-nav > ul > li > a::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .45rem; height: 2px; background: var(--ochre); transform: scaleX(0); transform-origin: left; transition: transform .28s cubic-bezier(.6,.1,.2,1); }
  .main-nav > ul > li > a:hover::after, .main-nav > ul > li.active > a::after { transform: scaleX(1); }

  .main-nav .dropdown > ul {
    position: absolute; top: calc(100% + 4px); left: 50%; transform: translateX(-50%) translateY(8px);
    min-width: 256px; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--ochre);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow); padding: 8px;
    display: block; opacity: 0; visibility: hidden; transition: all .22s ease; z-index: 60;
  }
  .main-nav .dropdown:hover > ul { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
  .main-nav .dropdown ul li a { padding: .6rem .85rem; border-radius: var(--radius); font-size: .85rem; color: var(--ink); }
  .main-nav .dropdown ul li a:hover { background: var(--paper-2); color: var(--forest); padding-left: 1.1rem; }
  .main-nav .dropdown .dropdown > ul { top: -9px; left: 100%; transform: translateY(8px); }
  .main-nav .dropdown .dropdown:hover > ul { transform: translateY(0); }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero .slides { position: absolute; inset: 0; }
.hero .slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease; }
.hero .slide.active { opacity: 1; animation: heroZoom 9s ease forwards; }
@keyframes heroZoom { from { transform: scale(1.02); } to { transform: scale(1.13); } }
.hero .overlay { position: absolute; inset: 0; background:
  linear-gradient(95deg, rgba(12,51,36,.95) 0%, rgba(12,51,36,.82) 38%, rgba(12,51,36,.30) 70%, rgba(12,51,36,.1) 100%); }
.hero .overlay::after { content:""; position:absolute; inset:0; background: linear-gradient(0deg, rgba(12,51,36,.6), transparent 40%); }
.hero .hero-inner { position: relative; z-index: 3; max-width: 760px; padding: 90px 0 150px; }
.hero .kicker { color: var(--ochre-soft); }
.hero .kicker::before { background: var(--ochre-soft); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 500; margin: 1.1rem 0 1.2rem; letter-spacing: -.025em; }
.hero h1 em { font-style: italic; color: var(--ochre-soft); }
.hero p { font-size: 1.18rem; max-width: 560px; color: #e7efe9; font-weight: 300; }
.hero .hero-actions { margin-top: 2rem; display: flex; gap: 14px; flex-wrap: wrap; }

/* quick-access cards overlapping hero bottom */
.quick-access { position: relative; z-index: 5; margin-top: -86px; }
.quick-access .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.qa { display: flex; gap: 14px; align-items: flex-start; padding: 26px 24px; border-right: 1px solid var(--line); transition: background .25s ease; }
.qa:last-child { border-right: 0; }
.qa:hover { background: var(--paper-2); }
.qa .qa-ico { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--forest); color: var(--ochre-soft); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.qa h4 { margin: 0 0 4px; font-size: 1.02rem; }
.qa p { margin: 0; font-size: .82rem; color: var(--ink-soft); }
.qa .arrow { margin-top: 8px; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--ochre); display: inline-flex; align-items: center; gap: 5px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--forest-deep); color: #dfeae3; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; margin: .7rem 0 .5rem; }
.section-head h2 em { font-style: italic; color: var(--ochre); }
.section-head p { color: var(--ink-soft); margin: 0; font-size: 1.05rem; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 30px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ---------- About ---------- */
.about-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media .img-slider { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--paper-2); }
.about-media .img-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1.1s ease, transform 5s ease; }
.about-media .img-slide.active { opacity: 1; transform: scale(1); }
.about-media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--ochre); border-radius: var(--radius-lg); z-index: -1; }
/* generic single image inside about-media (fallback) */
.about-media > img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.vm-card { background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--ochre); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin-top: 1.1rem; }
.vm-card h4 { margin: 0 0 .35rem; color: var(--forest); font-size: 1.1rem; display: flex; align-items: center; gap: 9px; }
.vm-card h4 i { color: var(--ochre); }

/* ---------- Stats ---------- */
.stats { background:
  linear-gradient(rgba(12,51,36,.92), rgba(12,51,36,.92)),
  url("../img/about-img.jpg") center/cover fixed; color: #fff; }
.stats .grid-4 { gap: 0; }
.stat { text-align: center; padding: 30px 18px; border-right: 1px solid rgba(255,255,255,.13); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--display); font-size: 3.4rem; font-weight: 500; color: var(--ochre-soft); line-height: 1; font-variant-numeric: lining-nums; }
.stat .label { font-size: .82rem; color: #c9dccf; text-transform: uppercase; letter-spacing: .12em; margin-top: 10px; }

/* ---------- Cards (news) ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; height: 100%; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--ochre); }
.card .card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-2); position: relative; }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.card:hover .card-img img { transform: scale(1.06); }
.card .card-body { padding: 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card .date { font-size: .72rem; color: var(--ochre); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; display: flex; align-items: center; gap: 7px; }
.card h3 { font-size: 1.25rem; font-weight: 600; margin: .6rem 0 .7rem; line-height: 1.25; }
.card h3 a { color: var(--forest-deep); }
.card h3 a:hover { color: var(--ochre); }
.card p { color: var(--ink-soft); font-size: .92rem; margin: 0 0 1.1rem; flex: 1; }
.card .more { font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; display: inline-flex; align-items: center; gap: 7px; color: var(--forest); }
.card .more:hover { color: var(--ochre); gap: 11px; }
.badge { display: inline-block; background: var(--paper-2); color: var(--forest); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: .3rem .75rem; border-radius: 30px; border: 1px solid var(--line); }

/* category badge on card image */
.card-cat { position: absolute; top: 12px; left: 12px; background: rgba(12,51,36,.92); color: #fff; font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; padding: .32rem .72rem; border-radius: 30px; backdrop-filter: blur(2px); }

/* embedded news/category block inside page content — neutralise content-body img rules */
.content-body .embed-news img,
.content-body .embed-cats img { margin: 0; border-radius: 0; box-shadow: none; }
.content-body .embed-news .card-img img { border-radius: 0; }
.content-body .embed-news h3 { margin: .55rem 0 .6rem; color: var(--forest-deep); }
.content-body .embed-news ul, .content-body .embed-news ol { padding: 0; margin: 0; }
.content-body .embed-news li { margin: 0; }

/* ---------- News category filter bar ---------- */
.cat-bar { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cat-chip { display: flex; align-items: center; gap: 13px; background: var(--card); border: 1.5px solid var(--line); border-radius: 60px; padding: .55rem 1.4rem .55rem .55rem; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.cat-chip:hover { border-color: var(--ochre); transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-chip .cat-ico { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--paper-2); color: var(--forest); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; transition: background .2s, color .2s; }
.cat-chip .cat-meta { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.cat-chip .cat-meta strong { font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--forest-deep); }
.cat-chip .cat-meta small { font-size: .68rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .1em; margin-top: 2px; }
.cat-chip.active { background: var(--forest-deep); border-color: var(--forest-deep); }
.cat-chip.active .cat-ico { background: var(--ochre); color: var(--forest-deep); }
.cat-chip.active .cat-meta strong { color: #fff; }
.cat-chip.active .cat-meta small { color: var(--ochre-soft); }
@media (max-width: 640px) {
  .cat-bar { flex-direction: column; }
  .cat-chip { width: 100%; }
}

/* ---------- Department cards (editorial / numbered) ---------- */
.dept-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.8rem; position: relative; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.dept-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--ochre); transform: scaleY(0); transform-origin: top; transition: transform .35s ease; }
.dept-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.dept-card:hover::before { transform: scaleY(1); }
.dept-card .ico { width: 52px; height: 52px; border-radius: 50%; background: var(--paper-2); color: var(--forest); display: flex; align-items: center; justify-content: center; font-size: 1.45rem; margin-bottom: 1.1rem; }
.dept-card h3 { font-size: 1.16rem; font-weight: 600; margin: 0 0 .55rem; }
.dept-card .more { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--ochre); display: inline-flex; gap: 6px; align-items: center; margin-top: .8rem; }

/* ---------- Team ---------- */
.team-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; text-align: left; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-card .photo { aspect-ratio: 4/5; overflow: hidden; background: var(--paper-2); }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.96); transition: transform .6s ease; }
.team-card:hover .photo img { transform: scale(1.05); }
.team-card .info { padding: 1.2rem 1.3rem; border-top: 3px solid var(--ochre); }
.team-card .info h4 { margin: 0 0 .3rem; font-size: 1.12rem; font-weight: 600; }
.team-card .info span { color: var(--ink-soft); font-size: .8rem; display: block; line-height: 1.5; }

/* ---------- Page hero (editorial banner) ---------- */
.page-hero { position: relative; padding: 110px 0 64px; color: #fff; overflow: hidden;
  background:
    radial-gradient(1200px 380px at 85% -40%, rgba(185,130,47,.30), transparent 60%),
    linear-gradient(120deg, var(--forest-deep) 0%, var(--forest) 60%, #115c3e 100%); }
/* refined botanical line pattern instead of a photo */
.page-hero::before { content: ""; position: absolute; inset: 0; opacity: .14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150' viewBox='0 0 150 150'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M38 105 C20 78 30 42 66 30'/%3E%3Cpath d='M66 30 C42 48 40 78 50 98'/%3E%3Cpath d='M52 64 L60 56 M48 78 L57 70 M46 90 L54 84'/%3E%3Cpath d='M112 122 C132 96 122 60 88 48'/%3E%3Cpath d='M88 48 C110 64 112 94 102 116'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 150px 150px; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--ochre); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 500; margin: 0; }
.breadcrumb { color: #b9cdc1; font-size: .82rem; margin-top: .9rem; text-transform: uppercase; letter-spacing: .1em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--ochre-soft); }

/* ---------- Content body ---------- */
.content-body { font-size: 1.06rem; color: #2c3831; line-height: 1.85; }
.content-body > *:first-child { margin-top: 0; }
.content-body h2 { font-size: 1.7rem; margin: 1.8rem 0 .8rem; }
.content-body h3, .content-body h4 { margin: 1.5rem 0 .6rem; color: var(--forest); }
.content-body p { margin: 0 0 1.2rem; }
.content-body ul, .content-body ol { padding-left: 1.3rem; margin: 0 0 1.3rem; }
.content-body li { margin-bottom: .55rem; }
.content-body li::marker { color: var(--ochre); }
.content-body img { border-radius: var(--radius-lg); margin: 1.2rem 0; }
.content-body blockquote { border-left: 3px solid var(--ochre); margin: 1.4rem 0; padding: .4rem 0 .4rem 1.4rem; font-family: var(--display); font-style: italic; font-size: 1.25rem; color: var(--forest-deep); }
.content-body table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .92rem; }
.content-body table th, .content-body table td { border: 1px solid var(--line); padding: .7rem .9rem; text-align: left; }
.content-body table th, .content-body table thead td { background: var(--forest); color: #fff; font-weight: 700; font-family: var(--sans); }
.content-body table tr:nth-child(even) td { background: var(--paper); }

.layout-2col { display: grid; grid-template-columns: 1fr 330px; gap: 56px; align-items: start; }
.sidebar .widget { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 26px; }
.sidebar .widget h4 { margin: 0 0 1.1rem; font-size: 1.15rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); position: relative; }
.sidebar .widget h4::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 46px; height: 3px; background: var(--ochre); }
.sidebar .mini { display: flex; gap: 13px; margin-bottom: 15px; }
.sidebar .mini img { width: 66px; height: 66px; border-radius: var(--radius); object-fit: cover; flex: none; }
.sidebar .mini a { font-size: .88rem; font-weight: 600; color: var(--forest-deep); line-height: 1.4; }
.sidebar .mini a:hover { color: var(--ochre); }

/* ---------- Accordion ---------- */
.accordion-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; background: var(--card); }
.accordion-btn { width: 100%; text-align: left; padding: 1.25rem 1.4rem; background: var(--card); border: 0; font-weight: 600; font-family: var(--display); color: var(--forest-deep); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 1.12rem; }
.accordion-btn:hover { color: var(--ochre); }
.accordion-btn .sign { color: var(--ochre); font-size: 1.5rem; flex: none; transition: transform .3s; font-family: var(--sans); }
.accordion-btn.open { background: var(--paper-2); }
.accordion-btn.open .sign { transform: rotate(45deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.accordion-panel .inner { padding: .2rem 1.4rem 1.4rem; color: var(--ink-soft); }

/* ---------- Documents ---------- */
.doc-card { display: flex; gap: 18px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem 1.5rem; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.doc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--ochre); }
.doc-card .doc-ico { width: 54px; height: 54px; border-radius: var(--radius); background: var(--forest); color: var(--ochre-soft); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; flex: none; }
.doc-card h3 { font-size: 1.1rem; font-weight: 600; margin: 0 0 .35rem; }
.doc-card .meta { font-size: .82rem; color: var(--ink-soft); margin: 0; }

/* ---------- Contact ---------- */
.info-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem 1.6rem; text-align: center; height: 100%; transition: transform .25s, box-shadow .25s; }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.info-card .ico { width: 60px; height: 60px; border-radius: 50%; background: var(--forest); color: var(--ochre-soft); display: flex; align-items: center; justify-content: center; font-size: 1.55rem; margin: 0 auto 1.1rem; }
.info-card h3 { font-size: 1.2rem; margin: 0 0 .5rem; }
.form-control { width: 100%; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--sans); font-size: .95rem; background: var(--card); transition: border-color .2s, box-shadow .2s; }
.form-control:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(19,77,53,.12); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 700; margin-bottom: .45rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--forest-deep); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); margin-top: 28px; }
.map-wrap iframe { display: block; width: 100%; border: 0; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid a { display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.gallery-grid a:hover img { transform: scale(1.1); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--forest-deep); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; border: 40px solid rgba(185,130,47,.14); border-radius: 50%; }
.cta-band h2 { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: #b6c9bd; padding-top: 72px; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--ochre); }
.site-footer h4 { color: #fff; margin: 0 0 1.2rem; font-size: 1.18rem; font-weight: 600; }
.site-footer .grid { gap: 42px; }
.site-footer a { color: #b6c9bd; }
.site-footer a:hover { color: var(--ochre-soft); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6rem; font-size: .92rem; }
.footer-brand img { height: 64px; margin-bottom: 1.2rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding: 24px 0; font-size: .84rem; text-align: center; color: #95a99d; }
.footer-bottom a { color: var(--ochre-soft); }

/* back to top */
.to-top { position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%; background: var(--forest); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; opacity: 0; pointer-events: none; transition: .3s; z-index: 200; box-shadow: var(--shadow); }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--ochre); color: var(--forest-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about-wrap, .layout-2col { grid-template-columns: 1fr; gap: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .quick-access .grid { grid-template-columns: repeat(2, 1fr); }
  .qa:nth-child(2) { border-right: 0; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .stats .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
}
@media (max-width: 640px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .quick-access .grid { grid-template-columns: 1fr; }
  .qa { border-right: 0; border-bottom: 1px solid var(--line); }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stats .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .brand .brand-text strong { font-size: 1.05rem; }
}
