/* BuildForBrandsCo — High-end dark agency
   Black + gold · refined motion · human craft */

:root {
  --bg: #030303;
  --bg-elevated: #0a0a0a;
  --bg-card: #111111;
  --bg-card-hover: #161616;
  --border: #242424;
  --border-hover: #3a3a3a;
  --text: #f5f5f4;
  --text-secondary: #a8a29e;
  --text-muted: #78716c;
  --accent: #c9a227;
  --accent-bright: #e0bc4a;
  --accent-dim: #a68520;
  --accent-soft: rgba(201, 162, 39, 0.1);
  --accent-line: rgba(201, 162, 39, 0.35);
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 16px;
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --header-h: 70px;
  --max: 1120px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.55);
  --shadow-gold: 0 0 40px -8px rgba(201, 162, 39, 0.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
  position: relative;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(180deg, #d4af37 0%, var(--accent) 100%);
  color: #0a0a0a;
  box-shadow: 0 2px 12px rgba(201, 162, 39, 0.25);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #e0bc4a 0%, #d4af37 100%);
  box-shadow: 0 4px 20px rgba(201, 162, 39, 0.35);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.03);
}

.btn-lg { padding: 15px 28px; font-size: 0.95rem; }
.btn-block { width: 100%; border-radius: var(--radius); }

/* ——— Header ——— */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(3, 3, 3, 0.75);
  backdrop-/* filter: blur */(20px) saturate(1.2);
  -webkit-backdrop-/* filter: blur */(20px) saturate(1.2);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(3, 3, 3, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity 0.2s;
}
.logo:hover { opacity: 0.9; }
.logo-img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: #000;
  border: 1px solid rgba(201, 162, 39, 0.2);
}
.logo-text {
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: -0.03em;
  color: var(--text);
}
.logo-text span { color: var(--accent); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s var(--ease);
  position: relative;
  padding: 4px 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }

.header-cta { padding: 9px 18px; font-size: 0.8rem; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ——— Hero ——— */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 96px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(201, 162, 39, 0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-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(--accent);
  margin-bottom: 20px;
}
.hero-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--accent);
}
.hero-title {
  font-size: clamp(2.35rem, 4.8vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { display: flex; justify-content: center; perspective: 800px; }
.hero-logo-wrap {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.25);
  box-shadow: var(--shadow), var(--shadow-gold);
  background: #000;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease);
}
.hero-logo-wrap:hover {
  transform: translateY(-6px) rotateX(2deg);
  box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.6), 0 0 60px -10px rgba(201, 162, 39, 0.3);
}
.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ——— Sections ——— */
.section { padding: 100px 0; position: relative; }
.section-head { max-width: 560px; margin-bottom: 56px; }
.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ——— Services ——— */
.services {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease),
    transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease);
}
.service-card:hover {
  border-color: rgba(201, 162, 39, 0.35);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.4);
}
.service-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 11px;
  margin-bottom: 18px;
  transition: background 0.3s, color 0.3s;
}
.service-card:hover .service-icon {
  background: rgba(201, 162, 39, 0.18);
  color: var(--accent-bright);
}
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--white);
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 18px;
}
.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.2s, gap 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-link:hover { color: var(--accent-bright); gap: 10px; }

/* ——— Portfolio ——— */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 9px 18px;
  font-size: 0.8rem;
  font-weight: 550;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.filter-btn:hover { border-color: var(--border-hover); color: var(--text); }
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0a0a;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.portfolio-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease);
}
.portfolio-item:hover {
  border-color: rgba(201, 162, 39, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.5);
}
.portfolio-item.hidden {
  display: none;
}

.portfolio-thumb {
  aspect-ratio: 16 / 11;
  background: var(--bg-elevated);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.portfolio-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.15));
  pointer-events: none;
}

.mock-browser {
  width: 100%; height: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease-out);
}
.portfolio-item:hover .mock-browser { transform: scale(1.02); }
.mock-browser-bar {
  display: flex; gap: 5px;
  padding: 8px 10px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.mock-browser-bar span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #333;
}
.mock-browser-content { flex: 1; }
.mock-web-1 { background: linear-gradient(165deg, rgba(201,162,39,0.15) 0%, #0a0a0a 50%, #111 100%); }
.mock-web-2 { background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 40%, rgba(201,162,39,0.12) 100%); }

.mock-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.mock-logo-mark {
  width: 56px; height: 56px;
  background: linear-gradient(145deg, #d4af37, var(--accent));
  color: #0a0a0a;
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.25);
}
.mock-brand-alt .mock-logo-mark {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  box-shadow: none;
}
.mock-brand-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 80px;
}
.mock-brand-lines span {
  height: 5px;
  background: var(--border);
  border-radius: 3px;
}
.mock-brand-lines span:first-child { width: 100%; }
.mock-brand-lines span:nth-child(2) { width: 72%; }
.mock-brand-lines span:nth-child(3) { width: 48%; }

