/* ==========================================================================
   WordPress Website Design service page — unique page-specific components.
   Shared tokens, header/footer, nav, buttons, work-card, faq-master, and
   cta-band styles all come from the shared style.css — this file only
   holds what's unique to this page.
   ========================================================================== */

/* ---- Breadcrumb ---- */
.crumb { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); padding-top: 1.5rem; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--white); text-decoration: none; }
.crumb span[aria-current] { color: var(--orange); }
.marquee--flush { margin-top: 0; }
.mt-lg { margin-top: 2rem; }

/* ==========================================================================
   Hero — a website visually assembling itself, pure CSS keyframes
   ========================================================================== */
.svc-hero { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(3rem, 7vw, 5rem); }
.svc-hero__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,0.95fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-top: 1.5rem; }
.svc-hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.8rem); max-width: 15ch; }
.svc-hero__lede { margin-top: 1.25rem; font-size: 1.1rem; color: var(--muted); max-width: 46ch; }
.svc-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
@media (max-width: 560px) {
  .svc-hero__actions { flex-direction: column; }
  .svc-hero__actions .btn { width: 100%; justify-content: center; }
  .svc-hero__actions .btn--primary svg { display: none; }
}
.svc-hero__trust { margin-top: 1.5rem; display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-mono); font-size: 0.82rem; color: var(--muted); }
.svc-hero__trust svg { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; }

/* The build-preview frame */
.build-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-strong); background: var(--surface-solid); box-shadow: 0 40px 80px -40px rgba(0,0,0,0.6); }
.build-frame__chrome { display: flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1rem; background: rgba(255,255,255,0.03); border-bottom: 1px solid var(--border); }
.build-frame__chrome span:not(.build-frame__url) { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.build-frame__url {
  margin-left: 0.75rem; font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 999px;
  padding: 0.25rem 0.9rem; white-space: nowrap; overflow: hidden;
  border-right-color: transparent; width: 0; animation: typeUrl 2.2s steps(22) 0.4s forwards;
}
@keyframes typeUrl { to { width: 13.5ch; border-right-color: var(--border); } }
@media (prefers-reduced-motion: reduce) { .build-frame__url { animation: none; width: 13.5ch; } }

.build-frame__stage { position: relative; aspect-ratio: 4 / 3; padding: 1.1rem; display: flex; flex-direction: column; gap: 0.7rem; background: var(--bg-alt); }
.build-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-strong); background: var(--surface-solid); box-shadow: 0 40px 80px -40px rgba(0,0,0,0.6); animation: frameSettle 3.2s ease-in-out 1.7s infinite; }
@keyframes frameSettle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) { .build-frame { animation: none; } }

.build-block { border-radius: 8px; background: rgba(255,255,255,0.06); position: relative; overflow: hidden; opacity: 0; }
.build-block--nav { height: 34px; transform: translateX(-42px); animation: joinFromLeft 0.6s cubic-bezier(.22,.85,.3,1.15) 0.1s forwards; }
.build-block--hero { height: 40%; flex-shrink: 0; background: linear-gradient(135deg, rgba(91,124,255,0.14), rgba(250,184,44,0.12)); transform: translateX(48px); animation: joinFromRight 0.65s cubic-bezier(.22,.85,.3,1.15) 0.4s forwards; }

