/* ============================================
   SMART ADS DEVELOPMENT — Landing Page
   Brand: Black / White / Golden Yellow
   ============================================ */

:root {
  --yellow: #F5C400;
  --yellow-hover: #E0B200;
  --yellow-soft: #FFF6D6;
  --black: #0A0A0A;
  --black-soft: #141414;
  --black-elevated: #1A1A1A;
  --white: #FFFFFF;
  --warm-gray: #F4F2EE;
  --warm-gray-2: #E8E5DF;
  --text: #1A1A1A;
  --text-muted: #5C5C5C;
  --border: #E2DED6;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.04);
  --shadow-md: 0 4px 8px rgba(0,0,0,.04), 0 12px 32px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.08), 0 24px 48px rgba(0,0,0,.1);
  --font: "Cairo", system-ui, sans-serif;
  --font-brand: "Instrument Serif", Georgia, serif;
  --header-h: 72px;
  --sticky-h: 64px;
  --container: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --transition: 220ms var(--ease);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 0;
}

@media (max-width: 768px) {
  body { padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px)); }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; cursor: pointer; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; border: none; background: none; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.narrow { width: min(100% - 40px, 720px); }
.text-center { text-align: center; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black);
}

h1 { font-size: clamp(2rem, 4.2vw, 3.35rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); }
h3 { font-size: 1.2rem; }

.highlight {
  background: linear-gradient(transparent 62%, var(--yellow-soft) 62%);
  box-decoration-break: clone;
}

.section {
  padding: clamp(64px, 10vw, 112px) 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-head p {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-head.center,
.text-center .section-head {
  margin-inline: auto;
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 24px;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
  border: 1.5px solid transparent;
  line-height: 1.2;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 2px 0 rgba(0,0,0,.08), 0 8px 20px rgba(245, 196, 0, .28);
}
.btn--primary:hover {
  background: var(--yellow-hover);
  box-shadow: 0 4px 0 rgba(0,0,0,.06), 0 12px 28px rgba(245, 196, 0, .35);
}

.btn--outline {
  background: transparent;
  border-color: var(--black);
  color: var(--black);
}
.btn--outline:hover { background: var(--black); color: var(--white); }

.btn--ghost {
  background: transparent;
  color: var(--black);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--black); }

.btn--outline-light {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.35);
  color: var(--white);
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  display: inline-flex;
  margin-top: 8px;
}
.btn--outline-light:hover { border-color: var(--yellow); color: var(--yellow); }

.btn--outline-on-dark {
  background: transparent;
  border-color: rgba(255,255,255,.4);
  color: var(--white);
}
.btn--outline-on-dark:hover { background: var(--white); color: var(--black); }

.btn--whatsapp {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
}
.btn--whatsapp:hover {
  background: #1ebe57;
  border-color: #1ebe57;
  color: #fff;
}

.btn--sm { padding: 9px 16px; font-size: .9rem; }
.btn--lg { padding: 15px 28px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand__logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
}

.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  letter-spacing: .04em;
  color: var(--black);
}
.brand__sub {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav {
  display: flex;
  gap: 28px;
  font-weight: 600;
  font-size: .95rem;
}

.nav a {
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav a:hover { color: var(--black); }
.nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -4px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: right;
}
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--black);
  transition: var(--transition);
}
.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(-45deg);
}
.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(45deg);
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(245,196,0,.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(0,0,0,.03), transparent 50%),
    var(--warm-gray);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.hero-brand__mark {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.hero-brand__name {
  display: block;
  font-family: var(--font-brand);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: .03em;
  color: var(--black);
  line-height: 1;
}
.hero-brand__div {
  display: block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .28em;
  color: var(--text-muted);
  margin-top: 6px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 3px rgba(245,196,0,.25);
}

.hero h1 { margin-bottom: 16px; }

.hero-sub {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 12px;
  max-width: 36ch;
}
.hero-sub strong {
  background: var(--yellow);
  padding: 0 6px;
  border-radius: 4px;
}

.hero-desc {
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 42ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-ctas--center { justify-content: center; }

.trust-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin-bottom: 20px;
}
.trust-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--text);
}

.check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
  position: relative;
}
.check::after {
  content: "";
  position: absolute;
  inset: 4px 5px 5px 4px;
  border: 2px solid var(--black);
  border-top: 0;
  border-inline-start: 0;
  transform: rotate(40deg);
}

.price-micro {
  font-size: .88rem;
  color: var(--text-muted);
  font-weight: 500;
  padding-top: 4px;
  border-top: 1px solid var(--border);
  display: inline-block;
}
.price-micro--light {
  color: rgba(255,255,255,.65);
  border-top-color: rgba(255,255,255,.15);
  margin-top: 24px;
}

