/* ═══════════════════════════════════════════════════
   Abdullah Haroon Portfolio — Production CSS
   Light minimal theme · Syne + DM Sans
═══════════════════════════════════════════════════ */

:root {
  /* Palette */
  --bg:       #FAFAF8;
  --bg2:      #F3F1ED;
  --surface:  #FFFFFF;
  --text:     #111110;
  --muted:    #6B6860;
  --faint:    #9B9890;
  --accent:   #D4622A;
  --accent-h: #BF5420;
  --accent-2: #E87818;
  --glow:     rgba(212, 98, 42, 0.14);

  /* Borders */
  --border:   rgba(17, 17, 16, 0.08);
  --border-2: rgba(17, 17, 16, 0.14);

  /* Typography */
  --display: 'Plus Jakarta Sans', sans-serif;
  --body:    'Plus Jakarta Sans', sans-serif;

  /* Spacing */
  --wrap: 1160px;
  --pad:  clamp(20px, 5vw, 80px);
  --r:    16px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--body); cursor: pointer; }

/* ── Noise overlay ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Utility ── */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.accent { color: var(--accent); }
.sec-head { max-width: 58ch; margin-bottom: 56px; }
.sec-head h2 {
  font-family: var(--display);
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-top: 12px;
}
.sec-head p { color: var(--muted); font-size: 17px; margin-top: 14px; font-weight: 400; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 12px;
  border: none;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--glow);
}
.btn-primary:hover {
  background: var(--accent-h);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--glow);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-2);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-client-login {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-2);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  padding: 10px 18px;
}
.btn-client-login:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-dark {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--glow);
}
.btn-dark:hover { background: var(--accent-h); transform: translateY(-2px); }
.btn-outline-dark {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-outline-dark:hover { background: var(--accent); color: #fff; }

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in { opacity: 1; transform: none; }

/* ══════════════════════════════════════════
   NAV
══════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  background: rgba(250, 250, 248, 0.72);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
nav.scrolled {
  background: rgba(250, 250, 248, 0.94);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 24px rgba(17,17,16,0.06);
}
.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--text);
  color: var(--bg);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
  transition: background 0.2s;
}
.logo:hover .mark { background: var(--accent); }
.logo-text { display: flex; flex-direction: column; gap: 1px; }
.logo-name {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}
.logo-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a:not(.btn) {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 0 16px;
  border-top: 1px solid var(--border);
}
.mob-link {
  font-size: 15px;
  font-weight: 500;
  padding: 12px var(--pad);
  color: var(--muted);
  transition: color 0.2s;
}
.mob-link:hover { color: var(--text); }
.mob-cta {
  margin: 8px var(--pad) 0;
  background: var(--accent);
  color: #fff;
  border-radius: 12px;
  padding: 13px 22px;
  font-weight: 600;
  text-align: center;
}
.mob-login {
  margin: 8px var(--pad) 0;
  border: 1.5px solid var(--border-2);
  border-radius: 12px;
  padding: 13px 22px;
  font-weight: 600;
  text-align: center;
  color: var(--text);
}

@media (max-width: 760px) {
  .nav-links a:not(.btn) { display: none; }
  .nav-links .btn { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu.open { display: flex; }
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
header {
  position: relative;
  padding: 148px 0 0;
  overflow: visible;
}
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.65;
}
.hero-wrap {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.hero-content {
  flex: 1 1 0;
  max-width: 620px;
  padding-bottom: 80px;
  padding-top: 0;
}

/* Hero photo */
.hero-img {
  flex: 0 0 auto;
  width: 480px;
  align-self: flex-start;
  position: relative;
  margin-right: -60px;
  margin-top: 20px;
}
.hero-img img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 32px 64px rgba(0,0,0,0.22));
  animation: float 5s ease-in-out infinite;
  mask-image: linear-gradient(to bottom, black 55%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, black 55%, transparent 95%);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--border-2);
  background: var(--surface);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  box-shadow: 0 2px 12px rgba(17,17,16,0.06);
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #36C265;
  box-shadow: 0 0 0 0 rgba(54, 194, 101, 0.5);
  animation: pulse 2.2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(54, 194, 101, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(54, 194, 101, 0); }
  100% { box-shadow: 0 0 0 0 rgba(54, 194, 101, 0); }
}

