/* ============================================================
   AGRI PRO — Brand Overrides & Page-Specific Styles
   Farm, Fence & Land Services — Ware Shoals, SC
   ============================================================ */

/* ── Logo sizing ─────────────────────────────────────────── */
.site-logo__img {
  height: 48px;
  width: auto;
  transition: filter var(--dur-m) var(--ease);
}

/* When header is on a dark transparent hero, force the logo to white
   so the dark "AGRI-PRO" wordmark stays legible. Once user scrolls
   the header turns solid white and the logo returns to its native colors. */
.site-header.transparent:not(.scrolled) .site-logo__img {
  filter: brightness(0) invert(1);
}

/* Footer logo also sits on dark green — invert so it's white on dark. */
.footer-brand__logo img {
  filter: brightness(0) invert(1);
  opacity: .92;
  max-width: 200px;
  height: auto;
}

/* ── Top bar (home hero) ─────────────────────────────────── */
.ap-top-bar {
  background: var(--green-900);
  padding: 9px 0;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  transition: max-height var(--dur-m) var(--ease), opacity var(--dur-m) var(--ease);
  overflow: hidden;
  max-height: 50px;
}
.ap-top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.ap-top-bar a {
  color: rgba(255,255,255,.65);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.ap-top-bar a:hover { color: #fff; }
.ap-top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
body.scrolled .ap-top-bar {
  max-height: 0;
  opacity: 0;
  padding: 0;
}

/* ── Home hero ───────────────────────────────────────────── */
.ap-hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  background: var(--green-900);
  overflow: hidden;
}
.ap-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://i0.wp.com/agriproservices.com/wp-content/uploads/2024/06/441856470_1005861754456842_885158408148991566_n.webp?fit=1920%2C1253&ssl=1');
  background-size: cover;
  background-position: center 30%;
}
.ap-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10,20,10,.92) 0%, rgba(10,20,10,.60) 60%, rgba(10,20,10,.30) 100%);
}
.ap-hero-inner {
  position: relative;
  z-index: 1;
  padding: 8rem 0 5rem;
}
.ap-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 2rem;
  padding: .35rem .9rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 1.5rem;
}
.ap-hero-badge span {
  width: 6px;
  height: 6px;
  background: var(--green-400);
  border-radius: 50%;
  flex-shrink: 0;
}
.ap-hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -.035em;
  margin: 0 0 1.5rem;
  max-width: 14ch;
}
.ap-hero h1 em {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
}
.ap-hero-sub {
  color: rgba(255,255,255,.72);
  font-size: var(--step-1);
  line-height: 1.7;
  max-width: 50ch;
  margin-bottom: 2.5rem;
}
.ap-hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.ap-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 2rem;
}
.ap-hero-trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  font-family: var(--font-mono);
  letter-spacing: .03em;
}
.ap-hero-trust-item::before {
  content: '✓';
  color: var(--green-400);
  font-weight: 700;
}

/* ── Services section (home) ─────────────────────────────── */
.ap-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.ap-service-card {
  position: relative;
  height: 220px;
  border-radius: var(--radius-m);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  color: #fff;
}
.ap-service-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--dur-l) var(--ease);
}
.ap-service-card:hover .ap-service-card-bg {
  transform: scale(1.05);
}
.ap-service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,20,10,.85) 0%, rgba(10,20,10,.2) 60%);
  transition: opacity var(--dur-m);
}
.ap-service-card:hover::after {
  background: linear-gradient(to top, rgba(10,20,10,.9) 0%, rgba(10,20,10,.3) 60%);
}
.ap-service-card-body {
  position: relative;
  z-index: 1;
  padding: 1.25rem;
  width: 100%;
}
.ap-service-card-body h3 {
  color: #fff;
  font-size: var(--step-1);
  font-weight: 600;
  margin: 0 0 .4rem;
  letter-spacing: -.02em;
}
.ap-service-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  font-family: var(--font-mono);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--green-300);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--dur-m), transform var(--dur-m);
}
.ap-service-card:hover .ap-service-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── Why / About strip ───────────────────────────────────── */
.ap-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.ap-why-item {
  text-align: center;
}
.ap-why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: var(--green-50);
  border-radius: var(--radius-m);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ap-why-icon svg {
  width: 24px;
  height: 24px;
  color: var(--green-700);
}
.ap-why-item h4 {
  font-size: var(--step-0);
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 .5rem;
}
.ap-why-item p {
  font-size: var(--step--1);
  color: var(--text-muted);
  max-width: 26ch;
  margin: 0 auto;
}

