/* ═══════════════════════════════════════════
   AG Sistem – Product sub-page styles
═══════════════════════════════════════════ */

/* ── Page Hero ── */
.page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue2) 100%);
  padding: 52px 0 46px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,.025) 0px,
    rgba(255,255,255,.025) 1px,
    transparent 1px,
    transparent 40px
  );
}
.page-hero-inner {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
  position: relative;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.breadcrumb a {
  color: rgba(255,255,255,.65);
  transition: color .2s;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: rgba(255,255,255,.3); font-size: 14px; }
.page-hero h1 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}
.page-hero .ph-divider {
  width: 56px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 16px;
}
.page-hero .ph-sub {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255,255,255,.6);
  max-width: 560px;
  line-height: 1.6;
}

/* ── Article wrapper ── */
.product-article {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

/* ── Section heading ── */
.art-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}
.art-heading h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue);
  white-space: nowrap;
}
.art-heading-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--accent), transparent);
  border-radius: 2px;
}

/* ── Intro block: text + image ── */
.art-intro {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 52px;
  align-items: start;
  margin-bottom: 64px;
}
.art-intro.rev {
  grid-template-columns: 420px 1fr;
}
.art-intro.rev .art-img { order: -1; }

.art-text p {
  color: var(--text);
  line-height: 1.9;
  font-size: 15px;
  margin-bottom: 16px;
}
.art-text p:last-child { margin-bottom: 0; }

/* ── Image placeholder ── */
.img-placeholder {
  background: linear-gradient(135deg, var(--pg-grad1, #1a3a5c), var(--pg-grad2, #2a5a9c));
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgba(255,255,255,.45);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  overflow: hidden;
  position: relative;
}
.img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.04) 0%, transparent 60%);
  pointer-events: none;
}
.img-placeholder svg {
  width: 52px;
  height: 52px;
  opacity: .3;
}
.art-img .img-placeholder {
  height: 380px;
}
.art-img .img-placeholder.tall {
  height: 460px;
}

/* ── Gallery ── */
.art-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
.art-gallery .img-placeholder {
  height: 230px;
}

/* ── Full-width text ── */
.art-full {
  margin-bottom: 60px;
}
.art-full p {
  color: var(--text);
  line-height: 1.9;
  font-size: 15px;
  margin-bottom: 16px;
  max-width: 900px;
}
.art-full p:last-child { margin-bottom: 0; }

/* ── Highlight box ── */
.art-highlight {
  background: #f0f5fb;
  border-left: 4px solid var(--accent);
  border-radius: 0 6px 6px 0;
  padding: 22px 28px;
  margin: 32px 0;
  color: var(--blue);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 600;
}

/* ── CTA box ── */
.art-cta {
  background: var(--gray);
  border-radius: 6px;
  padding: 32px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 32px;
  align-items: center;
  margin-top: 64px;
  border-top: 3px solid var(--accent);
}
.art-cta h3,
.art-cta-text h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  color: var(--blue);
  font-size: 1.2rem;
}
.art-cta p,
.art-cta-text p {
  font-size: 13.5px;
  color: var(--text);
}
.art-cta > a.btn {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
}

/* ── Placeholder page (no content yet) ── */
.placeholder-page {
  max-width: 800px;
  margin: 80px auto;
  padding: 0 24px;
  text-align: center;
}
.placeholder-page .ph-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--pg-grad1, #1a3a5c), var(--pg-grad2, #2a5a9c));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder-page .ph-icon svg {
  width: 40px; height: 40px; opacity: .6;
}
.placeholder-page h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 16px;
}
.placeholder-page p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 32px;
}

/* ── Back link ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  margin-bottom: 40px;
  transition: color .2s;
}
.back-link:hover { color: var(--accent); }
.back-link svg { width: 16px; height: 16px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .art-intro,
  .art-intro.rev { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .art-intro,
  .art-intro.rev { grid-template-columns: 1fr; gap: 28px; }
  .art-intro.rev .art-img { order: 0; }
  .art-gallery { grid-template-columns: repeat(2, 1fr); }
  .art-cta { grid-template-columns: 1fr; padding: 24px; }
  .art-cta > a.btn { grid-column: 1; grid-row: auto; }
  .product-article { padding: 40px 16px 60px; }
}
@media (max-width: 500px) {
  .art-gallery { grid-template-columns: 1fr; }
}

/* ── Product images ── */
.art-img .product-img,
.art-image .product-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.art-gallery .product-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
