/* ═══════════════════════════════════════════════════════
   CODQI — Services page (loaded only on /services)
   Prefix: .sv-*
   ═══════════════════════════════════════════════════════ */

/* ── HERO ── */
.sv-hero {
  background: linear-gradient(160deg, #faf9ff 0%, #f4f0ff 50%, #fff7ed 100%);
  border-bottom: 1px solid #ececf6;
  padding: 36px 24px 32px;
  position: relative; overflow: hidden;
}
.sv-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 10%, rgba(234,88,12,.10) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(108,39,232,.14) 0%, transparent 60%);
  pointer-events: none;
}
.sv-hero-inner { max-width: 920px; margin: 0 auto; position: relative; text-align: center; }
.sv-hero-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: #ea580c;
  background: rgba(234,88,12,.1); padding: 6px 14px; border-radius: 100px; margin-bottom: 12px;
}
.sv-hero-h {
  font-size: clamp(28px, 3.6vw, 40px); font-weight: 900;
  letter-spacing: -1px; line-height: 1.12; color: #0a0820;
  margin: 0 0 12px;
}
.sv-hero-em {
  background: linear-gradient(135deg, #6c27e8, #9333ea);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.sv-hero-p { font-size: 16px; color: #4a4870; line-height: 1.6; max-width: 680px; margin: 0 auto 18px; }
.sv-hero-meta { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.sv-hero-meta-item {
  font-size: 12.5px; font-weight: 600; color: #4a4870;
  background: #fff; border: 1px solid #e8e4ff;
  padding: 7px 14px; border-radius: 100px;
  box-shadow: 0 1px 3px rgba(108,39,232,.05);
}
.sv-hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.sv-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 13px 26px; border-radius: 12px;
  font-size: 14.5px; font-weight: 700; text-decoration: none;
  transition: all .18s; border: 1.5px solid transparent;
}
.sv-btn--primary {
  background: linear-gradient(135deg, #6c27e8, #9333ea); color: #fff;
  box-shadow: 0 6px 20px rgba(108,39,232,.32);
}
.sv-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(108,39,232,.45); color: #fff; }
.sv-btn--ghost { background: #fff; color: #0a0820; border-color: #e0dcf5; }
.sv-btn--ghost:hover { border-color: #6c27e8; color: #5b1fd1; transform: translateY(-2px); }

/* ── SECTION SCAFFOLD ── */
.sv-section-inner { max-width: 1200px; margin: 0 auto; padding: 64px 24px; }
.sv-sec-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.sv-sec-eyebrow {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: #6c27e8;
  background: rgba(108,39,232,.08); padding: 5px 12px; border-radius: 100px; margin-bottom: 14px;
}
.sv-sec-h { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.7px; color: #0a0820; margin: 0 0 12px; line-height: 1.2; }
.sv-sec-p { font-size: 15.5px; color: #5c5a7c; line-height: 1.65; margin: 0; }

/* ── TIERS ── */
.sv-tiers { background: #fff; }
.sv-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.sv-card {
  position: relative;
  background: #fff; border: 1.5px solid #ececf6; border-radius: 18px;
  padding: 28px 24px; display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.sv-card:hover {
  transform: translateY(-4px);
  border-color: #c4b5fd;
  box-shadow: 0 18px 40px rgba(108,39,232,.13);
}
.sv-card--popular { border-color: #fbbf24; box-shadow: 0 12px 32px rgba(234,88,12,.12); }
.sv-card--popular:hover { border-color: #f59e0b; box-shadow: 0 22px 48px rgba(234,88,12,.18); }
.sv-card-popular {
  position: absolute; top: -12px; right: 24px;
  background: linear-gradient(135deg, #f59e0b, #ea580c); color: #fff;
  padding: 5px 14px; border-radius: 100px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .03em;
  box-shadow: 0 4px 12px rgba(234,88,12,.35);
}
.sv-card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 18px;
}
.sv-card-h { font-size: 19px; font-weight: 800; color: #0a0820; margin: 0 0 8px; letter-spacing: -.3px; }
.sv-card-sub { font-size: 14px; color: #5c5a7c; line-height: 1.55; margin: 0 0 18px; }
.sv-card-list { list-style: none; padding: 0; margin: 0 0 22px; }
.sv-card-list li {
  font-size: 13.5px; color: #3f3d5c; padding: 6px 0 6px 22px;
  position: relative; line-height: 1.5;
}
.sv-card-list li::before {
  content: '✓'; position: absolute; left: 0; top: 6px;
  color: #6c27e8; font-weight: 800;
}
.sv-card--popular .sv-card-list li::before { color: #ea580c; }
.sv-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 18px; border-top: 1px solid #f0eef8;
  margin-top: auto;
}
.sv-card-from { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #8b88a8; margin-bottom: 2px; }
.sv-card-price { font-size: 24px; font-weight: 900; color: #0a0820; letter-spacing: -.5px; }
.sv-card-mo { font-size: 13px; font-weight: 600; color: #8b88a8; margin-left: 2px; }
.sv-card-btn {
  display: inline-flex; align-items: center; gap: 4px;
  background: #f4f2fc; color: #5b1fd1;
  padding: 10px 16px; border-radius: 10px;
  font-size: 13px; font-weight: 700; text-decoration: none;
  white-space: nowrap; transition: all .18s;
}
.sv-card-btn:hover { background: #6c27e8; color: #fff; transform: translateX(2px); }
.sv-card--popular .sv-card-btn { background: #ea580c; color: #fff; }
.sv-card--popular .sv-card-btn:hover { background: #c2410c; }
.sv-card-meta {
  font-size: 12px; color: #8b88a8; padding-top: 12px;
  border-top: 1px dashed #f0eef8; margin-top: 14px;
}
.sv-card--other { background: linear-gradient(180deg, #fafafa 0%, #fff 100%); }

/* ── PROCESS ── */
.sv-process { background: #fbfaff; border-top: 1px solid #ececf6; border-bottom: 1px solid #ececf6; }
.sv-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sv-step {
  background: #fff; border: 1px solid #ececf6; border-radius: 14px;
  padding: 24px 22px; position: relative;
}
.sv-step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #6c27e8, #9333ea); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px; margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(108,39,232,.3);
}
.sv-step h4 { font-size: 15px; font-weight: 800; color: #0a0820; margin: 0 0 6px; }
.sv-step p  { font-size: 13.5px; color: #5c5a7c; line-height: 1.55; margin: 0; }

/* ── TRUST STRIP ── */
.sv-trust { background: #fff; }
.sv-trust .sv-section-inner { padding: 36px 24px; }
.sv-trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  background: linear-gradient(135deg, #faf9ff, #fff7ed);
  border: 1px solid #ececf6; border-radius: 18px; padding: 28px;
}
.sv-trust-cell { text-align: center; }
.sv-trust-num {
  font-size: clamp(26px, 3vw, 34px); font-weight: 900; letter-spacing: -.5px;
  background: linear-gradient(135deg, #6c27e8, #ea580c);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: 4px;
}
.sv-trust-lbl { font-size: 12.5px; font-weight: 600; color: #5c5a7c; text-transform: uppercase; letter-spacing: .04em; }

/* ── FORM ── */
.sv-form-section {
  background: linear-gradient(180deg, #faf9ff 0%, #fff 100%);
  border-top: 1px solid #ececf6;
  scroll-margin-top: 80px;
}
.sv-form-inner {
  max-width: 1200px; margin: 0 auto; padding: 56px 24px;
  display: grid; grid-template-columns: 380px 1fr; gap: 48px;
  align-items: start;
}
.sv-form-side { position: sticky; top: 80px; }
.sv-form-promises {
  list-style: none; padding: 0; margin: 22px 0 0;
  display: flex; flex-direction: column; gap: 10px;
}
.sv-form-promises li {
  font-size: 13.5px; color: #3f3d5c; line-height: 1.5;
  padding: 10px 14px; background: #fff; border: 1px solid #ececf6; border-radius: 10px;
}

.sv-form-card {
  background: #fff; border: 1.5px solid #e0dcf5; border-radius: 18px;
  padding: 32px; box-shadow: 0 12px 32px rgba(108,39,232,.08);
}
.sv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sv-field { margin-bottom: 18px; display: flex; flex-direction: column; }
.sv-row .sv-field { margin-bottom: 18px; }
.sv-field label {
  font-size: 13px; font-weight: 700; color: #0a0820; margin-bottom: 6px;
  display: flex; align-items: center; gap: 4px;
}
.sv-req { color: #ea580c; font-weight: 800; }
.sv-opt { color: #8b88a8; font-weight: 500; font-size: 11.5px; }
.sv-field input,
.sv-field select,
.sv-field textarea {
  width: 100%; box-sizing: border-box;
  padding: 11px 14px; border: 1.5px solid #e0dcf5; border-radius: 10px;
  font-size: 14px; font-family: inherit; color: #0a0820;
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.sv-field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.sv-field input:focus,
.sv-field select:focus,
.sv-field textarea:focus {
  outline: none; border-color: #6c27e8;
  box-shadow: 0 0 0 4px rgba(108,39,232,.12);
}
.sv-help { font-size: 12px; color: #8b88a8; margin-top: 6px; }
.sv-honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.sv-submit {
  width: 100%;
  background: linear-gradient(135deg, #6c27e8, #9333ea); color: #fff;
  border: none; padding: 14px 22px; border-radius: 11px;
  font-size: 15px; font-weight: 700; font-family: inherit;
  cursor: pointer; box-shadow: 0 8px 22px rgba(108,39,232,.32);
  transition: all .18s; margin-top: 4px;
}
.sv-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(108,39,232,.45); }
.sv-fineprint { font-size: 12px; color: #8b88a8; margin: 14px 0 0; line-height: 1.5; text-align: center; }
.sv-fineprint a { color: #6c27e8; text-decoration: none; }
.sv-fineprint a:hover { text-decoration: underline; }

.sv-flash {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px; border-radius: 12px; margin-bottom: 22px;
  font-size: 14px; line-height: 1.5;
}
.sv-flash--success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.sv-flash--error   { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.sv-flash-icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 15px;
}
.sv-flash--success .sv-flash-icon { background: #059669; color: #fff; }
.sv-flash--error   .sv-flash-icon { background: #dc2626; color: #fff; }
.sv-flash-sub { font-size: 13px; margin-top: 4px; opacity: .85; }
.sv-flash-sub a { color: inherit; font-weight: 700; }
.sv-flash-list { margin: 6px 0 0; padding-left: 20px; }
.sv-flash-list li { margin-bottom: 2px; }

.sv-success-panel {
  text-align: center;
  padding: 36px 28px;
}
.sv-success-panel:focus { outline: none; }
.sv-success-icon {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #059669, #10b981); color: #fff;
  font-size: 34px; font-weight: 900;
  box-shadow: 0 12px 28px rgba(5,150,105,.28);
}
.sv-success-title {
  font-size: clamp(24px, 3vw, 30px); font-weight: 900; color: #0a0820;
  margin: 0 0 10px; letter-spacing: -.5px;
}
.sv-success-msg {
  font-size: 16px; font-weight: 700; color: #065f46; margin: 0 0 10px; line-height: 1.5;
}
.sv-success-sub {
  font-size: 14.5px; color: #5c5a7c; line-height: 1.65; max-width: 520px; margin: 0 auto 24px;
}
.sv-success-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}

/* ── FAQ ── */
.sv-faq { background: #fbfaff; border-top: 1px solid #ececf6; }
.sv-faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.sv-faq-item {
  background: #fff; border: 1px solid #ececf6; border-radius: 12px;
  padding: 16px 20px; transition: border-color .15s;
}
.sv-faq-item[open] { border-color: #c4b5fd; box-shadow: 0 6px 18px rgba(108,39,232,.07); }
.sv-faq-item summary {
  font-size: 15px; font-weight: 700; color: #0a0820; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.sv-faq-item summary::-webkit-details-marker { display: none; }
.sv-faq-item summary::after { content: '+'; font-size: 22px; color: #6c27e8; font-weight: 400; transition: transform .2s; }
.sv-faq-item[open] summary::after { content: '−'; }
.sv-faq-item p { font-size: 14px; color: #5c5a7c; line-height: 1.6; margin: 12px 0 0; }

/* ── A11y focus ── */
.sv-card-btn:focus-visible,
.sv-btn:focus-visible,
.sv-submit:focus-visible,
.sv-faq-item summary:focus-visible {
  outline: 2px solid #6c27e8; outline-offset: 3px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .sv-grid  { grid-template-columns: repeat(2, 1fr); }
  .sv-steps { grid-template-columns: repeat(2, 1fr); }
  .sv-form-inner { grid-template-columns: 1fr; gap: 32px; }
  .sv-form-side  { position: static; }
}
@media (max-width: 720px) {
  .sv-section-inner { padding: 48px 18px; }
  .sv-grid  { grid-template-columns: 1fr; }
  .sv-steps { grid-template-columns: 1fr; }
  .sv-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; padding: 22px; }
  .sv-faq-grid { grid-template-columns: 1fr; }
  .sv-row { grid-template-columns: 1fr; }
  .sv-form-card { padding: 22px; }
  .sv-hero { padding: 28px 18px 26px; }
}

/* JS-free service preselect — clicking a card scrolls to form & sets the dropdown.
   The `data-svc` attribute is read by the small inline script in the view. */
