/* ================================================
   QTECHIT — REDESIGNED STYLESHEET
   Theme: Light studio / warm cream + orange + teal
   Fonts: Syne (headings) + DM Sans (body)
   ================================================ */

:root {
  /* Backgrounds */
  --bg:          #fafaf8;
  --bg-2:        #f2ede3;
  --bg-dark:     #111110;
  --bg-dark-2:   #1c1c1a;

  /* Borders */
  --border:      rgba(0,0,0,0.08);
  --border-2:    rgba(0,0,0,0.14);
  --border-light: rgba(255,255,255,0.1);

  /* Brand */
  --orange:      #f97316;
  --orange-d:    #ea580c;
  --orange-l:    #fed7aa;
  --teal:        #0f766e;
  --teal-l:      #5eead4;

  /* Text */
  --text:        #111110;
  --text-2:      #3c3c3a;
  --text-3:      #6b6b68;
  --text-4:      #a8a8a4;
  --text-inv:    #fafaf8;

  /* Misc */
  --radius:      14px;
  --radius-lg:   22px;
  --radius-xl:   32px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --shadow:      0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:   0 20px 48px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.08);
}

*, *::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: 'DM Sans', -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ================================================
   TYPOGRAPHY
   ================================================ */

h1, h2, h3, h4, h5 {
  font-family: 'Syne', sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.section__label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
}
.section__label--light {
  color: var(--orange-l);
}
.section__label--light::before {
  background: var(--orange-l);
}

.section__title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
}

.section__header {
  margin-bottom: 56px;
}

.section { padding: 100px 0; }

/* ================================================
   BUTTONS
   ================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--text);
  color: var(--bg);
}
.btn--primary:hover {
  background: var(--text-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn--orange {
  background: var(--orange);
  color: #fff;
}
.btn--orange:hover {
  background: var(--orange-d);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(249,115,22,.3);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-2);
}
.btn--outline:hover {
  background: rgba(0,0,0,0.04);
  border-color: var(--text-3);
}

.btn--lg { padding: 15px 30px; font-size: 0.975rem; border-radius: 10px; }
.btn--full { width: 100%; justify-content: center; padding: 16px; font-size: 0.975rem; }

/* ================================================
   REVEAL ANIMATION
   ================================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   NAV
   ================================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(250,250,248,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--orange);
  color: #fff;
  border-radius: 7px;
  font-size: 1rem;
  font-weight: 800;
  margin-right: 4px;
}
.logo-text { color: var(--text); }

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-3);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--text); }

.nav__cta { margin-left: 8px; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav__mobile {
  display: none;
  padding: 16px 28px 24px;
  background: rgba(250,250,248,0.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.nav__mobile.open { display: block; }
.nav__mobile ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.nav__mobile a {
  display: block;
  padding: 12px 0;
  color: var(--text-2);
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.nav__mobile li:last-child a { border: none; margin-top: 8px; }
.nav__mobile a:hover { color: var(--text); }

/* ================================================
   HERO
   ================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.hero__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.deco-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.deco-blob--1 {
  width: 500px; height: 500px;
  background: rgba(249,115,22,0.12);
  top: -100px; right: -100px;
}
.deco-blob--2 {
  width: 400px; height: 400px;
  background: rgba(15,118,110,0.09);
  bottom: -80px; left: 10%;
}
.deco-line {
  position: absolute;
  background: rgba(0,0,0,0.04);
}
.deco-line--h {
  width: 100%; height: 1px;
  top: 60%;
}
.deco-line--v {
  width: 1px; height: 100%;
  left: 55%;
  top: 0;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 24px;
  padding: 7px 14px;
  background: var(--bg-2);
  border-radius: 100px;
  border: 1px solid var(--border);
}
.eyebrow__dot {
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.hero__title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.05;
}
.hero__title-em {
  font-style: italic;
  color: var(--orange);
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--text-3);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat { text-align: left; }
.stat__num {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
}
.stat__unit {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--orange);
}
.stat__label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-4);
  font-weight: 500;
  margin-top: 2px;
}
.stat__divider {
  width: 1px;
  height: 36px;
  background: var(--border-2);
  flex-shrink: 0;
}

/* Hero Visual */
.hero__right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__visual {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 480px;
}

.hv-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  transition: transform 0.4s ease;
}
.hv-card:hover { transform: translateY(-4px) !important; }