/* Hero heading */
h1 {
  font-family: var(--display);
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-top: 24px;
}
h1 em {
  font-style: normal;
  color: var(--accent);
  position: relative;
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--muted);
  max-width: 52ch;
  margin-top: 22px;
  font-weight: 400;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

/* Trust row */
.trust-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.trust-item { display: flex; flex-direction: column; gap: 3px; }
.trust-item strong {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.trust-item span { font-size: 12px; color: var(--muted); font-weight: 500; }
.trust-divider {
  width: 1px;
  align-self: stretch;
  background: var(--border-2);
}

/* Hero visual (right side) */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

@media (max-width: 900px) {
  #heroCanvas { opacity: 0.3; }
  header { overflow: hidden; }
  .hero-wrap { gap: 0; }
  .hero-img {
    width: 320px;
    margin-right: -24px;
    margin-top: -20px;
  }
}
@media (max-width: 600px) {
  header { padding: 80px 0 0; overflow: hidden; }

  /* Keep row layout — text left, image right */
  .hero-wrap {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    position: relative;
    min-height: unset;
    gap: 0;
  }

  /* Text takes left side */
  .hero-content {
    flex: 1 1 0;
    position: static;
    padding-bottom: 20px;
    padding-right: 8px;
    max-width: none;
  }

  /* Smaller heading */
  .hero-content h1 {
    font-size: 24px !important;
    line-height: 1.12;
    margin-top: 12px;
  }

  .badge { font-size: 10px; padding: 5px 9px; }

  .hero-sub {
    font-size: 12px !important;
    line-height: 1.5;
    margin-top: 10px;
  }

  /* Buttons stacked, smaller */
  .hero-cta {
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
  }
  .hero-cta .btn {
    font-size: 11px;
    padding: 9px 14px;
    border-radius: 10px;
    text-align: center;
  }

  /* Trust row single line */
  .trust-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    margin-top: 14px;
    padding-top: 14px;
    justify-content: space-between;
  }
  .trust-divider { display: none; }
  .trust-item { flex: 1; }
  .trust-item strong { font-size: 12px; }
  .trust-item span { font-size: 9px; }

  /* Image: right side, vertically centered */
  .hero-img {
    flex: 0 0 auto;
    width: 160px;
    margin-right: -16px;
    margin-top: 0;
    position: static;
    align-self: center;
  }
  .hero-img img {
    mask-image: linear-gradient(to bottom, black 50%, transparent 92%);
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 92%);
  }

  .btn-client-login { display: none; }
}

/* ══════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════ */
section { padding: 72px 0; }
.section-alt { background: var(--bg2); }

/* ══════════════════════════════════════════
   SERVICES
══════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.svc-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.12s;
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
  overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity 0.3s;
}
.svc-card:hover {
  border-color: rgba(212, 98, 42, 0.25);
  box-shadow: 0 12px 40px rgba(17, 17, 16, 0.08), 0 0 0 0.5px rgba(212, 98, 42, 0.15);
}
.svc-card:hover::before { opacity: 1; }

/* Service card image at top */
.svc-img-bg {
  width: calc(100% + 60px);
  height: 160px;
  margin: -30px -30px 24px -30px;
  border-radius: 18px 18px 0 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
  overflow: hidden;
  flex-shrink: 0;
}
.svc-card { display: flex; flex-direction: column; padding: 30px; }
.svc-card:hover .svc-img-bg { transform: scale(1.04); }

