/* ─── Topsoil Page — Custom Styles ──────────────────────────────────────────
   Page-specific styles for topsoil.php.
   Shared design-system components live in general.css.
─────────────────────────────────────────────────────────────────────────── */

/* ══════════════════════════════════════════════════════════════════════
   WHY QUALITY TOPSOIL MATTERS — BENEFITS GRID
══════════════════════════════════════════════════════════════════════ */
.ts-benefits-section {
  background: #f7f8fa;
  padding: 100px 0;
}

.ts-what-block {
  background: #0a0a0a;
  padding: 52px 48px;
  position: relative;
  overflow: hidden;
}
.ts-what-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #36573B 0%, #CB6015 100%);
}
.ts-what-block .eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #CB6015;
  margin-bottom: 16px;
  display: block;
}
.ts-what-block h2 {
  font-family: 'Teko', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
}
.ts-what-block p {
  font-family: 'Barlow', sans-serif;
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.85;
  margin-bottom: 0;
}
.ts-texture-label {
  display: inline-block;
  margin-top: 24px;
  background: rgba(54, 87, 59, 0.35);
  border: 1px solid rgba(54, 87, 59, 0.55);
  color: #a8d4a8;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
}

/* Benefit cards */
.ts-benefit-card {
  background: #ffffff;
  border-top: 3px solid #36573B;
  padding: 36px 32px 32px;
  height: 100%;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.ts-benefit-card:hover {
  box-shadow: 0 12px 40px rgba(54, 87, 59, 0.12);
  transform: translateY(-4px);
}
.ts-benefit-card.green-top {
  border-top-color: #CB6015;
}
.ts-benefit-icon {
  width: 48px;
  height: 48px;
  background: #36573B;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.ts-benefit-card.green-top .ts-benefit-icon {
  background: #CB6015;
}
.ts-benefit-icon i {
  font-size: 1.4rem;
  color: #ffffff;
}
.ts-benefit-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0a0a0a;
  margin-bottom: 12px;
}
.ts-benefit-card p {
  font-family: 'Barlow', sans-serif;
  font-size: 0.93rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 0;
}

/* ══════════════════════════════════════════════════════════════════════
   APPLICATIONS SECTION
══════════════════════════════════════════════════════════════════════ */
.ts-applications-section {
  padding: 100px 0;
}

.ts-app-item {
  padding: 56px 0;
  border-bottom: 1px solid #e5e5e5;
}
.ts-app-item:first-child {
  padding-top: 0;
}
.ts-app-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ts-app-number {
  font-family: 'Teko', sans-serif;
  font-size: clamp(5rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 0.85;
  color: #e0e0e0;
  -webkit-text-stroke: 2px #e0e0e0;
  display: block;
  margin-bottom: 16px;
  transition: -webkit-text-stroke-color 0.3s ease, color 0.3s ease;
}
.ts-app-item:hover .ts-app-number {
  -webkit-text-stroke-color: #36573B;
}

.ts-app-title {
  font-family: 'Teko', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #0a0a0a;
  margin-bottom: 14px;
  line-height: 1.1;
}
.ts-app-title .accent-green { color: #36573B; }

.ts-app-body {
  font-family: 'Barlow', sans-serif;
  font-size: 0.97rem;
  color: #555;
  line-height: 1.85;
  margin-bottom: 0;
  max-width: 540px;
}

.ts-app-img {
  position: relative;
}
.ts-app-img img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.ts-app-img .ts-app-img-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #36573B;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 18px;
}

/* ══════════════════════════════════════════════════════════════════════
   DELIVERY SECTION
══════════════════════════════════════════════════════════════════════ */
.ts-delivery-section {
  background: #0a0a0a;
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.ts-delivery-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: rgba(54, 87, 59, 0.07);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
  pointer-events: none;
}
.ts-delivery-section .section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #CB6015;
  margin-bottom: 14px;
  display: block;
}
.ts-delivery-section h2 {
  font-family: 'Teko', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.05;
  margin-bottom: 18px;
}
.ts-delivery-lead {
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.85;
  margin-bottom: 28px;
  max-width: 540px;
}

.ts-pro-tip {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(54, 87, 59, 0.22);
  border-left: 3px solid #36573B;
  padding: 18px 20px;
  margin-bottom: 8px;
}
.ts-pro-tip i {
  font-size: 1.1rem;
  color: #a8d4a8;
  margin-top: 2px;
  flex-shrink: 0;
}
.ts-pro-tip div {
  font-family: 'Barlow', sans-serif;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}
.ts-pro-tip strong {
  color: #a8d4a8;
  font-weight: 600;
}

.ts-service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.ts-service-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.25s ease;
}
.ts-service-item:nth-child(even) {
  border-right: none;
}
.ts-service-item:nth-last-child(-n+2) {
  border-bottom: none;
}
.ts-service-item:hover {
  background: rgba(54, 87, 59, 0.18);
}
.ts-service-item i {
  font-size: 1rem;
  color: #CB6015;
  flex-shrink: 0;
}
.ts-service-item span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

/* ══════════════════════════════════════════════════════════════════════
   LOCAL / TRUST SECTION
══════════════════════════════════════════════════════════════════════ */
.ts-local-section {
  background: #f7f8fa;
  padding: 100px 0;
}

.ts-local-tagline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.ts-local-tagline i {
  font-size: 1.2rem;
  color: #36573B;
}
.ts-local-tagline span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #36573B;
}

/* ══════════════════════════════════════════════════════════════════════
   CTA BAND
══════════════════════════════════════════════════════════════════════ */
.ts-cta-band {
  background: #36573B;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.ts-cta-band::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  background: rgba(0, 0, 0, 0.12);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  pointer-events: none;
}
.ts-cta-band h2 {
  font-family: 'Teko', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.08;
  margin-bottom: 14px;
}
.ts-cta-band p {
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 520px;
}

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE ADJUSTMENTS
══════════════════════════════════════════════════════════════════════ */
@media (max-width: 767.98px) {
  .ts-what-block {
    padding: 36px 28px;
  }
  .ts-benefit-card {
    padding: 28px 24px 24px;
  }
  .ts-app-item {
    padding: 40px 0;
  }
  .ts-service-grid {
    grid-template-columns: 1fr;
  }
  .ts-service-item {
    border-right: none;
  }
  .ts-service-item:nth-last-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .ts-service-item:last-child {
    border-bottom: none;
  }
}
