/* ==========================================================================
   Services & Pricing page (v2). Builds on home-v2.css, home-v2-sections.css,
   about-v2.css (crumbs, value cards, stats strip) and fyp-v2.css (steps,
   package lists, final CTA, WhatsApp button).
   ========================================================================== */

/* ---------- Hero ---------- */
.v2-pr-hero { position: relative; overflow: hidden; overflow: clip; background: var(--v2-bg); padding: 104px 0 48px; }
.v2-pr-hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.v2-pr-hero__copy { display: flex; flex-direction: column; gap: 16px; }
.v2 .v2-pr-hero__title { margin: 0; font-size: clamp(32px, 3.5vw, 46px); line-height: 1.08; font-weight: 800; letter-spacing: -.035em; color: #fff; }
.v2-pr-hero__lead { max-width: 580px; font-size: 16px; line-height: 1.65; color: var(--v2-muted); }
.v2-pr-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Quote builder */
.v2-quote { position: relative; padding: 1px; border-radius: 24px; overflow: hidden; }
.v2-quote__ring { position: absolute; inset: -60%; background: conic-gradient(from 0deg, transparent 0 65%, #7c8aff 82%, #00c2ff 90%, transparent 100%); animation: v2-spin 6s linear infinite; }
.v2-quote__body { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; border-radius: 23px; background: var(--v2-surface); }
.v2-quote__head { display: flex; align-items: center; gap: 12px; }
.v2-quote__head > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.v2-quote__head b { font-size: 17px; color: #fff; }
.v2-quote__head small { font-size: 13px; color: var(--v2-muted); }
.v2-quote__group { margin: 0; padding: 0; border: 0; min-width: 0; }
.v2-quote__group legend { margin-bottom: 6px; padding: 0; font-size: 13px; font-weight: 600; color: #c7cce8; }
.v2-quote__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.v2-quote .v2-chip-opt span { min-height: 34px; padding: 0 12px; font-size: 13px; }
.v2-quote__chips { gap: 6px; }
.v2-quote__note { gap: 6px; }
.v2-quote__note input { min-height: 42px; font-size: 15px; }
.v2-quote__opt { display: inline; margin-left: 4px; font-weight: 500; color: var(--v2-subtle); }
.v2-quote__preview { padding: 10px 14px; border-radius: 14px; background: rgba(18, 138, 71, .1); border: 1px dashed rgba(52, 211, 153, .35); }
.v2-quote__preview-label { display: block; margin-bottom: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6ee7b7; }
.v2-quote__preview p { font-size: 13.5px; line-height: 1.5; color: #e3e6fa; word-break: break-word; }
.v2-quote__send { width: 100%; min-height: 48px; font-size: 15px; }

/* ---------- Trust strip ---------- */
.v2-pr-trust { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.v2-pr-trust li { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 15px; font-weight: 600; color: #e3e6fa; }
.v2-pr-trust li + li { border-left: 1px solid rgba(255, 255, 255, .07); }

/* ---------- Services (9 cards) ---------- */
.v2-pr-services { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }

/* ---------- Laravel SaaS block ---------- */
.v2-pr-saas .v2-badge-red { align-self: center; }
.v2-pr-saasfaq { margin: 40px auto 0; max-width: 880px; }
.v2 .v2-pr-subhead { margin: 0 0 20px; text-align: center; font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.v2-qa h4 { margin: 0; }
.v2-pr-saasfaq .v2-center-ctas { margin-top: 32px; }

/* ---------- Milestone payment split ---------- */
.v2-split { margin: 28px auto 0; max-width: 820px; padding: 24px 26px; border-radius: 22px; background: var(--v2-surface); border: 1px solid var(--v2-border); }
.v2-split figcaption { margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--v2-accent); }
.v2-split__bar { display: flex; gap: 6px; height: 62px; }
.v2-split__bar span {
    flex: 0 0 var(--w); display: flex; flex-direction: column; justify-content: center; padding: 0 16px; border-radius: 12px;
    background: var(--c); color: #fff; transform-origin: left; transform: scaleX(0);
}
.v2-split.is-visible .v2-split__bar span { animation: v2-grow .9s var(--v2-ease) calc(var(--o) + .2s) forwards; }
.v2-split__bar b { font-size: 20px; line-height: 1.1; }
.v2-split__bar small { font-size: 12px; font-weight: 600; opacity: .9; }
.v2-split__bar span:last-child { color: #06281b; }
.v2-split > p { margin-top: 12px; font-size: 14px; color: var(--v2-muted); }
.v2-split + .v2-ab-values { margin-top: 24px; }
@keyframes v2-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
html:not(.v2-js) .v2-split__bar span { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .v2-pr-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
    .v2-pr-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .v2-pr-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
    .v2-pr-trust li:nth-child(3) { border-left: 0; }
}
@media (max-width: 720px) {
    .v2-pr-hero { padding: 100px 0 48px; }
    .v2-pr-hero__lead { font-size: 15.5px; }
    .v2-pr-hero__ctas { flex-direction: column; }
    .v2-pr-hero__ctas .v2-btn { width: 100%; }
    .v2-quote__body { padding: 18px; }
    .v2-quote .v2-chip-opt span { min-height: 44px; }
    .v2-pr-trust { grid-template-columns: minmax(0, 1fr); }
    .v2-pr-trust li { justify-content: flex-start; font-size: 14.5px; }
    .v2-pr-trust li + li { border-left: 0; }
    .v2-pr-services { margin-top: 32px; grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .v2-pr-services .v2-plan--featured { order: -1; }
    .v2 .v2-pr-subhead { font-size: 20px; }
    .v2-split { padding: 18px; }
    .v2-split__bar { height: auto; flex-direction: column; }
    .v2-split__bar span { flex-basis: auto; width: var(--w); min-width: 150px; padding: 10px 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .v2-split__bar span { transform: none; animation: none !important; }
}