.svc-wordpress  .svc-img-bg { background-image: url('../images/services/wordpress.jpg'); }
.svc-redesign   .svc-img-bg { background-image: url('../images/services/redesign.jpg'); }
.svc-ai         .svc-img-bg { background-image: url('../images/services/ai.jpg'); }
.svc-automation .svc-img-bg { background-image: url('../images/services/automation.jpg'); }
.svc-seo        .svc-img-bg { background-image: url('../images/services/seo.jpg'); }
.svc-branding   .svc-img-bg { background-image: url('../images/services/branding.jpg'); }
.svc-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(212, 98, 42, 0.08);
  color: var(--accent);
  margin-bottom: 20px;
  border: 1px solid rgba(212, 98, 42, 0.15);
}
.svc-card h3 {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.svc-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

@media (max-width: 920px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .svc-img-bg { height: 140px; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .svc-card { padding: 20px; border-radius: 16px; }
  .svc-img-bg {
    width: calc(100% + 40px);
    height: 120px;
    margin: -20px -20px 16px -20px;
    border-radius: 14px 14px 0 0;
  }
  .svc-icon { width: 36px; height: 36px; margin-bottom: 12px; }
  .svc-card h3 { font-size: 14px; margin-bottom: 6px; }
  .svc-card p { font-size: 12px; line-height: 1.5; }
}

/* ══════════════════════════════════════════
   QUOTE TOOL
══════════════════════════════════════════ */
.quote-card {
  background: var(--surface);
  border: 1.5px solid var(--border-2);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 40px rgba(17,17,16,0.06);
}
.quote-inner { padding: 36px; }
.quote-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.chip {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--border-2);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--body);
}
.chip:hover { border-color: var(--accent); color: var(--text); }
.chip.on { background: var(--accent); color: #fff; border-color: var(--accent); }

textarea {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border-2);
  border-radius: 14px;
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  padding: 16px;
  resize: vertical;
  min-height: 96px;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 20px;
  line-height: 1.6;
}
textarea:focus { border-color: var(--accent); }

.quote-btn {
  width: 100%;
  justify-content: center;
  padding: 14px 22px;
  font-size: 15px;
}

