.item-page {
  padding: calc(var(--header-h) + 32px) 0 96px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 32px;
}
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--violet); }
.breadcrumb [aria-current="page"] { color: var(--text); font-weight: 600; }

.item-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 62px;
  margin-bottom: 48px;
  align-items: start;
}

.item-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.item-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.item-image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.item-image-placeholder {
  aspect-ratio: 16/10;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background: var(--grad-brand);
  color: rgba(255,255,255,0.8);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.item-gallery-note {
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
  background: #EDE9FE;
  border-top: 1px solid rgba(139,92,246,0.15);
}
.item-gallery-note strong { color: var(--violet); font-weight: 700; }

/* Tech stack plaques (HTML / CSS / JS) */
.item-tech-block {
  margin-bottom: 28px;
  padding: 28px 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, #ffffff 0%, #f8f7ff 55%, #f4f6fb 100%);
}

.item-tech-block .item-description-head {
  margin-bottom: 20px;
}

.item-tech-block__lead {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-3);
}

.tech-badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.tech-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 108px;
  flex: 1 1 108px;
  max-width: 140px;
}

.tech-badge__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 15, 20, 0.06);
}

.tech-badge__icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}

.tech-badge__name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.2;
  text-align: center;
}

.tech-badges--sm {
  gap: 10px;
  margin: 0 0 12px;
}

.tech-badges--sm .tech-badge {
  min-width: 72px;
  max-width: 88px;
  flex: 0 0 auto;
  gap: 8px;
}

.tech-badges--sm .tech-badge__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  box-shadow: none;
}

.tech-badges--sm .tech-badge__icon img {
  width: 36px;
  height: 36px;
}

.tech-badges--sm .tech-badge__name {
  font-size: 12px;
}

@media (max-width: 720px) {
  .item-tech-block {
    padding: 20px;
  }

  .tech-badge {
    min-width: 96px;
    max-width: none;
    flex: 1 1 calc(33.333% - 12px);
  }

  .tech-badge__icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
  }

  .tech-badge__icon img {
    width: 44px;
    height: 44px;
  }
}

/* Multi-page demo grid */
.item-pages {
  margin-bottom: 28px;
}

.item-pages .item-description-head {
  margin-bottom: 16px;
}

.item-pages__lead {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-3);
}

.item-pages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.item-pages__card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.item-pages__card:hover {
  border-color: rgba(139, 92, 246, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(15, 15, 20, 0.08);
}

.item-pages__shot {
  display: block;
  background: var(--surface-2);
}

.item-pages__shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.item-pages__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px 14px;
}

.item-pages__meta strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.item-pages__meta span {
  font-size: 12px;
  color: var(--text-3);
}

@media (max-width: 720px) {
  .item-pages__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.item-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.item-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--violet);
  padding: 5px 12px;
  background: #EDE9FE;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.item-info h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--text);
}

.item-rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px 8px 10px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-full);
  line-height: 1;
}

.item-rating-score {
  font-size: 18px;
  color: #F59E0B;
  line-height: 1;
}

.item-rating-value {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.item-rating-sep {
  width: 1px;
  height: 14px;
  background: #FCD34D;
}

.item-rating-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}

.item-short {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 24px;
}

.item-price-block {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.item-price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.item-price-block .price-current { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.03em; }

.price-discount {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  background: #FEF3C7;
  color: #B45309;
  border-radius: var(--radius-full);
}

.price-includes {
  font-size: 14px;
  font-weight: 600;
  color: var(--violet);
  line-height: 1.5;
}

.item-includes-quick {
  list-style: none;
  margin: 0 0 24px;
  padding: 16px;
  background: var(--surface-2);
  border-radius: var(--radius);
}

.item-includes-quick li {
  position: relative;
  padding: 5px 0 5px 24px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.45;
}
.item-includes-quick li::before {
  content: '✓';
  position: absolute;
  left: 0;
  font-size: 18px;
  line-height: 1;
  color: var(--success);
  font-weight: 700;
}

.item-actions { display: flex; gap: 32px; flex-wrap: wrap; margin-bottom: 42px; }
.item-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* Column features — responsive + SEO */
.included-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 4px 2px 0;
}

