:root {
  --ink: #171715;
  --charcoal: #242321;
  --panel: #2d2c29;
  --soft: #f4f1ea;
  --paper: #fffdf7;
  --muted: #69665d;
  --green: #6fa33f;
  --green-dark: #385f26;
  --copper: #8a5a36;
  --gold: #d6b26d;
  --line: rgba(23, 23, 21, .13);
  --shadow: 0 24px 70px rgba(23, 23, 21, .18);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { color: var(--muted); line-height: 1.7; }
h1, h2, h3 { margin: 0; line-height: 1.02; letter-spacing: 0; }
h1 { font-size: clamp(2.7rem, 6vw, 6.7rem); max-width: 1040px; }
h2 { font-size: clamp(2rem, 3.8vw, 4.2rem); }
h3 { font-size: 1.25rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(23, 23, 21, .76);
  color: white;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.site-header.is-scrolled { background: rgba(23, 23, 21, .94); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  font-family: Georgia, serif;
  text-transform: uppercase;
}
.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(214,178,109,.55);
}
.brand strong { display: block; font-size: 1.04rem; color: var(--green); letter-spacing: .05em; }
.brand small { display: block; font-size: .75rem; color: var(--gold); letter-spacing: .23em; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: rgba(255,255,255,.84);
  font-weight: 750;
  font-size: .92rem;
}
.site-nav a:hover, .site-nav a.active { background: rgba(255,255,255,.1); color: white; }
.site-nav .nav-cta { background: var(--green); color: #111; }
.nav-toggle { display: none; }

.hero {
  position: relative;
  min-height: 92svh;
  color: white;
  display: grid;
  align-items: end;
  padding: 150px clamp(18px, 5vw, 76px) 74px;
  overflow: hidden;
}
.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,8,.92), rgba(10,10,8,.58) 45%, rgba(10,10,8,.18)),
    linear-gradient(0deg, rgba(10,10,8,.82), rgba(10,10,8,.08) 44%);
}
.hero-content { position: relative; z-index: 2; max-width: 1160px; }
.hero-copy { max-width: 720px; color: rgba(255,255,255,.84); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.hero-actions, .tile-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-panel {
  position: absolute;
  right: clamp(18px, 5vw, 76px);
  bottom: 34px;
  z-index: 3;
  width: min(320px, calc(100% - 36px));
  background: rgba(255,253,247,.94);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.hero-panel span { color: var(--green-dark); font-weight: 900; text-transform: uppercase; font-size: .85rem; }
.hero-panel strong { display: block; font-size: 1.2rem; margin-top: 6px; }
.hero-panel p { margin-bottom: 0; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .16em;
}
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
}
.button svg, .text-link svg, .contact-card svg, .check-list svg, .values svg { width: 18px; height: 18px; flex: 0 0 auto; }
.primary { background: var(--green); color: #10130d; box-shadow: 0 12px 24px rgba(111,163,63,.24); }
.ghost { color: white; border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.08); }
.light { background: var(--paper); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--green-dark); font-weight: 950; margin-top: 14px; }

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--charcoal);
  color: white;
  border-top: 1px solid rgba(255,255,255,.12);
}
.trust-strip div { padding: 22px clamp(18px, 4vw, 44px); border-right: 1px solid rgba(255,255,255,.12); }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip span { color: rgba(255,255,255,.64); margin-top: 4px; }

.section { padding: clamp(60px, 8vw, 112px) clamp(18px, 5vw, 76px); }
.intro-grid, .split {
  display: grid;
  grid-template-columns: minmax(280px, .85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}
.intro-grid p:last-child { font-size: 1.18rem; margin-top: 36px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 0;
}
.service-tile {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius);
  background: var(--charcoal);
  box-shadow: 0 18px 42px rgba(23,23,21,.1);
}
.service-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.service-tile:hover img { transform: scale(1.05); }
.service-tile:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,10,8,.92), rgba(10,10,8,.16));
}
.service-tile div { position: relative; z-index: 2; padding: 24px; color: white; }
.service-tile p { color: rgba(255,255,255,.76); min-height: 78px; margin-bottom: 0; }
.service-tile span { color: var(--gold); font-weight: 950; font-size: .78rem; text-transform: uppercase; }

