/*
Theme Name: JP Landscapes
Theme URI: https://jplandscapes.example.com
Author: JP Landscapes
Author URI: https://jplandscapes.example.com
Description: Custom theme for JP Landscapes — landscaping, irrigation, drainage and grading serving North & South Carolina from Myrtle Beach to Wilmington. Earthy, photo-driven design built around real project photography.
Version: 1.1.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jp-landscapes
Tags: custom-menu, custom-logo, featured-images, one-column, blog
*/

/* =========================================================
   JP Landscapes — earthy & natural design system
   ========================================================= */
:root {
  --jp-green-dark: #1f3d2b;
  --jp-green: #2e5339;
  --jp-green-soft: #4a7154;
  --jp-moss: #7a9b57;
  --jp-earth: #a9714b;
  --jp-earth-dark: #8a5a3a;
  --jp-cream: #faf7f1;
  --jp-sand: #f0eadd;
  --jp-ink: #24281f;
  --jp-ink-soft: #55604b;
  --jp-white: #ffffff;
  --jp-radius: 14px;
  --jp-shadow: 0 10px 30px rgba(31, 61, 43, 0.12);
  --jp-shadow-sm: 0 4px 14px rgba(31, 61, 43, 0.10);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--jp-ink);
  background: var(--jp-cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--jp-green); }
a:hover { color: var(--jp-earth); }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--jp-green-dark); line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }

.jp-container { width: min(1180px, 92vw); margin: 0 auto; }
.jp-section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.jp-section--sand { background: var(--jp-sand); }
.jp-section--green { background: var(--jp-green-dark); color: #e9efe4; }
.jp-section--green h2, .jp-section--green h3 { color: #fff; }

.jp-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jp-earth);
  margin-bottom: 0.7rem;
}
.jp-section--green .jp-eyebrow { color: var(--jp-moss); }

/* Buttons */
.jp-btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 2px solid transparent;
}
.jp-btn:hover { transform: translateY(-2px); box-shadow: var(--jp-shadow-sm); }
.jp-btn--primary { background: var(--jp-earth); color: #fff !important; }
.jp-btn--primary:hover { background: var(--jp-earth-dark); }
.jp-btn--green { background: var(--jp-green); color: #fff !important; }
.jp-btn--green:hover { background: var(--jp-green-dark); }
.jp-btn--ghost { border-color: #fff; color: #fff !important; background: transparent; }
.jp-btn--ghost:hover { background: rgba(255,255,255,0.14); }

/* =========================================================
   Header
   ========================================================= */
.jp-topbar {
  background: var(--jp-green-dark);
  color: #dfe8d8;
  font-size: 0.86rem;
  padding: 0.45rem 0;
}
.jp-topbar .jp-container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.jp-topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.jp-topbar a:hover { color: var(--jp-moss); }
.jp-topbar__area { opacity: 0.9; }

.site-header {
  background: #fff;
  border-bottom: 1px solid rgba(31,61,43,0.08);
  box-shadow: 0 2px 18px rgba(31,61,43,0.08);
  position: sticky;
  top: 0;
  z-index: 999;
}
.jp-brand__logo { max-height: 72px; width: auto; display: block; }
@media (max-width: 900px) { .jp-brand__logo { max-height: 50px; } }
.site-header .jp-container { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 0; gap: 1.5rem; }
.jp-brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.jp-brand__leaf { width: 40px; height: 40px; flex: 0 0 auto; }
.jp-brand__text { line-height: 1.05; }
.jp-brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--jp-green-dark); display: block; }
.jp-brand__tag { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--jp-earth); font-weight: 600; }
.jp-brand .custom-logo { max-height: 54px; width: auto; }

.jp-nav ul { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; }
.jp-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--jp-ink);
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
}
.jp-nav a:hover, .jp-nav .current-menu-item > a, .jp-nav .current_page_item > a { color: var(--jp-green); border-bottom-color: var(--jp-earth); }
.jp-header-cta { white-space: nowrap; }

.jp-nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
}
.jp-nav-toggle span { display: block; width: 26px; height: 3px; background: var(--jp-green-dark); margin: 5px 0; border-radius: 2px; transition: 0.2s; }

