/* AK Tree Surgeons Journal — single stylesheet
   Recreates the 2021 Elementor "agri" look: green accent, dark top bar,
   white header, full-bleed photo hero, split services list, steps, CTA band,
   dark three-column footer. */

:root {
  --green: #61a229;
  --green-dark: #4e8221;
  --ink: #333333;
  --ink-dark: #292929;
  --grey: #b2b2b3;
  --grey-light: #dedfe0;
  --paper: #f6f7f4;
  --white: #ffffff;
  --max: 1140px;
  --head: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --body: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --alt: "Lato", "Helvetica Neue", Arial, sans-serif;
  --cond: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover, a:focus { color: var(--green-dark); text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink-dark); line-height: 1.25; margin: 0 0 .6em; }
p { margin: 0 0 1.1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 10px; top: 10px; background: #fff; padding: 8px 12px; z-index: 99; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink-dark); color: #d6d6d6; font-family: var(--cond); font-size: 14px; letter-spacing: .3px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 12px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar strong { color: var(--green); font-weight: 700; }

/* ---------- Header ---------- */
.site-header { background: var(--white); box-shadow: 0 2px 12px rgba(0,0,0,.06); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 86px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink-dark); text-decoration: none !important; }
.logo svg { flex: 0 0 auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text b { font-family: var(--head); font-weight: 800; font-size: 22px; letter-spacing: .5px; color: var(--ink-dark); }
.logo-text b span { color: var(--green); }
.logo-text small { font-family: var(--cond); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--green-dark); }

.nav-toggle { display: none; }
.nav-btn { display: none; cursor: pointer; padding: 10px; border: 1px solid var(--grey-light); border-radius: 4px; }
.nav-btn span, .nav-btn span::before, .nav-btn span::after { display: block; width: 22px; height: 2px; background: var(--ink-dark); position: relative; content: ""; }
.nav-btn span::before { position: absolute; top: -7px; }
.nav-btn span::after { position: absolute; top: 7px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a {
  display: block; padding: 10px 14px; font-family: var(--head); font-weight: 500; font-size: 15px;
  color: var(--ink-dark); text-transform: capitalize; border-radius: 3px;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--green); text-decoration: none; }