/* ---------- Device Mockups ---------- */
.hero-visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-stack {
  position: relative;
  width: 100%;
  max-width: 520px;
  height: 440px;
  margin-inline: auto;
}

.mock {
  position: absolute;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  background: var(--white);
  border: 1px solid var(--border);
}

/* Laptop */
.mock-laptop {
  inset-inline-end: 8%;
  bottom: 24px;
  width: 78%;
  z-index: 2;
  border-radius: 12px 12px 4px 4px;
  overflow: hidden;
  background: var(--black);
  border: none;
  box-shadow: var(--shadow-lg), 0 20px 40px rgba(0,0,0,.18);
}
.mock-laptop__screen {
  background: #111;
  padding: 10px 10px 0;
  aspect-ratio: 16/10;
}
.mock-laptop__base {
  height: 10px;
  background: linear-gradient(#2a2a2a, #1a1a1a);
  border-radius: 0 0 4px 4px;
  position: relative;
}
.mock-laptop__base::after {
  content: "";
  position: absolute;
  inset-inline: 20%;
  bottom: -6px;
  height: 6px;
  background: #222;
  border-radius: 0 0 8px 8px;
}

.mock-web {
  background: var(--white);
  border-radius: 6px 6px 0 0;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mock-web__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  background: var(--warm-gray);
}
.mock-web__nav b {
  width: 48px; height: 10px;
  background: var(--yellow);
  border-radius: 2px;
}
.mock-web__nav span {
  width: 28px; height: 6px;
  background: var(--warm-gray-2);
  border-radius: 2px;
}
.mock-web__nav em {
  margin-inline-start: auto;
  width: 36px; height: 14px;
  background: var(--black);
  border-radius: 999px;
}
.mock-web__hero {
  padding: 18px 16px 12px;
  background: linear-gradient(135deg, #0a0a0a 0%, #222 100%);
  flex: 1;
}
.mock-web__title {
  width: 55%; height: 10px;
  background: var(--yellow);
  border-radius: 2px;
  margin-bottom: 8px;
}
.mock-web__sub {
  width: 70%; height: 6px;
  background: rgba(255,255,255,.25);
  border-radius: 2px;
  margin-bottom: 12px;
}
.mock-web__cta {
  width: 48px; height: 14px;
  background: var(--yellow);
  border-radius: 999px;
}
.mock-web__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 10px 12px;
}
.mock-web__grid i {
  height: 28px;
  background: var(--warm-gray);
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* Phone */
.mock-phone {
  inset-inline-start: 0;
  bottom: 40px;
  width: 118px;
  height: 240px;
  z-index: 3;
  border-radius: 22px;
  background: var(--black);
  border: 3px solid #222;
  padding: 8px 6px;
  overflow: hidden;
}
.mock-phone__notch {
  width: 40px; height: 5px;
  background: #333;
  border-radius: 999px;
  margin: 0 auto 8px;
}
.mock-app {
  background: var(--white);
  border-radius: 12px;
  height: calc(100% - 14px);
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-app__header span {
  display: block;
  width: 40%; height: 6px;
  background: var(--black);
  border-radius: 2px;
}
.mock-app__card {
  height: 52px;
  border-radius: 8px;
  background: var(--warm-gray);
  border: 1px solid var(--border);
}
.mock-app__card.accent {
  background: linear-gradient(135deg, var(--yellow), #f0d060);
  border: none;
}
.mock-app__list { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.mock-app__list i {
  height: 18px;
  background: var(--warm-gray);
  border-radius: 4px;
}
.mock-app__nav {
  display: flex;
  justify-content: space-around;
  padding-top: 6px;
  border-top: 1px solid var(--border);
}
.mock-app__nav b {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--warm-gray-2);
}
.mock-app__nav b.on { background: var(--yellow); }

/* Dashboard floating */
.mock-dash {
  inset-inline-end: 0;
  top: 0;
  width: 58%;
  z-index: 1;
  overflow: hidden;
  opacity: .97;
}
.mock-dash__bar {
  display: flex; gap: 4px; padding: 8px 10px;
  background: var(--black);
}
.mock-dash__bar span {
  width: 6px; height: 6px; border-radius: 50%;
  background: #444;
}
.mock-dash__bar span:first-child { background: var(--yellow); }
.mock-dash__body { display: flex; height: 130px; }
.mock-dash__sidebar {
  width: 28px;
  background: var(--black-soft);
}
.mock-dash__main {
  flex: 1;
  padding: 10px;
  background: var(--warm-gray);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-dash__kpi { display: flex; gap: 6px; }
.mock-dash__kpi i {
  flex: 1; height: 28px;
  background: var(--white);
  border-radius: 4px;
  border: 1px solid var(--border);
}
.mock-dash__chart {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  padding: 4px;
  background: var(--white);
  border-radius: 4px;
  border: 1px solid var(--border);
}
.mock-dash__chart .bar {
  flex: 1;
  height: var(--h);
  background: var(--warm-gray-2);
  border-radius: 2px 2px 0 0;
}
.mock-dash__chart .bar.accent { background: var(--yellow); }

.float-a { animation: floatY 6s ease-in-out infinite; }
.float-b { animation: floatY 7s ease-in-out infinite reverse; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Problem ---------- */
.problem { background: var(--white); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.problem-card {
  padding: 28px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--yellow);
}
.problem-card__icon {
  font-weight: 800;
  font-size: .85rem;
  color: var(--black);
  background: var(--yellow);
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 8px;
  margin-bottom: 16px;
}
.problem-card h3 { margin-bottom: 8px; }
.problem-card p { color: var(--text-muted); font-size: .92rem; }

.transition-line {
  text-align: center;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 800;
  color: var(--text-muted);
}
.transition-line span {
  color: var(--black);
  background: var(--yellow);
  padding: 2px 10px;
  border-radius: 6px;
}

/* ---------- Services ---------- */
.services { background: var(--warm-gray); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  transition: transform var(--transition), box-shadow var(--transition);
  min-height: 340px;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.service-card__tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--yellow-soft);
  border: 1px solid rgba(245,196,0,.4);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.service-card h3 { margin-bottom: 10px; font-size: 1.25rem; }
.service-card p { color: var(--text-muted); font-size: .95rem; }
.service-card__price {
  display: block;
  font-weight: 800;
  font-size: .95rem;
  margin-bottom: 14px;
  color: var(--black);
}

/* ---------- USP Compare ---------- */
.usp { background: var(--white); }

.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 36px;
}

.compare-col {
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border);
}
.compare-col h3 {
  font-size: 1.15rem;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.compare-col ul { display: flex; flex-direction: column; gap: 14px; }
.compare-col li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
}
.compare-col li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.compare-col--left {
  background: var(--warm-gray);
  color: var(--text-muted);
}
.compare-col--left li::before { background: #B0ABA3; }

.compare-col--right {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  box-shadow: var(--shadow-lg);
}
.compare-col--right h3 {
  color: var(--yellow);
  border-bottom-color: rgba(255,255,255,.12);
}
.compare-col--right li::before { background: var(--yellow); }

.compare-vs {
  align-self: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
  font-size: .8rem;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}

.usp-highlight {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 28px;
  color: var(--black);
}

/* ---------- Tech ---------- */
.tech { background: var(--warm-gray); }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.tech-cat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.tech-cat:hover {
  border-color: var(--yellow);
  box-shadow: var(--shadow-sm);
}
.tech-cat--wide { grid-column: 1 / -1; }
.tech-cat h4 {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-weight: 700;
}
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-tags span {
  font-weight: 700;
  font-size: .9rem;
  padding: 8px 14px;
  background: var(--warm-gray);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--black);
}

/* ---------- Process ---------- */
.process { background: var(--white); }

.process-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  position: relative;
}
.process-timeline::before {
  content: "";
  position: absolute;
  top: 22px;
  inset-inline: 4%;
  height: 2px;
  background: linear-gradient(to left, var(--border), var(--yellow), var(--border));
  z-index: 0;
}
.process-timeline li {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 4px;
}
.process-num {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
  font-size: .85rem;
  margin-bottom: 16px;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--border);
}
.process-timeline h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.process-timeline p {
  font-size: .85rem;
  color: var(--text-muted);
}

/* ---------- Portfolio ---------- */
.portfolio { background: var(--warm-gray); }

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-btn {
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.filter-btn.active {
  box-shadow: inset 0 -2px 0 var(--yellow);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.project-card.hidden,
.project-card[hidden] {
  display: none !important;
}
.portfolio-more {
  display: flex;
  justify-content: center;
  margin: 28px 0 8px;
}
.portfolio-more[hidden] {
  display: none !important;
}
.portfolio-loading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  padding: 40px 16px;
  font-weight: 600;
}

.project-shot {
  display: block;
  height: 180px;
  background: var(--black-soft);
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.project-shot__chrome {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  background: #1a1a1a;
}

.project-shot__chrome span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #444;
}

.project-shot__chrome span:nth-child(1) { background: var(--yellow); }
.project-shot__chrome span:nth-child(2) { background: #666; }
.project-shot__chrome span:nth-child(3) { background: #555; }

.project-shot__chrome em {
  margin-inline-start: 8px;
  font-style: normal;
  font-size: .68rem;
  color: rgba(255,255,255,.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  direction: ltr;
  flex: 1;
}

.project-shot__frame {
  position: relative;
  height: calc(100% - 30px);
  background: linear-gradient(145deg, #111 0%, #2a2a2a 100%);
  overflow: hidden;
}

.project-shot__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .5s var(--ease);
}

.project-card:hover .project-shot__frame img {
  transform: scale(1.04);
}

.project-shot__fallback {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px;
  text-align: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(245,196,0,.25), transparent 50%),
    linear-gradient(160deg, #0a0a0a, #1f1f1f);
  color: var(--white);
}

.project-shot__frame.is-fallback .project-shot__fallback {
  display: flex;
}

.project-shot__fallback strong {
  font-size: 1rem;
  color: var(--yellow);
}

.project-shot__fallback span {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  direction: ltr;
}

.project-domain {
  font-size: .82rem !important;
  direction: ltr;
  text-align: right;
  color: var(--text-muted);
  margin-bottom: 10px !important;
}

.portfolio-why {
  margin-top: 48px;
  padding: 28px 28px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.portfolio-why h3 {
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.portfolio-why ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}

.portfolio-why li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  font-size: .95rem;
}

.portfolio-why li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
  margin-top: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.form-success--error {
  background: rgba(239, 68, 68, .15) !important;
  border-color: #ef4444 !important;
  color: #fecaca !important;
}

@media (max-width: 640px) {
  .portfolio-why ul { grid-template-columns: 1fr; }
}

.project-card__visual {
  height: 160px;
  background: var(--black-soft);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pv-chrome {
  display: flex; gap: 4px; padding: 6px 8px;
  background: #1f1f1f;
  border-radius: 6px 6px 0 0;
}
.pv-chrome span {
  width: 5px; height: 5px; border-radius: 50%; background: #444;
}
.pv-chrome span:nth-child(1) { background: var(--yellow); }

.pv-body {
  background: var(--white);
  border-radius: 0 0 6px 6px;
  padding: 10px;
  width: 100%;
  height: 110px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pv-hero {
  flex: 1;
  background: linear-gradient(135deg, #0a0a0a, #2a2a2a);
  border-radius: 4px;
  position: relative;
}
.pv-hero::after {
  content: "";
  position: absolute;
  inset-inline-start: 12px;
  bottom: 12px;
  width: 40%; height: 6px;
  background: var(--yellow);
  border-radius: 2px;
}
.pv-rows { display: flex; gap: 6px; }
.pv-rows i { flex: 1; height: 20px; background: var(--warm-gray); border-radius: 3px; }

.pv-shop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pv-product {
  background: var(--warm-gray);
  border-radius: 4px;
  border: 1px solid var(--border);
}
.pv-product.accent { background: var(--yellow-soft); border-color: var(--yellow); }

.project-visual--app { background: #111; }
.pv-phone-frame {
  width: 72px; height: 128px;
  background: var(--black);
  border: 2px solid #333;
  border-radius: 12px;
  padding: 6px;
}
.pv-app-ui {
  background: var(--white);
  height: 100%;
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pv-app-ui b { height: 28px; background: var(--yellow); border-radius: 4px; }
.pv-app-ui i { height: 12px; background: var(--warm-gray); border-radius: 2px; }
.pv-app-ui em { margin-top: auto; height: 16px; background: var(--black); border-radius: 999px; }

.pv-calendar { flex-direction: row; }
.pv-cal { flex: 1.2; background: var(--warm-gray); border-radius: 4px; }
.pv-slots { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.pv-slots i { flex: 1; background: var(--warm-gray); border-radius: 3px; }
.pv-slots i.on { background: var(--yellow); }

.pv-crm { flex-direction: row; padding: 0; height: 110px; }
.pv-crm aside { width: 28%; background: var(--black); }
.pv-crm main { flex: 1; padding: 8px; display: flex; flex-direction: column; gap: 5px; }
.pv-crm main i { flex: 1; background: var(--warm-gray); border-radius: 3px; }

.pv-dash2 { gap: 6px; }
.pv-kpis { display: flex; gap: 4px; }
.pv-kpis i { flex: 1; height: 24px; background: var(--warm-gray); border-radius: 3px; }
.pv-chart-line {
  flex: 1;
  background:
    linear-gradient(transparent 60%, rgba(245,196,0,.2) 60%),
    repeating-linear-gradient(90deg, transparent, transparent 12px, var(--border) 12px, var(--border) 13px);
  border-radius: 4px;
  position: relative;
}
.pv-chart-line::after {
  content: "";
  position: absolute;
  inset: 20% 8% 25% 8%;
  border-bottom: 2px solid var(--yellow);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.pv-edu .pv-course {
  flex: 1;
  background: linear-gradient(135deg, var(--black), #333);
  border-radius: 4px;
}
.pv-progress {
  height: 8px;
  background: var(--warm-gray);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}
.pv-progress::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 65%;
  background: var(--yellow);
}

.pv-custom { justify-content: center; align-items: center; }
.pv-nodes {
  display: flex;
  gap: 16px;
  align-items: center;
  position: relative;
}
.pv-nodes::before {
  content: "";
  position: absolute;
  inset-inline: 10%;
  height: 2px;
  background: var(--yellow);
}
.pv-nodes i {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--black);
  position: relative;
  z-index: 1;
  border: 2px solid var(--yellow);
}

.project-card__info { padding: 18px 18px 20px; }
.project-cat {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.project-card__info h3 { margin: 6px 0 8px; font-size: 1.05rem; }
.project-card__info p {
  color: var(--text-muted);
  font-size: .88rem;
  margin-bottom: 12px;
}
.project-link {
  font-weight: 800;
  font-size: .9rem;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.project-link:hover { gap: 8px; color: var(--yellow-hover); }

/* ---------- Why ---------- */
.why { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.why-card {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
}
.why-card:hover {
  transform: translateY(-3px);
  border-color: var(--yellow);
  box-shadow: var(--shadow-sm);
}
.why-num {
  font-weight: 800;
  font-size: .8rem;
  color: var(--black);
  background: var(--yellow);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 14px;
}
.why-card h3 { margin-bottom: 8px; }
.why-card p { color: var(--text-muted); font-size: .95rem; }

/* ---------- Pricing ---------- */
.pricing { background: var(--warm-gray); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.price-card--featured {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}
.price-card--featured:hover { transform: scale(1.02) translateY(-4px); }
.price-card--featured h3,
.price-card--featured .price-card__amount { color: var(--white); }
.price-card--featured ul li { color: rgba(255,255,255,.85); }
.price-card--featured ul li::before { color: var(--yellow); }

.price-badge {
  position: absolute;
  top: -12px;
  inset-inline-end: 24px;
  background: var(--yellow);
  color: var(--black);
  font-size: .75rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
}

.price-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}
.price-card__amount {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.price-card--featured .price-card__amount {
  border-bottom-color: rgba(255,255,255,.12);
}
.price-card__amount strong {
  font-size: 1.6rem;
  color: var(--black);
  font-weight: 800;
}
.price-card--featured .price-card__amount strong { color: var(--yellow); }

.price-card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex: 1;
}
.price-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: .95rem;
}
.price-card li::before {
  content: "✓";
  color: var(--black);
  font-weight: 800;
  background: var(--yellow);
  width: 20px; height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .7rem;
  flex-shrink: 0;
}

.pricing-note {
  margin-top: 28px;
  text-align: center;
  font-size: .88rem;
  color: var(--text-muted);
}

.price-card__meta {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-muted);
  margin: -12px 0 20px;
  padding: 6px 12px;
  background: var(--warm-gray);
  border-radius: 999px;
  display: inline-block;
}
.price-card--featured .price-card__meta {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
}

.guarantee {
  margin-top: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  background: var(--white);
  border: 2px solid var(--yellow);
  border-radius: var(--radius-lg);
}
.guarantee__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--yellow);
  color: var(--black);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.guarantee__text h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.guarantee__text ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}
.guarantee__text li {
  display: flex;
  gap: 8px;
  font-size: .92rem;
  font-weight: 600;
}
.guarantee__text li::before {
  content: "✓";
  color: #16a34a;
  font-weight: 800;
}

.process-time {
  display: inline-block;
  margin-top: 8px;
  font-size: .72rem;
  font-weight: 800;
  color: var(--text-muted);
  background: var(--warm-gray);
  padding: 3px 10px;
  border-radius: 999px;
}

/* Trust bar */
.trust-bar {
  padding: 32px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.trust-bar__label {
  text-align: center;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.trust-bar__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 36px);
  flex-wrap: wrap;
}
.trust-name {
  font-weight: 800;
  font-size: .92rem;
  color: var(--text-muted);
  opacity: .7;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--warm-gray);
  transition: var(--transition);
}
.trust-name--featured {
  opacity: 1;
  color: var(--black);
  background: var(--yellow);
  border-color: var(--yellow);
}

.case-study--flagship {
  padding: 36px;
  margin-bottom: 24px;
  background: var(--warm-gray);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-bottom: 1px solid var(--border);
}
.case-study--flagship .case-study__visual {
  position: relative;
}
.case-featured-badge {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  z-index: 2;
  background: var(--yellow);
  color: var(--black);
  font-size: .72rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
}
.case-url {
  margin: -8px 0 16px;
  font-size: .9rem;
}
.case-url a {
  color: var(--text-muted);
  font-weight: 700;
  direction: ltr;
  display: inline-block;
}
.case-url a:hover { color: var(--black); }
.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-card--featured {
  border-color: var(--yellow);
  box-shadow: var(--shadow-md);
}
.project-featured {
  position: absolute;
  top: 38px;
  inset-inline-start: 10px;
  z-index: 2;
  background: var(--yellow);
  color: var(--black);
  font-size: .65rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}
.project-shot { position: relative; }
.project-desc {
  font-size: .88rem !important;
  color: var(--text-muted);
  margin-bottom: 10px !important;
}

.section-head a {
  color: var(--black);
  font-weight: 800;
  border-bottom: 2px solid var(--yellow);
}
.section-head a:hover { color: var(--yellow-hover); }

@media (max-width: 900px) {
  .case-study--flagship { padding: 20px; }
}

/* Stats */
.stats {
  padding: 56px 0;
  background: var(--black);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
}
.stat-plus {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--yellow);
}
.stat-item p {
  margin-top: 10px;
  color: rgba(255,255,255,.7);
  font-size: .92rem;
  font-weight: 600;
}

.form-row--hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 700px) {
  .guarantee { flex-direction: column; }
  .guarantee__text ul { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .trust-bar__logos { gap: 10px; }
  .trust-name { font-size: .78rem; padding: 6px 10px; }
}

/* ---------- Lead Form ---------- */
.lead {
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.lead::before {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,196,0,.15), transparent 70%);
  top: -120px;
  inset-inline-end: -100px;
  pointer-events: none;
}

.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  position: relative;
}

.lead-copy h2 { color: var(--white); margin-bottom: 14px; }
.lead-copy > p {
  color: rgba(255,255,255,.7);
  font-size: 1.1rem;
  margin-bottom: 28px;
  max-width: 36ch;
}
.lead-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.lead-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.lead-wa {
  margin-top: 8px;
  color: rgba(255,255,255,.7);
  font-size: .95rem;
}
.lead-wa a {
  color: #25D366;
  font-weight: 700;
}
.lead-wa a:hover { color: #3be07a; }

.lead-form {
  background: var(--black-elevated);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label {
  font-weight: 700;
  font-size: .9rem;
  color: rgba(255,255,255,.85);
}
.form-row label .optional {
  font-weight: 500;
  color: rgba(255,255,255,.4);
  font-size: .8rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  background: var(--black);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 48px;
}
.form-row textarea { min-height: 110px; resize: vertical; }
.form-row select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23F5C400' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  padding-inline-start: 36px;
}
.form-row select option { background: var(--black); color: var(--white); }

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(245,196,0,.2);
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: rgba(255,255,255,.35); }

.form-row input.error,
.form-row select.error,
.form-row textarea.error {
  border-color: #ef4444;
}

.form-reassure {
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  margin-top: -4px;
}
.form-reassure a {
  color: rgba(255,255,255,.7);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-reassure a:hover { color: var(--yellow); }

.form-success {
  background: rgba(245,196,0,.15);
  border: 1px solid var(--yellow);
  color: var(--yellow);
  padding: 14px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 700;
}

/* ---------- FAQ ---------- */
.faq { background: var(--white); }

.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item[open] {
  border-color: var(--yellow);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  padding: 18px 22px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--warm-gray);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 400;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}
.faq-item[open] summary::after {
  content: "−";
  background: var(--yellow);
}
.faq-item summary:hover { background: var(--warm-gray); }
.faq-item p {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: .98rem;
}

/* ---------- Final CTA ---------- */
.final-cta {
  background:
    linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
  color: var(--white);
  text-align: center;
  position: relative;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(245,196,0,.12), transparent 60%);
  pointer-events: none;
}
.final-cta .container { position: relative; }
.final-cta h2 { color: var(--white); margin-bottom: 14px; }
.final-cta > .container > p,
.final-cta p:not(.price-micro) {
  color: rgba(255,255,255,.7);
  max-width: 48ch;
  margin-inline: auto;
  margin-bottom: 28px;
  font-size: 1.08rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,.7);
  padding-top: 56px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 40px;
  padding-bottom: 40px;
  align-items: start;
}

.footer-brand .brand__name { color: var(--white); }
.footer-brand .brand__sub { color: rgba(255,255,255,.5); }
.footer-tagline {
  margin-top: 16px;
  font-family: var(--font-brand);
  font-size: 1.15rem;
  color: var(--yellow);
  font-style: italic;
}
.footer-msg {
  margin-top: 12px;
  font-size: .95rem;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-weight: 600;
}
.footer-links a:hover { color: var(--yellow); }

.footer-social { display: flex; gap: 10px; }
.social-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: var(--transition);
}
.social-icon:hover {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  font-size: .85rem;
  text-align: center;
}
.footer-bottom__row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  align-items: center;
  text-align: start;
}
.footer-bottom__row a {
  color: rgba(255,255,255,.55);
  font-weight: 600;
}
.footer-bottom__row a:hover { color: var(--yellow); }

/* ---------- Legal / Privacy ---------- */
.legal-page .site-header { position: sticky; }
.legal {
  background: var(--warm-gray);
  padding: 48px 0 72px;
  min-height: 70vh;
}
.legal__wrap {
  max-width: 760px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
}
.legal__eyebrow {
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 10px;
}
.legal__head h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 10px;
  color: var(--black);
}
.legal__meta {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.legal__body h2 {
  font-size: 1.2rem;
  margin: 28px 0 12px;
  color: var(--black);
}
.legal__body h3 {
  font-size: 1.02rem;
  margin: 18px 0 8px;
  color: var(--black);
}
.legal__body p,
.legal__body li {
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 10px;
}
.legal__body ul {
  padding-inline-start: 1.2rem;
  margin: 0 0 14px;
  list-style: disc;
}
.legal__body a {
  color: var(--black);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal__body a:hover { color: var(--yellow-hover); }
.legal__back {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.legal__back .btn { text-decoration: none; }

@media (max-width: 640px) {
  .footer-bottom__row {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
}

/* ---------- Sticky Mobile CTA ---------- */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 200;
  background: rgba(10,10,10,.96);
  backdrop-filter: blur(10px);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 -8px 24px rgba(0,0,0,.3);
}

.sticky-cta__primary {
  flex: 1.4;
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
  text-align: center;
  padding: 14px;
  border-radius: 999px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sticky-cta__whatsapp {
  flex: 1;
  background: #25D366;
  color: var(--white);
  font-weight: 800;
  text-align: center;
  padding: 14px;
  border-radius: 999px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet ~1024 */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { min-height: 360px; order: -1; }
  .device-stack { height: 380px; max-width: 440px; }

  .problem-grid,
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .process-timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 16px;
  }
  .process-timeline::before { display: none; }

  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }

  .compare {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .compare-vs { margin-inline: auto; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .price-card--featured { transform: none; }
  .price-card--featured:hover { transform: translateY(-4px); }

  .lead-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Nav collapse */
@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    inset-inline: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
    z-index: 99;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav a {
    padding: 14px 8px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--warm-gray);
  }
  .nav-toggle { display: flex; }
  .header-actions .btn--ghost { display: none; }
}

/* Mobile ~390/430 */
@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--container)); }
  .sticky-cta { display: flex; }

  .brand__text { display: none; }
  .header-actions .btn--sm:not(.btn--primary) { display: none; }

  .hero { padding-top: 28px; }
  .trust-points { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }

  .device-stack { height: 300px; }
  .mock-phone { width: 90px; height: 185px; bottom: 20px; }
  .mock-dash { width: 52%; }

  .problem-grid,
  .services-grid,
  .why-grid,
  .tech-grid { grid-template-columns: 1fr; }

  .service-card { min-height: auto; }

  .process-timeline { grid-template-columns: 1fr 1fr; }

  .portfolio-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 8px;
    margin-inline: -14px;
    padding-inline: 14px;
    -webkit-overflow-scrolling: touch;
  }
  .project-card {
    min-width: 280px;
    scroll-snap-align: start;
    flex-shrink: 0;
  }

  .portfolio-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .filter-btn { flex-shrink: 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-social { justify-content: flex-start; }

  .section-head { margin-bottom: 28px; }
}

/* Desktop 1440+ comfort */
@media (min-width: 1440px) {
  :root { --container: 1240px; }
}

/* ========== Multi-step form ========== */
.form-step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.form-step.is-active { display: block; animation: stepIn .3s var(--ease); }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.form-step legend {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 18px;
  padding: 0;
}
.form-progress { margin-bottom: 24px; }
.form-progress__bar {
  height: 4px;
  background: rgba(255,255,255,.12);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}
.form-progress__bar span {
  display: block;
  height: 100%;
  width: 33.33%;
  background: var(--yellow);
  border-radius: 999px;
  transition: width .35s var(--ease);
}
.form-progress__steps {
  display: flex;
  justify-content: space-between;
  font-size: .74rem;
  font-weight: 700;
  color: rgba(255,255,255,.35);
}
.form-progress__steps .on { color: var(--yellow); }

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.choice { position: relative; cursor: pointer; }
.choice input {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 56px;
  padding: 10px 12px;
  border: 1.5px solid rgba(255,255,255,.14);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .9rem;
  color: rgba(255,255,255,.85);
  transition: var(--transition);
  cursor: pointer;
}
.choice span:hover { border-color: rgba(245,196,0,.5); }
.choice input:checked + span {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}
.choice input:focus-visible + span {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.form-nav { display: flex; gap: 10px; margin-top: 8px; }
.form-nav .btn { flex: 1; }
.form-nav .btn--ghost {
  border-color: rgba(255,255,255,.2);
  color: rgba(255,255,255,.7);
}
.form-nav .btn--ghost:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: transparent;
}
.form-hint {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  margin-top: 4px;
}
.form-step.has-error .choice span { border-color: #ef4444; }

@media (max-width: 480px) {
  .choice-grid { grid-template-columns: 1fr; }
  .choice span { min-height: 48px; }
}

/* ========== Case studies ========== */
.cases { background: var(--white); }
.case-study {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.case-study:last-child { border-bottom: 0; }
.case-study--flip .case-study__visual { order: 2; }
.case-study__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background: var(--black-soft);
  min-height: 220px;
}
.case-study__visual img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: top;
}
.case-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--yellow-soft);
  border: 1px solid rgba(245,196,0,.4);
  margin-bottom: 12px;
}
.case-study h3 { font-size: 1.5rem; margin-bottom: 20px; }
.case-block { margin-bottom: 18px; }
.case-block h4 {
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.case-block p { color: var(--text-muted); font-size: .95rem; }
.case-results { display: flex; flex-direction: column; gap: 8px; }
.case-results li {
  display: flex;
  gap: 8px;
  font-size: .95rem;
}
.case-results li::before {
  content: "↑";
  color: var(--black);
  background: var(--yellow);
  width: 20px; height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: .7rem;
  flex-shrink: 0;
  margin-top: 3px;
}
.case-tech { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 24px; }
.case-tech span {
  font-size: .8rem;
  font-weight: 700;
  padding: 6px 12px;
  background: var(--warm-gray);
  border: 1px solid var(--border);
  border-radius: 999px;
}
@media (max-width: 900px) {
  .case-study { grid-template-columns: 1fr; }
  .case-study--flip .case-study__visual { order: 0; }
}

/* ========== Testimonials ========== */
.testimonials { background: var(--warm-gray); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testimonial-stars { color: var(--yellow); font-size: 1.05rem; letter-spacing: 2px; }
.testimonial-card blockquote {
  font-size: .98rem;
  line-height: 1.85;
  color: var(--text);
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: .95rem; }
.testimonial-author span { font-size: .82rem; color: var(--text-muted); }
.testimonial-project {
  position: absolute;
  top: 20px;
  inset-inline-end: 24px;
  font-size: .68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--yellow-soft);
  border: 1px solid rgba(245,196,0,.4);
}
@media (max-width: 1100px) { .testimonials-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .testimonials-grid { grid-template-columns: 1fr; } }

/* ========== Thank you page ========== */
.ty-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(245,196,0,.12), transparent 60%),
    var(--warm-gray);
}
.ty-card {
  max-width: 620px;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 48px);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.ty-icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  display: grid;
  place-items: center;
}
.ty-card h1 { font-size: clamp(1.4rem, 3.5vw, 1.9rem); margin-bottom: 12px; }
.ty-sub { color: var(--text-muted); margin-bottom: 28px; }
.ty-next {
  text-align: right;
  background: var(--warm-gray);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 28px;
}
.ty-next h2 { font-size: 1rem; margin-bottom: 16px; }
.ty-next ol { counter-reset: ty; display: flex; flex-direction: column; gap: 14px; }
.ty-next li {
  counter-increment: ty;
  display: flex;
  gap: 12px;
  font-size: .93rem;
  color: var(--text-muted);
}
.ty-next li::before {
  content: counter(ty);
  width: 26px; height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
  font-size: .78rem;
  display: grid;
  place-items: center;
}
.ty-next li strong { color: var(--black); }
.ty-cta { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.ty-cta p { font-weight: 700; margin-bottom: 4px; }
.ty-cta .btn { width: 100%; max-width: 340px; }
.ty-wa {
  margin: 24px 0 8px;
  text-align: center;
}
.ty-wa p {
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-muted);
}
.ty-wa .btn { width: 100%; max-width: 340px; }
.ty-portfolio {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: .9rem;
  color: var(--text-muted);
}
.ty-portfolio a { font-weight: 800; color: var(--black); }
.ty-portfolio a:hover { color: var(--yellow-hover); }