.included-feature-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--text-2);
}

.included-feature strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.included-feature p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-3);
  font-weight: 400;
}

.item-description {
  position: relative;
  background: linear-gradient(165deg, #ffffff 0%, #f8f7ff 55%, #f4f6fb 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 36px 32px;
  margin-bottom: 42px;
  overflow: hidden;
}


.item-description-head {
  margin-bottom: 18px;
}

.item-description-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 8px;
}

.item-description h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0;
  color: var(--text);
}

.item-description-lead {
  color: var(--text-2);
  line-height: 1.75;
  font-size: 16px;
  margin-bottom: 0;
  white-space: pre-line;
}

.item-description-lead + .item-description-features {
  margin-top: 24px;
}

.item-description-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.item-description-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  font-weight: 500;
}

.item-feature-mark {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.item-package-card {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.item-package-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(139,92,246,0.25) 0%, transparent 60%);
  pointer-events: none;
}

.item-package-card h2 {
  position: relative;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.35;
}

.package-list {
  position: relative;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.package-list li {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--dark-3);
}
.package-list li:last-child { border-bottom: none; padding-bottom: 0; }

.package-list strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}

.package-list span {
  font-size: 13px;
  color: var(--text-inv-2);
  line-height: 1.55;
}

.package-note {
  position: relative;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-inv-2);
}

/* Support */
.item-support {
  margin-top: 100px;
  margin-bottom: 100px;
}

.item-support-head { max-width: 600px; margin-bottom: 32px; }

.item-support-head .label { margin-bottom: 8px; }

.item-support-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  color: var(--text);
}

.item-support-lead {
  font-size: 17px;
  color: var(--text-3);
  line-height: 1.65;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.support-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform var(--t), box-shadow var(--t);
}
.support-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.support-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.support-card p {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.6;
}

.support-card-accent {
  background: var(--grad-brand);
  border: none;
  color: #fff;
}
.support-card-accent h3 { color: #fff; }
.support-card-accent p { color: rgba(255,255,255,0.85); }

/* Process */
.item-process { margin-bottom: 48px; }

.item-process h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--text);
}

.process-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.process-steps li {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--t);
}
.process-steps li:hover { box-shadow: var(--shadow-sm); }

.process-num {
  flex-shrink: 0;
  width: 70px; height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-brand);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  border-radius: var(--radius);
}

.process-steps h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.process-steps p {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.55;
}

/* FAQ */
.item-faq { margin-bottom: 48px; margin-top: 100px; }

.item-faq h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
}

.item-faq-list { display: flex; flex-direction: column; gap: 10px; }

.item-faq .faq-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.item-faq .faq-card summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.item-faq .faq-card summary::-webkit-details-marker { display: none; }
.item-faq .faq-card summary::after { content: '+'; color: var(--text-3); font-size: 18px; }
.item-faq .faq-card[open] summary::after { content: '−'; color: var(--violet); }

.item-faq .faq-card p {
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.6;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

/* CTA */
.item-cta-band {
  position: relative;
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  margin-bottom: 48px;
  margin-top: 100px;
  overflow: hidden;
  color: #fff;
}

.item-cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at bottom, rgba(139,92,246,0.35) 0%, transparent 60%);
  pointer-events: none;
}

.item-cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.item-cta-inner h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.3;
}

.item-cta-inner p {
  color: var(--text-inv-2);
  font-size: 15px;
  max-width: 480px;
  line-height: 1.55;
}

.item-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.related-section h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--text);
  margin-top: 100px;
}

.related-lead {
  font-size: 15px;
  color: var(--text-3);
  margin-bottom: 24px;
}