/* AI Chat Card */
.hv-card--ai {
  top: 0; left: 0;
  width: 280px;
  animation: float-a 6s ease-in-out infinite;
}
.hv-card__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-3);
  font-family: 'Fira Code', monospace;
}
.hv-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.hv-dot--orange { background: var(--orange); }
.hv-prompt {
  font-size: 0.8rem;
  color: var(--text-2);
  background: var(--bg);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 10px;
  font-style: italic;
  line-height: 1.5;
}
.hv-reply {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.hv-reply__icon {
  width: 24px; height: 24px;
  background: var(--orange);
  color: #fff;
  border-radius: 6px;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Syne', sans-serif;
}
.hv-reply p {
  font-size: 0.78rem;
  color: var(--text-2);
  line-height: 1.5;
}

/* Metric Card */
.hv-card--metric {
  bottom: 60px; left: 20px;
  width: 200px;
  animation: float-b 7s ease-in-out infinite;
  text-align: center;
}
.hv-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-4);
  display: block;
}
.hv-metric-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1.1;
  margin: 4px 0;
}
.hv-bar-track {
  width: 100%;
  height: 4px;
  background: var(--bg-2);
  border-radius: 2px;
  margin-top: 12px;
  overflow: hidden;
}
.hv-bar-fill {
  width: 76%;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--teal));
  border-radius: 2px;
  animation: bar-grow 2s ease-out forwards;
}
@keyframes bar-grow {
  from { width: 0; }
  to { width: 76%; }
}

/* Stack Card */
.hv-card--stack {
  top: 120px; right: 0;
  width: 195px;
  animation: float-c 8s ease-in-out infinite;
}
.hv-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.hv-pills span {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--bg-2);
  color: var(--text-2);
  border: 1px solid var(--border);
}

/* Platforms Card */
.hv-card--platforms {
  bottom: 30px; right: 10px;
  width: 165px;
  display: flex;
  gap: 14px;
  animation: float-a 5s ease-in-out infinite reverse;
  padding: 16px 18px;
}
.hv-platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-3);
}
.hv-platform svg {
  width: 20px; height: 20px;
  color: var(--teal);
}

@keyframes float-a {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@keyframes float-b {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}
@keyframes float-c {
  0%, 100% { transform: translateY(-5px); }
  50% { transform: translateY(7px); }
}

/* ================================================
   MARQUEE STRIP
   ================================================ */

.marquee-strip {
  background: var(--text);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}
.marquee-track span {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  padding: 0 20px;
  font-family: 'Fira Code', monospace;
}
.marquee-track span[aria-hidden] {
  color: var(--orange);
  opacity: 0.7;
  padding: 0 6px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ================================================
   SERVICES — BENTO GRID
   ================================================ */

.services { background: var(--bg); }

.bento {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.bento-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.bento-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.bento-card--ai {
  background: var(--text);
  color: var(--text-inv);
  border-color: transparent;
  grid-row: 1;
  grid-column: 1;
}
.bento-card--mobile {
  background: #fff;
  grid-row: 1;
  grid-column: 2;
}
.bento-card--web {
  background: #fff;
  grid-row: 2;
  grid-column: 1 / 2;
  /* override: make it narrow */
}
.bento-card--consulting {
  background: linear-gradient(135deg, var(--teal) 0%, #0d9488 100%);
  color: var(--text-inv);
  border-color: transparent;
  grid-row: 2;
  grid-column: 2 / 3;
}

/* fix the layout so web is narrow and consulting is wide */
.bento {
  grid-template-columns: 1fr 2fr;
}
.bento-card--ai   { grid-column: 1; grid-row: 1; }
.bento-card--mobile { grid-column: 2; grid-row: 1; }
.bento-card--web   { grid-column: 1; grid-row: 2; }
.bento-card--consulting { grid-column: 2; grid-row: 2; }

.bento-card__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.55;
}
.bento-card--ai .bento-card__label,
.bento-card--consulting .bento-card__label { opacity: 0.6; }

.bento-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.bento-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 16px;
  opacity: 0.8;
}
.bento-card--ai p,
.bento-card--consulting p { opacity: 0.75; }

.bento-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 24px;
}
.bento-card ul li {
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
}
.bento-card ul li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}
.bento-card--consulting ul li::before { background: rgba(255,255,255,0.6); }

