/* Plant Rental Template
   Accessible + performant, no external dependencies.
*/

.pr {
  --pr-max: 1120px;
  --pr-pad: clamp(16px, 2.5vw, 28px);
  --pr-radius: 16px;
  --pr-border: rgba(0,0,0,.12);
  --pr-bg-soft: rgba(0,0,0,.03);
  --pr-text-muted: rgba(0,0,0,.72);
  --pr-shadow: 0 10px 30px rgba(0,0,0,.08);

  color: inherit;
}

.pr-container {
  width: min(var(--pr-max), 100% - (2 * var(--pr-pad)));
  margin-inline: auto;
}

.pr-section {
  padding-block: clamp(28px, 4vw, 56px);
}

.pr-skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--pr-border);
  border-radius: 10px;
  z-index: 1000;
}
.pr-skip-link:focus {
  left: 12px;
}

.pr-h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.pr-h2 {
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.pr-h3 {
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 10px;
}

.pr-lead {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--pr-text-muted);
}

.pr-muted { color: var(--pr-text-muted); }
.pr-strong { font-weight: 600; }
.pr-prose > * { margin: 0 0 10px; }
.pr-prose > *:last-child { margin-bottom: 0; }

.pr-hero {
  padding-block: clamp(30px, 5vw, 68px);
  background: var(--pr-bg-soft);
}
.pr-hero__grid {
  display: grid;
  gap: clamp(16px, 3vw, 28px);
  align-items: center;
}
@media (min-width: 900px) {
  .pr-hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
.pr-hero__media {
  border-radius: var(--pr-radius);
  overflow: hidden;
  box-shadow: var(--pr-shadow);
}
.pr-hero__img {
  display: block;
  width: 100%;
  height: auto;
}

.pr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--pr-border);
  background: #fff;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
}
.pr-btn:hover { text-decoration: none; }
.pr-btn:focus-visible {
  outline: 3px solid rgba(0,0,0,.35);
  outline-offset: 3px;
}
.pr-btn--wide {
  min-width: min(420px, 100%);
}

.pr-grid-2 {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}
@media (min-width: 820px) {
  .pr-grid-2 { grid-template-columns: 1fr 1fr; }
}

.pr-card {
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  background: #fff;
  padding: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,.05);
}

.pr-list {
  margin: 0;
  padding-left: 18px;
}
.pr-list li { margin: 6px 0; }

.pr-callout {
  margin-top: 14px;
  padding: 16px;
  border-radius: var(--pr-radius);
  background: #f5f5f5;
}

.pr-checklist {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
}
.pr-checklist__item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid var(--pr-border);
  border-radius: 12px;
  background: #fff;
}
.pr-checklist__icon { line-height: 1.2; }

.pr-table-wrap {
  overflow-x: auto;
  border-radius: var(--pr-radius);
  border: 1px solid var(--pr-border);
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.05);
}
.pr-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.pr-table th,
.pr-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--pr-border);
  text-align: left;
  vertical-align: top;
}
.pr-table thead th {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}
.pr-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.pr-notice
 {
    margin: 2em;
}

.pr-portfolio {
  display: grid;
  gap: 16px;
  margin-top: 14px;
}
@media (min-width: 740px) {
  .pr-portfolio {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .pr-portfolio {
    grid-template-columns: repeat(3, 1fr);
  }
}
.pr-portfolio__item {
  border: 1px solid var(--pr-border);
  border-radius: var(--pr-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.05);
  margin: 0;
}
.pr-portfolio__media {
  background: var(--pr-bg-soft);
}
.pr-portfolio__img {
  display: block;
  width: 100%;
  height: auto;
}
.pr-portfolio__caption {
  padding: 14px 14px 16px;
}
.pr-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--pr-border);
  background: rgba(0,0,0,.03);
  margin: 0 0 10px;
  font-size: 13px;
}

.pr-adv {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
}
@media (min-width: 820px) {
  .pr-adv { grid-template-columns: repeat(2, 1fr); }
}
.pr-adv__item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--pr-border);
  border-radius: 14px;
  background: #fff;
}
.pr-adv__icon { line-height: 1.2; }
/* =========================
   Advanced "Process" styles
   Targets: .pr-steps .pr-step ...
   No markup changes required
========================= */

