/* ============================================================
   TPX — The Pattern X
   Freelance brand & identity design studio (run by Ammar Khan)
   Visual language: IntellixTax design system
   - Surfaces: white document / deep navy brand (#0B1220)
   - Accent: electric blue (#1E88FF on light, #4DA8FF on dark)
   - Type: Manrope (display/body), JetBrains Mono (labels), Inter (fine)
   ============================================================ */

/* ---- Tokens ------------------------------------------------ */
:root {
  --blue-600: #1E88FF;
  --blue-400: #4DA8FF;
  --blue-tint: #EEF4FF;
  --blue-tint-border: #DCEBFF;
  --blue-pill-fill: rgba(77,168,255,0.08);
  --blue-pill-border: rgba(77,168,255,0.45);
  --blue-glow: rgba(77,168,255,0.28);
  --blue-glow-strong: rgba(77,168,255,0.38);

  --ink-900: #0B1220;
  --slate-900: #0F172A;
  --slate-700: #334155;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50:  #F8FAFC;
  --white: #FFFFFF;
  --line-on-dark: rgba(255,255,255,0.14);

  --font-display: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --font-caption: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --maxw: 1180px;
  --radius-card: 10px;
  --radius-btn: 10px;
}

/* ---- Reset ------------------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-display);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Layout helpers --------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.section { padding: 104px 0; }
.section--tight { padding: 72px 0; }
.center { text-align: center; }

/* ---- Shared type devices ---------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--blue-600);
  background: var(--blue-tint);
  border: 1px solid var(--blue-tint-border);
  padding: 7px 14px; border-radius: 999px;
}
.eyebrow--dark {
  color: var(--blue-400);
  background: var(--blue-pill-fill);
  border-color: var(--blue-pill-border);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--blue-600); }
.eyebrow--dark .dot { background: var(--blue-400); }

.kicker {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--slate-400);
}

h1, h2, h3, h4 { color: var(--slate-900); font-weight: 800; line-height: 1.08; letter-spacing: -0.028em; }
.display {
  font-size: clamp(42px, 6.6vw, 84px);
  line-height: 1.02; letter-spacing: -0.035em;
}
.h2 { font-size: clamp(30px, 4vw, 44px); }
.h3 { font-size: 21px; letter-spacing: -0.02em; }
.lead { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; color: var(--slate-700); }
.muted { color: var(--slate-500); }
.on-dark { color: var(--white); }
.on-dark p, .on-dark .lead { color: rgba(255,255,255,0.72); }

.section-head { max-width: 640px; }
.section-head.center { margin: 0 auto; }
.section-head .h2 { margin: 14px 0 0; }
.section-head p { margin-top: 16px; }

/* accent for headline fragments */
.accent { color: var(--blue-600); }

/* ---- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  letter-spacing: -0.01em;
  padding: 14px 24px; border-radius: var(--radius-btn);
  border: 1px solid transparent; cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
  white-space: nowrap;
}
.btn .arw { transition: transform .16s ease; }
.btn:hover .arw { transform: translateX(3px); }
.btn--primary { background: var(--blue-600); color: #fff; }
.btn--primary:hover { background: #0f6fe0; }
.btn--ghost { background: transparent; color: var(--slate-900); border-color: var(--slate-200); }
.btn--ghost:hover { border-color: var(--slate-900); }
.btn--on-dark { background: var(--white); color: var(--ink-900); }
.btn--on-dark:hover { background: var(--blue-400); color: var(--ink-900); }
.btn--ghost-dark { background: transparent; color: #fff; border-color: var(--line-on-dark); }
.btn--ghost-dark:hover { border-color: #fff; }

/* text link with arrow */
.tlink {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue-600);
  transition: gap .16s ease;
}
.tlink:hover { gap: 11px; }