.bento-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s;
}
.bento-card--ai .bento-link {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}
.bento-card--ai .bento-link:hover { background: rgba(255,255,255,0.18); }
.bento-card--mobile .bento-link,
.bento-card--web .bento-link {
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--border);
}
.bento-card--mobile .bento-link:hover,
.bento-card--web .bento-link:hover { background: var(--border); }
.bento-card--consulting .bento-link {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.bento-card--consulting .bento-link:hover { background: rgba(255,255,255,0.22); }

/* Decorative icons */
.bento-card__deco {
  position: absolute;
  bottom: 24px;
  right: 24px;
  opacity: 0.12;
}
.bento-brain svg, .bento-spark svg {
  width: 90px; height: 90px;
  stroke-width: 0.5;
  color: #fff;
}
.bento-card__deco--alt { opacity: 0.15; }

/* ================================================
   WHY US — dark section
   ================================================ */

.why-us {
  background: var(--bg-dark);
  color: var(--text-inv);
  padding: 100px 0;
}

.why-us__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.why-us__left .section__title {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 20px;
}
.why-us__left em { color: var(--orange); font-style: italic; }
.why-us__left p {
  font-size: 0.975rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 400px;
}

.pillar {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.pillar:first-child { padding-top: 0; }
.pillar:last-child { border-bottom: none; padding-bottom: 0; }

.pillar__num {
  font-family: 'Fira Code', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--orange);
  width: 32px;
  height: 32px;
  border: 1px solid rgba(249,115,22,0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}

.pillar h4 {
  font-size: 0.975rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.pillar p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

/* ================================================
   TECH STACK
   ================================================ */

.tech-stack { background: var(--bg-2); }

.stack__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
}

.stack__cat-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 14px;
}

.stack__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.stack__tags span {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-2);
  background: #fff;
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 100px;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
  cursor: default;
}
.stack__tags span:hover {
  border-color: var(--orange);
  color: var(--orange-d);
  box-shadow: 0 2px 8px rgba(249,115,22,.15);
}

/* ================================================
   PROCESS
   ================================================ */

.process { background: var(--bg); }

.process__header {
  margin-bottom: 56px;
}

.process__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.process-item:last-child { border-bottom: none; }
.process-item:hover { background: rgba(249,115,22,.03); border-radius: var(--radius); padding-left: 20px; margin-left: -20px; padding-right: 20px; }

.process-item__num {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--border-2);
  line-height: 1;
}
.process-item:hover .process-item__num {
  color: var(--orange);
  -webkit-text-stroke: 0;
}

.process-item__body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.process-item__body p {
  font-size: 0.875rem;
  color: var(--text-3);
  line-height: 1.7;
  max-width: 520px;
}

.process-item__tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal);
  background: rgba(15,118,110,0.08);
  border: 1px solid rgba(15,118,110,0.15);
  padding: 5px 12px;
  border-radius: 100px;
  white-space: nowrap;
  font-family: 'Fira Code', monospace;
}

/* ================================================
   PORTFOLIO
   ================================================ */

.portfolio { background: var(--bg-2); }

.portfolio__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}
.project-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.project-card__visual {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-mockup {
  width: 180px;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.pm-bar { height: 7px; background: rgba(255,255,255,0.3); border-radius: 3px; width: 55%; }
.pm-line { height: 5px; background: rgba(255,255,255,0.15); border-radius: 2px; }
.pm-line--sm { width: 65%; }
.pm-box { height: 44px; background: rgba(255,255,255,0.1); border-radius: 6px; }
.pm-box--sm { height: 28px; }
.pm-row { display: flex; gap: 6px; }
.pm-chip { height: 16px; background: rgba(255,255,255,0.2); border-radius: 3px; flex: 1; }

.project-mockup--mobile {
  background: none;
  border: none;
  padding: 0;
  width: auto;
}
.pm-phone {
  width: 85px;
  background: rgba(0,0,0,0.3);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 18px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pm-notch {
  width: 28px; height: 5px;
  background: rgba(255,255,255,0.25);
  border-radius: 3px;
  margin: 0 auto 4px;
}

.project-card__body { padding: 24px; }

.project-card__tags {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.project-card__tags span {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange-d);
  background: rgba(249,115,22,0.08);
  border: 1px solid rgba(249,115,22,0.18);
  padding: 3px 10px;
  border-radius: 100px;
}

.project-card__body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.project-card__body p {
  font-size: 0.85rem;
  color: var(--text-3);
  line-height: 1.7;
  margin-bottom: 14px;
}
.project-card__stack {
  font-size: 0.72rem;
  font-family: 'Fira Code', monospace;
  color: var(--text-4);
}

/* ================================================
   TESTIMONIALS
   ================================================ */

.testimonials { background: var(--bg); }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tcard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: all 0.3s;
}
.tcard:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: rgba(249,115,22,0.25);
}

.tcard__quote {
  font-family: 'Syne', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: var(--orange-l);
  line-height: 0.8;
  margin-bottom: 16px;
  display: block;
}

.tcard > p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 24px;
}

