/* =========================================================================
   Pinestraw Place — shared inner-page shell.

   Every page except the homepage opens with a photo hero, a breadcrumb and a
   visible H1, then a warm-cream body. Values transcribed from the approved
   inner-page builds; class names from pp-css (.hero-content, .crumbs,
   .page-body, .cat-card, .callout, .services-links).

   Enqueued on every non-front page ahead of that page's own sheet, so a page
   stylesheet only has to carry what is unique to it.
   ========================================================================= */

/* ---- Photo hero --------------------------------------------------------- */
.pp-hero-inner {
  position: relative;
  min-height: 520px; /* uniform hero height on every page except homepage (John, 2026-08-16) */
  display: flex; align-items: center;
  background-color: #141915;   /* legible before the photo arrives */
  overflow: hidden;
}
.pp-hero-inner__bg { position: absolute; inset: 0; z-index: 0; }
.pp-hero-inner__bg img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Three-stop gradient. pp-css keeps this in the sheet because Elementor's
   gradient control only does two stops. */
.pp-hero-inner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  /* Overlay recolor (John, 2026-08-16): neutral charcoal, same alphas. */
  background: linear-gradient(180deg,
    rgba(22, 22, 22, 0.82) 0%,
    rgba(28, 28, 28, 0.60) 55%,
    rgba(22, 22, 22, 0.92) 100%);
}

.pp-hero-inner__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1180px; margin: 0 auto;
  padding: 186px 48px 68px;
}

/* Design of record: hero copy does not capture pointer events, crumbs do. */
.hero-content { pointer-events: none; }
.crumbs { pointer-events: auto; }

.crumbs { font-size: 12px; color: rgba(200, 230, 216, 0.85); }
.crumbs a { color: rgba(200, 230, 216, 0.9); }
.crumbs a:hover { color: #F7B51C; }
.crumbs__sep { color: #F7B51C; padding: 0 6px; }
.crumbs__current { color: #FFFBE6; }

.pp-hero-inner__eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.3em;
  text-transform: uppercase; color: #C8E6D8; margin-top: 22px;
}
.pp-hero-inner__eyebrow::before {
  content: ""; width: 44px; height: 1px; background: #F7B51C; flex: none;
}
.pp-hero-inner__h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 56px; font-weight: 700; line-height: 1.04; color: #FFFBE6;
  margin: 16px 0 0; letter-spacing: -0.015em; max-width: 820px;
}
.pp-hero-inner__standfirst {
  font-size: 16.5px; line-height: 1.65; color: rgba(255, 251, 230, 0.88);
  max-width: 640px; margin: 18px 0 0; text-wrap: pretty;
}

/* ---- Warm-cream body ---------------------------------------------------- */
.page-body { background: #F7F5F0; padding: 64px 48px 76px; }
.page-body__inner { max-width: 1180px; margin: 0 auto; }

/* wpautop wraps Text Editor content in <p>; widget Margin controls define
   the spacing (pp-css). Named-paragraph rules restate it at equal
   specificity — see the homepage sheet for why this matters. */
.hero-content p, .page-body p { margin: 0; }

.page-body h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 34px; font-weight: 700; color: #2C2218; margin: 0;
}
.page-body h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px; font-weight: 600; color: #2C2218; margin: 0;
}

.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.section-head p {
  font-size: 14.5px; line-height: 1.6; color: #4A3F35;
  max-width: 560px; text-wrap: pretty;
}

/* ---- Category / link cards ---------------------------------------------- */
.cat-grid-3 {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px; margin-top: 32px;
}
.cat-card {
  background: #2D5441; border: 1px solid #234135; border-radius: 10px;
  overflow: hidden; display: flex; flex-direction: column;
  /* pp-css: the transition shorthand has no control. */
  transition: transform .15s ease, box-shadow .15s ease;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(44, 34, 24, 0.13); }