.pr-steps {
  --step-accent: #1f8a5b;                /* change to your brand green */
  --step-accent-soft: rgba(31,138,91,.16);
  --step-ring: rgba(31,138,91,.25);
  --step-shadow: 0 18px 40px rgba(0,0,0,.10);

  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 14px;
}

/* Card */
.pr-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;

  padding: 16px;
  border-radius: calc(var(--pr-radius) + 4px);
  border: 1px solid rgba(0,0,0,.10);

  background:
    radial-gradient(1200px 220px at 0% 0%, rgba(31,138,91,.12), transparent 55%),
    radial-gradient(900px 220px at 100% 0%, rgba(0,0,0,.04), transparent 55%),
    #fff;

  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  overflow: hidden;
  isolation: isolate;

  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* Left timeline line (desktop-ish) */
.pr-step::before {
  content: "";
  position: absolute;
  left: 28px;                    /* centers under the number */
  top: -18px;
  bottom: -18px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--step-accent-soft),
    transparent
  );
  z-index: 0;
  pointer-events: none;
}

/* Top corner highlight */
.pr-step::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31,138,91,.10), transparent 55%);
  opacity: 0;
  transition: opacity .18s ease;
  z-index: 0;
  pointer-events: none;
}

.pr-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--step-shadow);
  border-color: rgba(31,138,91,.22);
}
.pr-step:hover::after { opacity: 1; }

/* Number badge (premium) */
.pr-step__num {
  position: relative;
  z-index: 1;

  width: 48px;
  height: 48px;
  border-radius: 16px;

  display: grid;
  place-items: center;

  font-weight: 800;
  letter-spacing: -0.02em;

  color: #0b3b28;
  background:
    radial-gradient(18px 18px at 30% 30%, rgba(255,255,255,.90), rgba(255,255,255,0)),
    linear-gradient(180deg, rgba(31,138,91,.18), rgba(31,138,91,.08));
  border: 1px solid rgba(31,138,91,.22);

  box-shadow:
    0 10px 18px rgba(0,0,0,.10),
    inset 0 1px 0 rgba(255,255,255,.70);
}

/* Small dot to connect to line */
.pr-step__num::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: transparent;
  box-shadow: 0 0 0 10px rgba(31,138,91,.06);
  opacity: .8;
  z-index: -1;
}

/* Body */
.pr-step__body {
  position: relative;
  z-index: 1;
  min-width: 0;
}

