/* intro v25 — Sagmeister ticket: corner patch, spiral binding, ticket perforation, square thumb */

/* Corner accent patch → triangle */
.intro-tkt__patch {
    width: 10rem;
    height: 10rem;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    opacity: 0.9;
}
.intro-tkt__spiral { height: 1rem; }
.intro-tkt__body { min-width: 0; }
.intro-tkt__close { width: 2rem; height: 2rem; }

/* Torn notebook spiral binding holes (colour from Tailwind text-*, holes via mask) */
.intro-tkt__spiral {
    -webkit-mask: radial-gradient(circle 5px at center, black 98%, transparent 100%) 0 0 / 30px 100%;
    mask: radial-gradient(circle 5px at center, black 98%, transparent 100%) 0 0 / 30px 100%;
    background: currentColor;
    opacity: 0.5;
}

/* Square cropped thumbnail */
.intro-tkt__thumb {
    width: 6rem;
    height: 6rem;
    object-fit: cover;
}

/* Ticket stub perforation (currentColor from the card text) */
.intro-tkt__ticket { transition: box-shadow 240ms ease; }
.intro-tkt__ticket::after {
    content: "";
    position: absolute;
    top: 0.75rem;
    bottom: 0.75rem;
    left: 7.5rem;
    border-left: 2px dashed currentColor;
    opacity: 0.25;
    pointer-events: none;
}
@media (max-width: 575.98px) {
    .intro-tkt__ticket::after { display: none; }
}

/* group-hover та картка */
.services__tile--lift {
  transition: box-shadow 0.5s ease, transform 0.5s ease;
}

.services__tile--lift:hover {
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  transform: translateY(-0.75rem);
}

@media (min-width: 640px) {
  .services__tile--lift:hover {
    transform: translateY(-0.75rem) scale(1.05);
  }
}

.services__media {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services__row:hover .services__media {
  transform: scale(1.1);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.services__heading {
  transition: color 0.3s ease;
}

.services__row:hover .services__heading {
  color: #2563eb;
}

.dark .services__row:hover .services__heading {
  color: #60a5fa;
}

[data-bs-theme="dark"] .services__row:hover .services__heading {
  color: var(--bs-primary, #6ea8fe);
}

.services__accent {
  transition: width 0.3s ease;
}

.services__row:hover .services__accent {
  width: 6rem;
}

.services__badge--offset {
  top: 2rem;
  inset-inline-end: 2rem;
}

.services__decor--blur {
  filter: blur(64px);
}

.services__decor-root {
  z-index: -1;
}

/* BS: розміри блобів (TW — через w-72 / w-96 у sem) */
.services__blob-a {
  width: 18rem;
  height: 18rem;
}

.services__blob-b {
  width: 24rem;
  height: 24rem;
}

/* process feature — image ratios, list markers (no colors) */
.process-feature__hero-img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.process-feature__side-img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    max-width: 18rem;
}
.process-feature__bullet {
    width: 0.375rem;
    height: 0.375rem;
    flex-shrink: 0;
}
.process-feature__index {
    min-width: 1.5rem;
}

/* faq v30 — full-width horizontal index lines */
.faq-index__row:last-child {
  border-bottom-width: 0;
}

.faq-index__headline {
  letter-spacing: -0.03em;
}

.faq-index__line {
  display: grid;
  width: 100%;
  align-items: center;
  column-gap: 1.5rem;
  row-gap: 1rem;
  grid-template-columns: 1fr;
  grid-template-areas:
    'num'
    'question'
    'answer'
    'media';
}

.faq-index__cell--num {
  grid-area: num;
}

.faq-index__cell--question {
  grid-area: question;
  min-width: 0;
}

.faq-index__cell--answer {
  grid-area: answer;
  min-width: 0;
}

.faq-index__cell--media {
  grid-area: media;
  min-width: 0;
}

.faq-index__photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (min-width: 768px) {
  .faq-index__line {
    column-gap: 2rem;
    row-gap: 0;
    grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.25fr) minmax(12rem, 26%);
    grid-template-areas: 'num question answer media';
  }

  .faq-index__photo {
    min-height: 10rem;
  }
}

@media (min-width: 1200px) {
  .faq-index__line {
    column-gap: 3rem;
    grid-template-columns: 5rem minmax(0, 1fr) minmax(0, 1.35fr) minmax(14rem, 24%);
  }
}