/* ---- Header / nav ---------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--slate-200);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 130px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 111px; width: auto; display: block; }
.footer-brand .brand img { height: 111px; }
@media (max-width: 680px) {
  .brand img { height: 90px; }
  .footer-brand .brand img { height: 90px; }
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 14.5px; font-weight: 600; color: var(--slate-700);
  transition: color .16s ease; position: relative;
}
.nav-links a:hover { color: var(--slate-900); }
.nav-links a.active { color: var(--slate-900); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -26px;
  height: 2px; background: var(--blue-600);
}
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--slate-900); margin: 4px 0; transition: .2s; }

/* ---- Hero ------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 128px 0 140px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(30,136,255,0.10) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 40%, transparent 78%);
  animation: heroBgDrift 26s linear infinite;
}
.hero::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 560px; height: 560px; border-radius: 999px; top: -220px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(30,136,255,0.14), transparent 70%);
  animation: heroGlowPulse 8s ease-in-out infinite;
}
@keyframes heroBgDrift { from { background-position: 0 0; } to { background-position: 28px 28px; } }
@keyframes heroGlowPulse { 0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.08); } }
.hero .wrap { position: relative; z-index: 1; }
.hero-copy--center { max-width: 880px; margin: 0 auto; text-align: center; }
.hero-copy--center p.lead { max-width: 56ch; margin-left: auto; margin-right: auto; }
.hero-copy--center .hero-cta { justify-content: center; }
.hero-copy--center .hero-stats { justify-content: center; }
.hero h1 { margin: 22px 0 0; }
.hero p { margin-top: 22px; max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero-cta .btn { padding: 16px 28px; font-size: 16px; }
.hero-stats { display: flex; gap: 52px; margin-top: 56px; padding-top: 34px; border-top: 1px solid var(--slate-200); }
.stat .num { font-size: 36px; font-weight: 800; color: var(--slate-900); letter-spacing: -0.03em; }
.stat .lbl { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--slate-500); margin-top: 5px; }



/* X-pattern background texture */
.xpattern {
  background-image:
    linear-gradient(135deg, transparent 46%, var(--slate-100) 46%, var(--slate-100) 54%, transparent 54%),
    linear-gradient(45deg, transparent 46%, var(--slate-100) 46%, var(--slate-100) 54%, transparent 54%);
  background-size: 26px 26px;
}

/* ---- Studio brand-board visuals (stand in for photos) ---- */
.board { position: relative; aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; padding: 30px; display: flex; flex-direction: column; justify-content: space-between; }
.board > * { position: relative; z-index: 1; }
.board--navy { background: var(--ink-900); color: #fff; box-shadow: 0 30px 60px -30px rgba(11,18,32,0.35); }
.board--navy::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 999px; background: radial-gradient(circle, var(--blue-glow-strong), transparent 66%); top: -160px; right: -130px; }
.board--paper { background: var(--slate-50); box-shadow: inset 0 0 0 1px var(--slate-200), 0 30px 60px -34px rgba(11,18,32,0.22); }
.board .b-mono { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; }
.board .b-glyph { font-weight: 800; line-height: 0.9; letter-spacing: -0.05em; }
.board .b-row { display: flex; align-items: center; justify-content: space-between; }
.b-swatch { display: flex; gap: 0; height: 44px; border-radius: 8px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06); }
.b-swatch span { flex: 1; }
.b-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; flex: 1; }
.b-tiles div { border-radius: 10px; display: grid; place-items: center; font-weight: 800; }
.b-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.b-tags span { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; padding: 5px 10px; border-radius: 999px; }

/* ---- Marquee (client logos) ------------------------------ */
.marquee { border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); padding: 26px 0; overflow: hidden; background: var(--slate-50); }
.marquee-label { text-align: center; margin-bottom: 20px; }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { font-weight: 800; font-size: 19px; color: var(--slate-400); letter-spacing: -0.02em; white-space: nowrap; transition: color .16s; }
.marquee-item:hover { color: var(--slate-700); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- Cards / grids --------------------------------------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border-radius: var(--radius-card);
  box-shadow: inset 0 0 0 1px var(--slate-200);
  padding: 30px; transition: box-shadow .18s ease, transform .18s ease;
}
.card:hover { box-shadow: inset 0 0 0 1px var(--blue-tint-border), 0 18px 40px -24px rgba(11,18,32,0.28); transform: translateY(-3px); }
.card .idx { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--slate-400); }
.card .h3 { margin: 18px 0 10px; }
.card p { font-size: 14.5px; color: var(--slate-700); }
.card .card-link { margin-top: 18px; }