/* ── Split content (text + image) ────────────────────────── */
.ap-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.ap-split--reverse { direction: rtl; }
.ap-split--reverse > * { direction: ltr; }
.ap-split-img {
  position: relative;
  height: 460px;
  border-radius: var(--radius-l);
  overflow: hidden;
}
.ap-split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ap-split-content h2 {
  margin: 0 0 1rem;
}
.ap-split-content p {
  margin-bottom: 1.25rem;
}

/* ── Testimonials strip ──────────────────────────────────── */
.ap-testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.ap-testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 1.75rem;
  box-shadow: var(--shadow-s);
}
.ap-testi-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: .1em;
  margin-bottom: .75rem;
}
.ap-testi-card p {
  font-size: var(--step--1);
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 1rem;
  max-width: 100%;
}
.ap-testi-author {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Inner page hero ─────────────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  background: var(--green-900);
  padding: 6rem 0 3.5rem;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(8,18,8,.90) 0%, rgba(8,18,8,.55) 100%);
}
.page-hero-inner {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  color: #fff;
  margin: .5rem 0 .75rem;
}
.page-hero-sub {
  color: rgba(255,255,255,.72);
  font-size: var(--step-1);
  max-width: 52ch;
  margin: 0;
}

/* ── Breadcrumb ──────────────────────────────────────────── */
.ap-breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: .5rem;
}
.ap-breadcrumb a { color: rgba(255,255,255,.5); }
.ap-breadcrumb a:hover { color: rgba(255,255,255,.85); }
.ap-breadcrumb span { color: rgba(255,255,255,.75); }

/* ── Service page body ───────────────────────────────────── */
.ap-page-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.ap-page-section {
  padding: 5rem 0;
}
.ap-page-section + .ap-page-section {
  border-top: 1px solid var(--border);
}
.ap-page-section--dark {
  background: var(--green-800);
  color: var(--white);
}

/* ── Gallery grid ────────────────────────────────────────── */
.ap-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: .75rem;
}
.ap-gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-s);
  transition: transform var(--dur-m) var(--ease);
}
.ap-gallery-grid img:hover {
  transform: scale(1.02);
}

/* ── Contact page ────────────────────────────────────────── */
.ap-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.ap-contact-card {
  background: var(--green-50);
  border-radius: var(--radius-m);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.ap-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.ap-contact-icon {
  width: 44px;
  height: 44px;
  background: var(--green-700);
  border-radius: var(--radius-s);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.ap-contact-icon svg { width: 20px; height: 20px; }
.ap-contact-item h4 {
  font-size: var(--step-0);
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 .25rem;
}
.ap-contact-item p, .ap-contact-item a {
  font-size: var(--step--1);
  color: var(--text-muted);
  margin: 0;
  max-width: 100%;
}

/* ── Service Page Sections (intro / image+text) ──────────── */
.svc-section {
  padding: 5rem 0;
  background: var(--white);
}
.svc-section--cream {
  background: var(--cream);
}
.svc-section--dark {
  background: var(--green-800);
  color: var(--white);
}
.svc-section--dark h2, .svc-section--dark h3, .svc-section--dark h4 { color: var(--white); }
.svc-section--dark p { color: rgba(255,255,255,.72); }
.svc-section + .svc-section { border-top: none; }
.svc-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.svc-row--narrow { gap: 3rem; }
.svc-row--reverse { direction: rtl; }
.svc-row--reverse > * { direction: ltr; }
.svc-col-img {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  height: 420px;
}
.svc-col-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.svc-col-body h2 {
  margin: .65rem 0 1rem;
}
.svc-col-body h2 em {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
}
.svc-col-body p {
  margin-bottom: 1rem;
}
.svc-col-body p:last-child { margin-bottom: 0; }
.svc-check {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}
.svc-check li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: .65rem;
  font-size: var(--step--1);
  color: var(--text-body);
  line-height: 1.65;
}
.svc-check li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .5em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green-600);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}
.svc-section--dark .svc-check li { color: rgba(255,255,255,.85); }