.main-nav .nav-cta a { background: var(--green); color: #fff; padding: 10px 20px; }
.main-nav .nav-cta a:hover { background: var(--green-dark); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--green); color: #fff; font-family: var(--head); font-weight: 600;
  font-size: 15px; padding: 14px 32px; border-radius: 3px; text-transform: uppercase; letter-spacing: .8px;
  transition: background .2s ease;
}
.btn:hover, .btn:focus { background: var(--green-dark); color: #fff; text-decoration: none; }
.btn-light { background: #fff; color: var(--green-dark); }
.btn-light:hover, .btn-light:focus { background: var(--ink-dark); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 620px; display: flex; align-items: center; color: #fff;
  background: #2c3b1f url("img/beech-woodland-ferns-1800x1000.jpg") center/cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,28,12,.82) 0%, rgba(20,28,12,.55) 60%, rgba(20,28,12,.35) 100%); }
.hero .container { position: relative; }
.hero-inner { max-width: 640px; }
.eyebrow { font-family: var(--cond); text-transform: uppercase; letter-spacing: 3px; font-size: 15px; color: #a9dd7b; margin-bottom: 12px; display: block; }
.hero h1 { color: #fff; font-size: 52px; font-weight: 700; margin-bottom: 20px; }
.hero p { font-family: var(--alt); font-size: 18px; color: #eef2ea; }

.page-hero { position: relative; color: #fff; padding: 90px 0 70px; background: #2c3b1f url("img/tree-canopy-1800x600.jpg") center/cover no-repeat; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(20,28,12,.72); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: 42px; margin: 0; }
.page-hero p { margin: 10px 0 0; color: #e3e9dc; font-family: var(--alt); font-size: 17px; max-width: 720px; }
.crumbs { font-family: var(--cond); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; color: #c9d8bb; }
.crumbs a { color: #a9dd7b; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-grey { background: var(--paper); }
.section-title { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-title h2 { font-size: 36px; text-transform: capitalize; margin-bottom: 14px; }
.section-title .divider { width: 70px; height: 3px; background: var(--green); margin: 0 auto 18px; border: 0; }
.section-title p { color: #666; font-family: var(--alt); }
.section-title.left { text-align: left; margin-left: 0; }
.section-title.left .divider { margin-left: 0; }

/* Split "services" block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.split-media { min-height: 460px; background: #3d5a26 url("img/woodland-garden-bushy-park-900x900.jpg") center/cover no-repeat; }
.split-body { background: var(--ink-dark); color: #d9d9d9; padding: 70px 60px; }
.split-body h2 { color: #fff; font-size: 36px; text-transform: capitalize; }
.split-body .divider { width: 70px; height: 3px; background: var(--green); margin: 0 0 22px; border: 0; }
.icon-list { list-style: none; padding: 0; margin: 0; }
.icon-list li { position: relative; padding: 8px 0 8px 34px; border-bottom: 1px solid rgba(255,255,255,.08); }
.icon-list li::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' stroke='%23fff' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.icon-list strong { color: #fff; font-family: var(--head); font-weight: 600; }
.icon-list a { color: #fff; }
.icon-list a:hover { color: #a9dd7b; }

/* Topic tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tile { background: #fff; border: 1px solid var(--grey-light); border-top: 4px solid var(--green); padding: 30px 24px; border-radius: 3px; transition: transform .2s ease, box-shadow .2s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.08); }
.tile svg { margin-bottom: 14px; }
.tile h3 { font-size: 19px; }
.tile p { font-size: 15px; color: #666; margin: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.about-media { min-height: 380px; border-radius: 3px; background: #3d5a26 url("img/major-oak-sherwood-800x700.jpg") center/cover no-repeat; box-shadow: 18px 18px 0 var(--green); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: step; }
.step { text-align: center; padding: 10px 16px; }
.step-num {
  width: 74px; height: 74px; border-radius: 50%; background: var(--green); color: #fff; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center; font-family: var(--head); font-weight: 700; font-size: 26px;
  box-shadow: 0 0 0 8px rgba(97,162,41,.18);
}
.step h3 { font-size: 20px; }
.step p { color: #666; font-size: 15px; }

/* Article cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card { background: #fff; border: 1px solid var(--grey-light); border-radius: 3px; overflow: hidden; display: flex; flex-direction: column; }
.card-img { aspect-ratio: 16 / 10; background: #3d5a26 center/cover no-repeat; }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-meta { font-family: var(--cond); font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--green-dark); margin-bottom: 8px; }
.card h3 { font-size: 20px; }
.card h3 a { color: var(--ink-dark); }
.card h3 a:hover { color: var(--green); text-decoration: none; }
.card p { font-size: 15px; color: #666; }
.card .more { margin-top: auto; font-family: var(--head); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .8px; }
.badge { display: inline-block; background: var(--grey-light); color: var(--ink); font-family: var(--cond); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; margin-top: auto; align-self: flex-start; }

/* CTA band */
.cta-band { background: var(--green); color: #fff; padding: 60px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: 34px; margin: 0 0 6px; }
.cta-band p { margin: 0; font-family: var(--alt); font-size: 18px; color: #eef7e6; }

/* ---------- Article ---------- */
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 50px; }
.article { font-size: 17px; }
.article h2 { font-size: 26px; margin-top: 1.8em; }
.article h3 { font-size: 20px; margin-top: 1.4em; }
.article ul, .article ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.article li { margin-bottom: .4em; }
.article blockquote { margin: 1.5em 0; padding: 18px 24px; background: var(--paper); border-left: 4px solid var(--green); font-family: var(--alt); font-style: italic; }
.article-meta { font-family: var(--cond); text-transform: uppercase; letter-spacing: 1.5px; font-size: 14px; color: #c9d8bb; margin-top: 12px; }
.article-figure { margin: 0 0 30px; }
.article-figure div { aspect-ratio: 16 / 8; background: #3d5a26 center/cover no-repeat; border-radius: 3px; }
.article-figure figcaption { font-size: 13px; color: #888; margin-top: 6px; }
.note { background: #f0f6ea; border: 1px solid #cfe3bc; padding: 16px 20px; border-radius: 3px; font-size: 15px; }
.author-box { margin-top: 40px; padding: 24px; border: 1px solid var(--grey-light); border-top: 4px solid var(--green); border-radius: 3px; }
.author-box h3 { font-size: 18px; margin-bottom: 6px; }

.sidebar .widget { background: var(--paper); padding: 24px; border-radius: 3px; margin-bottom: 26px; }
.sidebar h3 { font-size: 18px; border-bottom: 3px solid var(--green); padding-bottom: 8px; display: inline-block; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar li { padding: 7px 0; border-bottom: 1px solid var(--grey-light); font-size: 15px; }
.sidebar li:last-child { border-bottom: 0; }

.prose { max-width: 820px; margin: 0 auto; font-size: 17px; }
.prose h2 { font-size: 26px; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.box { border: 1px solid var(--grey-light); border-top: 4px solid var(--green); padding: 24px; border-radius: 3px; }
.box.no { border-top-color: #b44a2e; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-dark); color: #bdbdbd; padding: 70px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.site-footer h3 { color: #fff; font-size: 18px; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.site-footer h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--green); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 5px 0; }
.site-footer a { color: #e6e6e6; }
.site-footer a:hover { color: var(--green); }
.site-footer .logo-text b { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: 14px; color: var(--grey); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .article-wrap { grid-template-columns: 1fr; }
  .split-body { padding: 50px 36px; }
}
@media (max-width: 860px) {
  .nav-btn { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--grey-light); box-shadow: 0 10px 20px rgba(0,0,0,.08); }
  .main-nav ul { flex-direction: column; padding: 10px 20px 20px; }
  .nav-toggle:checked ~ .main-nav { display: block; }
  .site-header .container { position: relative; }
  .split, .about-grid, .two-col { grid-template-columns: 1fr; }
  .split-media { min-height: 260px; }
  .steps, .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero { min-height: 500px; }
  .hero h1 { font-size: 38px; }
  .section { padding: 64px 0; }
  .about-media { min-height: 260px; box-shadow: 10px 10px 0 var(--green); }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .tiles { grid-template-columns: 1fr; }
  .hero h1 { font-size: 31px; }
  .page-hero h1 { font-size: 30px; }
  .section-title h2, .split-body h2, .cta-band h2 { font-size: 27px; }
  .split-body { padding: 40px 20px; }
  .topbar .container { justify-content: center; text-align: center; }
  .topbar .tb-right { display: none; }
  .logo-text b { font-size: 18px; }
  .article { font-size: 16px; }
}