.drag-chip {
  position: absolute; width: 26%; height: 22%; border-radius: 5px; background: rgba(255,255,255,0.85);
  left: 18%; top: 58%; opacity: 0; transform: scale(1);
  animation: dragChipMove 7s cubic-bezier(.4,0,.2,1) 2.4s infinite;
}
.drag-cursor {
  position: absolute; width: 20px; height: 20px; left: 18%; top: 58%; opacity: 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
  animation: dragCursorMove 7s cubic-bezier(.4,0,.2,1) 2.4s infinite;
}
@keyframes dragChipMove {
  0%, 8% { opacity: 0; left: 18%; top: 58%; transform: scale(1); }
  14% { opacity: 1; left: 18%; top: 58%; transform: scale(1); }
  20% { transform: scale(0.92); }
  50% { left: 56%; top: 26%; transform: scale(0.92); }
  58% { left: 56%; top: 26%; transform: scale(1.05); }
  64%, 82% { left: 56%; top: 26%; transform: scale(1); opacity: 1; }
  92%, 100% { left: 56%; top: 26%; transform: scale(1); opacity: 0; }
}
@keyframes dragCursorMove {
  0%, 6% { opacity: 0; left: 20%; top: 66%; }
  12% { opacity: 1; left: 20%; top: 66%; }
  20% { left: 20%; top: 66%; }
  50% { left: 66%; top: 34%; }
  58%, 82% { left: 66%; top: 34%; opacity: 1; }
  90%, 100% { left: 66%; top: 34%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .drag-chip, .drag-cursor { display: none; } }
.build-block--row { display: flex; gap: 0.7rem; flex: 1; background: none; opacity: 1; }
.build-block--card { flex: 1; border-radius: 8px; background: rgba(255,255,255,0.06); opacity: 0; }
.build-block--card:nth-child(1) { transform: translateX(-30px); animation: joinFromLeft 0.55s cubic-bezier(.22,.85,.3,1.15) 0.75s forwards; }
.build-block--card:nth-child(2) { transform: translateX(30px); animation: joinFromRight 0.55s cubic-bezier(.22,.85,.3,1.15) 0.88s forwards; }
.build-block--card:nth-child(3) { transform: translateX(-30px); animation: joinFromLeft 0.55s cubic-bezier(.22,.85,.3,1.15) 1.01s forwards; }
@keyframes joinFromLeft { to { opacity: 1; transform: translateX(0); } }
@keyframes joinFromRight { to { opacity: 1; transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .build-block, .build-block--card { opacity: 1; transform: none; animation: none; }
}
.build-frame__badge {
  position: absolute; bottom: -14px; right: 20px; background: var(--orange); color: #1A0900;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em;
  padding: 0.55rem 1rem; border-radius: 999px; box-shadow: 0 14px 28px -12px rgba(250,184,44,0.55);
  opacity: 0; animation: badgeIn 0.4s ease 1.3s forwards;
}
@keyframes badgeIn { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .build-frame__badge { opacity: 1; animation: none; } }

/* ==========================================================================
   Deliverables checklist
   ========================================================================== */
.deliver-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.deliver-item { display: flex; gap: 1rem; padding: 1.4rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.deliver-item__icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  transition: background 0.9s ease, border-color 0.9s ease, box-shadow 0.9s ease, transform 0.7s ease;
}
.deliver-item__icon svg { width: 19px; height: 19px; color: var(--muted); transition: color 0.5s ease; }
.deliver-item__icon.is-lit {
  background: rgba(91,124,255,0.16); border-color: rgba(91,124,255,0.35);
  box-shadow: 0 0 0 4px rgba(91,124,255,0.08); transform: scale(1.06);
}
.deliver-item__icon.is-lit svg { color: var(--white); }
@media (prefers-reduced-motion: reduce) {
  .deliver-item__icon { background: rgba(91,124,255,0.16); border-color: rgba(91,124,255,0.35); transition: none; }
  .deliver-item__icon svg { color: var(--white); }
}
.deliver-item h3 { font-size: 1.02rem; margin-bottom: 0.35rem; }
.deliver-item p { font-size: 0.92rem; color: var(--muted); line-height: 1.55; }
@media (max-width: 700px) { .deliver-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Comparison — "peel corner" card revealing what's underneath on hover
   ========================================================================== */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.compare-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface-solid); padding: 2rem; min-height: 280px; }
.compare-card--us { border-color: var(--border-strong); }
.compare-card__label { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.compare-card--us .compare-card__label { color: var(--orange); }
.compare-card h3 { font-size: 1.4rem; margin-top: 0.5rem; }
.compare-list { margin-top: 1.4rem; display: flex; flex-direction: column; gap: 0.85rem; }
.compare-list li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.95rem; color: var(--text); list-style: none; }
.compare-list svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 0.15rem; }
.compare-card--us .compare-list svg { color: var(--success); }
.compare-card--them .compare-list svg { color: var(--muted); }
.compare-card--them .compare-list li { color: var(--muted); }
@media (max-width: 780px) { .compare-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Process — numbered steps with a self-drawing SVG connecting line
   ========================================================================== */
.proc-wrap { position: relative; }
.proc-line { position: absolute; top: 22px; left: 5%; right: 5%; height: 2px; z-index: 0; }
.proc-line path { stroke: var(--border-strong); stroke-width: 2; fill: none; }
.proc-line path.is-live { stroke: var(--orange); stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 1.4s cubic-bezier(.16,.84,.44,1); }
.proc-line path.is-live.is-drawn { stroke-dashoffset: 0; }
.proc-steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.proc-step__tick { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--bg); display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.85rem; color: var(--white); margin-bottom: 1.1rem; transition: border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease, color 0.4s ease; }
.proc-step__tick.is-lit { border-color: var(--orange); background: rgba(250,184,44,0.12); box-shadow: 0 0 0 4px rgba(250,184,44,0.1); color: var(--orange); }
@media (prefers-reduced-motion: reduce) { .proc-step__tick { transition: none; } }
.proc-step h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.proc-step p { font-size: 0.92rem; color: var(--muted); }
@media (max-width: 820px) { .proc-steps { grid-template-columns: 1fr; gap: 1.75rem; } .proc-line { display: none; } }

