/* ===== PROGETTI TEASER (home) ===== */
.pt-section {
  background: var(--color-bg-secondary);
  padding: var(--space-3xl) 0;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.pt-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: var(--space-3xl);
  align-items: center;
}

.pt-eyebrow {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5648b8; /* 6.9:1 on the beige */
  margin-bottom: var(--space-sm);
}

.pt-copy h2 {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-md);
  max-width: 18ch;
}

.pt-lead {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-secondary);
  max-width: 54ch;
  margin-bottom: var(--space-lg);
}

.pt-logos {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md) var(--space-lg);
  margin: 0 0 var(--space-xl);
  padding: var(--space-md) 0;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.pt-logos img {
  display: block;
  height: 3.6rem;
  width: auto;
  max-width: 14rem;
  object-fit: contain;
}

/* Overlapping screens: two desktop pages and a phone */
.pt-visual {
  position: relative;
  aspect-ratio: 5 / 4;
  width: 100%;
}

.pt-shot {
  position: absolute;
  margin: 0;
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 2.4rem 5rem -1.6rem rgba(40, 45, 20, 0.35);
  overflow: hidden;
}

.pt-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.pt-shot--a { left: 0; top: 4%; width: 74%; aspect-ratio: 16 / 10; z-index: 1; }
.pt-shot--b { right: 0; bottom: 4%; width: 66%; aspect-ratio: 16 / 10; z-index: 2; }
.pt-shot--c {
  left: 8%;
  bottom: 0;
  width: 22%;
  aspect-ratio: 9 / 19;
  z-index: 3;
  border: 0.5rem solid #1a1a1a;
  border-radius: 2.4rem;
}

@media (max-width: 1024px) {
  .pt-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .pt-copy h2 { max-width: 22ch; }
  .pt-visual { max-width: 64rem; }
}

@media (max-width: 768px) {
  .pt-section { padding: var(--space-2xl) 0; }
  .pt-copy h2 { font-size: clamp(2.4rem, 7vw, 3.2rem); }
  .pt-logos img { height: 3rem; }
}


/* base.css paints a loading shimmer behind lazy images until a script marks them loaded: logos are transparent PNGs */
.pt-logos img { background: none !important; animation: none !important; }