/* Estimate result */
.estimate {
  display: none;
  padding: 28px 36px;
  border-top: 1.5px solid var(--border);
  background: var(--bg2);
  animation: fadeUp 0.5s ease forwards;
}
.estimate.show { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.est-row {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.est-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.est-val {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.est-summary { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.est-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.est-list li {
  font-size: 14.5px;
  color: var(--muted);
  padding-left: 22px;
  position: relative;
}
.est-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.est-disclaimer {
  font-size: 12.5px;
  color: var(--faint);
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.est-disclaimer a { color: var(--accent); font-weight: 600; }

/* ══════════════════════════════════════════
   WORK / PROJECTS
══════════════════════════════════════════ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.work-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  transition: border-color 0.25s, box-shadow 0.25s;
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
  overflow: hidden;
}
.work-card:hover {
  border-color: var(--border-2);
  box-shadow: 0 12px 40px rgba(17, 17, 16, 0.08);
}
.work-flag {
  border-color: rgba(212, 98, 42, 0.2);
  background: linear-gradient(160deg, #fffdf9, var(--surface));
}
.work-flag:hover { border-color: rgba(212, 98, 42, 0.4); }
.work-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.work-card h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.work-card > p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}
.stack {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.stack span {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 7px;
  background: var(--bg2);
  border: 1px solid var(--border);
}
.work-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  transition: gap 0.2s;
}
.work-link:hover { gap: 10px; }

@media (max-width: 680px) { .work-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════
   CONTACT CTA
══════════════════════════════════════════ */
#contact { padding: 60px 0 100px; }
.cta-box {
  background: linear-gradient(135deg, #1A1A18 0%, #2B2926 100%);
  border-radius: 28px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212, 98, 42, 0.2), transparent 65%);
  pointer-events: none;
}
.eyebrow-dark { color: var(--accent); }
.cta-content h2 {
  font-family: var(--display);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #FAFAF8;
  margin-top: 10px;
}
.cta-content p {
  color: rgba(250, 250, 248, 0.6);
  font-size: 16px;
  margin-top: 14px;
  max-width: 46ch;
}
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.cta-decoration { position: relative; width: 160px; height: 160px; flex-shrink: 0; }
.cta-orb {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 98, 42, 0.4), rgba(232, 120, 24, 0.1));
  animation: float 6s ease-in-out infinite;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

@media (max-width: 760px) {
  .cta-box {
    grid-template-columns: 1fr;
    padding: 40px 28px;
  }
  .cta-decoration { display: none; }
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.footer-in {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  grid-template-rows: auto auto;
  gap: 12px 32px;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  grid-row: 1;
}
.mark-sm {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--text);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 800;
}
.footer-name { font-size: 14px; font-weight: 600; }
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-contact { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-contact a {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--accent); }
.footer-copy {
  font-size: 12px;
  color: var(--faint);
  grid-column: 1 / -1;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

@media (max-width: 680px) {
  .footer-in {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .footer-copy { padding-top: 16px; }
}

/* ══════════════════════════════════════════
   CHAT WIDGET
══════════════════════════════════════════ */
#chatBtn {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 300;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--text);
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--bg);
  box-shadow: 0 6px 28px rgba(17, 17, 16, 0.2);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
#chatBtn:hover {
  background: var(--accent);
  transform: scale(1.06);
  box-shadow: 0 10px 36px var(--glow);
}
.chat-ping {
  position: absolute;
  top: -2px; right: -2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #36C265;
  border: 2px solid var(--bg);
}

#chatPanel {
  position: fixed;
  bottom: 94px; right: 24px;
  z-index: 300;
  width: min(380px, calc(100vw - 32px));
  height: min(540px, 70vh);
  background: var(--surface);
  border: 1.5px solid var(--border-2);
  border-radius: 22px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(17, 17, 16, 0.16), 0 0 0 0.5px rgba(17,17,16,0.05);
}
#chatPanel.open {
  display: flex;
  animation: fadeUp 0.3s ease;
}

.chat-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg2);
  flex-shrink: 0;
}
.chat-av {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 800;
  flex-shrink: 0;
}
.chat-meta { flex: 1; }
.chat-title { font-size: 14px; font-weight: 700; display: block; }
.chat-status {
  font-size: 12px;
  color: #36C265;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}
.chat-close-btn {
  background: none;
  border: none;
  color: var(--muted);
  display: grid;
  place-items: center;
  padding: 4px;
  transition: color 0.2s;
}
.chat-close-btn:hover { color: var(--text); }

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}
.msg {
  max-width: 85%;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.55;
}
.msg.bot {
  background: var(--bg2);
  border: 1px solid var(--border);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  color: var(--text);
}
.msg.me {
  background: var(--text);
  color: var(--bg);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}

/* Typing indicator */
.typing {
  display: flex;
  gap: 4px;
  padding: 12px 14px;
  align-self: flex-start;
}
.typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--faint);
  animation: bob 1.2s infinite;
}
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bob {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%           { transform: translateY(-5px); opacity: 1; }
}

.quick-chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  padding: 8px 14px 10px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.quick-chips button {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1.5px solid var(--border-2);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--body);
}
.quick-chips button:hover { border-color: var(--accent); color: var(--text); }