.cat-card__thumb { height: 240px; position: relative; overflow: hidden; } /* 240px frames (John, 2026-08-16) */
.cat-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-card__body {
  background: #2D5441; padding: 16px 18px 18px;
  display: flex; flex-direction: column; gap: 5px; flex: 1;
}
.cat-card__row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.cat-card__name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 19px; font-weight: 600; color: #FFFBE6;
}
.cat-card__arrow { color: #F7B51C; font-weight: 700; font-size: 17px; }
.cat-card__desc { font-size: 13px; color: #C8E6D8; line-height: 1.5; }

/* ---- Sage strip: "Also available as services" --------------------------- */
.services-strip {
  display: flex; align-items: center; gap: 10px 20px; flex-wrap: wrap;
  background: #EAF3EC; border: 1px solid #C8E6D8; border-radius: 8px;
  padding: 16px 22px; margin-top: 18px;
}
.services-strip__label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: #3A6B52;
}
.services-links {
  display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap;
  font-size: 14px; font-weight: 600;
}
.services-links a { color: #2D5441; }
.services-links a:hover { color: #F7B51C; }
.services-links__sep { color: #D8CFAF; }

/* ---- Numbered pine cards ------------------------------------------------ */
.pine-cards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px; margin-top: 26px;
}
.pine-card {
  background: #2D5441; border: 1px solid #234135; border-radius: 10px;
  padding: 26px 24px; display: flex; flex-direction: column; gap: 10px;
}
.pine-card__num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px; font-weight: 700; color: #F7B51C;
}
.pine-card__title { font-size: 16px; font-weight: 700; color: #FFFBE6; }
.pine-card p { font-size: 14px; line-height: 1.65; color: #C8E6D8; text-wrap: pretty; }

/* ---- Gold-accent callout ------------------------------------------------ */
.callout {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  background: #EAF3EC; border: 1px solid #C8E6D8; border-radius: 8px;
  padding: 22px 26px; margin-top: 18px;
  /* Elementor's Border group control has ONE colour for all four sides, so
     the per-side colour had no control (pp-css). */
  border-left: 4px solid #F7B51C;
  border-color: #C8E6D8; border-left-color: #F7B51C;
}
.callout__text { flex: 1; min-width: 280px; }
.callout__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 19px; font-weight: 700; color: #2D5441;
}
.callout p { font-size: 14px; line-height: 1.6; color: #3A4A40; margin: 6px 0 0 !important; text-wrap: pretty; }
.callout__ctas { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---- Contractor lane ---------------------------------------------------- */
.contractor-lane {
  background: #2D5441; border-radius: 12px; padding: 40px 44px; margin-top: 44px;
  display: flex; align-items: center; gap: 36px; flex-wrap: wrap;
}
.contractor-lane__text { flex: 1; min-width: 300px; }
.contractor-lane__eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: #C8E6D8;
}
.contractor-lane h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px; font-weight: 700; color: #FFFBE6; margin: 12px 0 0;
}
.contractor-lane p {
  font-size: 15px; line-height: 1.7; color: rgba(255, 251, 230, 0.85);
  margin: 12px 0 0 !important; max-width: 560px; text-wrap: pretty;
}

.closing-ctas {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap; margin-top: 48px;
}

/* Anchor targets clear the sticky header. */
[id] { scroll-margin-top: 120px; }

/* =========================================================================
   TABLET — 768–1024px
   ========================================================================= */
@media (max-width: 1024px) {
  .pp-hero-inner { min-height: 406px; } /* uniform hero height (John, 2026-08-16) */
  .pp-hero-inner__inner { padding: 150px 32px 56px; }
  .pp-hero-inner__h1 { font-size: 40px; }
  .page-body { padding: 56px 32px 64px; }
  .page-body h2 { font-size: 28px; }
  .cat-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pine-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contractor-lane { padding: 32px 30px; gap: 24px; }
}

/* =========================================================================
   PHONE — <=767px
   ========================================================================= */
@media (max-width: 767px) {
  .pp-hero-inner { min-height: 286px; } /* uniform hero height (John, 2026-08-16) */
  .pp-hero-inner__inner { padding: 110px 16px 44px; }
  .pp-hero-inner__eyebrow { font-size: 10.5px; letter-spacing: 0.22em; gap: 10px; margin-top: 18px; }
  .pp-hero-inner__eyebrow::before { width: 26px; }
  .pp-hero-inner__h1 { font-size: 32px; line-height: 1.12; }
  .pp-hero-inner__standfirst { font-size: 15px; }

  .page-body { padding: 40px 16px 48px; }
  .page-body h2 { font-size: 26px; }
  .page-body h3 { font-size: 20px; }
  .section-head { gap: 12px; }

  .cat-grid-3 { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
  .cat-card__thumb { height: 240px; } /* 240px frames (John, 2026-08-16) */
  .pine-cards { grid-template-columns: 1fr; gap: 14px; }

  .callout { padding: 20px 18px; gap: 16px; }
  .callout__ctas a { width: 100%; text-align: center; min-height: 48px;
                     display: inline-flex; align-items: center; justify-content: center; }

  .contractor-lane { padding: 26px 20px; margin-top: 32px; }
  .contractor-lane h2 { font-size: 22px; }
  .contractor-lane > a { width: 100%; text-align: center; min-height: 48px;
                         display: inline-flex; align-items: center; justify-content: center; }

  .closing-ctas { flex-direction: column; align-items: stretch; margin-top: 32px; }
  .closing-ctas a { width: 100%; text-align: center; min-height: 48px;
                    display: inline-flex; align-items: center; justify-content: center; }
}

/* =========================================================================
   Installation service pages — Mulch, Pine Straw, Sod Installation.
   All three are structurally identical; see template-parts/install-body.php.
   Values transcribed from final_html/Mulch Installation.dc.html.
   ========================================================================= */

/* Hero CTA pair, rendered inside the hero over the photo. */
.pp-hero-inner__ctas {
  display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap;
  pointer-events: auto;
}

/* What's included — text beside a photo. */
.inst-lead {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: center;
}
.inst-lead__body {
  font-size: 16px; line-height: 1.7; color: #3A4A40; margin: 16px 0 0 !important;
  text-wrap: pretty;
}
.inst-lead__photo { min-height: 220px; border-radius: 10px; overflow: hidden; }
.inst-lead__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Prefer to leave it to us? — block callout with the gold left rule. */
.inst-prefer {
  background: #EAF3EC; border: 1px solid #C8E6D8; border-left: 4px solid #F7B51C;
  border-radius: 10px; padding: 30px 34px; margin-top: 44px;
}
.inst-prefer h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px; font-weight: 700; color: #2D5441; margin: 0;
}
.inst-prefer p {
  font-size: 15px; line-height: 1.75; color: #3A4A40;
  margin: 12px 0 0 !important; text-wrap: pretty;
}

/* How it works — four numbered pine cards. */
.inst-steps { margin-top: 52px; }
.inst-steps h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px; font-weight: 700; color: #2C2218; margin: 0;
}
.inst-steps__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px; margin-top: 28px;
}
.inst-step {
  background: #2D5441; border-radius: 10px; padding: 24px 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.inst-step__num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px; font-weight: 700; color: #F7B51C;
}
.inst-step p {
  font-size: 14px; line-height: 1.6; color: #C8E6D8;
  margin: 0 !important; text-wrap: pretty;
}

/* Where we work — centred pine panel of town pills. */
.inst-towns {
  background: #2D5441; border-radius: 12px; padding: 34px 40px;
  margin-top: 44px; text-align: center;
}
.inst-towns__eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: #C8E6D8;
}
.inst-towns h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px; font-weight: 700; color: #FFFBE6; margin: 10px 0 0;
}
.inst-towns__pills {
  display: flex; align-items: center; justify-content: center;
  gap: 10px 12px; flex-wrap: wrap; margin-top: 20px;
}
.inst-town {
  background: #22352B; border: 1px solid rgba(200, 230, 216, 0.2); color: #C8E6D8;
  font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 99px;
}