/* service icon block */
.svc-mark {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--blue-tint); border: 1px solid var(--blue-tint-border);
  display: grid; place-items: center; color: var(--blue-600);
}
.svc-mark svg { width: 22px; height: 22px; }

/* ---- Portfolio project cards ----------------------------- */
.proj { border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--slate-200); background:#fff; transition: transform .2s ease, box-shadow .2s ease; }
.proj:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--blue-tint-border), 0 26px 50px -28px rgba(11,18,32,0.32); }
.proj-visual { aspect-ratio: 4/3; display: grid; place-items: center; position: relative; overflow: hidden; }
.proj-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.proj-visual .pv-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.18) 55%, rgba(0,0,0,0.62) 100%); z-index: 1; }
.proj-visual .pv-badge { position: absolute; left: 18px; bottom: 16px; z-index: 2; display: flex; align-items: center; gap: 10px; }
.proj-visual .pv-mark { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; box-shadow: 0 6px 14px rgba(0,0,0,0.35); flex-shrink: 0; }
.proj-visual .pv-word { color: #fff; font-weight: 800; font-size: 13.5px; letter-spacing: 0.02em; text-shadow: 0 1px 3px rgba(0,0,0,0.4); }
.proj-visual--contain { padding: 0; aspect-ratio: unset; display: flex; align-items: center; justify-content: center; }
.proj-visual--contain img { position: static; width: auto; height: auto; max-width: 92%; max-height: 92%; object-fit: contain; box-shadow: none; border-radius: 0; image-rendering: -webkit-optimize-contrast; }

/* Collage grid — cards vary in width/height to match each project image's natural proportions */
.grid-collage { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; max-width: 860px; margin: 0 auto; }
.grid-collage .proj { display: flex; flex-direction: column; }
.grid-collage .proj-visual { width: 100%; flex-shrink: 0; }
.grid-collage--equal .proj { height: 100%; }
.grid-collage--equal .proj-body { flex: 1; }
@media (max-width: 960px) { .grid-collage { grid-template-columns: repeat(2, 1fr); } .grid-collage .proj[style*="span 2"] { grid-column: span 2 !important; } }
@media (max-width: 680px) { .grid-collage { grid-template-columns: 1fr; } .grid-collage .proj { grid-column: span 1 !important; } }
.proj-body { padding: 22px 24px 26px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.proj-cat { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue-600); }
.proj-title { font-size: 18px; font-weight: 800; color: var(--slate-900); margin-top: 8px; letter-spacing: -0.02em; }
.proj-client { font-size: 13px; color: var(--slate-500); margin-top: 3px; }
.proj-arw { color: var(--slate-400); flex-shrink: 0; transition: color .16s, transform .16s; }
.proj:hover .proj-arw { color: var(--blue-600); transform: translate(3px,-3px); }

/* Mock brand logos rendered on colored fields */
.logo-mark { text-align: center; padding: 24px; width: 100%; }
.logo-mark .lm-symbol { font-size: 46px; line-height: 1; font-weight: 800; letter-spacing: -0.04em; }
.logo-mark .lm-word { font-size: 22px; font-weight: 800; letter-spacing: 0.02em; margin-top: 12px; }
.logo-mark .lm-tag { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.22em; margin-top: 8px; opacity: 0.7; }

/* ---- Portfolio mockups (business card / phone / packaging) ---- */
.mockup-scene { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; perspective: 900px; }
.mockup-scene::before {
  content: ""; position: absolute; left: 50%; bottom: 14%; width: 72%; height: 22%; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0,0,0,0.35), transparent 72%); filter: blur(2px); z-index: 0;
}