/* ── Benefits band (full-bleed dark, image bg) ───────────── */
.svc-benefits {
  position: relative;
  padding: 6rem 0;
  background: var(--green-900);
  color: var(--white);
  overflow: hidden;
}
.svc-benefits-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .35;
}
.svc-benefits::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(18,43,19,.85), rgba(18,43,19,.92));
}
.svc-benefits-inner {
  position: relative;
  z-index: 1;
}
.svc-benefits h2 {
  color: #fff;
  margin: .65rem 0 .5rem;
  text-align: center;
}
.svc-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}
.svc-benefit {
  text-align: center;
}
.svc-benefit-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-m);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-300);
}
.svc-benefit-icon svg { width: 24px; height: 24px; }
.svc-benefit h4 {
  font-size: var(--step-1);
  color: #fff;
  margin: 0 0 .5rem;
  letter-spacing: -.02em;
}
.svc-benefit p {
  font-size: var(--step--1);
  color: rgba(255,255,255,.7);
  margin: 0;
  line-height: 1.7;
  max-width: 30ch;
  margin-inline: auto;
}

/* ── Service gallery thumbs ──────────────────────────────── */
.svc-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
}
.svc-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-s);
  transition: transform .35s var(--ease);
}
.svc-gallery img:hover { transform: scale(1.03); }

/* ── FAQ accordion ───────────────────────────────────────── */
.svc-faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.svc-faq-item {
  border-bottom: 1px solid var(--border-mid);
}
.svc-faq-item summary {
  padding: 1.25rem 0;
  font-size: var(--step-0);
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  list-style: none;
  transition: color var(--dur-s);
}
.svc-faq-item summary:hover { color: var(--green-700); }
.svc-faq-item summary::-webkit-details-marker { display: none; }
.svc-faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--green-600);
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
  transition: transform var(--dur-s);
}
.svc-faq-item[open] summary::after { content: '−'; }
.svc-faq-item p {
  padding: 0 0 1.5rem;
  font-size: var(--step--1);
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
  max-width: none;
}

