/* =====================================================================
   STCForge — digital agency site design system
   Self-contained: no build, no external fonts/CDN. Dark-first, light aware.
   Brand code shared with the ShowToCart site: violet #7c3aed + pink #ec4899.
   All colours/spacing/shape are CSS variables — rebrand in :root blocks only.
   ===================================================================== */

:root {
  /* Brand — violet (#7c3aed) + pink (#ec4899) accent for gradients/glow */
  --brand: #7c3aed;
  --brand-600: #6d28d9;
  --brand-700: #5b21b6;
  --brand-tint: #ede9fe;      /* pale violet chip bg (light) */
  --accent: #ec4899;          /* pink */
  --accent-2: #06b6d4;        /* cyan — used only inside multi-stop gradients */
  --on-brand: #ffffff;

  /* Neutrals (light) */
  --bg: #ffffff;
  --bg-soft: #f7f7fb;
  --bg-sunken: #eeeef4;
  --surface: #ffffff;
  --surface-2: #fbfbfe;
  --border: #e7e7ef;
  --fg: #0e0e14;
  --fg-muted: #565667;
  --fg-faint: #8a8a9c;

  /* Type */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Inter", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", "Fira Code", ui-monospace, Menlo, monospace;

  /* Shape + motion */
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(17, 12, 34, .05), 0 8px 30px rgba(17, 12, 34, .08);
  --shadow-lg: 0 24px 64px rgba(17, 12, 34, .18);
  --ring: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent);
  --maxw: 1160px;
  --ease: cubic-bezier(.22, .8, .3, 1);

  --grad: linear-gradient(135deg, var(--brand), var(--accent));
  --grad-3: linear-gradient(120deg, var(--brand), var(--accent) 55%, var(--accent-2));
}

/* Dark = the primary look: vivid violet on near-black. */
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #8b5cf6; --brand-600: #7c3aed; --brand-700: #6d28d9;
    --accent: #ec4899; --accent-2: #22d3ee; --brand-tint: #1c1533; --on-brand: #ffffff;
    --bg: #08080b; --bg-soft: #101016; --bg-sunken: #050507; --surface: #131319; --surface-2: #17171f;
    --border: #262631; --fg: #f4f4f7; --fg-muted: #a6a6b6; --fg-faint: #6f6f81;
    --shadow: 0 1px 2px rgba(0,0,0,.5), 0 12px 38px rgba(0,0,0,.55);
    --shadow-lg: 0 28px 80px rgba(0,0,0,.62);
  }
}
:root[data-theme="dark"] {
  --brand: #8b5cf6; --brand-600: #7c3aed; --brand-700: #6d28d9;
  --accent: #ec4899; --accent-2: #22d3ee; --brand-tint: #1c1533; --on-brand: #ffffff;
  --bg: #08080b; --bg-soft: #101016; --bg-sunken: #050507; --surface: #131319; --surface-2: #17171f;
  --border: #262631; --fg: #f4f4f7; --fg-muted: #a6a6b6; --fg-faint: #6f6f81;
  --shadow: 0 1px 2px rgba(0,0,0,.5), 0 12px 38px rgba(0,0,0,.55);
  --shadow-lg: 0 28px 80px rgba(0,0,0,.62);
}
:root[data-theme="light"] {
  --brand: #7c3aed; --brand-600: #6d28d9; --brand-700: #5b21b6;
  --accent: #ec4899; --accent-2: #06b6d4; --brand-tint: #ede9fe; --on-brand: #ffffff;
  --bg: #ffffff; --bg-soft: #f7f7fb; --bg-sunken: #eeeef4; --surface: #ffffff; --surface-2: #fbfbfe;
  --border: #e7e7ef; --fg: #0e0e14; --fg-muted: #565667; --fg-faint: #8a8a9c;
  --shadow: 0 1px 2px rgba(17,12,34,.05), 0 8px 30px rgba(17,12,34,.08);
  --shadow-lg: 0 24px 64px rgba(17,12,34,.18);
}

