/* Q Services LLC — index page styles.
   Loads after style.css (the shared design system). Extracted from the
   Claude Design prototype; the pages each carried their own <style> block
   and they conflict if merged (.page-hero padding differs per page). */

/* ====================== HOME ====================== */

/* ---------- HERO ---------- */
.hero { padding: 62px 0 74px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1100px 540px at 80% -10%, var(--accent-wash), transparent 60%),
    radial-gradient(720px 460px at 2% 6%, #F1FAF7, transparent 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1.1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); letter-spacing: -0.035em; }
.hero h1 .grad { background: linear-gradient(120deg, var(--accent-deep), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: 22px; font-size: 19.5px; color: var(--ink-soft); max-width: 540px; }
.hero-cta { margin-top: 32px; display: flex; gap: 13px; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-size: 14.5px; color: var(--ink-faint); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-note b { color: var(--ink-soft); font-family: var(--font-head); font-weight: 600; }
.hero-note .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-faint); }

/* dashboard mockup (shared visual language) */
.mock { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; position: relative; }
.mock-top { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--line-soft); }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: #E2ECF0; }
.mock-url { margin-left: 8px; font-family: var(--font-head); font-size: 12.5px; color: var(--ink-faint); background: var(--bg-tint); padding: 5px 12px; border-radius: 7px; }
.mock-app { display: grid; grid-template-columns: 60px 1fr; height: 424px; }
.mock-rail { background: #071A29; padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mock-rail .logo { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(150deg, var(--accent), var(--accent-deep)); margin-bottom: 10px; }
.mock-rail i { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: #5E7B90; }
.mock-rail i svg { width: 18px; height: 18px; }
.mock-rail i.on { background: rgba(14,165,196,.18); color: #63D3E6; }
.mock-main { padding: 18px 20px; display: grid; grid-template-rows: auto 1fr; gap: 14px; overflow: hidden; }
.mock-h { display: flex; align-items: center; justify-content: space-between; }
.mock-h h5 { font-family: var(--font-head); font-size: 16px; font-weight: 600; margin: 0; }
.mock-h .tag { font-family: var(--font-head); font-size: 11.5px; font-weight: 500; color: var(--grow); background: var(--grow-wash); padding: 4px 10px; border-radius: 999px; }
.mock-cols { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; min-height: 0; }
.mock-map { border-radius: 14px; border: 1px solid var(--line); position: relative; overflow: hidden; background: #EAF3F5; }
.mock-map .grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(10,30,48,.05) 1px,transparent 1px), linear-gradient(90deg, rgba(10,30,48,.05) 1px,transparent 1px); background-size: 26px 26px; }
.mock-map .roadv { position: absolute; top: 0; bottom: 0; left: 46%; width: 8px; background: #DCE8EB; }
.mock-map .roadh { position: absolute; left: 0; right: 0; top: 38%; height: 8px; background: #DCE8EB; }
.mock-pin { position: absolute; width: 22px; height: 22px; transform: translate(-50%,-50%); border-radius: 50% 50% 50% 2px; background: var(--accent); border: 3px solid #fff; box-shadow: 0 3px 8px rgba(10,30,48,.25); }
.mock-pin.done { background: var(--grow); }
.mock-pin.now { background: #F5A623; width: 26px; height: 26px; box-shadow: 0 0 0 6px rgba(245,166,35,.22), 0 3px 8px rgba(10,30,48,.25); }
.map-badge { position: absolute; left: 12px; bottom: 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; box-shadow: var(--shadow-sm); }
.map-badge b { font-family: var(--font-head); font-size: 15px; display: flex; align-items: center; gap: 6px; }
.map-badge b svg { width: 14px; height: 14px; color: var(--grow); }
.map-badge span { font-size: 11px; color: var(--ink-faint); }
.mock-stops { display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.stop { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 11px; border: 1px solid var(--line-soft); background: #fff; }
.stop .n { width: 24px; height: 24px; border-radius: 7px; background: var(--bg-tint); color: var(--ink-soft); font-family: var(--font-head); font-size: 12px; font-weight: 600; display: grid; place-items: center; flex: none; }
.stop.done .n { background: var(--grow-wash); color: var(--grow); }
.stop.now { border-color: color-mix(in srgb,#F5A623 45%,transparent); background: #FFF9EF; }
.stop.now .n { background: #FDECCB; color: #B7770A; }
.stop .info { flex: 1; min-width: 0; }
.stop .info b { font-family: var(--font-head); font-size: 12.5px; font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stop .info span { font-size: 11px; color: var(--ink-faint); }
.stop .chk { color: var(--grow); }
.stop .chk svg { width: 16px; height: 16px; }
.mock-float { position: absolute; right: -14px; bottom: 26px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 12px 14px; width: 186px; }
.mock-float h6 { font-family: var(--font-head); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 9px; }
.chem-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; font-size: 12.5px; }
.chem-row:last-child { margin-bottom: 0; }
.chem-row .lab { color: var(--ink-soft); }
.chem-row .val { font-family: var(--font-head); font-weight: 600; font-variant-numeric: tabular-nums; }
.chem-row .val.ok { color: var(--grow); }
.chem-row .val.warn { color: #C8891A; }

/* ---------- TWO PATHS ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.path {
  position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 40px;
  border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.path:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb,var(--accent) 40%,var(--line)); }
.path.dark { background: var(--bg-deep); border-color: transparent; }
.path.dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 85% 0%, color-mix(in srgb,var(--accent) 40%,transparent), transparent 62%); }
.path-tag { font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); position: relative; }
.path.dark .path-tag { color: #63D3E6; }
.path-ic { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 22px; background: var(--accent-wash); color: var(--accent-deep); position: relative; }
.path.dark .path-ic { background: rgba(14,165,196,.2); color: #6FDCEE; }
.path-ic svg { width: 27px; height: 27px; }
.path h3 { font-size: 27px; margin-top: 10px; position: relative; }
.path.dark h3 { color: #fff; }
.path p { margin-top: 12px; font-size: 16px; color: var(--ink-soft); position: relative; flex: 1; }
.path.dark p { color: #AFC7D4; }
.path-list { margin: 20px 0 26px; display: flex; flex-direction: column; gap: 9px; position: relative; }
.path-list span { display: flex; gap: 10px; align-items: center; font-size: 14.5px; }
.path.dark .path-list span { color: #CFE0EA; }
.path-list svg { width: 16px; height: 16px; color: var(--accent-deep); flex: none; }
.path.dark .path-list svg { color: #6FDCEE; }
.path .btn { align-self: flex-start; position: relative; }

/* ---------- TRUST STRIP ---------- */
.trust { padding: 26px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--bg-tint); }
.trust-inner { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.trust-item svg { width: 19px; height: 19px; color: var(--accent-deep); }

/* ---------- STORY ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.story h2 { font-size: clamp(28px,3.6vw,42px); }
.story p { margin-top: 18px; font-size: 18px; color: var(--ink-soft); }
.story .lead { font-size: 20px; color: var(--ink); }
.story-stats { margin-top: 30px; display: flex; gap: 34px; flex-wrap: wrap; }
.story-stats .s b { font-family: var(--font-head); font-weight: 700; font-size: 34px; letter-spacing: -.03em; display: block; background: linear-gradient(120deg,var(--accent-deep),var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.story-stats .s span { font-size: 14px; color: var(--ink-faint); }

/* ---------- SERVICES PREVIEW ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.svc { padding: 22px 20px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; }
.svc .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-wash); color: var(--accent-deep); display: grid; place-items: center; margin-bottom: 14px; }
.svc .ic svg { width: 21px; height: 21px; }
.svc b { font-family: var(--font-head); font-size: 15.5px; display: block; }
.svc span { font-size: 13.5px; color: var(--ink-soft); margin-top: 4px; display: block; }

.plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 34px; }
.plan-card { padding: 28px 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.plan-card.feat { border-color: var(--accent); box-shadow: 0 20px 50px -22px color-mix(in srgb,var(--accent) 45%,transparent); }
.plan-card .pname { font-family: var(--font-head); font-weight: 600; font-size: 18px; }
.plan-card .pfreq { font-size: 13.5px; color: var(--accent-deep); font-family: var(--font-head); font-weight: 500; margin-top: 3px; }
.plan-card p { margin: 14px 0 18px; font-size: 14.5px; color: var(--ink-soft); }
.plan-card ul { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 10px; }
.plan-card li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; }
.plan-card li svg { width: 16px; height: 16px; color: var(--grow); flex: none; margin-top: 2px; }
.plan-card .btn { width: 100%; justify-content: center; margin-top: auto; }

/* ---------- SOFTWARE PREVIEW ---------- */
.sw-band { background: var(--bg-deep); color: #fff; border-radius: var(--r-xl); padding: 56px; position: relative; overflow: hidden; }
.sw-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(760px 420px at 88% 0%, color-mix(in srgb,var(--accent) 42%,transparent), transparent 60%); }
.sw-head { position: relative; max-width: 640px; margin-bottom: 36px; }
.sw-head .eyebrow { color: #63D3E6; }
.sw-head .eyebrow::before { background: #63D3E6; }
.sw-head h2 { color: #fff; font-size: clamp(28px,3.6vw,42px); }
.sw-head p { margin-top: 16px; color: #AFC7D4; font-size: 18px; }
.sw-cards { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sw-card { background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: 30px; }
.sw-card .ic { width: 48px; height: 48px; border-radius: 13px; background: rgba(14,165,196,.2); color: #6FDCEE; display: grid; place-items: center; margin-bottom: 18px; }
.sw-card .ic svg { width: 24px; height: 24px; }
.sw-card h4 { color: #fff; font-size: 20px; }
.sw-card .kk { font-family: var(--font-head); font-size: 13px; color: #6FDCEE; font-weight: 500; margin-top: 3px; }
.sw-card p { color: #AFC7D4; font-size: 15px; margin-top: 12px; }
.sw-foot { position: relative; margin-top: 34px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sw-foot .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.sw-foot .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.sw-foot .note { color: #8FA9B9; font-size: 14px; }

/* ---------- TESTIMONIALS ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.tcard { padding: 30px 28px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.tstars { display: flex; gap: 3px; color: #F5A623; margin-bottom: 15px; font-size: 15px; }
.tcard blockquote { margin: 0; font-size: 16px; line-height: 1.55; flex: 1; }
.twho { margin-top: 22px; display: flex; align-items: center; gap: 12px; }
.tavatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex: none; background: var(--accent-wash); }
.tavatar image-slot { width: 44px; height: 44px; }
.twho b { font-family: var(--font-head); font-size: 15px; display: block; }
.twho span { font-size: 13px; color: var(--ink-faint); }

/* ---------- SERVICE AREA ---------- */
.area-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 52px; align-items: center; }
.area h2 { font-size: clamp(28px,3.4vw,40px); }
.area p { margin-top: 16px; font-size: 18px; color: var(--ink-soft); }
.area-chips { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.area-chip { font-family: var(--font-head); font-size: 14.5px; font-weight: 500; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-soft); }
.area-chip.home { background: var(--accent-wash); border-color: transparent; color: var(--accent-deep); }
.area-map { border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); position: relative; height: 340px; background: #EAF3F5; }
.area-map .grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(10,30,48,.05) 1px,transparent 1px), linear-gradient(90deg,rgba(10,30,48,.05) 1px,transparent 1px); background-size: 34px 34px; }
.area-map .ring { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); border-radius: 50%; border: 2px dashed color-mix(in srgb,var(--accent) 45%,transparent); }
.area-map .r1 { width: 150px; height: 150px; }
.area-map .r2 { width: 250px; height: 250px; opacity: .6; }
.area-map .r3 { width: 350px; height: 350px; opacity: .3; }
.area-map .center-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-100%); }
.area-map .center-pin .pin { width: 34px; height: 34px; border-radius: 50% 50% 50% 3px; background: var(--accent); border: 4px solid #fff; box-shadow: 0 6px 16px rgba(10,30,48,.3); transform: rotate(-45deg); }
.area-map .center-label { position: absolute; left: 50%; top: calc(50% + 12px); transform: translateX(-50%); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-family: var(--font-head); font-size: 13px; font-weight: 600; box-shadow: var(--shadow-sm); white-space: nowrap; }

/* ---------- CTA BAND ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--bg-deep); color: #fff; border-radius: var(--r-xl); padding: 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 380px at 50% -20%, color-mix(in srgb,var(--accent) 42%,transparent), transparent 60%); }
.cta-half { position: relative; z-index: 1; padding: 30px; border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.cta-half h3 { color: #fff; font-size: 24px; }
.cta-half p { color: #AFC7D4; margin-top: 10px; font-size: 15.5px; }
.cta-half .btn { margin-top: 22px; }
.cta-half .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.cta-half .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }

@media (max-width: 940px) {
  .hero-grid, .story-grid, .area-grid { grid-template-columns: 1fr; gap: 40px; }
  .paths, .sw-cards, .cta-band { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .plans, .tgrid { grid-template-columns: 1fr; }
  .mock-float { display: none; }
  .sw-band { padding: 40px 28px; }
  .cta-band { padding: 32px; }
}
@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1; justify-content: center; }
  .trust-inner { gap: 20px 26px; }
}