/* ==========================================================================
   Design & development process — vertical self-drawing timeline
   ========================================================================== */
.dev-timeline { position: relative; max-width: 720px; margin-inline: auto; padding-left: 3.25rem; }
.dev-timeline__track { position: absolute; left: 23px; top: 4px; bottom: 4px; width: 2px; background: var(--border); }
.dev-timeline__line { position: absolute; top: 0; left: 0; right: 0; height: 0; background: var(--orange); transition: height 1.8s cubic-bezier(.16,.84,.44,1); box-shadow: 0 0 10px var(--orange); }
.dev-stage { position: relative; padding-bottom: 3rem; }
.dev-stage:last-child { padding-bottom: 0; }
.dev-stage__icon {
  position: absolute; left: -3.25rem; top: 0; width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--border-strong); display: grid; place-items: center;
  transition: border-color 0.5s ease, background 0.5s ease, box-shadow 0.5s ease, transform 0.4s ease;
}
.dev-stage__icon svg { width: 21px; height: 21px; color: var(--muted); transition: color 0.5s ease; }
.dev-stage.is-lit .dev-stage__icon { border-color: var(--orange); background: rgba(250,184,44,0.1); box-shadow: 0 0 0 5px rgba(250,184,44,0.08); transform: scale(1.05); }
.dev-stage.is-lit .dev-stage__icon svg { color: var(--orange); }
.dev-stage__num { font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.dev-stage h3 { font-size: 1.1rem; margin-top: 0.4rem; margin-bottom: 0.5rem; }
.dev-stage p { font-size: 0.93rem; color: var(--muted); line-height: 1.6; max-width: 52ch; }
@media (prefers-reduced-motion: reduce) {
  .dev-timeline__line { transition: none; height: 100% !important; }
  .dev-stage__icon { transition: none; }
}
@media (max-width: 600px) { .dev-timeline { padding-left: 2.75rem; } .dev-timeline__track { left: 19px; } .dev-stage__icon { left: -2.75rem; width: 40px; height: 40px; } .dev-stage__icon svg { width: 18px; height: 18px; } }
/* ==========================================================================
   Pricing — three tiers, middle recommended
   ========================================================================== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: start; }
.price-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.75rem; background: var(--surface-solid); display: flex; flex-direction: column; gap: 1.25rem; }
.price-card--rec { border-color: var(--orange); position: relative; transform: translateY(-10px); box-shadow: 0 30px 60px -30px rgba(250,184,44,0.35); }
.price-card__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--orange); color: #1A0900; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.35rem 0.9rem; border-radius: 999px; white-space: nowrap; }
.price-card__name { font-family: var(--font-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.price-card__price { font-size: 2.1rem; font-weight: 700; color: var(--white); }
.price-card__price span { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.price-card__desc { font-size: 0.9rem; color: var(--muted); }
.price-list { display: flex; flex-direction: column; gap: 0.7rem; flex-grow: 1; }
.price-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--text); list-style: none; }
.price-list li.price-list__key { background: rgba(250,184,44,0.08); border: 1px solid rgba(250,184,44,0.25); border-radius: 6px; padding: 0.5rem 0.6rem; margin: -0.1rem 0; font-weight: 600; color: var(--white); }
.price-list li.price-list__key svg { color: var(--orange); }
.price-card__note { font-size: 0.84rem; color: var(--muted); line-height: 1.55; padding-top: 0.9rem; border-top: 1px solid var(--border); }
.price-list svg { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; margin-top: 0.15rem; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } .price-card--rec { transform: none; } }

/* ---- Other services band ---- */
.other-svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.other-svc a { display: block; padding: 1.25rem 1.4rem; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); transition: border-color 0.2s ease, transform 0.2s ease; }
.other-svc a:hover { border-color: var(--border-strong); transform: translateY(-3px); text-decoration: none; }
.other-svc strong { display: block; color: var(--white); font-size: 0.98rem; margin-bottom: 0.25rem; }
.other-svc span { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 780px) { .other-svc { grid-template-columns: 1fr; } }
