/* ---------------------------------------------------------------
   Paslaugos sub-page — hero + alternating image/text rows
   Used by kupolai / quadro / angarai / skaidrus-tentai / nestandartiniai
--------------------------------------------------------------- */

/* ---------- HERO (with photo bg, bottom-anchored copy) ---------- */

.product-hero {
  position: relative;
  min-height: 520px;
  color: var(--text-on-dark);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.product-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-blue-16) 0%, #1e3a6e 100%);
}

.product-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(10, 15, 61, 0.92) 0%,
    rgba(10, 15, 61, 0.92) 40%,
    rgba(10, 15, 61, 0.2) 100%);
}

.product-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 80px var(--section-padding-x) 52px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-hero__title {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
  color: var(--color-white);
}

.product-hero__lead {
  max-width: 580px;
  font-size: var(--fs-16);
  line-height: 1.7;
  color: var(--color-grey-97);
}

.product-hero__cta {
  margin-top: 8px;
  align-self: flex-start;
}

/* ---------- Alternating content rows ---------- */

.product-row {
  padding: var(--section-padding-y) 0;
}

.product-row--surface { background: var(--color-white); }
.product-row--muted   { background: var(--bg-page); }

.product-row__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--section-padding-x);
}

.product-row__image {
  display: flex;
  min-height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.product-row__image > .ph {
  flex: 1;
  width: 100%;
}

/* Reverse layout for even rows (image left / text right).
   Use .product-row--reverse on the section. */
.product-row--reverse .product-row__grid {
  direction: rtl;
}
.product-row--reverse .product-row__grid > * {
  direction: ltr;
}

.product-row__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-9);
}

.product-row__title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  color: var(--text-primary);
}

.product-row__body {
  font-size: var(--fs-15);
  line-height: 1.75;
  color: var(--color-grey-46-2);
  max-width: 620px;
  padding-top: 4px;
}

/* Muted-eyebrow variant used by "Priežiūra" / MONTAVIMAS section */
.eyebrow--muted {
  color: #9090a0;
}

/* ---------- Responsive ---------- */

@media (max-width: 1023px) {
  .product-row__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .product-row--reverse .product-row__grid { direction: ltr; }
  .product-row__image { min-height: 280px; }
}

@media (max-width: 767px) {
  .product-hero { min-height: 440px; }
  .product-hero__inner { padding: 60px var(--section-padding-x) 40px; }
  .product-row__image { min-height: 220px; }
}