/* Business card stack — real paper tone, 3D tilt, printed-ink texture */
.mockup-cards { position: relative; width: 66%; max-width: 230px; aspect-ratio: 1.75/1; transform-style: preserve-3d; }
.mockup-card {
  position: absolute; inset: 0; background: linear-gradient(155deg, #FDFCFA, #F3F1EC 88%);
  border-radius: 7px; display: flex; flex-direction: column; justify-content: space-between; padding: 14px 16px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 -6px 10px -8px rgba(0,0,0,0.12) inset,
    0 22px 34px -16px rgba(10,14,25,0.55),
    0 4px 8px -4px rgba(10,14,25,0.3);
}
.mockup-card.back { transform: perspective(900px) rotateX(8deg) rotateZ(8deg) translate(10px, 14px); filter: brightness(0.94); z-index: 1; }
.mockup-card.front { transform: perspective(900px) rotateX(8deg) rotateZ(-5deg); z-index: 2; }
.mc-logo-row { display: flex; align-items: center; gap: 8px; }
.mc-mark { width: 25px; height: 25px; border-radius: 6px; display: grid; place-items: center; font-weight: 800; font-size: 11px; flex-shrink: 0; box-shadow: 0 2px 4px rgba(0,0,0,0.25); }
.mc-word { font-weight: 800; font-size: 12.5px; letter-spacing: 0.01em; }
.mc-lines { display: flex; flex-direction: column; gap: 5px; }
.mc-line { height: 2px; border-radius: 2px; opacity: 0.42; }
.mc-foot { font-family: var(--font-mono); font-size: 6.5px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.5; }

/* Phone / social mockup — real bezel, notch, status + nav chrome */
.mockup-phone {
  position: relative; width: 128px; height: 258px; border-radius: 26px; background: linear-gradient(160deg, #2b2e35, #111318);
  padding: 6px; box-shadow: 0 30px 50px -20px rgba(0,0,0,0.6), 0 2px 0 rgba(255,255,255,0.06) inset;
  transform: perspective(900px) rotateY(-6deg) rotateX(2deg);
}
.mockup-phone .screen { position: relative; width: 100%; height: 100%; border-radius: 21px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.mockup-phone .notch { position: absolute; top: 5px; left: 50%; transform: translateX(-50%); width: 46px; height: 6px; border-radius: 4px; background: #111318; z-index: 3; }
.mockup-phone .status { height: 22px; flex-shrink: 0; }
.mockup-phone .feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; padding: 2px; }
.mockup-phone .feed div { aspect-ratio: 1; }
.mockup-phone .post { flex: 1; display: grid; place-items: center; position: relative; }
.mockup-phone .navbar { height: 26px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-evenly; border-top: 1px solid rgba(15,23,42,0.08); }
.mockup-phone .navbar span { width: 13px; height: 13px; border-radius: 3px; background: rgba(15,23,42,0.18); }

/* Packaging — rounded jar/pouch with real dimensional shading */
.mockup-pack {
  position: relative; width: 108px; height: 148px; border-radius: 10px 10px 22px 22px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 26px 42px -18px rgba(0,0,0,0.55), inset -14px 0 26px -6px rgba(0,0,0,0.18), inset 14px 0 22px -8px rgba(255,255,255,0.35);
  overflow: hidden; padding: 14px; text-align: center;
  transform: perspective(900px) rotateY(4deg);
}
.mockup-pack::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 30%; background: linear-gradient(rgba(255,255,255,0.32), transparent); }
.mockup-pack::after { content: ""; position: absolute; left: 8%; top: 6%; bottom: 6%; width: 14%; background: linear-gradient(rgba(255,255,255,0.4), rgba(255,255,255,0.05)); border-radius: 999px; filter: blur(1px); }
.mockup-pack .mc-word { margin-top: 8px; font-size: 10.5px; }
.mockup-pack .mc-foot { margin-top: 4px; }

.proj-cap { position: absolute; left: 14px; bottom: 14px; font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.6); z-index: 2; }
.proj-cap.on-light { color: rgba(15,23,42,0.45); }

/* Studio backdrop for proj-visual: soft directional light + subtle grain instead of flat color */
.proj-visual { background-image:
  radial-gradient(120% 90% at 25% 0%, rgba(255,255,255,0.16), transparent 55%),
  radial-gradient(90% 70% at 85% 100%, rgba(0,0,0,0.22), transparent 60%);
  background-blend-mode: overlay, normal;
}

/* ---- Testimonials ---------------------------------------- */
.quote-card {
  background: var(--white); border-radius: var(--radius-card);
  box-shadow: inset 0 0 0 1px var(--slate-200); padding: 32px;
  display: flex; flex-direction: column; gap: 22px;
}
.quote-card .mark { font-family: Georgia, serif; font-size: 46px; line-height: 0.4; color: var(--blue-400); height: 22px; }
.quote-card blockquote { font-size: 16px; line-height: 1.6; color: var(--slate-900); font-weight: 500; letter-spacing: -0.015em; }
.quote-author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote-avatar { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 15px; }
.quote-name { font-weight: 700; color: var(--slate-900); font-size: 15px; }
.quote-role { font-size: 12.5px; color: var(--slate-500); }

/* ---- Dark CTA band --------------------------------------- */
.band-dark { position: relative; background: var(--ink-900); color: #fff; overflow: hidden; }
.band-dark::before {
  content: ""; position: absolute; width: 620px; height: 620px; border-radius: 999px;
  background: radial-gradient(circle, var(--blue-glow-strong), transparent 66%);
  top: -180px; right: -120px; pointer-events: none;
}
.band-dark::after {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 999px;
  background: radial-gradient(circle, var(--blue-glow), transparent 66%);
  bottom: -220px; left: -140px; pointer-events: none;
}
.band-dark .wrap { position: relative; z-index: 1; }
.cta-band { text-align: center; padding: 96px 0; }
.cta-band .h2 { color: #fff; margin: 16px auto 0; max-width: 16ch; }
.cta-band p { color: rgba(255,255,255,0.7); margin: 18px auto 0; max-width: 52ch; }
.cta-band .hero-cta { justify-content: center; margin-top: 34px; }

/* Light CTA band (white background, dark footer stays below) */
.band-light { position: relative; background: var(--white); border-top: 1px solid var(--slate-200); }
.band-light .cta-band .h2 { color: var(--slate-900); }
.band-light .cta-band p { color: var(--slate-500); }

/* ---- About bits ------------------------------------------ */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.about-photo { border-radius: 14px; overflow: hidden; aspect-ratio: 4/5; box-shadow: inset 0 0 0 1px var(--slate-200); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.checklist { display: grid; gap: 14px; margin-top: 26px; }
.checklist li { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; color: var(--slate-700); }
.checklist .dash { width: 14px; height: 2px; background: var(--blue-600); margin-top: 11px; flex-shrink: 0; }

.statbar { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.statbar .stat { padding: 26px; border-radius: var(--radius-card); box-shadow: inset 0 0 0 1px var(--slate-200); }
.statbar .num { font-size: 34px; }

/* ---- Pricing --------------------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; align-items: stretch; }
.price {
  background: #fff; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--slate-200);
  padding: 34px 30px; display: flex; flex-direction: column;
}
.price.featured { box-shadow: inset 0 0 0 2px var(--blue-600); position: relative; }
.price.featured .price-flag {
  position: absolute; top: -12px; left: 30px;
  background: var(--blue-600); color: #fff; font-family: var(--font-mono);
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em;
  padding: 6px 12px; border-radius: 999px;
}
.price .p-name { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--slate-500); }
.price .p-amount { font-size: 40px; font-weight: 800; color: var(--slate-900); letter-spacing: -0.03em; margin: 14px 0 4px; }
.price .p-amount span { font-size: 15px; font-weight: 600; color: var(--slate-500); }
.price .p-desc { font-size: 14px; color: var(--slate-700); margin-bottom: 22px; }
.price ul { display: grid; gap: 12px; margin-bottom: 28px; }
.price li { display: flex; gap: 12px; font-size: 14px; color: var(--slate-700); }
.price li .dash { width: 12px; height: 2px; background: var(--blue-600); margin-top: 10px; flex-shrink: 0; }
.price .btn { margin-top: auto; justify-content: center; }

/* ---- FAQ / accordion ------------------------------------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--slate-200); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; font-family: var(--font-display); font-size: 17px; font-weight: 700;
  color: var(--slate-900); letter-spacing: -0.02em;
}
.faq-q .sign { flex-shrink: 0; width: 24px; height: 24px; position: relative; color: var(--blue-600); }
.faq-q .sign::before, .faq-q .sign::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.faq-q .sign::before { left: 4px; right: 4px; top: 11px; height: 2px; }
.faq-q .sign::after { top: 4px; bottom: 4px; left: 11px; width: 2px; }
.faq-item.open .sign::after { transform: scaleY(0); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a p { padding: 0 0 24px; font-size: 15px; line-height: 1.6; color: var(--slate-700); max-width: 62ch; }

/* ---- Contact --------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--slate-500); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font-display); font-size: 15px; color: var(--slate-900);
  padding: 13px 15px; border-radius: 10px; border: 1px solid var(--slate-200); background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px var(--blue-pill-fill); }
.field textarea { resize: vertical; min-height: 130px; }
.contact-card { background: var(--slate-50); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--slate-200); padding: 34px; }
.contact-row { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--slate-200); }
.contact-row:last-child { border-bottom: 0; }
.contact-row .ci { width: 42px; height: 42px; border-radius: 10px; background: var(--blue-tint); border: 1px solid var(--blue-tint-border); display: grid; place-items: center; color: var(--blue-600); flex-shrink: 0; }
.contact-row .ck { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--slate-500); }
.contact-row .cv { font-size: 15.5px; font-weight: 700; color: var(--slate-900); margin-top: 3px; }
.contact-row a.cv:hover { color: var(--blue-600); }

/* ---- Page hero (interior pages) -------------------------- */
.page-hero { background: var(--slate-50); border-bottom: 1px solid var(--slate-200); padding: 72px 0 68px; }
.page-hero h1 { margin: 18px 0 0; font-size: clamp(34px, 4.5vw, 56px); }
.page-hero p { margin-top: 18px; max-width: 56ch; }
.breadcrumb { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--slate-400); margin-bottom: 4px; }
.breadcrumb a:hover { color: var(--blue-600); }

/* ---- Footer ---------------------------------------------- */
.site-footer { background: var(--ink-900); color: rgba(255,255,255,0.66); position: relative; overflow: hidden; }
.site-footer::before { content:""; position:absolute; width:560px; height:560px; border-radius:999px; background: radial-gradient(circle, var(--blue-glow), transparent 66%); top:-260px; right:-120px; }
.footer-top { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 72px 0 48px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 16px; max-width: 34ch; font-size: 14px; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a { width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--line-on-dark); display: grid; place-items: center; color: rgba(255,255,255,0.7); transition: .16s; }
.footer-social a:hover { color: #fff; border-color: var(--blue-400); background: var(--blue-pill-fill); }
.footer-col h4 { color: #fff; font-size: 13px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 500; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 14.5px; color: rgba(255,255,255,0.66); transition: color .16s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { position: relative; z-index: 1; border-top: 1px solid var(--line-on-dark); padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; }
.footer-bottom .dotmark { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom .dotmark .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--blue-400); }

/* ---- WhatsApp float -------------------------------------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #073b1e; font-weight: 700; font-size: 14px;
  padding: 13px 18px; border-radius: 999px;
  box-shadow: 0 14px 30px -12px rgba(37,211,102,0.6);
  transition: transform .16s ease;
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 20px; height: 20px; }

/* ---- Reveal on scroll ------------------------------------ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- Responsive ------------------------------------------ */
@media (max-width: 960px) {
  .hero { padding: 96px 0 100px; }
  .hero-stats { gap: 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .statbar { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .hero { padding: 72px 0 80px; }
  .hero-cta { justify-content: center; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 24px; row-gap: 24px; flex-wrap: wrap; justify-content: center; }
  .section { padding: 72px 0; }
  .wrap { padding: 0 20px; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; gap: 4px; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--slate-200); padding: 12px 20px 20px;
  }
  .nav.open .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--slate-100); }
  .nav.open .nav-links a.active::after { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; flex-wrap: wrap; }
  .statbar { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