.mock-ad {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mock-ad-img {
  flex: 1;
  background: linear-gradient(145deg, #151515, rgba(201,162,39,0.18));
  border-radius: 10px;
  border: 1px solid var(--border);
}
.mock-ad-text { display: flex; flex-direction: column; gap: 5px; }
.mock-ad-text span {
  height: 5px;
  background: var(--border);
  border-radius: 3px;
}
.mock-ad-text span:first-child { width: 68%; }
.mock-ad-text span:last-child { width: 42%; }

.mock-slides {
  display: flex;
  gap: 8px;
  width: 100%;
  height: 100%;
}
.mock-slide {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
}
.mock-slide:nth-child(1) { background: linear-gradient(180deg, rgba(201,162,39,0.2), transparent); }
.mock-slide:nth-child(2) { background: linear-gradient(180deg, #161616, #0c0c0c); }
.mock-slide:nth-child(3) { background: linear-gradient(180deg, #141414, rgba(201,162,39,0.12)); }

.portfolio-meta { padding: 18px 20px 22px; }
.portfolio-cat {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  display: block;
}
.portfolio-meta h3 {
  font-size: 1rem;
  font-weight: 650;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: -0.015em;
}
.portfolio-meta p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ——— Pricing ——— */
.pricing {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.pricing-packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.3s var(--ease), transform 0.35s var(--ease-out);
}
.price-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.price-card-featured {
  border-color: var(--accent);
  background: linear-gradient(165deg, rgba(201, 162, 39, 0.1) 0%, var(--bg-card) 45%);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.15), var(--shadow-gold);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #d4af37, var(--accent));
  color: #0a0a0a;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}
.price-card-top { margin-bottom: 24px; }
.price-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.price-amount {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 6px;
}
.price-delivery {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.price-features {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 28px;
  flex-grow: 1;
}
.price-features li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}
.price-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.individual-pricing { max-width: 740px; }
.individual-title {
  font-size: 1rem;
  font-weight: 650;
  color: var(--white);
  margin-bottom: 18px;
}
.individual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.individual-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  gap: 12px;
  transition: border-color 0.25s;
}
.individual-item:hover { border-color: var(--border-hover); }
.individual-name {
  font-size: 0.88rem;
  font-weight: 550;
  color: var(--text);
}
.individual-prices {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.individual-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ——— Trust ——— */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 36px;
}
.trust-item {
  padding: 8px 0;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.trust-num {
  display: block;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}
.trust-item h3 {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.trust-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ——— Contact ——— */
.contact {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.contact-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 360px;
}
.contact-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.channel-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  font-size: 0.82rem;
  font-weight: 550;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}
.channel-btn:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-1px);
}
.channel-whatsapp {
  border-color: rgba(37, 211, 102, 0.28);
  color: #25d366;
}
.channel-whatsapp:hover {
  background: rgba(37, 211, 102, 0.08);
  border-color: #25d366;
}

.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-group textarea { resize: vertical; min-height: 96px; }

.form-status {
  font-size: 0.875rem;
  text-align: center;
  min-height: 1.4em;
}
.form-status.success { color: var(--accent-bright); }
.form-status.error { color: #f87171; }

/* ——— Footer ——— */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 56px 0 0;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .logo { margin-bottom: 14px; }
.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.65;
}
.footer-nav { display: flex; gap: 56px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.footer-col a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom { padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: 0.75rem; color: var(--text-muted); }

/* ——— Responsive ——— */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .hero-logo-wrap { max-width: 280px; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-packages {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-/* filter: blur */(20px);
    flex-direction: column;
    padding: 16px 24px 28px;
    gap: 0;
    border-bottom: 1px solid var(--border);
  }
  .nav.open { display: flex; }
  .nav-link {
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
    font-size: 1rem;
  }
  .nav-link:last-child { border-bottom: none; }
  .nav-link::after { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { flex-direction: column; gap: 36px; }
  .footer-nav { gap: 40px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 72px 0; }
  .hero {
    padding: calc(var(--header-h) + 48px) 0 64px;
    min-height: auto;
  }
  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 8px; }
  .individual-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px 18px; }
  .contact-channels { flex-direction: column; }
  .channel-btn { width: 100%; justify-content: center; }
  .footer-nav { flex-direction: column; gap: 28px; }
  .logo-text { display: none; }
}

/* Hero entrance */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content { animation: heroIn 0.8s var(--ease-out) 0.1s both; }
.hero-visual { animation: heroIn 0.9s var(--ease-out) 0.25s both; }

/* ——— Redesign video block ——— */
.redesign-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 64px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.08);
}
.redesign-title {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}
.redesign-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}
.ba-labels {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ba-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.ba-before {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.ba-after {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(201, 162, 39, 0.35);
}
.ba-arrow {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.redesign-video-wrap {
  position: relative;
}
.redesign-video {
  width: 100%;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(201, 162, 39, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px -8px rgba(201, 162, 39, 0.2);
  background: #000;
  aspect-ratio: 16 / 10;
  object-fit: contain;
}
.video-caption {
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

/* ——— Portfolio previews (filled, not blank) ——— */
.preview {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  background: #0c0c0c;
  transition: transform 0.4s var(--ease-out);
}
.portfolio-item:hover .preview {
  transform: translateY(-2px);
}
.preview-chrome {
  display: flex;
  gap: 5px;
  padding: 8px 10px;
  background: #161616;
  border-bottom: 1px solid var(--border);
}
.preview-chrome span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3a3a3a;
}
.preview-body {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(165deg, #141414 0%, #0a0a0a 100%);
}
.preview-nav {
  height: 8px;
  width: 45%;
  background: #2a2a2a;
  border-radius: 3px;
}
.preview-nav.dark { background: #333; width: 55%; }
.preview-hero-block {
  height: 48px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.25) 0%, #1a1a1a 60%);
  border: 1px solid rgba(201, 162, 39, 0.2);
}
.preview-hero-block.alt {
  background: linear-gradient(120deg, #1f1f1f 0%, rgba(201, 162, 39, 0.15) 100%);
  height: 56px;
}
.preview-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  flex: 1;
}
.preview-cols.dark { grid-template-columns: 1fr 1fr; }
.preview-cols i {
  display: block;
  background: #1a1a1a;
  border: 1px solid #252525;
  border-radius: 4px;
  min-height: 28px;
}

.preview-web-1 .preview-body {
  background: linear-gradient(180deg, #121212 0%, #0a0a0a 100%);
}
.preview-web-2 .preview-body {
  background: linear-gradient(145deg, #0f0f0f, #151515);
}

.preview-brand-1,
.preview-brand-2 {
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: radial-gradient(circle at 50% 40%, #1a1a1a 0%, #0a0a0a 70%);
}
.brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(145deg, #d4af37, var(--accent));
  color: #0a0a0a;
  font-weight: 800;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.3);
}
.brand-mark.outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  box-shadow: none;
}
.brand-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 72px;
}
.brand-lines span {
  height: 5px;
  background: #2a2a2a;
  border-radius: 3px;
}
.brand-lines span:first-child { width: 100%; }
.brand-lines span:nth-child(2) { width: 70%; }
.brand-lines span:nth-child(3) { width: 45%; }

.preview-ad-1 {
  padding: 14px;
  gap: 10px;
  background: #0c0c0c;
}
.ad-visual {
  flex: 1;
  border-radius: 8px;
  background: linear-gradient(145deg, #1c1c1c 0%, rgba(201, 162, 39, 0.22) 100%);
  border: 1px solid rgba(201, 162, 39, 0.15);
  min-height: 70px;
}
.ad-copy-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ad-copy-lines span {
  height: 5px;
  background: #2a2a2a;
  border-radius: 3px;
}
.ad-copy-lines span:first-child { width: 65%; }
.ad-copy-lines span:last-child { width: 40%; }

.preview-slides {
  flex-direction: row;
  gap: 8px;
  padding: 14px;
  background: #0c0c0c;
}
.slide {
  flex: 1;
  border-radius: 6px;
  border: 1px solid #252525;
  min-height: 80px;
}
.slide.s1 { background: linear-gradient(180deg, rgba(201,162,39,0.28), #121212); }
.slide.s2 { background: linear-gradient(180deg, #1a1a1a, #0e0e0e); }
.slide.s3 { background: linear-gradient(180deg, #151515, rgba(201,162,39,0.12)); }

.portfolio-thumb {
  position: relative;
}
.view-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: var(--accent);
  padding: 6px 14px;
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
  pointer-events: none;
  white-space: nowrap;
}
.portfolio-item:hover .view-hint {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Credibility strip */
.cred-strip {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  background: var(--bg);
}
.cred-line {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.cred-tags {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

/* CTA band */
.cta-band {
  padding: 80px 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 162, 39, 0.12) 0%, transparent 55%),
              var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.cta-band-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 14px;
}
.cta-band-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

@media (max-width: 900px) {
  .redesign-block {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px 20px;
  }
}
@media (max-width: 640px) {
  .cta-band-actions { flex-direction: column; align-items: stretch; }
  .cta-band-actions .btn { width: 100%; }
  .cred-line { font-size: 1rem; }
  .cred-tags { font-size: 0.7rem; letter-spacing: 0.04em; }
}


/* Crisp media — no soft/blurry scaling */
.logo-img,
.hero-logo,
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;
}
.logo-img,
.hero-logo {
  image-rendering: auto;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.redesign-video {
  image-rendering: auto;
}
