/* ============================================
   Arcio Services Styles
   Hub (page-services.php) + detail (page-service.php)
   Depends on global.css for tokens, .btn, .container, .section-label
   ============================================ */

/* ── HERO ── */
.svc-hero {
  background: var(--hero-bg);
  padding: 40px 0 0;
  position: relative;
  overflow: hidden;
}
.svc-hero--hub { padding-top: 88px; }
.svc-hero::before {
  content: '';
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 560px;
  background: radial-gradient(ellipse, rgba(13,148,136,.18) 0%, transparent 65%);
  pointer-events: none;
}

/* Breadcrumbs */
.svc-crumbs {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 13px; color: rgba(148,163,184,.6); margin-bottom: 36px;
}
.svc-crumbs a { color: var(--hero-muted); text-decoration: none; transition: color .15s; }
.svc-crumbs a:hover { color: #fff; }
.svc-crumbs-current { color: rgba(148,163,184,.55); }

.svc-hero-inner { text-align: center; position: relative; z-index: 1; }
.svc-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(13,148,136,.12); border: 1px solid rgba(13,148,136,.3);
  border-radius: 100px; padding: 6px 16px; font-size: 13px;
  color: var(--teal-lt); font-weight: 600; margin-bottom: 26px;
}
.svc-hero h1 {
  font-size: clamp(34px, 5vw, 52px); letter-spacing: -1.5px;
  max-width: 820px; margin: 0 auto 20px; color: #fff;
}
.svc-hero h1 span {
  background: linear-gradient(135deg, var(--teal-lt), #67e8f9);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.svc-hero-sub {
  font-size: clamp(17px, 2.4vw, 20px); color: var(--hero-muted);
  max-width: 640px; margin: 0 auto 36px; line-height: 1.6;
}
.svc-hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Hero meta strip */
.svc-hero-meta {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 2px;
  margin-top: 52px;
}
.svc-meta-item {
  background: var(--hero-bg2); border: 1px solid var(--hero-border);
  padding: 20px 32px; min-width: 190px;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.svc-meta-item:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.svc-meta-item:last-child  { border-radius: 0 var(--radius) var(--radius) 0; }
.svc-meta-label {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(148,163,184,.55);
}
.svc-meta-value {
  font-size: 30px; font-weight: 800; letter-spacing: -1px;
  color: var(--teal-lt); line-height: 1.2;
}
.svc-meta-value--sm { font-size: 16px; font-weight: 600; color: var(--hero-text); letter-spacing: 0; }
.svc-meta-note { font-size: 12px; color: var(--hero-muted); }

.svc-wave { margin-top: 60px; }

/* ── PROBLEM ── */
.svc-problem { padding: 84px 0; background: var(--bg); }
.svc-problem-grid {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: start;
}
.svc-problem-text h2 {
  font-size: clamp(26px, 3.5vw, 38px); margin-bottom: 18px; color: var(--heading);
}
.svc-problem-text p { color: var(--muted); margin-bottom: 15px; }

.svc-problem-aside {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-md);
  position: sticky; top: 88px;
}
.svc-problem-aside-title {
  font-size: 13px; color: var(--muted); margin-bottom: 18px;
  font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
}
.svc-pain-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.svc-pain-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14px; color: var(--text); line-height: 1.55;
}
.svc-pain-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; margin-top: 8px;
  background: var(--amber); box-shadow: 0 0 0 3px rgba(217,119,6,.14);
}
.svc-aside-cta { width: 100%; justify-content: center; margin-top: 22px; }

/* ── SECTION HEADERS ── */
.svc-section-header { text-align: center; margin-bottom: 52px; }
.svc-section-header h2 {
  font-size: clamp(26px, 3.5vw, 40px); margin-bottom: 10px; color: var(--heading);
}
.svc-section-header p { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: 16px; }