/* —— Tablet —— */
@media (max-width: 960px) {
  .item-layout {
    grid-template-columns: 1fr;
    gap: 44px;
    margin-bottom: 40px;
  }

  .item-col {
    display: contents;
  }

  .item-gallery { order: 1; }
  .item-info { order: 2; }
  .item-package-card { order: 3; position: static; }
  .item-tech-block { order: 4; }
  .item-pages { order: 5; }
  .item-description { order: 6; }
  .included-feature { order: 7; }

  .support-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .item-support,
  .item-faq,
  .item-cta-band,
  .related-section h2 {
    margin-top: 64px;
  }

  .item-support {
    margin-bottom: 64px;
  }
}

/* —— Mobile —— */
@media (max-width: 640px) {
  .item-page {
    padding: calc(var(--header-h) + 20px) 0 64px;
  }

  .breadcrumb {
    gap: 6px;
    font-size: 12px;
    margin-bottom: 20px;
  }

  .breadcrumb [aria-current="page"] {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 42vw;
  }

  .item-layout {
    gap: 36px;
    margin-bottom: 32px;
  }

  .item-gallery {
    border-radius: var(--radius);
  }

  .item-image,
  .item-image-placeholder {
    aspect-ratio: 16 / 11;
  }

  .item-image-placeholder {
    padding: 16px;
  }

  .item-gallery-note {
    padding: 12px 14px;
    font-size: 13px;
  }

  .item-info {
    padding: 20px 16px;
    border-radius: var(--radius);
  }

  .item-info h1 {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
  }

  .item-short {
    font-size: 15px;
    margin-bottom: 18px;
  }

  .item-price-block .price-current {
    font-size: 1.85rem;
  }

  .price-includes {
    font-size: 13px;
  }

  .item-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 20px;
  }

  .item-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .item-includes-quick {
    margin-bottom: 16px;
    padding: 12px 14px;
  }

  .item-includes-quick li {
    font-size: 13px;
  }

  .item-description {
    padding: 22px 16px 20px 20px;
    margin-bottom: 8px;
    border-radius: var(--radius);
  }

  .item-description::before {
    top: 16px;
    bottom: 16px;
  }

  .item-description-lead {
    font-size: 15px;
    line-height: 1.65;
  }

  .item-description-features li {
    padding: 10px 12px;
    font-size: 13px;
  }

  .included-feature {
    gap: 12px;
    padding: 8px 0;
  }

  .included-feature strong {
    font-size: 14px;
  }

  .included-feature p {
    font-size: 13px;
  }

  .item-package-card {
    padding: 22px 16px;
    border-radius: var(--radius);
  }

  .item-package-card h2 {
    font-size: 17px;
    margin-bottom: 18px;
  }

  .package-list {
    gap: 12px;
    margin-bottom: 14px;
  }

  .package-list li {
    padding-bottom: 12px;
  }

  .item-support,
  .item-faq,
  .item-cta-band,
  .related-section h2 {
    margin-top: 48px;
  }

  .item-support {
    margin-bottom: 48px;
  }

  .item-support-head {
    margin-bottom: 20px;
  }

  .item-support-lead {
    font-size: 15px;
  }

  .support-card,
  .process-steps li {
    padding: 18px 16px;
    border-radius: var(--radius);
  }

  .process-num {
    width: 44px;
    height: 44px;
    font-size: 15px;
  }

  .process-steps {
    gap: 12px;
  }

  .process-steps li {
    gap: 12px;
  }

  .item-process h2,
  .item-faq h2,
  .related-section h2 {
    font-size: 1.25rem;
    margin-bottom: 14px;
  }

  .item-faq .faq-card summary {
    padding: 14px 16px;
    font-size: 14px;
    gap: 12px;
    align-items: flex-start;
  }

  .item-faq .faq-card p {
    padding: 12px 16px 14px;
    font-size: 13px;
  }

  .item-cta-band {
    padding: 28px 18px;
    margin-bottom: 32px;
    border-radius: var(--radius-lg);
  }

  .item-cta-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .item-cta-inner p {
    font-size: 14px;
    max-width: none;
  }

  .item-cta-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .item-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .related-lead {
    font-size: 14px;
    margin-bottom: 16px;
  }
}