.tcard__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tcard__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}
.tcard__author strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
}
.tcard__author span {
  font-size: 0.78rem;
  color: var(--text-4);
}

/* ================================================
   CTA SECTION
   ================================================ */

.cta-section {
  background: var(--bg-2);
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cta-section__left h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text);
}
.cta-em {
  color: var(--orange);
  font-style: italic;
}

.cta-section__right p {
  font-size: 1rem;
  color: var(--text-3);
  line-height: 1.8;
  margin-bottom: 28px;
}

.cta-section__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-email {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-3);
  border-bottom: 1px solid var(--border-2);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.cta-email:hover {
  color: var(--orange);
  border-color: var(--orange);
}

/* ================================================
   CONTACT
   ================================================ */

.contact { background: var(--bg); }

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact__left .section__title {
  text-align: left;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  margin-bottom: 12px;
}
.contact__left > p {
  font-size: 0.95rem;
  color: var(--text-3);
  margin-bottom: 32px;
}

.contact__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact__meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-2);
  font-weight: 500;
  transition: color 0.2s;
}
.contact__meta-item:hover { color: var(--orange); }
.contact__meta-item svg {
  width: 18px; height: 18px;
  color: var(--orange);
  flex-shrink: 0;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-3);
}

.form__group input,
.form__group select,
.form__group textarea {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 9px;
  padding: 12px 15px;
  font-size: 0.9rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.form__group input::placeholder,
.form__group textarea::placeholder { color: var(--text-4); }
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.1);
  background: #fff;
}

.form__group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a8a8a4'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}
.form__group textarea { resize: vertical; min-height: 120px; }

.form__note {
  font-size: 0.75rem;
  color: var(--text-4);
  text-align: center;
}
.form__error {
  font-size: 0.8rem;
  color: #dc2626;
  text-align: center;
  padding: 8px 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
}

/* Form success */
.form-success {
  text-align: center;
  padding: 48px 24px;
  background: #fff;
  border: 1px solid rgba(15,118,110,0.25);
  border-radius: var(--radius-xl);
}
.form-success__icon {
  width: 64px; height: 64px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: #fff;
}
.form-success h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.form-success p { color: var(--text-3); font-size: 0.9rem; }

/* ================================================
   FOOTER
   ================================================ */

.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.6);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 80px;
  padding: 64px 0 40px;
  align-items: start;
}

.footer .nav__logo { display: inline-flex; margin-bottom: 16px; }
.footer .logo-text { color: rgba(255,255,255,0.85); }
.footer .logo-mark { background: var(--orange); }

.footer__brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer__social {
  display: flex;
  gap: 10px;
}
.footer__social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: all 0.2s;
}
.footer__social a:hover {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
}
.footer__social svg { width: 15px; height: 15px; }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer__col h5 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.footer__col a:hover { color: rgba(255,255,255,0.8); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 28px;
}
.footer__bottom-inner span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__right { display: none; }
  .hero__left { max-width: 640px; }
  .why-us__inner { grid-template-columns: 1fr; gap: 48px; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .cta-section__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .stack__grid { grid-template-columns: repeat(3, 1fr); }
  .portfolio__list { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-card--ai { grid-column: 1; grid-row: 1; }
  .bento-card--mobile { grid-column: 2; grid-row: 1; }
  .bento-card--web { grid-column: 1; grid-row: 2; }
  .bento-card--consulting { grid-column: 2; grid-row: 2; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .hero__title { font-size: 2.6rem; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; max-width: 320px; justify-content: center; }
  .hero__stats { gap: 20px; }
  .stat__divider { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento-card--ai,
  .bento-card--mobile,
  .bento-card--web,
  .bento-card--consulting { grid-column: 1; grid-row: auto; }
  .process-item { grid-template-columns: 48px 1fr; }
  .process-item__tag { display: none; }
  .portfolio__list { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .stack__grid { grid-template-columns: 1fr 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
  .form__row { grid-template-columns: 1fr; }
  .contact__form { padding: 24px; border-radius: var(--radius-lg); }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__title { font-size: 2.1rem; }
  .stack__grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
}