@media (max-width: 900px) {
  .jp-nav-toggle { display: block; }
  .jp-header-cta { display: none; }
  .jp-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--jp-cream);
    border-bottom: 1px solid rgba(31,61,43,0.1);
    display: none;
    box-shadow: var(--jp-shadow);
  }
  .jp-nav.is-open { display: block; }
  .jp-nav ul { flex-direction: column; gap: 0; padding: 0.5rem 0; }
  .jp-nav li { border-top: 1px solid rgba(31,61,43,0.06); }
  .jp-nav a { display: block; padding: 0.9rem 6vw; border-bottom: 0; }
}

/* =========================================================
   Hero
   ========================================================= */
.jp-hero {
  position: relative;
  min-height: clamp(480px, 72vh, 700px);
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--jp-green-dark);
}
.jp-hero__bg { position: absolute; inset: 0; overflow: hidden; }
.jp-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.jp-hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,38,27,0.82) 0%, rgba(20,38,27,0.55) 45%, rgba(20,38,27,0.18) 100%);
}
.jp-hero__inner { position: relative; z-index: 2; padding: 5rem 0; max-width: 640px; }
.jp-hero h1 { color: #fff; margin-bottom: 0.6rem; }
.jp-hero__sub { font-size: 1.15rem; color: #e6ecdf; margin-bottom: 1.8rem; max-width: 34em; }
.jp-hero__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.jp-hero__badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 0.35rem 0.95rem;
  font-size: 0.85rem; font-weight: 600;
  margin-bottom: 1.1rem;
  backdrop-filter: blur(4px);
}

/* Trust bar */
.jp-trust { background: var(--jp-green); color: #fff; }
.jp-trust .jp-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding: 1.4rem 0;
  text-align: center;
}
.jp-trust__item strong { display: block; font-family: var(--font-head); font-size: 1.35rem; }
.jp-trust__item span { font-size: 0.86rem; opacity: 0.85; }

/* =========================================================
   Page banner (interior pages)
   ========================================================= */
.jp-banner {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--jp-green-dark);
}
.jp-banner__bg { position: absolute; inset: 0; overflow: hidden; }
.jp-banner__bg img { width: 100%; height: 100%; object-fit: cover; }
.jp-banner__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,38,27,0.25), rgba(20,38,27,0.78)); }
.jp-banner__inner { position: relative; z-index: 2; padding: 4.5rem 0 2.2rem; }
.jp-banner h1 { color: #fff; margin: 0; }
.jp-banner__sub { color: #dfe8d8; margin: 0.4rem 0 0; }

/* =========================================================
   Service cards
   ========================================================= */
.jp-grid { display: grid; gap: 1.6rem; }
.jp-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.jp-card {
  background: var(--jp-white);
  border-radius: var(--jp-radius);
  overflow: hidden;
  box-shadow: var(--jp-shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
}
.jp-card:hover { transform: translateY(-5px); box-shadow: var(--jp-shadow); }
.jp-card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.jp-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.jp-card:hover .jp-card__img img { transform: scale(1.05); }
.jp-card__body { padding: 1.3rem 1.4rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.jp-card__body h3 { margin-bottom: 0.4rem; }
.jp-card__body p { color: var(--jp-ink-soft); font-size: 0.95rem; margin-bottom: 0; }

/* Full service rows (services page) */
.jp-service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: 2.6rem 0;
  border-bottom: 1px solid rgba(31,61,43,0.09);
}
.jp-service-row:last-child { border-bottom: 0; }
.jp-service-row__img img { border-radius: var(--jp-radius); box-shadow: var(--jp-shadow); width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.jp-service-row:nth-child(even) .jp-service-row__img { order: 2; }
.jp-service-row h2 { margin-bottom: 0.5rem; }
.jp-service-row p { color: var(--jp-ink-soft); }
@media (max-width: 800px) {
  .jp-service-row { grid-template-columns: 1fr; }
  .jp-service-row:nth-child(even) .jp-service-row__img { order: 0; }
}

/* =========================================================
   About split
   ========================================================= */
.jp-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.jp-split__img { position: relative; }
.jp-split__img img { border-radius: var(--jp-radius); box-shadow: var(--jp-shadow); }
.jp-split__img::before {
  content: "";
  position: absolute;
  inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  border: 2px solid var(--jp-earth);
  border-radius: var(--jp-radius);
  z-index: -1;
}
.jp-check { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; }
.jp-check li { padding-left: 1.9rem; position: relative; margin-bottom: 0.65rem; color: var(--jp-ink-soft); }
.jp-section--green .jp-check li { color: #d8e2d0; }
.jp-icon { width: 1.05em; height: 1.05em; vertical-align: -0.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: inline-block; }
.jp-check li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 1.3rem; height: 1.3rem;
  background: var(--jp-moss); color: #fff;
  border-radius: 50%;
  font-size: 0.75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 800px) { .jp-split { grid-template-columns: 1fr; } }

/* =========================================================
   Gallery
   ========================================================= */
.jp-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.jp-gallery a { display: block; border-radius: 10px; overflow: hidden; position: relative; }
.jp-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.35s ease; }
.jp-gallery a:hover img { transform: scale(1.06); }
.jp-gallery a::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(20,38,27,0.45));
  opacity: 0; transition: opacity 0.25s;
}
.jp-gallery a:hover::after { opacity: 1; }

/* Lightbox */
.jp-lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(15,24,18,0.94);
  display: none; align-items: center; justify-content: center;
  padding: 3vw;
}
.jp-lightbox.is-open { display: flex; }
.jp-lightbox img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.jp-lightbox__close, .jp-lightbox__prev, .jp-lightbox__next {
  position: absolute; background: rgba(255,255,255,0.12); color: #fff;
  border: 0; border-radius: 50%; width: 46px; height: 46px;
  font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.jp-lightbox__close:hover, .jp-lightbox__prev:hover, .jp-lightbox__next:hover { background: rgba(255,255,255,0.3); }
.jp-lightbox__close { top: 20px; right: 20px; }
.jp-lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.jp-lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }

