/* Service pages V1. Builds on home-v4.css (hv4-* system). */

/* ---------- Hero ---------- */
.sv1-hero {
  position: relative; overflow: hidden; padding: 56px 0 104px;
  background:
    radial-gradient(760px 520px at 18% 40%, rgba(116,67,182,.16), transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--hv4-lav) 100%);
}
.sv1-hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.sv1-hero .c05-breadcrumbs, .sv1-hero nav[aria-label] { margin-bottom: 22px; }
.hv4 .sv1-hero__title {
  font-size: clamp(38px, 4.6vw, 62px) !important; font-weight: 800; letter-spacing: -0.035em; line-height: 1.04;
  margin: 0 0 22px; text-wrap: balance;
}
.sv1-hero__lead { margin: 0 0 30px; font-size: 18px; line-height: 1.7; color: var(--c03-muted); max-width: 52ch; text-wrap: pretty; }
.sv1-hero__visual { position: relative; min-height: 520px; }
.sv1-hero__glow {
  position: absolute; inset: 8% 6% 4%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(116,67,182,.28), transparent 75%); filter: blur(10px);
}
.sv1-mac { position: absolute; top: 6%; left: 0; width: 92%; transform: rotate(-1.2deg); z-index: 2; }
.sv1-phone { position: absolute; bottom: 0; left: 4%; width: 150px; z-index: 4; transform: rotate(2deg); }
.sv1-chips {
  position: absolute; z-index: 5; top: 0; right: 2%; display: flex; flex-wrap: wrap; gap: 6px; max-width: 240px;
}
.sv1-chips span {
  font: 700 12px/1 var(--c03-font); color: var(--c03-purple); padding: 8px 11px; border-radius: 999px; background: rgba(116,67,182,.1);
}
.sv1-hero__visual--social .sv1-mac { width: 78%; left: 0; top: 12%; }
.sv1-creative {
  position: absolute; z-index: 3; margin: 0; width: 150px; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden;
  background: #fff; padding: 6px; box-shadow: 0 24px 50px -18px rgba(62,32,110,.45);
}
.hv4 .sv1-creative img { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; }
.sv1-creative--1 { right: 0; top: 18%; transform: rotate(4deg); }
.sv1-creative--2 { right: 14%; top: 48%; transform: rotate(-5deg); z-index: 4; }
.sv1-creative--3 { right: 1%; bottom: 0; transform: rotate(3deg); }
.sv1-hero__visual--social .sv1-chips { top: 0; right: auto; left: 4%; }

/* CRM board */
.sv1-board {
  position: absolute; z-index: 2; top: 8%; left: 0; width: 88%; padding: 18px; border-radius: 22px;
  background: rgba(255,255,255,.88); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 40px 80px -30px rgba(62,32,110,.45);
}
.sv1-board__kicker { margin: 0 0 12px; font: 700 11px/1 var(--c03-en); letter-spacing: .06em; text-transform: uppercase; color: var(--c03-purple); }
.sv1-board__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sv1-board__col { display: grid; gap: 8px; align-content: start; padding: 10px; border-radius: 14px; background: var(--hv4-lav); min-height: 260px; }
.sv1-board__head { font-size: 12px; font-weight: 800; color: var(--c03-ink); margin-bottom: 2px; }
.sv1-board__card {
  display: grid; gap: 6px; padding: 10px; border-radius: 10px; background: #fff; box-shadow: 0 6px 16px -10px rgba(62,32,110,.4);
}
.sv1-board__card i { display: block; height: 7px; width: 70%; border-radius: 4px; background: #d6c7ec; }
.sv1-board__card b { display: block; height: 6px; width: 46%; border-radius: 4px; background: #ece3f8; }
.sv1-board__card em { justify-self: start; font: 700 10px/1 var(--c03-font); font-style: normal; color: var(--c03-purple); padding: 4px 7px; border-radius: 999px; background: rgba(116,67,182,.1); }
.sv1-board__card.is-hot { box-shadow: 0 0 0 2px var(--c03-purple), 0 14px 26px -12px rgba(116,67,182,.6); transform: translateY(-2px); }
.sv1-hero__visual--crm .sv1-chips { top: auto; bottom: 6%; right: 6%; }

/* ---------- Fit ---------- */
.sv1-fit { padding: 96px 0; background: #fff; }
.sv1-fit__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
.hv4 .sv1-fit__title { font-size: clamp(30px, 3.4vw, 44px) !important; margin: 0; }
.sv1-fit__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c03-ink); }
.sv1-fit__list li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--c03-line); }
.sv1-fit__list p { margin: 0; font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; line-height: 1.5; letter-spacing: -0.01em; }
.sv1-num { font: 800 13px/1 var(--c03-en); letter-spacing: .08em; color: var(--c03-purple); }