.image-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 620px;
  background: var(--soft);
}
.image-band.reverse img { order: 2; }
.image-band img { width: 100%; height: 100%; object-fit: cover; }
.image-band > div { padding: clamp(42px, 7vw, 96px); align-self: center; }
.image-band p { font-size: 1.08rem; }

.quote-cta {
  margin: 0 clamp(18px, 5vw, 76px) clamp(60px, 7vw, 90px);
  padding: clamp(34px, 5vw, 62px);
  background: linear-gradient(135deg, var(--green-dark), #1f2a18 60%, var(--copper));
  color: white;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.quote-cta p { color: rgba(255,255,255,.78); max-width: 720px; }

.page-hero {
  min-height: 58svh;
  display: grid;
  align-items: end;
  padding: 150px clamp(18px, 5vw, 76px) 70px;
  color: white;
  background:
    linear-gradient(90deg, rgba(10,10,8,.88), rgba(10,10,8,.42)),
    url("assets/images/DeanCuttingBranchesAdare.png") center / cover;
}
.service-hero { background-image: linear-gradient(90deg, rgba(10,10,8,.88), rgba(10,10,8,.32)), url("assets/images/WorkEquipmentOnJobInKanturk.png"); }
.about-hero { background-image: linear-gradient(90deg, rgba(10,10,8,.88), rgba(10,10,8,.32)), url("assets/images/DeanOnTreeFoynes.png"); }
.faq-hero { background-image: linear-gradient(90deg, rgba(10,10,8,.88), rgba(10,10,8,.32)), url("assets/images/AdareBranchRemovalAfter.png"); }
.reviews-hero { background-image: linear-gradient(90deg, rgba(10,10,8,.88), rgba(10,10,8,.32)), url("assets/images/DeanAndChrisHardAtItInPallasgreen.png"); }
.quote-hero { background-image: linear-gradient(90deg, rgba(10,10,8,.88), rgba(10,10,8,.32)), url("assets/images/AfterTreeTrimmingInLimerick.png"); }
.page-hero p:not(.eyebrow) { max-width: 740px; color: rgba(255,255,255,.8); font-size: 1.16rem; }

.review-row, .review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: white;
}
.stars { color: var(--gold); letter-spacing: .07em; font-size: 1.05rem; }
.review-card strong, .review-card span { display: block; }
.review-card span { color: var(--muted); margin-top: 4px; }

.faq-list { max-width: 980px; margin: 0 auto; }
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 12px;
  background: white;
}
summary { font-weight: 950; cursor: pointer; font-size: 1.08rem; }
details p { margin-bottom: 0; }

.quote-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1.2fr) minmax(280px, .8fr);
  gap: 24px;
  align-items: start;
}
.quote-form, .contact-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 38px);
  box-shadow: 0 18px 44px rgba(23,23,21,.08);
}
.quote-form { display: grid; gap: 16px; }
label { display: grid; gap: 8px; font-weight: 850; color: var(--charcoal); }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px;
  font: inherit;
  background: #fbfaf6;
  color: var(--ink);
}
textarea { resize: vertical; }
.contact-card div { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); }
.contact-card a { color: var(--green-dark); font-weight: 950; }