/* ── Options / type cards (chainlink, fences) ────────────── */
.svc-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.svc-option-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 1.75rem;
  transition: border-color var(--dur-m), box-shadow var(--dur-m), transform var(--dur-m);
}
.svc-option-card:hover {
  border-color: var(--green-300);
  box-shadow: var(--shadow-m);
  transform: translateY(-3px);
}
.svc-option-card-icon {
  width: 44px;
  height: 44px;
  background: var(--green-50);
  border-radius: var(--radius-s);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.svc-option-card-icon svg { width: 22px; height: 22px; }
.svc-option-card h3 {
  font-size: var(--step-1);
  margin: 0 0 .5rem;
  color: var(--text-dark);
  letter-spacing: -.02em;
}
.svc-option-card p {
  font-size: var(--step--1);
  color: var(--text-muted);
  margin: 0;
  line-height: 1.7;
}

/* ── Process steps ───────────────────────────────────────── */
.svc-process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.svc-step {
  position: relative;
}
.svc-step-num {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--green-400);
  margin-bottom: .75rem;
  display: block;
}
.svc-step h4 {
  font-size: var(--step-1);
  margin: 0 0 .5rem;
  letter-spacing: -.02em;
}
.svc-step p {
  font-size: var(--step--1);
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ── Process step sub-elements (BEM alias) ───────────────── */
.svc-step__num {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--green-400);
  margin-bottom: .75rem;
  display: block;
}
.svc-step__body h4 {
  font-size: var(--step-1);
  margin: 0 0 .4rem;
  letter-spacing: -.02em;
}
.svc-step__body p {
  font-size: var(--step--1);
  line-height: 1.7;
  margin: 0;
}
/* On dark background, override text colors */
.section--dark .svc-step__body h4 { color: #fff; }
.section--dark .svc-step__body p   { color: rgba(255,255,255,.62); }

/* ── Service area tag pills ──────────────────────────────── */
.svc-area-tag {
  display: inline-block;
  background: var(--green-900);
  color: #fff;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .45rem 1rem;
  border-radius: 999px;
}

/* ── Testimonials on light (cream) background ────────────── */
.section--cream .ap-testi-card {
  background: var(--white);
}

/* ── Section heading helper ──────────────────────────────── */
.svc-head {
  margin-bottom: 2.5rem;
}
.svc-head--center {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}
.svc-head h2 {
  margin: .65rem 0 .65rem;
}
.svc-head p {
  margin: 0;
}
.svc-head--center p { margin-inline: auto; }

/* ── Blog index cards ────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--dur-m), transform var(--dur-m), border-color var(--dur-m);
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-l);
  border-color: var(--green-200);
}
.blog-card-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  background-color: var(--green-800);
}
.blog-card-body {
  padding: 1.5rem 1.5rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-meta {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: .65rem;
}
.blog-card h3 {
  font-size: var(--step-1);
  margin: 0 0 .75rem;
  color: var(--text-dark);
  letter-spacing: -.02em;
  line-height: 1.25;
}
.blog-card p {
  font-size: var(--step--1);
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 1.25rem;
  flex: 1;
  max-width: none;
}
.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--green-700);
  font-weight: 600;
}

/* ── Blog post article ───────────────────────────────────── */
.blog-article {
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem var(--gutter) 5rem;
}
.blog-article-meta {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 1rem;
}
.blog-article h2 {
  font-size: var(--step-3);
  margin: 2.5rem 0 1rem;
  letter-spacing: -.025em;
}
.blog-article h3 {
  font-size: var(--step-2);
  margin: 2rem 0 .75rem;
}
.blog-article p {
  margin-bottom: 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text-body);
  max-width: none;
}
.blog-article ul, .blog-article ol {
  margin: 1rem 0 1.5rem 1.25rem;
  padding-left: .5rem;
}
.blog-article li {
  margin-bottom: .5rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-body);
  list-style: disc;
}
.blog-article ol li { list-style: decimal; }
.blog-article a {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.blog-article a:hover { color: var(--green-600); }
.blog-article img {
  width: 100%;
  border-radius: var(--radius-m);
  margin: 2rem 0;
}
.blog-article blockquote {
  border-left: 3px solid var(--green-500);
  padding: .25rem 0 .25rem 1.5rem;
  margin: 1.75rem 0;
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-body);
  line-height: 1.6;
}
.blog-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
  font-size: .95rem;
}
.blog-article th, .blog-article td {
  padding: .75rem 1rem;
  border: 1px solid var(--border-mid);
  text-align: left;
}
.blog-article th {
  background: var(--green-50);
  font-weight: 600;
  color: var(--text-dark);
}

