/* ============================================================
   ARDEN LANDSCAPES — design.css
   landscape-design.html specific:
   Alternating left/right process steps with centre node.
   ============================================================ */


/* ── Process section ── */
.process-section {
  padding: 120px 72px;
  background: var(--bg);
}

.process-section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 96px;
}
.process-section-header .eyebrow {
  justify-content: center;
}
.process-section-header .eyebrow::before { display: none; }
.process-section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 300;
  color: var(--forest);
  line-height: 1.14;
}
.process-section-header h2 em,
.process-section-header h2 span[style*="font-style: italic"] {
  font-style: italic;
  color: var(--sage);
}


/* ── Individual step — 3-col grid: image | node | content ── */
.process-step {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
  gap: 0;
  margin-bottom: 80px;
  position: relative;
  padding: 0;
  border-right: none;
}
.process-step:last-child { margin-bottom: 0; }

/* Vertical connector between steps removed */
.process-step + .process-step::before { display: none; }


/* ── Image side ── */
.step-img {
  aspect-ratio: 4 / 3;
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}
.step-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 65% at 40% 60%, rgba(107,144,66,0.13) 0%, transparent 60%),
    radial-gradient(ellipse 35% 35% at 70% 25%, rgba(139,174,102,0.08) 0%, transparent 50%);
}
.step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.step-img-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(30,58,30,0.35);
}


/* ── Centre column — step number node ── */
.step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
  z-index: 1;
}
.step-node-line {
  width: 1px;
  flex: 1;
  min-height: 40px;
  background: var(--sage-pale);
}
.step-node-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-label);
  font-size: 10px;
  color: var(--sage);
  font-weight: 600;
  flex-shrink: 0;
}


/* ── Text side ── */
.step-content {
  padding: 0 56px;
}

/* Even steps: image right, text left */
.process-step:nth-child(even) .step-img   { order: 3; }
.process-step:nth-child(even) .step-node  { order: 2; }
.process-step:nth-child(even) .step-content {
  order: 1;
  text-align: right;
}
.process-step:nth-child(even) .step-content .step-tag {
  justify-content: flex-end;
}

.step-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  margin-bottom: 14px;
}
.step-tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--sage);
  flex-shrink: 0;
}
.process-step:nth-child(even) .step-tag::before { display: none; }
.process-step:nth-child(even) .step-tag::after {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--sage);
  flex-shrink: 0;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 300;
  color: var(--forest);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.step-content p {
  font-size: 0.93rem;
  color: var(--text-soft);
  line-height: 1.85;
  max-width: 380px;
}
.process-step:nth-child(even) .step-content p { margin-left: auto; }


/* ── Responsive ── */

/* Wide screens (≥1440px) — constrain width and centre */
@media (min-width: 1440px) {
  .process-section {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

/*
 * Tablet + mobile (≤1080px)
 * Replace the alternating 3-column grid with a consistent layout:
 *   Row 1 — image, spanning full width (height capped at 380px)
 *   Row 2 — [dot]  [step-tag + h3 + p]
 * The number and eyebrow label are now always left-aligned together.
 */
@media (max-width: 1080px) {
  .process-section { padding: 80px 36px; }
  .process-section-header { margin-bottom: 56px; }

  /* Remove borders injected by responsive.css (.process-step and
   * .process-step:nth-child(odd) both set border there — :nth-child(n)
   * matches everything at specificity 0-2-0, beating the odd rule). */
  .process-step,
  .process-step:nth-child(n) {
    border: none;
    box-shadow: none;
  }

  .process-step {
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
    row-gap: 24px;
    column-gap: 20px;
    margin-bottom: 56px;
  }

  /* Image spans both columns, sits in row 1.
   * aspect-ratio removed so max-height on the img controls height. */
  .step-img {
    grid-column: 1 / -1;
    grid-row: 1;
    aspect-ratio: unset;
  }
  /* Override absolute positioning so max-height is respected */
  .step-img img {
    position: relative;
    inset: auto;
    height: auto;
    max-height: 380px;
    width: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
  }

  /* Dot column: left, row 2 */
  .step-node {
    grid-column: 1;
    grid-row: 2;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 3px;
  }
  .step-node-line { display: none; }

  /* Content column: right of dot, row 2 */
  .step-content {
    grid-column: 2;
    grid-row: 2;
    padding: 0;
  }

  /* Uniform left-aligned layout for ALL steps — no odd/even split.
   * :nth-child(n) matches every element at the same specificity as
   * :nth-child(even), winning via source order. */
  .process-step:nth-child(n) .step-img,
  .process-step:nth-child(n) .step-node,
  .process-step:nth-child(n) .step-content { order: unset; }
  .process-step:nth-child(n) .step-content { text-align: left; }
  .process-step:nth-child(n) .step-content .step-tag { justify-content: flex-start; }
  .process-step:nth-child(n) .step-content p { margin-left: 0; }
  .process-step:nth-child(n) .step-tag::before { display: block; }
  .process-step:nth-child(n) .step-tag::after { display: none; }
}

/* Mobile (≤760px) — same structure, tighter spacing */
@media (max-width: 760px) {
  .process-section { padding: 64px 20px; }
  .process-section-header { margin-bottom: 48px; }

  .process-step,
  .process-step:nth-child(n) {
    border: none;
    box-shadow: none;
  }

  .process-step {
    grid-template-columns: 48px 1fr;
    row-gap: 20px;
    column-gap: 14px;
    margin-bottom: 40px;
  }

  .step-img img {
    max-height: 380px;
    object-position: top;
  }
}