.chat-input-row {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.chat-input-row input {
  flex: 1;
  background: var(--bg);
  border: 1.5px solid var(--border-2);
  border-radius: 12px;
  padding: 11px 14px;
  color: var(--text);
  font-family: var(--body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.chat-input-row input:focus { border-color: var(--accent); }
.chat-send {
  width: 42px; height: 42px;
  border-radius: 12px;
  border: none;
  background: var(--text);
  color: var(--bg);
  display: grid;
  place-items: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
.chat-send:hover { background: var(--accent); }

/* ── Spinner ── */
.spin {
  display: inline-block;
  width: 15px; height: 15px;
  border: 2.5px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: rot 0.7s linear infinite;
  vertical-align: middle;
}
@keyframes rot { to { transform: rotate(360deg); } }

/* ══════════════════════════════════════════
   RESPONSIVE FINAL
══════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .btn { justify-content: center; }
  .trust-row { gap: 16px; }
  .trust-divider { display: none; }
  .quote-inner { padding: 24px 20px; }
  .estimate { padding: 20px; }
  h1 { letter-spacing: -0.025em; }
}

/* ══════════════════════════════════════════
   PROCESS + SKILLS
══════════════════════════════════════════ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.process-step {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
}
.step-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.18;
  line-height: 1;
  margin-bottom: 16px;
  font-family: var(--display);
}
.process-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.process-step p { color: var(--muted); font-size: 0.92rem; }

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.skill-pill {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  cursor: default;
}
.skill-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(212,98,42,0.05);
}
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 0;
}
.testi-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.testi-card:hover {
  border-color: rgba(212,98,42,0.25);
  box-shadow: 0 8px 32px rgba(212,98,42,0.08);
}
.testi-stars { color: #F59E0B; font-size: 1.1rem; letter-spacing: 2px; }
.testi-card > p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  flex: 1;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 0.95rem; font-weight: 700; }
.testi-author span { font-size: 0.82rem; color: var(--muted); }
@media (max-width: 700px) { .testi-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════
   FAQ
══════════════════════════════════════════ */
.faq-list {
  margin-top: 48px;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: rgba(212,98,42,0.3); }
.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item > p {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ══════════════════════════════════════════
   CONTACT FORM
══════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 { margin: 12px 0 16px; }
.contact-info p { color: var(--muted); line-height: 1.7; }
.contact-form {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 0.88rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--body);
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212,98,42,0.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.btn-full { width: 100%; justify-content: center; }
.cf-status {
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  min-height: 20px;
}
.cf-ok { color: #16a34a; }
.cf-err { color: #dc2626; }
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 28px 20px; }
}

/* ══════════════════════════════════════════
   WORK — FEATURED CARD
══════════════════════════════════════════ */
.work-featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #1a1a18 0%, #2c2826 100%);
  border-color: rgba(212, 98, 42, 0.28);
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.work-featured-content {
  flex: 1 1 auto;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
}
.work-featured .work-tag { color: var(--accent-2); }
.work-featured h3 {
  color: #FAFAF8;
  font-size: 28px;
  margin-bottom: 12px;
}
.work-featured > .work-featured-content > p {
  color: rgba(250, 250, 248, 0.65);
  font-size: 15.5px;
  max-width: 60ch;
}
.work-featured .stack span {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(250, 250, 248, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
}
.work-featured .work-link { color: var(--accent-2); }
.work-featured:hover {
  border-color: rgba(212, 98, 42, 0.5);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
.work-featured-aside {
  flex: 0 0 220px;
  background: rgba(255, 255, 255, 0.025);
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
}
.work-feat-orb {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 98, 42, 0.35), rgba(232, 120, 24, 0.08));
  animation: float 5s ease-in-out infinite;
  flex-shrink: 0;
}
.work-feat-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.work-feat-stat {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.work-feat-stat span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(212, 98, 42, 0.8);
}
.work-feat-stat strong {
  font-size: 14px;
  font-weight: 700;
  color: rgba(250, 250, 248, 0.8);
}
@media (max-width: 680px) {
  .work-featured { flex-direction: column; }
  .work-featured-aside { flex: none; flex-direction: row; border-left: none; border-top: 1px solid rgba(255,255,255,0.07); padding: 20px 28px; gap: 20px; }
  .work-feat-orb { width: 48px; height: 48px; }
  .work-feat-stats { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .work-feat-stat { padding: 7px 12px; }
  .work-featured-content { padding: 28px 24px; }
  .work-featured h3 { font-size: 22px; }
}

/* ══════════════════════════════════════════
   PROCESS — STEP HOVER ACCENT
══════════════════════════════════════════ */
.process-step {
  border-top: 3px solid transparent;
  transition: border-top-color 0.25s, box-shadow 0.25s, transform 0.15s;
}
.process-step:hover {
  border-top-color: var(--accent);
  box-shadow: 0 10px 36px rgba(17, 17, 16, 0.08);
  transform: translateY(-3px);
}

/* ══════════════════════════════════════════
   TESTIMONIALS — SUMMARY BAR + QUOTE MARK
══════════════════════════════════════════ */
.testi-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.testi-overall {
  display: flex;
  align-items: center;
  gap: 18px;
}
.testi-score {
  font-family: var(--display);
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
}
.testi-stars-lg { color: #F59E0B; font-size: 1.05rem; letter-spacing: 3px; }
.testi-overall > div > span {
  font-size: 0.84rem;
  color: var(--muted);
  margin-top: 5px;
  display: block;
}
.testi-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.testi-badge {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--border-2);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg);
}
.testi-card::before {
  content: '\201C';
  display: block;
  font-size: 5rem;
  line-height: 0.65;
  color: var(--accent);
  opacity: 0.14;
  font-family: Georgia, 'Times New Roman', serif;
  margin-bottom: 6px;
}
.testi-grid { margin-top: 0; }
@media (max-width: 600px) {
  .testi-summary { flex-direction: column; align-items: flex-start; gap: 16px; padding: 18px 20px; }
  .testi-score { font-size: 2.6rem; }
  .testi-badge { font-size: 11px; padding: 5px 11px; }
}

/* ══════════════════════════════════════════
   CONTACT — QUICK INFO CARDS
══════════════════════════════════════════ */
.contact-quick {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-quick-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-quick-item:hover {
  border-color: rgba(212, 98, 42, 0.25);
  box-shadow: 0 4px 16px rgba(212, 98, 42, 0.06);
}
.contact-quick-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(212, 98, 42, 0.08);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid rgba(212, 98, 42, 0.15);
}
.contact-quick-item strong {
  font-size: 0.88rem;
  font-weight: 600;
  display: block;
  margin-bottom: 1px;
}
.contact-quick-item span { font-size: 0.82rem; color: var(--muted); }

/* ══════════════════════════════════════════
   QUOTE — CHIPS SCROLL ON MOBILE
══════════════════════════════════════════ */
@media (max-width: 560px) {
  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  .quote-inner { padding: 22px 18px; }
  .estimate { padding: 20px 18px; }
}

/* ══════════════════════════════════════════
   FAQ — BETTER HOVER
══════════════════════════════════════════ */
.faq-item summary:hover { color: var(--text); background: var(--bg2); }
.faq-item[open] summary { color: var(--text); }

/* ══════════════════════════════════════════
   GENERAL MOBILE FIXES
══════════════════════════════════════════ */
@media (max-width: 560px) {
  section { padding: 56px 0; }
  .sec-head { margin-bottom: 36px; }
  .sec-head h2 { font-size: 26px; }
  .sec-head p { font-size: 15px; }
  .process-grid { gap: 14px; }
  .process-step { padding: 24px 22px; }
  .step-num { font-size: 2.2rem; }
  .testi-grid { gap: 16px; }
  .testi-card { padding: 24px 22px; gap: 14px; }
  .faq-list { margin-top: 28px; }
  .faq-item summary { padding: 16px 18px; font-size: 0.93rem; }
  .faq-item > p { padding: 0 18px 16px; font-size: 0.9rem; }
  .contact-grid { gap: 32px; }
  .contact-info h2 { font-size: 24px; }
  .cta-box { padding: 32px 22px; }
  .cta-content h2 { font-size: 22px; }
  footer { padding: 24px 0; }
  .footer-links { flex-wrap: wrap; gap: 12px; }
}