/* Title */
.pr-step__title {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* Description */
.pr-step .pr-prose {
  font-size: 15.5px;
  line-height: 1.65;
}

/* Focus styles for keyboard navigation (a11y) */
.pr-step:focus-within {
  outline: 3px solid var(--step-ring);
  outline-offset: 4px;
}

/* Make first/last step line fade nicer */
.pr-steps > .pr-step:first-child::before {
  top: 22px;
}
.pr-steps > .pr-step:last-child::before {
  bottom: 22px;
}

/* Responsive: stack on small screens */
@media (max-width: 520px) {
  .pr-step {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .pr-step::before {
    left: 24px;
    top: 18px;
    bottom: 18px;
    opacity: .35;
  }
  .pr-step__num {
    width: 44px;
    height: 44px;
  }
}

/* Dark mode friendly (if theme uses it) */
@media (prefers-color-scheme: dark) {
  .pr-step {
    background:
      radial-gradient(1200px 220px at 0% 0%, rgba(31,138,91,.18), transparent 60%),
      rgba(255,255,255,.02);
    border-color: rgba(255,255,255,.10);
    box-shadow: 0 12px 30px rgba(0,0,0,.30);
  }
  .pr-step__title { color: rgba(255,255,255,.92); }
  .pr-step .pr-muted { color: rgba(255,255,255,.72); }
  .pr-step__num {
    color: rgba(255,255,255,.92);
    border-color: rgba(31,138,91,.35);
    background: linear-gradient(180deg, rgba(31,138,91,.28), rgba(31,138,91,.14));
  }
}
/* =========================
   Logo reel (Trusted by) — improved
   Smooth marquee + better fades + responsive sizing
========================= */

.pr-reel{
  --reel-h: clamp(46px, 6vw, 72px);
  --reel-gap: clamp(16px, 3vw, 34px);
  --reel-pad: clamp(12px, 2vw, 16px);

  position: relative;
  margin-top: 14px;

  border-radius: calc(var(--pr-radius) + 6px);
  border: 1px solid var(--pr-border);

  background:
    radial-gradient(900px 140px at 0% 0%, rgba(31,138,91,.08), transparent 60%),
    #fff;

  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  overflow: hidden;

  /* Better fade edges than ::before/after */
  -webkit-mask-image: linear-gradient(to right,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%);
  mask-image: linear-gradient(to right,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%);
}

/* Inner rail wrapper */
.pr-reel__track{
  display: flex;
  align-items: center;
  gap: var(--reel-gap);

  padding: var(--reel-pad);
  width: max-content;            /* important: prevents shrink/odd widths */
  will-change: transform;

  animation: prReelMarquee 28s linear infinite;
}

/* Pause on hover / focus */
.pr-reel:hover .pr-reel__track,
.pr-reel:focus-within .pr-reel__track{
  animation-play-state: paused;
}

.pr-reel__item{
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  height: var(--reel-h);
}

.pr-reel__link,
.pr-reel__logo{
  display: grid;
  place-items: center;
  height: 100%;
  padding: 6px 10px;

  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;

  transition:
    transform .16s ease,
    box-shadow .16s ease,
    border-color .16s ease,
    background .16s ease,
    filter .16s ease,
    opacity .16s ease;
}

.pr-reel__link{ text-decoration: none; }

.pr-reel__img{
  display: block;
  height: var(--reel-h);
  width: auto;
  max-width: clamp(120px, 20vw, 190px);
  object-fit: contain;

  /* premium: calm idle */
  filter: grayscale(1) saturate(.9);
  opacity: .86;
}

/* Hover/focus: bring logo “alive” */
.pr-reel__link:hover,
.pr-reel__link:focus-visible{
  transform: translateY(-1px);
  border-color: rgba(0,0,0,.10);
  background: rgba(0,0,0,.02);
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
}
.pr-reel__link:hover .pr-reel__img{
  filter: grayscale(0) saturate(1);
  opacity: 1;
}

.pr-reel__link:focus-visible{
  outline: 3px solid rgba(31,138,91,.28);
  outline-offset: 3px;
}

/*
  Marquee:
  We render the logo list twice in PHP.
  Move by exactly half of the track length visually:
  Because the content is duplicated back-to-back, shifting by 50% of the total
  works when the two halves are identical and track is max-content.
*/
@keyframes prReelMarquee{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Reduced motion: disable marquee, show wrap */
@media (prefers-reduced-motion: reduce){
  .pr-reel{
    -webkit-mask-image: none;
    mask-image: none;
  }
  .pr-reel__track{
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
  }
}

/* Dark mode friendly */
@media (prefers-color-scheme: dark){
  .pr-reel{
    background:
      radial-gradient(900px 140px at 0% 0%, rgba(31,138,91,.18), transparent 60%),
      rgba(255,255,255,.03);
    border-color: rgba(255,255,255,.12);
    box-shadow: 0 14px 34px rgba(0,0,0,.35);

    -webkit-mask-image: linear-gradient(to right,
      transparent 0,
      #000 10%,
      #000 90%,
      transparent 100%);
    mask-image: linear-gradient(to right,
      transparent 0,
      #000 10%,
      #000 90%,
      transparent 100%);
  }

  .pr-reel__link:hover,
  .pr-reel__link:focus-visible{
    border-color: rgba(255,255,255,.14);
    background: rgba(255,255,255,.04);
  }

  .pr-reel__img{
    opacity: .84;
  }
}

.pr-reel__note{
  margin-top: 10px;
}