/* ---- Base ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; font-family: var(--font); color: var(--fg); background: var(--bg);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden; overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.14; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1rem; }
::selection { background: color-mix(in srgb, var(--brand) 30%, transparent); }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 8vw, 108px) 0; }
.section-sm { padding: clamp(40px, 5vw, 64px) 0; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: .85rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--fg-muted); }
.muted { color: var(--fg-muted); }
.center { text-align: center; }
.maxw-2 { max-width: 720px; }
.maxw-3 { max-width: 860px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-2 { margin-top: 2rem; }
.grad-text { background: var(--grad-3); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 650; font-size: .95rem;
  padding: .74rem 1.3rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s var(--ease), background .15s, box-shadow .15s, border-color .15s; white-space: nowrap; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn-primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 8px 22px color-mix(in srgb, var(--brand) 40%, transparent); }
.btn-primary:hover { background: var(--brand-600); }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 8px 24px color-mix(in srgb, var(--brand) 42%, transparent); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-soft); border-color: color-mix(in srgb, var(--fg) 22%, transparent); }
.btn-lg { padding: .98rem 1.8rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---- Nav ---- */
.nav { position: sticky; top: 0; z-index: 50; min-height: 66px;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; gap: 1.4rem; height: 66px; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 850; letter-spacing: -.03em; font-size: 1.16rem; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--grad); display: grid; place-items: center;
  color: #fff; flex: 0 0 auto; box-shadow: 0 4px 12px color-mix(in srgb, var(--brand) 45%, transparent); }
.brand-mark svg { width: 18px; height: 18px; }
.brand b { font-weight: 850; }
.nav .nav-links { display: flex; gap: 1.35rem; margin-left: auto; align-items: center; }
.nav .nav-links a { font-size: .93rem; font-weight: 500; color: var(--fg-muted); transition: color .15s; }
.nav .nav-links a:hover, .nav .nav-links a.active { color: var(--fg); }
.nav-cta { display: flex; align-items: center; gap: .55rem; }
.icon-btn { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface);
  display: grid; place-items: center; cursor: pointer; color: var(--fg-muted); transition: color .15s, border-color .15s; }
.icon-btn:hover { color: var(--fg); border-color: color-mix(in srgb, var(--fg) 20%, transparent); }
.icon-btn svg { width: 18px; height: 18px; }
.nav-toggle { display: none; }
@media (max-width: 990px) {
  /* .nav-links goes position:fixed (out of flow) below, so IT can no longer
     push .nav-cta right — the auto margin must move onto .nav-cta here. */
  .nav-cta { margin-left: auto; }
  .nav .nav-links { position: fixed; inset: 66px 0 auto 0; z-index: 60; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); padding: 8px 24px 22px; margin: 0;
    transform: translateY(-135%); transition: transform .3s var(--ease); }
  .nav .nav-links.open { transform: translateY(0); }
  .nav .nav-links a { padding: .85rem .2rem; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .nav .nav-links a:last-child { border-bottom: 0; }
  .nav-toggle { display: grid; }
  .nav-cta .btn.hide-sm { display: none; }
}

/* ---- Hero ---- */
.hero { position: relative; padding: clamp(64px, 10vw, 128px) 0 clamp(40px, 6vw, 72px); overflow: clip; }
.hero-glow { position: absolute; inset: -20% -10% auto -10%; height: 620px; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 60% at 30% 20%, color-mix(in srgb, var(--brand) 42%, transparent), transparent 70%),
              radial-gradient(50% 50% at 82% 10%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 68%);
  filter: blur(24px); opacity: .9; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-bottom: .5rem; }