/* ---------- Build cards ---------- */
.sv1-build {
  padding: 112px 0; background:
    radial-gradient(900px 480px at 85% 0%, rgba(116,67,182,.10), transparent 70%),
    linear-gradient(180deg, var(--hv4-lav) 0%, #faf7fd 100%);
}
.sv1-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sv1-cards--5 .sv1-card:first-child { grid-column: span 2; }
.sv1-cards--7 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sv1-cards--7 .sv1-card:first-child { grid-column: span 2; }
.sv1-card {
  position: relative; padding: 30px 28px 28px; border-radius: 24px; background: #fff; border: 1px solid rgba(116,67,182,.1);
  box-shadow: var(--hv4-shadow); transition: transform .45s var(--c03-ease), box-shadow .45s var(--c03-ease);
  display: flex; flex-direction: column; gap: 12px;
}
.sv1-card:hover { transform: translateY(-4px); box-shadow: var(--hv4-shadow-hover); }
.sv1-card:first-child { background: linear-gradient(150deg, #fff 30%, #f1e8fc); }
.hv4 .sv1-card h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; margin: 6px 0 0; }
.sv1-card p { margin: 0; font-size: 15.5px; line-height: 1.7; color: var(--c03-muted); }
.sv1-note {
  margin-top: 22px; padding: 28px 32px; border-radius: 24px; background: var(--hv4-graphite); color: #ece8f5;
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 28px; align-items: baseline;
  background-image: radial-gradient(500px 200px at 10% 120%, rgba(116,67,182,.45), transparent 70%);
}
.hv4 .sv1-note h3 { margin: 0; font-size: 22px; font-weight: 800; color: #fff !important; }
.sv1-note p { margin: 0; font-size: 16.5px; line-height: 1.75; color: rgba(236,232,245,.82); }

/* ---------- Process ---------- */
.sv1-process { padding: 104px 0; }
.sv1-flow::before { top: 64px; }
.sv1-flow::after { top: 61px; }
.sv1-flow .hv4-flow__step { padding: 26px 24px 28px; }
.sv1-flow__num {
  display: block; margin-bottom: 18px; font: 800 64px/1 var(--c03-en); letter-spacing: -0.03em;
  color: transparent; -webkit-text-stroke: 1.5px #b995ec; position: relative; z-index: 1;
}

/* ---------- Works ---------- */
.sv1-works { padding: 112px 0; background: #fff; }
.sv1-work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.sv1-work-grid--1 { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
.sv1-work-grid--3 .sv1-work--featured { grid-column: 1 / -1; }
.sv1-work {
  display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; background: #fff;
  border: 1px solid var(--c03-line); box-shadow: var(--hv4-shadow); transition: transform .5s var(--c03-ease), box-shadow .5s var(--c03-ease);
}
.sv1-work:hover { transform: translateY(-6px); box-shadow: var(--hv4-shadow-hover); }
.sv1-work__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--hv4-lav); }
.hv4 .sv1-work__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1s var(--c03-ease); }
.sv1-work:hover .sv1-work__media img { transform: scale(1.03); }
.sv1-work__body { display: grid; gap: 6px; padding: 22px 26px 24px; }
.sv1-work__body strong { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; color: var(--c03-ink); }
.sv1-work__body > span { font-size: 15.5px; line-height: 1.65; color: var(--c03-muted); }
.sv1-work__body em { font-style: normal; font-weight: 700; font-size: 14px; color: var(--c03-purple); margin-top: 6px; }
.sv1-work--featured { flex-direction: row; }
.sv1-work--featured .sv1-work__media { flex: 1.3; aspect-ratio: auto; min-height: 340px; }
.sv1-work--featured .sv1-work__body { flex: 1; align-content: center; padding: 36px; }
.sv1-work--featured .sv1-work__body strong { font-size: 28px; }
.sv1-works__sub { font-size: 22px; font-weight: 800; margin: 56px 0 20px; }

/* CRM case */
.sv1-case {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border-radius: 32px; overflow: hidden; color: #ece8f5;
  background:
    radial-gradient(700px 420px at 20% 70%, rgba(116,67,182,.5), transparent 70%),
    radial-gradient(420px 300px at 95% 0%, rgba(255,182,114,.14), transparent 70%),
    var(--hv4-graphite);
}
.sv1-case__media { position: relative; min-height: 460px; }
.hv4 .sv1-case__desk {
  position: absolute; top: 48px; left: 48px; width: calc(100% - 96px); height: auto; border-radius: 14px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); border: 1px solid rgba(255,255,255,.1);
}
.sv1-case__phone { position: absolute; bottom: 32px; left: 28px; width: 138px; transform: rotate(2deg); }
.sv1-case__copy { padding: 52px 48px 52px 40px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.sv1-case .hv4-eyebrow { color: #c9aef0; }
.sv1-case .hv4-eyebrow::before { background: linear-gradient(90deg, rgba(201,174,240,.15), #c9aef0); }
.hv4 .sv1-case h2 { color: #fff !important; font-size: clamp(28px, 2.8vw, 40px) !important; }
.sv1-case__text { margin: 0 0 20px; font-size: 17px; line-height: 1.7; color: rgba(236,232,245,.8); }
.sv1-case .hv4-points li { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); color: #fff; }

/* Children */
.sv1-children { padding: 72px 0 96px; background: var(--hv4-lav); }
.hv4 .sv1-children__title { font-size: 24px !important; margin: 0 0 18px; }
.sv1-children__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.sv1-children__list li { border-bottom: 1px solid rgba(116,67,182,.18); }
.sv1-children .hv4-svc { grid-template-columns: 1fr auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .sv1-hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .sv1-hero__visual { min-height: 460px; max-width: 640px; width: 100%; justify-self: center; }
  .sv1-fit__grid { grid-template-columns: 1fr; gap: 24px; }
  .sv1-cards, .sv1-cards--7 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv1-cards--5 .sv1-card:first-child, .sv1-cards--7 .sv1-card:first-child { grid-column: 1 / -1; }
  .sv1-case { grid-template-columns: 1fr; }
  .sv1-children__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .sv1-hero { padding: 28px 0 64px; }
  .sv1-hero__lead { font-size: 16px; }
  .sv1-hero__visual { min-height: 330px; }
  .sv1-phone { width: 104px; }
  .sv1-creative { width: 100px; }
  .sv1-chips { max-width: 190px; }
  .sv1-chips span { font-size: 11px; padding: 6px 9px; }
  .sv1-board { width: 100%; padding: 12px; }
  .sv1-board__cols { gap: 6px; }
  .sv1-board__col { min-height: 190px; padding: 7px; }
  .sv1-board__head { font-size: 10.5px; }
  .sv1-fit, .sv1-build, .sv1-works, .sv1-process { padding: 72px 0; }
  .sv1-cards, .sv1-cards--7 { grid-template-columns: 1fr; gap: 14px; }
  .sv1-card { padding: 24px 22px; }
  .sv1-note { grid-template-columns: 1fr; gap: 10px; padding: 24px 22px; }
  .sv1-flow .hv4-flow__step { display: block; }
  .sv1-flow__num { font-size: 44px; margin-bottom: 10px; }
  .sv1-work-grid { grid-template-columns: 1fr; gap: 16px; }
  .sv1-work--featured { flex-direction: column; }
  .sv1-work--featured .sv1-work__media { min-height: 0; aspect-ratio: 16 / 10; }
  .sv1-work--featured .sv1-work__body { padding: 22px 24px 24px; }
  .sv1-work--featured .sv1-work__body strong { font-size: 22px; }
  .sv1-case__media { min-height: 300px; }
  .hv4 .sv1-case__desk { top: 24px; left: 20px; width: calc(100% - 40px); }
  .sv1-case__phone { width: 96px; bottom: 16px; left: 14px; }
  .sv1-case__copy { padding: 28px 22px 32px; }
  .sv1-children__list { grid-template-columns: 1fr; }
}

.hv4 .hv4-cta h2.sv1-cta-long { font-size: clamp(30px, 3.2vw, 44px) !important; max-width: 18ch; line-height: 1.12; }