/* This page family uses the LIGHTER green for the commercial lane (#3A6B52),
   not the #2D5441 the other inner pages use. */
.contractor-lane--light { background: #3A6B52; margin-top: 24px; }

.inst-faq { margin-top: 56px; max-width: 900px; margin-left: auto; margin-right: auto; }
.inst-faq h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px; font-weight: 700; color: #2C2218; margin: 0 0 28px;
}

/* Outlined pine button — the second closing CTA. */
.pp-btn-outline-pine {
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid #2D5441; color: #2D5441;
  font-size: 14px; font-weight: 600; padding: 12px 30px; border-radius: 6px;
  text-decoration: none;
}
.pp-btn-outline-pine:hover { border-color: #F7B51C; color: #3A6B52; }

@media (max-width: 1024px) {
  .inst-lead { grid-template-columns: 1fr; gap: 32px; }
  .inst-steps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .inst-prefer { padding: 24px 20px; margin-top: 32px; }
  .inst-prefer h2 { font-size: 22px; }
  .inst-steps { margin-top: 40px; }
  .inst-steps h2 { font-size: 26px; }
  .inst-steps__grid { grid-template-columns: 1fr; }
  .inst-towns { padding: 28px 20px; margin-top: 32px; }
  .inst-faq { margin-top: 40px; }
  .inst-faq h2 { font-size: 26px; }
  .pp-hero-inner__ctas a { width: 100%; text-align: center; }
}

/* =========================================================================
   FAQ accordion — site-wide component (behavior-spec §4). Moved here from
   category-page.css 2026-08-16: it renders on the installation pages, FAQ,
   Hardscapes, Dumpster Rentals, Bulk Delivery, Contractors and Pine Straw,
   which never load the category sheet — they shipped browser-default chips.
   ========================================================================= */

/* Accordion — behavior-spec §4.1. The button pattern everywhere; the
   div-with-onClick variant in some approved builds is not keyboard reachable
   and is standardised away. */
.pp-accordion { display: flex; flex-direction: column; gap: 14px; }
.pp-accordion__item { background: #2D5441; border-radius: 8px; overflow: hidden; }
.pp-accordion__heading { margin: 0; }
.pp-accordion__trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 20px 26px; cursor: pointer;
  background: transparent; border: 0; text-align: left;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 19px; font-weight: 600; color: #FFFBE6;
  min-height: 48px;
}
.pp-accordion__trigger:hover { background: rgba(255, 251, 230, 0.06); }
.pp-accordion__icon {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px; color: #F7B51C; flex: none; line-height: 1;
}
.pp-accordion__panel {
  padding: 0 26px 22px; border-top: 1px dashed rgba(200, 230, 216, 0.3);
  overflow: hidden; transition: height 220ms ease;
}
.pp-accordion__panel p {
  font-size: 14.5px; line-height: 1.7; color: rgba(255, 251, 230, 0.85); margin: 16px 0 0;
}


/* Accordion behaviour states, site-wide (moved with the block above). */
@media (prefers-reduced-motion: reduce) {
  .pp-accordion__panel { transition-duration: 0ms; }
}
.no-js .pp-accordion__panel { display: block !important; height: auto !important; }
@media (max-width: 767px) {
  .pp-accordion__trigger { font-size: 17px; padding: 18px 18px; }
  .pp-accordion__panel { padding: 0 18px 20px; }
}

/* Hero crop aim (John, 2026-08-16): pine straw installation — keep the
   installer's hands/work in frame (action is in the lower half). */
.pp-page-pine-straw-installation .pp-hero-inner__bg img { object-position: center 75%; }