.hero .lead { max-width: 40ch; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-trust { margin-top: 1.9rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; color: var(--fg-faint); font-size: .88rem; }
.hero-trust .stars { color: #f5b301; letter-spacing: 2px; }
.avatars { display: flex; }
.avatars span { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -8px;
  background: var(--grad); display: grid; place-items: center; color: #fff; font-size: .72rem; font-weight: 700; }
.avatars span:first-child { margin-left: 0; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { order: -1; } }

/* Hero visual — floating browser/app mock */
.mock { position: relative; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface);
  box-shadow: var(--shadow-lg); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--border); display: block; }
.mock-bar i:nth-child(1) { background: #ff5f57; } .mock-bar i:nth-child(2) { background: #febc2e; } .mock-bar i:nth-child(3) { background: #28c840; }
.mock-body { padding: 22px; display: grid; gap: 14px; }
.mock-hero { height: 92px; border-radius: 12px; background: var(--grad-3); }
.mock-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-card { height: 74px; border-radius: 11px; background: var(--bg-soft); border: 1px solid var(--border); }
.mock-line { height: 12px; border-radius: 6px; background: var(--bg-sunken); }
.mock-line.w60 { width: 60%; } .mock-line.w40 { width: 40%; } .mock-line.w80 { width: 80%; }
.float-badge { position: absolute; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
  border-radius: 12px; padding: .6rem .8rem; display: flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 650; }
.float-badge .dot { width: 26px; height: 26px; border-radius: 8px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; }
.float-badge.b1 { top: -14px; right: -12px; } .float-badge.b2 { bottom: -14px; left: -14px; }
@media (max-width: 560px) { .float-badge { display: none; } }

/* ---- Logo marquee (trust bar) ---- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: scroll-x 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { color: var(--fg-faint); font-weight: 750; font-size: 1.05rem; letter-spacing: -.01em; white-space: nowrap; opacity: .8; }
@keyframes scroll-x { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---- Grids / cards ---- */
.grid { display: grid; gap: 1.25rem; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow); }

/* Service card */
.svc { position: relative; display: flex; flex-direction: column; gap: .6rem; transition: transform .2s var(--ease), border-color .2s, box-shadow .2s; overflow: hidden; }
.svc::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.svc:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); box-shadow: var(--shadow-lg); }
.svc:hover::before { transform: scaleX(1); }
.svc-ico { width: 48px; height: 48px; border-radius: 13px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; margin-bottom: .4rem; }
.svc-ico svg { width: 24px; height: 24px; }
.svc h3 { margin: 0; }
.svc p { color: var(--fg-muted); font-size: .95rem; margin: 0; }
.svc ul { margin: .4rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.svc ul li { font-size: .78rem; font-weight: 600; color: var(--fg-muted); background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px; padding: .25rem .6rem; }
.svc .svc-link { margin-top: auto; padding-top: .7rem; color: var(--brand); font-weight: 650; font-size: .9rem; display: inline-flex; align-items: center; gap: .35rem; }
.svc .svc-link svg { width: 15px; height: 15px; transition: transform .15s; }
.svc:hover .svc-link svg { transform: translateX(3px); }

/* Feature / why-us row */
.feat { display: flex; gap: 1rem; }
.feat .feat-ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; }
.feat .feat-ico svg { width: 22px; height: 22px; }
.feat h3 { margin: .1rem 0 .3rem; font-size: 1.1rem; }
.feat p { margin: 0; color: var(--fg-muted); font-size: .95rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 1.4rem 1rem; }
.stat .num { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 850; letter-spacing: -.03em; background: var(--grad-3);
  -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.stat .lbl { color: var(--fg-muted); font-size: .9rem; margin-top: .45rem; }

/* Process steps */
.steps { counter-reset: step; display: grid; gap: 1.25rem; }
.steps.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .steps.g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps.g4 { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: .4rem; }
.step .n { counter-increment: step; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface); display: grid; place-items: center; font-weight: 800; color: var(--brand); margin-bottom: .8rem; box-shadow: var(--shadow); }
.step .n::before { content: "0" counter(step); }
.step h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.step p { color: var(--fg-muted); font-size: .92rem; margin: 0; }

/* Tech stack chips */
.stack { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .9rem; color: var(--fg-muted);
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: .5rem .95rem; transition: color .15s, border-color .15s, transform .15s; }
.chip:hover { color: var(--fg); border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); transform: translateY(-2px); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }

/* Team cards */
.team-card { text-align: center; }
.team-card .ph { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto .9rem; background: var(--grad-3); display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 1.5rem; box-shadow: 0 8px 22px color-mix(in srgb, var(--brand) 34%, transparent); }
.team-card h3 { margin: 0 0 .15rem; font-size: 1.05rem; }
.team-card .role { color: var(--brand); font-weight: 650; font-size: .85rem; }
.team-card p { color: var(--fg-muted); font-size: .88rem; margin: .5rem 0 .7rem; }
.socials { display: flex; gap: .5rem; justify-content: center; }
.socials a { width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--fg-muted); transition: color .15s, border-color .15s; }
.socials a:hover { color: var(--brand); border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); }
.socials svg { width: 16px; height: 16px; }

/* Testimonials */
.quote { display: flex; flex-direction: column; gap: 1rem; }
.quote .stars { color: #f5b301; letter-spacing: 2px; font-size: .95rem; }
.quote p { font-size: 1.02rem; color: var(--fg); margin: 0; line-height: 1.6; }
.quote .by { display: flex; align-items: center; gap: .7rem; margin-top: auto; }
.quote .by .ph { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; font-weight: 750; flex: 0 0 auto; }
.quote .by b { display: block; font-size: .92rem; }
.quote .by span { color: var(--fg-muted); font-size: .82rem; }

/* Portfolio */
.work { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); transition: transform .2s var(--ease), box-shadow .2s; }
.work:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.work .thumb { aspect-ratio: 16/10; background: var(--grad-3); position: relative; display: grid; place-items: center; color: #fff; }
.work .thumb .glyph { font-size: 2.4rem; font-weight: 850; opacity: .9; letter-spacing: -.03em; }
.work .meta { padding: 1.1rem 1.2rem 1.3rem; }
.work .tag { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); }
.work h3 { margin: .35rem 0 .3rem; font-size: 1.12rem; }
.work p { color: var(--fg-muted); font-size: .9rem; margin: 0; }

