/* ==========================================================
   SERVICES — 6 cards, "How it works" style
   ========================================================== */
.services { max-width: 1320px; margin: 0 auto; padding: 40px 44px 120px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--card-gray);
  border-radius: 20px;
  padding: 36px 34px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(16,16,20,0.18);
}

.service-card h3 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.service-card p {
  font-size: 16.5px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--text-body);
  font-weight: 500;
}

.card-visual {
  flex: 1;
  position: relative;
  margin-top: 28px;
  min-height: 240px;
}

/* ---- visual 1: gradient pricing card ---- */
.v-price-card {
  position: absolute;
  left: 50%; bottom: -18px;
  transform: translateX(-50%) rotate(-8deg);
  width: 300px; height: 180px;
  border-radius: 18px;
  background: linear-gradient(120deg, #b06ce8 0%, #e86ca8 45%, #f09a62 100%);
  box-shadow: 0 24px 48px -16px rgba(180, 108, 200, 0.55);
  padding: 20px 22px;
  color: #fff;
}

.v-price-card .tag-chip {
  position: absolute;
  top: 14px; right: 16px;
  background: rgba(255,255,255,0.9);
  color: var(--text-dark);
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
  padding: 5px 12px;
  transform: rotate(6deg);
}

.v-price-card .brand-name { font-size: 15px; font-weight: 600; opacity: 0.95; }

.v-price-card .price {
  position: absolute;
  bottom: 20px; right: 22px;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ---- visual 2: request checklist ---- */
.v-checklist {
  position: absolute;
  left: 50%; bottom: -30px;
  transform: translateX(-50%) rotate(-4deg);
  width: 310px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 48px -20px rgba(16,16,20,0.25);
  padding: 22px 24px 28px;
}

.v-checklist h4 { font-size: 17px; font-weight: 600; margin-bottom: 16px; letter-spacing: -0.01em; }

.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 500;
  margin-bottom: 12px;
}

.check-item .box {
  width: 19px; height: 19px;
  border-radius: 50%;
  border: 1.5px solid #d6d5db;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}

.check-item.done .box { background: #2f6bff; border-color: #2f6bff; }
.check-item.done span.label { color: var(--text-muted); }

/* ---- visual 3: stacked deliverables ---- */
.v-stack { position: absolute; inset: 0; }

.v-stack .file {
  position: absolute;
  border-radius: 12px;
  box-shadow: 0 16px 36px -14px rgba(16,16,20,0.3);
  background-size: cover;
  background-position: center;
}

.v-stack .f1 { width: 130px; height: 96px; top: 4px; left: 12%; transform: rotate(-10deg); background: linear-gradient(135deg, #3a1020, #7a2038); }
.v-stack .f2 { width: 140px; height: 100px; top: 32px; left: 42%; transform: rotate(5deg); background: linear-gradient(135deg, #e8e2d8, #cfc4b2); }
.v-stack .f3 { width: 130px; height: 96px; top: 88px; left: 60%; transform: rotate(12deg); background: linear-gradient(135deg, #101014, #2c2c35); }

.v-stack .folder {
  position: absolute;
  left: 50%; bottom: -26px;
  transform: translateX(-50%);
  width: 250px; height: 150px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 48px -20px rgba(16,16,20,0.22);
  display: flex; align-items: center; justify-content: center;
}

.v-stack .folder svg { opacity: 0.14; }

/* ---- visual 4: browser window ---- */
.v-browser {
  position: absolute;
  left: 50%; bottom: -24px;
  transform: translateX(-50%) rotate(-3deg);
  width: 320px; height: 210px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 48px -20px rgba(16,16,20,0.25);
  overflow: hidden;
}

.v-browser .bar {
  height: 30px;
  background: #f2f1f4;
  display: flex; align-items: center;
  gap: 6px;
  padding: 0 12px;
}

.v-browser .bar i { width: 8px; height: 8px; border-radius: 50%; background: #d6d5db; display: block; }
.v-browser .bar i:nth-child(1) { background: #ff6159; }
.v-browser .bar i:nth-child(2) { background: #ffbd2e; }
.v-browser .bar i:nth-child(3) { background: #28c840; }

.v-browser .content { padding: 18px; }

.v-browser .line { height: 10px; border-radius: 5px; background: #ececf1; margin-bottom: 10px; }
.v-browser .line.hero-line { height: 20px; width: 70%; background: linear-gradient(90deg, #7047eb, #a98cf5); }
.v-browser .line.w60 { width: 60%; }
.v-browser .line.w80 { width: 80%; }

.v-browser .blocks { display: flex; gap: 10px; margin-top: 14px; }
.v-browser .blocks i { flex: 1; height: 52px; border-radius: 8px; background: #f2f1f4; display: block; }

/* ---- visual 5: SEO growth chart ---- */
.v-chart {
  position: absolute;
  left: 50%; bottom: -22px;
  transform: translateX(-50%) rotate(2deg);
  width: 310px; height: 200px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 48px -20px rgba(16,16,20,0.25);
  padding: 20px 22px;
}

.v-chart .chart-label { font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 4px; }
.v-chart .chart-value { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.v-chart .chart-value em { font-style: normal; color: #1db56c; font-size: 15px; }

.v-chart svg { width: 100%; height: 90px; display: block; }

/* ---- visual 5b: video editing player ---- */
.v-video {
  position: absolute;
  left: 50%; bottom: -18px;
  transform: translateX(-50%) rotate(-2deg);
  width: 300px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 48px -20px rgba(16,16,20,0.25);
  padding: 12px;
}

.v-screen {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  background: linear-gradient(135deg, #17171c, #3a3a45);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.v-play {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.v-timeline { padding: 0 4px; }

.v-track {
  height: 5px;
  border-radius: 3px;
  background: #ececf1;
  margin-bottom: 8px;
  overflow: hidden;
}

.v-fill {
  width: 46%;
  height: 100%;
  background: var(--purple);
  border-radius: 3px;
}

.v-time {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ---- visual 6: chat / support ---- */
.v-chat { position: absolute; inset: 0; }

.v-chat .bubble {
  position: absolute;
  max-width: 240px;
  padding: 13px 17px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: 0 16px 36px -18px rgba(16,16,20,0.25);
}

.v-chat .b1 {
  top: 14px; left: 6%;
  background: #fff;
  border-bottom-left-radius: 4px;
  transform: rotate(-2deg);
}

.v-chat .b2 {
  top: 96px; right: 4%;
  background: var(--purple);
  color: #fff;
  border-bottom-right-radius: 4px;
  transform: rotate(2deg);
}

.v-chat .typing {
  position: absolute;
  bottom: 10px; left: 10%;
  background: #fff;
  border-radius: 100px;
  padding: 10px 16px;
  display: flex; gap: 5px;
  box-shadow: 0 12px 28px -14px rgba(16,16,20,0.22);
}

.v-chat .typing i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #c9c8d1;
  display: block;
  animation: blink 1.2s infinite;
}

.v-chat .typing i:nth-child(2) { animation-delay: 0.2s; }
.v-chat .typing i:nth-child(3) { animation-delay: 0.4s; }

@keyframes blink {
  0%, 60%, 100% { opacity: 0.35; }
  30% { opacity: 1; }
}


/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .services { padding: 24px 20px 80px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 460px; }
}

/* "…build a startup that sells" is two characters longer than the line this
   heading used to carry, which pushed "sells" onto a third line on phones.
   Nudging the type down keeps the gradient phrase on one line. */
@media (max-width: 640px) {
  .services .section-head h2 { font-size: 31px; }
}