/* ── DELIVERABLE CARDS ── */
.svc-deliverables {
  padding: 88px 0; background: var(--bg-alt); border-top: 1px solid var(--border);
}
.svc-card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.svc-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-xs); transition: transform .18s, box-shadow .18s, border-color .18s;
}
.svc-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-md);
  border-color: rgba(13,148,136,.3);
}
.svc-card h3 { font-size: 16px; margin-bottom: 9px; color: var(--heading); }
.svc-card p { font-size: 14px; color: var(--muted); line-height: 1.62; }
.svc-card-icon {
  width: 44px; height: 44px; border-radius: 11px;
  background: var(--bg-tint); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; flex-shrink: 0;
}
.svc-card-icon--lg { width: 54px; height: 54px; border-radius: 14px; margin-bottom: 0; }

/* ── COVERAGE (tool-by-tool breakdown) ── */
.svc-coverage { padding: 88px 0; background: var(--bg); }
.svc-coverage-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.svc-coverage-row {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius-sm); padding: 22px 24px;
}
.svc-coverage-tool {
  font-size: 15px; font-weight: 700; color: var(--heading);
  margin-bottom: 7px;
}
.svc-coverage-row p { font-size: 14px; color: var(--muted); line-height: 1.62; }

/* Coverage sits between two grey sections — keep the alternation readable. */
.svc-coverage + .svc-process { background: var(--bg-alt); border-top: 1px solid var(--border); }
.svc-coverage + .svc-process .svc-step-num { box-shadow: 0 0 0 6px var(--bg-alt); }
.svc-coverage + .svc-process + .svc-included { background: var(--bg); }

/* ── PROCESS STEPS ── */
.svc-process { padding: 92px 0; background: var(--bg); }
.svc-hub-how {
  padding: 88px 0; background: var(--bg-alt); border-top: 1px solid var(--border);
}
.svc-steps { display: flex; flex-direction: column; position: relative; }
.svc-steps::before {
  content: ''; position: absolute; left: 25px; top: 48px; bottom: 48px; width: 2px;
  background: linear-gradient(to bottom, var(--teal), #67e8f9); opacity: .25;
}
.svc-step { display: flex; gap: 24px; padding-bottom: 34px; position: relative; }
.svc-step:last-child { padding-bottom: 0; }
.svc-step-num {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: var(--bg); border: 2px solid var(--teal); color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; position: relative; z-index: 1;
  box-shadow: 0 0 0 6px var(--bg);
}
.svc-hub-how .svc-step-num { box-shadow: 0 0 0 6px var(--bg-alt); }
.svc-step-body h3 { font-size: 21px; margin-bottom: 7px; color: var(--heading); padding-top: 11px; }
.svc-step-body p { color: var(--muted); font-size: 15px; }

/* ── WHAT'S INCLUDED ── */
.svc-included {
  padding: 88px 0; background: var(--bg-alt); border-top: 1px solid var(--border);
}
.svc-process + .svc-included { border-top: 1px solid var(--border); }
.svc-included-grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: start;
}
.svc-included-box {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm);
}
.svc-included-box h2 { font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 22px; color: var(--heading); }
.svc-check-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.svc-check-list li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15px; color: var(--text); line-height: 1.55;
}
.svc-check {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  background: var(--bg-tint); border: 1px solid rgba(13,148,136,.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); font-style: normal;
}
.svc-check .ico-xs { stroke-width: 3; }

.svc-fit { display: flex; flex-direction: column; gap: 18px; }
.svc-fit-box {
  background: var(--bg); border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius-sm); padding: 24px 26px; box-shadow: var(--shadow-xs);
}
.svc-fit-box--no { border-left-color: var(--border-mid); }
.svc-fit-box h3 {
  font-size: 15px; margin-bottom: 14px; color: var(--heading);
  display: flex; align-items: center; gap: 9px;
}
.svc-fit-icon {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-style: normal;
}
.svc-fit-icon--yes { background: var(--bg-tint); color: var(--teal); }
.svc-fit-icon--no  { background: #f8fafc; color: var(--faint); }
.svc-fit-box ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.svc-fit-box li {
  font-size: 14px; color: var(--muted); line-height: 1.55;
  padding-left: 16px; position: relative;
}
.svc-fit-box li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--border-mid);
}