/* CTA band */
.cta-band { position: relative; border-radius: var(--radius-lg); padding: clamp(2.2rem, 5vw, 3.6rem); overflow: hidden;
  background: var(--grad-3); color: #fff; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 50% -10%, rgba(255,255,255,.22), transparent 60%); pointer-events: none; }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(255,255,255,.9); position: relative; max-width: 52ch; margin: 0 auto 1.6rem; }
.cta-band .btn-primary { background: #fff; color: var(--brand-700); box-shadow: 0 8px 24px rgba(0,0,0,.2); position: relative; }
.cta-band .btn-primary:hover { background: #fff; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); position: relative; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.12); }

/* Blog cards */
.post { display: flex; flex-direction: column; overflow: hidden; padding: 0; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--brand) 30%, var(--border)); }
.post .cover { aspect-ratio: 16/9; background: var(--grad-3); }
.post .body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; }
.post .tag { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); }
.post h3 { margin: 0; font-size: 1.1rem; }
.post p { color: var(--fg-muted); font-size: .9rem; margin: 0; }
.post .date { color: var(--fg-faint); font-size: .8rem; margin-top: .3rem; }

/* Article (blog post) */
.article { max-width: 760px; }
.article h1 { margin-bottom: .3rem; }
.article .post-meta { color: var(--fg-faint); font-size: .9rem; margin-bottom: 1.8rem; }
.article h2 { margin-top: 2.2rem; font-size: 1.5rem; }
.article h3 { margin-top: 1.6rem; }
.article p, .article li { color: var(--fg-muted); }
.article ul, .article ol { padding-left: 1.2rem; }
.article li { margin-bottom: .5rem; }
.article blockquote { margin: 1.6rem 0; padding: .5rem 0 .5rem 1.3rem; border-left: 3px solid var(--brand); color: var(--fg); font-size: 1.1rem; }
.article code { font-family: var(--mono); font-size: .88em; background: var(--bg-soft); border: 1px solid var(--border); padding: .12em .4em; border-radius: 6px; }

/* Forms */
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: .88rem; }
.field input, .field select, .field textarea { font-family: inherit; font-size: .95rem; color: var(--fg); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .75rem .9rem; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
.field textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* Calendly / booking embed wrapper */
.embed-wrap { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); min-height: 680px; }
.embed-wrap iframe { width: 100%; min-height: 680px; border: 0; display: block; }
.embed-fallback { padding: 2.4rem; text-align: center; }
.embed-fallback .svc-ico { margin: 0 auto 1rem; }

/* Contact split */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 1.1rem; }
.contact-info .feat p a { color: var(--brand); font-weight: 600; }

/* FAQ */
.faq details { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 0 1.2rem; margin-bottom: .75rem; }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 0; font-weight: 650; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--brand); transition: transform .2s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--fg-muted); margin: 0 0 1.1rem; font-size: .95rem; }

/* Section head helper */
.sec-head { max-width: 640px; margin: 0 auto clamp(2rem, 4vw, 3.2rem); text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.sec-head p { margin: 0; }

/* Pill badge */
.pill { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 650; color: var(--brand);
  background: var(--brand-tint); border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--border)); border-radius: 999px; padding: .4rem .85rem; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--border); background: var(--bg-soft); padding: clamp(48px, 6vw, 72px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .brand { margin-bottom: .8rem; }
.footer .about { color: var(--fg-muted); font-size: .92rem; max-width: 34ch; }
.footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--fg-faint); margin: 0 0 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer ul a { color: var(--fg-muted); font-size: .92rem; transition: color .15s; }
.footer ul a:hover { color: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-top: 2.8rem; padding-top: 1.6rem; border-top: 1px solid var(--border); color: var(--fg-faint); font-size: .85rem; }
.footer-bottom .socials a { border-color: var(--border); }
.footer-bottom a { transition: color .15s; }
.footer-bottom a:hover { color: var(--brand); }

/* ---- Pagination (blog) ---- */
.pagination { display: flex; justify-content: center; align-items: center; gap: .45rem; margin-top: 2.2rem; flex-wrap: wrap; }
.page-btn { min-width: 40px; height: 40px; padding: 0 .6rem; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface); color: var(--fg-muted); font-family: inherit; font-size: .92rem; font-weight: 650; cursor: pointer;
  transition: color .15s, border-color .15s, background .15s, transform .15s; }