.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: center; gap: 10px; color: var(--charcoal); font-weight: 800; }
.check-list svg, .values svg { color: var(--green-dark); }
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.values article {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.values svg { width: 30px; height: 30px; margin-bottom: 18px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-grid figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 300px;
  background: var(--charcoal);
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.gallery-grid figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  right: 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: white;
  background: rgba(23,23,21,.78);
  font-weight: 850;
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.before-after figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
}
.before-after img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.before-after figcaption { padding: 14px 16px; font-weight: 950; color: var(--green-dark); }

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.service-copy p { font-size: 1.08rem; }
.service-aside {
  position: sticky;
  top: 100px;
  border-radius: var(--radius);
  background: var(--charcoal);
  color: white;
  overflow: hidden;
}
.service-aside img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.service-aside div { padding: 22px; }
.service-aside p { color: rgba(255,255,255,.7); }

.site-footer {
  background:
    radial-gradient(circle at 20% 0%, rgba(111,163,63,.12), transparent 34%),
    linear-gradient(135deg, #10130f, #1b1d1a 58%, #111);
  color: white;
  border-top: 1px solid rgba(111,163,63,.34);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.2fr .75fr .9fr 1.15fr;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(46px, 6vw, 70px) clamp(18px, 5vw, 76px);
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: Georgia, serif;
  text-transform: uppercase;
}
.footer-logo img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(111,163,63,.46);
}
.footer-logo strong {
  display: block;
  color: white;
  font-size: 1.55rem;
  line-height: .95;
  letter-spacing: .04em;
}
.footer-logo small {
  display: block;
  color: var(--green);
  font-size: 1.16rem;
  font-weight: 900;
  letter-spacing: .07em;
}
.footer-brand p {
  color: rgba(255,255,255,.78);
  max-width: 330px;
  margin: 24px 0 0;
}
.footer-col h2 {
  color: var(--green);
  font-size: 1rem;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-bottom: 18px;
}
.footer-col a,
.footer-col span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.86);
  margin: 0 0 13px;
  line-height: 1.45;
}
.footer-col a:hover { color: white; }
.footer-col svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  flex: 0 0 auto;
}
.footer-contact a,
.footer-contact span {
  align-items: flex-start;
}
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 28px;
  padding: 18px clamp(18px, 5vw, 76px);
  border-top: 1px solid rgba(111,163,63,.42);
  color: rgba(255,255,255,.82);
  text-align: center;
}
.footer-bottom span:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 20px;
  margin-left: 28px;
  vertical-align: middle;
  background: rgba(255,255,255,.7);
}
.footer-bottom a {
  color: white;
  font-weight: 900;
}

.floating-call {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 66px;
  height: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: #10130d;
  border: 2px solid rgba(255,255,255,.88);
  box-shadow: 0 18px 36px rgba(23,23,21,.28);
}
.floating-call svg { width: 28px; height: 28px; }
.floating-call span {
  position: absolute;
  right: 76px;
  white-space: nowrap;
  background: var(--ink);
  color: white;
  padding: 9px 11px;
  border-radius: var(--radius);
  font-size: .84rem;
  font-weight: 900;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.floating-call:hover span,
.floating-call:focus-visible span {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 1050px) {
  .service-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-panel { position: relative; right: auto; bottom: auto; margin-top: 30px; }
  .review-row, .review-grid { grid-template-columns: 1fr 1fr; }
  .service-detail, .quote-layout { grid-template-columns: 1fr; }
  .service-aside { position: static; }
}

@media (max-width: 780px) {
  .site-header { align-items: flex-start; }
  .brand { min-width: 0; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--radius);
    background: rgba(255,255,255,.08);
    color: white;
  }
  .site-nav {
    display: none;
    position: absolute;
    inset: 82px 18px auto;
    flex-direction: column;
    align-items: stretch;
    background: rgba(23,23,21,.98);
    padding: 12px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,.14);
  }
  .site-nav.is-open { display: flex; }
  .hero { min-height: 86svh; padding-top: 122px; }
  .hero-actions, .tile-actions, .quote-cta { align-items: stretch; flex-direction: column; }
  .trust-strip, .intro-grid, .split, .image-band, .values, .review-row, .review-grid, .before-after { grid-template-columns: 1fr; }
  .image-band.reverse img { order: 0; }
  .image-band { min-height: auto; }
  .image-band img { aspect-ratio: 4/3; }
  .service-grid, .gallery-grid { grid-template-columns: 1fr; }
  .service-tile { min-height: 320px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-logo strong { font-size: 1.3rem; }
  .footer-logo small { font-size: 1rem; }
  .footer-bottom { justify-content: flex-start; text-align: left; }
  .footer-bottom span:not(:last-child)::after { display: none; }
  .floating-call { right: 16px; bottom: 16px; width: 60px; height: 60px; }
  .floating-call span { display: none; }
  h1 { font-size: clamp(2.35rem, 12vw, 3.6rem); }
}