/* ── PRICING ANCHOR ── */
.svc-pricing { padding: 88px 0; background: var(--bg); }
.svc-price-card {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%);
  border: 1px solid rgba(13,148,136,.28);
  border-radius: var(--radius); padding: 44px 40px;
  text-align: center; box-shadow: var(--shadow-lg);
}
.svc-price-figure {
  display: flex; align-items: baseline; justify-content: center; gap: 8px;
  margin: 6px 0 14px; flex-wrap: wrap;
}
.svc-price-from { font-size: 15px; color: var(--muted); font-weight: 600; }
.svc-price-amount {
  font-size: clamp(42px, 5vw, 56px); font-weight: 800;
  letter-spacing: -2.5px; color: var(--heading); line-height: 1;
}
.svc-price-unit { font-size: 16px; color: var(--muted); }
.svc-price-note {
  font-size: 13px; color: var(--teal-dark); background: rgba(13,148,136,.08);
  border: 1px solid rgba(13,148,136,.2); border-radius: 8px;
  padding: 9px 14px; display: inline-block; margin-bottom: 20px;
}
.svc-price-body {
  font-size: 15px; color: var(--muted); max-width: 520px;
  margin: 0 auto 28px; line-height: 1.65;
}
.svc-price-cta { min-width: 260px; justify-content: center; }
.svc-price-micro { font-size: 13px; color: var(--faint); margin-top: 16px; }

/* ── PRICING TIERS (services priced by scope) ── */
.svc-pricing--tiered { background: var(--bg); }
.svc-tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.svc-tier {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 28px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.svc-tier:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-lg);
  border-color: rgba(13,148,136,.3);
}
.svc-tier--featured {
  border-color: rgba(13,148,136,.35);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%);
  box-shadow: var(--shadow-lg);
}
.svc-tier-name { font-size: 16px; font-weight: 700; color: var(--heading); }
.svc-tier-price { display: flex; align-items: baseline; gap: 7px; margin: 8px 0 14px; }
.svc-tier-from { font-size: 14px; color: var(--muted); font-weight: 600; }
.svc-tier-amount {
  font-size: 36px; font-weight: 800; letter-spacing: -1.5px;
  color: var(--heading); line-height: 1;
}
.svc-tier-desc {
  font-size: 14px; color: var(--muted); line-height: 1.62;
  padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 18px;
}
.svc-tier-notes {
  list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px;
}
.svc-tier-notes li {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 14px; color: var(--text); line-height: 1.5;
}
.svc-tier-cta { width: 100%; justify-content: center; margin-top: auto; }
.svc-tier-note { display: block; margin: 30px auto 0; max-width: 620px; text-align: center; }
.svc-pricing--tiered .svc-price-micro { text-align: center; margin-top: 14px; }

/* ── FAQ section wrapper (accordion internals live in global.css) ── */
.svc-faq { padding: 88px 0; background: var(--bg-alt); border-top: 1px solid var(--border); }

/* ── RELATED SERVICES ── */
.svc-related { padding: 88px 0; background: var(--bg); }
.svc-related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.svc-related-card {
  display: block; text-decoration: none;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-xs); transition: transform .18s, box-shadow .18s, border-color .18s;
}
.svc-related-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-md);
  border-color: rgba(13,148,136,.3);
}
.svc-related-card h3 { font-size: 18px; margin-bottom: 9px; color: var(--heading); }
.svc-related-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.svc-related-more { font-size: 14px; font-weight: 700; color: var(--teal); }