/* =========================================================
   CTA band
   ========================================================= */
.jp-cta {
  position: relative;
  background: var(--jp-green-dark);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.jp-cta__bg { position: absolute; inset: 0; }
.jp-cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
.jp-cta__inner { position: relative; z-index: 2; padding: clamp(3rem, 7vw, 5rem) 0; }
.jp-cta h2 { color: #fff; }
.jp-cta p { color: #d8e2d0; max-width: 44em; margin: 0 auto 1.6rem; }
.jp-cta__phone { font-family: var(--font-head); font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; color: #fff; text-decoration: none; display: inline-block; margin-bottom: 1.2rem; }
.jp-cta__phone:hover { color: var(--jp-moss); }

/* =========================================================
   Contact page
   ========================================================= */
.jp-contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 800px) { .jp-contact-grid { grid-template-columns: 1fr; } }
.jp-contact-card {
  background: var(--jp-white);
  border-radius: var(--jp-radius);
  padding: 1.6rem 1.7rem;
  box-shadow: var(--jp-shadow-sm);
  margin-bottom: 1.2rem;
}
.jp-contact-card h3 { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; }
.jp-contact-card a { font-weight: 700; text-decoration: none; font-size: 1.15rem; }
.jp-contact-card p { margin: 0; color: var(--jp-ink-soft); font-size: 0.94rem; }
.jp-form-wrap {
  background: var(--jp-white);
  border-radius: var(--jp-radius);
  padding: 2rem;
  box-shadow: var(--jp-shadow);
}
/* Style common form plugins (WPForms / CF7) dropped into the form area */
.jp-form-wrap input[type="text"],
.jp-form-wrap input[type="email"],
.jp-form-wrap input[type="tel"],
.jp-form-wrap select,
.jp-form-wrap textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid #d8d2c4;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--jp-cream);
  margin-bottom: 1rem;
}
.jp-form-wrap input:focus, .jp-form-wrap textarea:focus, .jp-form-wrap select:focus {
  outline: none; border-color: var(--jp-green); box-shadow: 0 0 0 3px rgba(46,83,57,0.15);
}
.jp-form-wrap input[type="submit"], .jp-form-wrap button[type="submit"] {
  background: var(--jp-earth); color: #fff; border: 0;
  padding: 0.9rem 2rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; cursor: pointer;
  transition: background 0.2s;
}
.jp-form-wrap input[type="submit"]:hover, .jp-form-wrap button[type="submit"]:hover { background: var(--jp-earth-dark); }

/* =========================================================
   Blog / content
   ========================================================= */
.jp-content { max-width: 760px; margin: 0 auto; }
.jp-content img { border-radius: var(--jp-radius); }
.jp-post { background: #fff; border-radius: var(--jp-radius); box-shadow: var(--jp-shadow-sm); overflow: hidden; margin-bottom: 1.8rem; }
.jp-post__body { padding: 1.6rem 1.8rem; }
.jp-post__meta { font-size: 0.82rem; color: var(--jp-ink-soft); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.4rem; }
.jp-post h2 a { text-decoration: none; color: var(--jp-green-dark); }
.jp-post h2 a:hover { color: var(--jp-earth); }

.wp-block-image img { border-radius: var(--jp-radius); }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 1.4rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.4rem; }
blockquote { border-left: 4px solid var(--jp-earth); margin: 1.5rem 0; padding: 0.4rem 0 0.4rem 1.3rem; color: var(--jp-ink-soft); font-style: italic; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--jp-green-dark); color: #c9d5c0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--jp-moss); }
.jp-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3.5rem 0 2.5rem;
}
@media (max-width: 800px) { .jp-footer-grid { grid-template-columns: 1fr; gap: 1.8rem; } }
.jp-footer-grid h4 { color: #fff; font-size: 1.05rem; margin-bottom: 0.8rem; }
.jp-footer-grid ul { list-style: none; margin: 0; padding: 0; }
.jp-footer-grid li { margin-bottom: 0.5rem; }
.jp-footer__brand { font-family: var(--font-head); font-size: 1.5rem; color: #fff; font-weight: 700; margin-bottom: 0.5rem; }
.jp-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1.2rem 0;
  font-size: 0.85rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem;
}

/* Mobile call button */
.jp-mobile-call {
  display: none;
  position: fixed; bottom: 18px; right: 18px; z-index: 998;
  background: var(--jp-earth); color: #fff !important;
  border-radius: 999px; padding: 0.9rem 1.4rem;
  font-weight: 700; text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
}
@media (max-width: 700px) { .jp-mobile-call { display: inline-flex; align-items: center; gap: 0.5rem; } }

/* Reveal on scroll */
.jp-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.jp-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .jp-reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   v1.1 — hero slideshow, services teaser, testimonials, dividers
   ========================================================= */

/* Hero slideshow */
.jp-hero__bg .jp-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.jp-hero__bg .jp-slide.is-active { opacity: 1; }
.jp-hero__bg .jp-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.02); }
.jp-hero__bg .jp-slide.is-active img { animation: jp-kenburns 7s ease-out forwards; }
@keyframes jp-kenburns { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.jp-hero__dots {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; gap: 10px;
}
.jp-hero__dots button {
  width: 11px; height: 11px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.85); background: transparent;
  cursor: pointer; padding: 0; transition: background 0.2s, transform 0.2s;
}
.jp-hero__dots button.is-active { background: #fff; transform: scale(1.2); }
@media (prefers-reduced-motion: reduce) {
  .jp-hero__bg .jp-slide.is-active img { animation: none; }
}

/* Section header treatment */
.jp-section-head { text-align: center; max-width: 46em; margin: 0 auto 2.6rem; }
.jp-section-head h2 { position: relative; padding-bottom: 0.9rem; }
.jp-section-head h2::after {
  content: "";
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 64px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--jp-moss), var(--jp-earth));
}
.jp-section--green .jp-section-head h2::after { background: linear-gradient(90deg, var(--jp-moss), #e8c79b); }
.jp-section-head p { color: var(--jp-ink-soft); margin-bottom: 0; }
.jp-section--green .jp-section-head p { color: #cdd9c4; }

/* Wave divider */
.jp-wave { display: block; width: 100%; height: 56px; margin-bottom: -1px; }
.jp-wave svg { display: block; width: 100%; height: 100%; }

/* Services teaser (home) */
.jp-teaser {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 860px) { .jp-teaser { grid-template-columns: 1fr; } }
.jp-teaser__mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.jp-teaser__mosaic img {
  width: 100%; aspect-ratio: 4/3.4; object-fit: cover;
  border-radius: 12px; box-shadow: var(--jp-shadow-sm);
}
.jp-teaser__mosaic img:nth-child(2) { transform: translateY(1.4rem); }
.jp-teaser__mosaic img:nth-child(3) { transform: translateY(-0.4rem); }
.jp-teaser__mosaic img:nth-child(4) { transform: translateY(1rem); }
.jp-svc-list {
  list-style: none; padding: 0; margin: 1.4rem 0 1.8rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem 1.4rem;
}
@media (max-width: 560px) { .jp-svc-list { grid-template-columns: 1fr; } }
.jp-svc-list li { padding-left: 1.75rem; position: relative; font-weight: 600; font-size: 0.97rem; }
.jp-svc-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0.1rem;
  width: 1.2rem; height: 1.2rem;
  background: var(--jp-moss); color: #fff;
  border-radius: 50%; font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* Testimonials slider */
.jp-testimonials { position: relative; }
.jp-quote-track { position: relative; max-width: 780px; margin: 0 auto; min-height: 300px; }
.jp-quote {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0 1rem;
}
.jp-quote.is-active { opacity: 1; visibility: visible; transform: none; position: relative; }
.jp-quote__mark {
  font-family: var(--font-head);
  font-size: 4.2rem; line-height: 1; color: var(--jp-moss);
  height: 3rem;
}
.jp-quote blockquote {
  border: 0; padding: 0; margin: 0 0 1.4rem;
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.5; font-style: normal; color: #fff;
}
.jp-quote__who { color: #e8c79b; font-weight: 700; letter-spacing: 0.04em; }
.jp-quote__who span { display: block; color: #a9bd9d; font-weight: 500; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.2rem; }
.jp-quote__stars { color: #e8c79b; letter-spacing: 0.2em; font-size: 1rem; margin-bottom: 0.9rem; }
.jp-t-nav { display: flex; justify-content: center; align-items: center; gap: 1.2rem; margin-top: 2rem; }
.jp-t-nav__dots { display: flex; gap: 9px; }
.jp-t-nav__dots button {
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.7); background: transparent;
  cursor: pointer; padding: 0; transition: 0.2s;
}
.jp-t-nav__dots button.is-active { background: #fff; }
.jp-t-nav__arrow {
  background: rgba(255,255,255,0.12); color: #fff;
  border: 0; border-radius: 50%; width: 42px; height: 42px;
  font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.jp-t-nav__arrow:hover { background: rgba(255,255,255,0.28); }

/* Utility */
.jp-center { text-align: center; }
.jp-mt-2 { margin-top: 2rem; }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px; width: 1px; overflow: hidden;
}

/* Smart quote CTA: form link on desktop, click-to-call on mobile */
.jp-cta-mobile { display: none; }
@media (max-width: 700px) {
  .jp-cta-desktop { display: none; }
  .jp-cta-mobile { display: inline-block; }
}

/* =========================================================
   Blog — uniform card grid
   ========================================================= */
.jp-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.6rem;
  align-items: stretch;
}
.jp-bcard {
  background: #fff;
  border-radius: var(--jp-radius);
  overflow: hidden;
  box-shadow: var(--jp-shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.jp-bcard:hover { transform: translateY(-5px); box-shadow: var(--jp-shadow); }
.jp-bcard__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--jp-sand); }
.jp-bcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.jp-bcard:hover .jp-bcard__img img { transform: scale(1.05); }
.jp-bcard__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.jp-bcard__meta {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jp-earth);
  font-weight: 700;
  margin-bottom: 0.45rem;
}
.jp-bcard h2 {
  font-size: 1.22rem;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.jp-bcard h2 a { text-decoration: none; color: var(--jp-green-dark); }
.jp-bcard h2 a:hover { color: var(--jp-earth); }
.jp-bcard p {
  color: var(--jp-ink-soft);
  font-size: 0.94rem;
  margin: 0 0 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.jp-bcard__more { font-weight: 700; text-decoration: none; font-size: 0.92rem; }

/* Pagination */
nav.pagination { margin-top: 2.6rem; }
nav.pagination .nav-links { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; }
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  color: var(--jp-green-dark);
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--jp-shadow-sm);
}
.page-numbers.current { background: var(--jp-green); color: #fff; }
.page-numbers:hover:not(.current) { background: var(--jp-sand); color: var(--jp-green-dark); }

/* FAQ accordions */
.jp-faq {
  background: #fff;
  border: 1px solid rgba(31,61,43,0.1);
  border-radius: 12px;
  margin-bottom: 0.8rem;
  box-shadow: var(--jp-shadow-sm);
  overflow: hidden;
}
.jp-faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.3rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--jp-green-dark);
}
.jp-faq summary::-webkit-details-marker { display: none; }
.jp-faq summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--jp-earth);
  flex: 0 0 auto;
  line-height: 1;
}
.jp-faq[open] summary::after { content: "\2013"; }
.jp-faq summary:hover { color: var(--jp-earth); }
.jp-faq__a { padding: 0 1.3rem 1.1rem; color: var(--jp-ink-soft); }
.jp-faq__a p:last-child { margin-bottom: 0; }