.page-btn:hover:not(:disabled):not(.active) { color: var(--fg); border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); transform: translateY(-1px); }
.page-btn.active { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.page-btn:disabled { opacity: .4; cursor: default; }

/* ---- Floating WhatsApp button (enabled via WHATSAPP_NUMBER in main.js) ---- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45); transition: transform .15s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 27px; height: 27px; }

/* ---- Scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Page hero (inner pages) */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(24px, 4vw, 40px); position: relative; overflow: clip; }
.page-hero .hero-glow { height: 420px; }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { max-width: 56ch; }
.breadcrumb { color: var(--fg-faint); font-size: .85rem; margin-bottom: .8rem; }
.breadcrumb a:hover { color: var(--brand); }

/* ---- Pricing (SEO / marketing packages) ---- */
.price-card { position: relative; display: flex; flex-direction: column; gap: 1rem; }
.price-card .plan-tag { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.price-card .amount { font-size: clamp(2rem, 3.5vw, 2.6rem); font-weight: 850; letter-spacing: -.03em; line-height: 1; }
.price-card .amount small { font-size: .95rem; font-weight: 600; color: var(--fg-muted); letter-spacing: 0; }
.price-card .plan-desc { color: var(--fg-muted); font-size: .92rem; margin: 0; }
.plan-features { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.plan-features li { position: relative; padding-left: 1.5rem; font-size: .93rem; color: var(--fg-muted); }
.plan-features li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--brand); font-weight: 800; }
.price-card .btn { margin-top: auto; }
.price-card.popular { border-color: color-mix(in srgb, var(--brand) 55%, var(--border));
  box-shadow: 0 14px 48px color-mix(in srgb, var(--brand) 24%, transparent); }
.popular-pill { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff;
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .32rem .85rem; border-radius: 999px; white-space: nowrap; }

/* ---- Careers / job openings ---- */
.job { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.job .job-info { flex: 1 1 320px; }
.job h3 { margin: 0 0 .25rem; font-size: 1.15rem; }
.job p { margin: .2rem 0 0; color: var(--fg-muted); font-size: .92rem; }
.job-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; }
.job-tags span { font-size: .76rem; font-weight: 600; color: var(--fg-muted); background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px; padding: .22rem .6rem; }

/* Utility */
.divider { height: 1px; background: var(--border); border: 0; margin: 0; }
.text-brand { color: var(--brand); }
.nowrap { white-space: nowrap; }

/* =====================================================================
   WordPress-specific additions (theme copy only — not in the static site)
   ===================================================================== */

/* WP core pagination (the_posts_pagination) → match the .page-btn design.
   Core wraps page numbers in .navigation.pagination > .nav-links — which is
   why the header-nav selectors above are scoped under `.nav`. */
.navigation.pagination { margin-top: 2.2rem; }
.navigation.pagination .nav-links { display: flex; justify-content: center; align-items: center; gap: .45rem; flex-wrap: wrap; }
.navigation.pagination .page-numbers { min-width: 40px; height: 40px; padding: 0 .6rem; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface); color: var(--fg-muted); font-size: .92rem; font-weight: 650;
  display: inline-flex; align-items: center; justify-content: center; transition: color .15s, border-color .15s, transform .15s; }
.navigation.pagination .page-numbers:hover:not(.current) { color: var(--fg); border-color: color-mix(in srgb, var(--brand) 40%, var(--border)); transform: translateY(-1px); }
.navigation.pagination .page-numbers.current { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.navigation.pagination .page-numbers.dots { border: 0; background: transparent; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Editor content inside .article (posts + privacy/terms pages) */
.article img { border-radius: var(--radius); }
.article .wp-caption { max-width: 100%; }
.article .wp-caption-text { color: var(--fg-faint); font-size: .85rem; margin-top: .4rem; }
.article iframe, .article video { max-width: 100%; border-radius: var(--radius); }
.article table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .95rem; }
.article th, .article td { border: 1px solid var(--border); padding: .6rem .8rem; text-align: left; }
.article pre { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem; overflow-x: auto; }
.alignleft { float: left; margin: 0 1.2rem .8rem 0; }
.alignright { float: right; margin: 0 0 .8rem 1.2rem; }
.aligncenter { margin-left: auto; margin-right: auto; }

/* Form success / error notices */
.form-notice { border-radius: var(--radius-sm); padding: .85rem 1.1rem; font-size: .95rem; font-weight: 550; margin-bottom: 1.2rem; }
.form-notice.ok { background: color-mix(in srgb, #22c55e 14%, var(--surface)); border: 1px solid color-mix(in srgb, #22c55e 45%, var(--border)); }
.form-notice.err { background: color-mix(in srgb, #ef4444 12%, var(--surface)); border: 1px solid color-mix(in srgb, #ef4444 45%, var(--border)); }