/* ── HUB: SERVICE CARDS ── */
.svc-hub-list { padding: 88px 0; background: var(--bg); }
.svc-hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.svc-hub-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.svc-hub-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-lg);
  border-color: rgba(13,148,136,.3);
}
.svc-hub-card-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.svc-hub-card h3 { font-size: 20px; margin-bottom: 4px; line-height: 1.3; }
.svc-hub-card h3 a { color: var(--heading); text-decoration: none; }
.svc-hub-card h3 a:hover { color: var(--teal); }
.svc-hub-card-price { font-size: 14px; font-weight: 700; color: var(--teal); }
.svc-hub-card-price span { font-weight: 500; color: var(--muted); }
.svc-hub-card-sub { font-size: 15px; color: var(--muted); line-height: 1.62; margin-bottom: 20px; }
.svc-hub-card-list {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 26px; padding-top: 20px; border-top: 1px solid var(--border);
}
.svc-hub-card-list li {
  display: flex; gap: 11px; align-items: center;
  font-size: 14px; color: var(--text);
}
.svc-hub-card-foot { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.svc-hub-card-foot .btn { flex: 1; justify-content: center; }
.svc-hub-card-turn { font-size: 12px; color: var(--faint); margin-top: 14px; text-align: center; }

/* ── HUB: PLUGIN CROSS-SELL ── */
.svc-hub-plugin { padding: 88px 0; background: var(--bg); }
.svc-plugin-box {
  background: var(--hero-bg); border-radius: var(--radius);
  padding: 52px 48px; position: relative; overflow: hidden;
}
.svc-plugin-box::before {
  content: '';
  position: absolute; top: -120px; right: -60px;
  width: 520px; height: 420px;
  background: radial-gradient(ellipse, rgba(13,148,136,.22) 0%, transparent 65%);
  pointer-events: none;
}
.svc-plugin-text { position: relative; z-index: 1; max-width: 660px; }
.svc-plugin-text h2 {
  font-size: clamp(24px, 3.2vw, 34px); color: #fff; margin-bottom: 14px;
}
.svc-plugin-text p { color: var(--hero-muted); font-size: 16px; margin-bottom: 28px; }
.svc-plugin-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── QUOTE FORM PAGE ── */
.svc-quote { padding: 64px 0 88px; background: var(--bg-alt); }
.svc-quote-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.svc-quote-form {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow-md);
}
.svc-quote-aside {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-xs);
  position: sticky; top: 88px;
}
.svc-quote-aside h3 { font-size: 16px; margin-bottom: 16px; color: var(--heading); }
.svc-quote-aside + .svc-quote-aside { margin-top: 18px; }

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
  .svc-problem-grid,
  .svc-included-grid,
  .svc-quote-grid { grid-template-columns: 1fr; gap: 34px; }
  .svc-problem-aside,
  .svc-quote-aside { position: static; }
  .svc-card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .svc-hero { padding-top: 28px; }
  .svc-hero--hub { padding-top: 56px; }
  .svc-crumbs { margin-bottom: 26px; justify-content: center; }
  .svc-card-grid,
  .svc-coverage-grid,
  .svc-tier-grid,
  .svc-hub-grid,
  .svc-related-grid { grid-template-columns: 1fr; }
  .svc-hero-meta { flex-direction: column; gap: 0; }
  .svc-meta-item { width: 100%; border-radius: 0; }
  .svc-meta-item:first-child { border-radius: var(--radius) var(--radius) 0 0; }
  .svc-meta-item:last-child  { border-radius: 0 0 var(--radius) var(--radius); }
  .svc-problem,
  .svc-deliverables,
  .svc-coverage,
  .svc-process,
  .svc-included,
  .svc-pricing,
  .svc-faq,
  .svc-related,
  .svc-hub-list,
  .svc-hub-how,
  .svc-hub-plugin { padding: 60px 0; }
  .svc-price-card { padding: 34px 24px; }
  .svc-included-box { padding: 26px 22px; }
  .svc-plugin-box { padding: 36px 26px; }
  .svc-hub-card { padding: 26px 22px; }
  .svc-step { gap: 16px; }
  .svc-steps::before { left: 21px; }
  .svc-step-num { width: 44px; height: 44px; font-size: 16px; }
  .svc-step-body h3 { padding-top: 7px; font-size: 19px; }
  .svc-price-cta { min-width: 0; width: 100%; }
}