/* ── Contact page ────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 {
  margin: .5rem 0 1rem;
}
.contact-info p {
  margin-bottom: 1rem;
}
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--dur-m), transform var(--dur-m), box-shadow var(--dur-m);
}
.contact-card:hover {
  border-color: var(--green-300);
  transform: translateY(-2px);
  box-shadow: var(--shadow-m);
}
.contact-card-icon {
  width: 46px;
  height: 46px;
  background: var(--green-700);
  border-radius: var(--radius-s);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-card-icon svg { width: 20px; height: 20px; }
.contact-card-content {
  flex: 1;
  min-width: 0;
}
.contact-card-content .label {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: .15rem;
  display: block;
}
.contact-card-content .value {
  font-size: var(--step-0);
  font-weight: 600;
  color: var(--text-dark);
  word-break: break-word;
}
.contact-aside {
  background: var(--green-50);
  border-radius: var(--radius-l);
  padding: 2.25rem;
}
.contact-aside h3 {
  font-size: var(--step-2);
  margin: 0 0 1rem;
  letter-spacing: -.02em;
}
.contact-hours {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  font-size: var(--step--1);
}
.contact-hours li {
  display: flex;
  justify-content: space-between;
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-body);
}
.contact-hours li:last-child { border-bottom: none; }
.contact-hours li span:first-child {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .svc-section { padding: 4rem 0; }
  .svc-benefits { padding: 4.5rem 0; }
}

@media (max-width: 900px) {
  .ap-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .ap-split-img { height: 280px; }
  .ap-split--reverse { direction: ltr; }
  .ap-contact-grid { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .svc-row--reverse { direction: ltr; }
  .svc-col-img { height: 280px; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .svc-gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .ap-hero { min-height: 88vh; }
  .ap-hero-inner { padding: 7rem 0 4rem; }
  .ap-hero h1 { font-size: clamp(2.2rem, 9vw, 3.2rem); max-width: 100%; }
  .ap-hero-sub { font-size: 1rem; max-width: 100%; }
  .ap-hero-badge { font-size: .62rem; padding: .3rem .7rem; }
  .ap-services-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .ap-service-card { height: 170px; }
  .ap-service-card-body { padding: 1rem; }
  .ap-service-card-body h3 { font-size: 1rem; }
  .ap-hero-btns { flex-direction: column; align-items: stretch; }
  .ap-hero-btns .btn { width: 100%; justify-content: center; }
  .ap-hero-trust { gap: .5rem 1.25rem; }
  .svc-gallery { grid-template-columns: repeat(2, 1fr); }
  .svc-benefits { padding: 3.5rem 0; }
  .svc-section { padding: 3rem 0; }
  .ap-top-bar { font-size: .65rem; }
  .ap-top-bar-inner { justify-content: center; flex-wrap: wrap; }
  .ap-top-bar-inner > span:first-child { display: none; }
  .ap-top-bar-right { gap: 1rem !important; }
  .ap-top-bar-right a:last-child { display: none; }
  .blog-article { padding: 3rem var(--gutter); }
  .blog-article p, .blog-article li { font-size: 1rem; }
}

/* ── Global mobile safety ─────────────────────────────────── */
@media (max-width: 720px) {
  html, body { overflow-x: hidden !important; max-width: 100vw; width: 100%; }
  .container { padding-inline: 1.25rem; max-width: 100%; }
  .ap-hero { overflow: hidden; }
  .ap-hero-inner { max-width: 100% !important; box-sizing: border-box; }
  .ap-hero p, .ap-hero h1, .ap-hero h2, .ap-hero-sub {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  .page-hero-inner { max-width: 100% !important; }
  .page-hero p, .page-hero h1, .page-hero-sub {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  /* Mobile nav must stay within viewport */
  .mobile-nav {
    width: 100vw !important;
    max-width: 100%;
    box-sizing: border-box;
    right: 0;
    left: auto;
  }
  /* svg images inside flexbox shouldn't push container */
  img { max-width: 100%; height: auto; }
}

@media (max-width: 480px) {
  .ap-services-grid { grid-template-columns: 1fr; }
  .ap-service-card { height: 200px; }
  .svc-col-img { height: 220px; }
  .page-hero { min-height: auto; padding: 5rem 0 2.5rem; }
  .page-hero h1 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .page-hero-sub { font-size: 1rem; }
  .contact-aside { padding: 1.75rem; }
  .svc-benefits-grid { gap: 2rem; }
}
