:root {
  --bg: #f3f3f1;
  --surface: #ffffff;
  --surface-2: #e9ece8;
  --text: #18181b;
  --muted: #66646d;
  --line: rgba(24, 24, 27, 0.08);
  --accent: #1f1f1f;
  --accent-dark: #000000;
  --dark: #121214;
  --dark-soft: #1e1e22;
  --radius: 24px;
  --shadow: 0 18px 50px rgba(17, 17, 22, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 2rem)); margin: 0 auto; }
.section { padding: 96px 0; }
.section.muted { background: linear-gradient(180deg, #fbf8f4 0%, #f2ede7 100%); }
.section.dark { background: var(--dark); color: #fff; }
.eyebrow { letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.78rem; color: var(--accent); font-weight: 700; margin-bottom: 1rem; }
h1, h2, h3, h4 { line-height: 1.08; margin: 0 0 1rem; }
h1 { font-size: clamp(2.8rem, 5vw, 5.1rem); letter-spacing: -0.05em; }
h2 { font-size: clamp(2rem, 3vw, 3.2rem); letter-spacing: -0.04em; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; color: var(--muted); }
.lead { font-size: 1.1rem; max-width: 62ch; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(247, 245, 242, 0.8);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.04em; }
.logo span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 1.2rem; }
.nav a { font-weight: 600; color: #222; }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 1.5rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.3rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.btn:hover { background: var(--accent-dark); }
.btn-secondary, .btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn-secondary:hover, .btn-outline:hover { background: #fff; }

.hero {
  padding: 72px 0 50px;
  background:
    radial-gradient(circle at top right, rgba(0, 0, 0, 0.08), transparent 24%),
    radial-gradient(circle at left 20%, rgba(48, 44, 40, 0.04), transparent 30%),
    var(--bg);
}
.hero-grid, .split-section, .contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.hero-copy { padding: 2rem 0; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin: 2rem 0; }
.hero-visual img { filter: drop-shadow(0 30px 70px rgba(0, 0, 0, 0.12)); }
.stats {
  list-style: none; padding: 0; margin: 1.5rem 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.stats li {
  padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,0.75);
}
.stats strong { display: block; font-size: 1.35rem; color: var(--text); }
.stats span { color: var(--muted); font-size: 0.95rem; }

.brands { padding: 14px 0 40px; }
.brands-row {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center;
  padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 999px; background: #fff;
}
.brand-pills { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.brand-pills span {
  padding: 0.55rem 0.9rem; background: var(--surface-2); border-radius: 999px; font-weight: 600;
}

.section-heading { margin-bottom: 2rem; max-width: 820px; }
.section-heading.between { display: flex; justify-content: space-between; gap: 2rem; align-items: end; max-width: none; }
.text-link { font-weight: 700; color: var(--accent); }
.cards.three-up {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.35rem;
}
.card {
  padding: 1.4rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.card img { width: 100%; border-radius: 18px; margin-bottom: 1rem; }
.check-list { padding-left: 1.1rem; color: var(--text); }
.check-list li { margin-bottom: 0.7rem; }
.mock-stack { position: relative; }
.floating-phone {
  position: absolute; width: 34%; right: -2%; bottom: -4%;
}

.portfolio-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.35rem;
}
.single-page-grid { grid-template-columns: repeat(2, 1fr); }
.project-card {
  overflow: hidden; background: #fff; border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.project-card.large { grid-row: span 2; }
.project-card img { width: 100%; height: 100%; object-fit: cover; background: #f1ede7; }
.project-copy { padding: 1.2rem 1.3rem 1.4rem; }

.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.steps article {
  padding: 1.4rem; border: 1px solid rgba(255,255,255,0.08); border-radius: 24px; background: var(--dark-soft);
}
.steps span {
  display: inline-flex; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.12); color: #ffffff; font-weight: 800; margin-bottom: 1rem;
}
.section.dark p { color: rgba(255,255,255,0.72); }

.quote p { color: var(--text); font-size: 1.02rem; }
.quote footer { color: var(--muted); font-weight: 600; }

.cta-band { padding: 0 0 100px; }
.cta-band-inner {
  background: linear-gradient(135deg, #16161a 0%, #2b2520 100%);
  color: #fff; border-radius: 32px; padding: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.cta-band-inner h2, .cta-band-inner p { color: #fff; }

.page-hero { padding: 84px 0 40px; }
.contact-form {
  display: grid; gap: 1rem; background: #fff; border-radius: 28px; border: 1px solid var(--line); padding: 1.5rem; box-shadow: var(--shadow);
}
.contact-form label { display: grid; gap: 0.45rem; font-weight: 600; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 0.95rem 1rem; border-radius: 16px; border: 1px solid var(--line); font: inherit; background: #fcfbf8;
}
.contact-panel {
  padding: 1rem 0 1rem 1rem;
}
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.contact-list li { margin-bottom: 0.7rem; }

.site-footer {
  border-top: 1px solid var(--line); padding: 32px 0 50px; background: rgba(255,255,255,0.45);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 1.5rem;
}
.footer-grid h4 { margin-bottom: 0.7rem; }
.footer-grid a { display: block; margin-bottom: 0.5rem; color: var(--muted); }

@media (max-width: 980px) {
  .hero-grid, .split-section, .contact-grid, .portfolio-grid, .cards.three-up, .steps, .footer-grid, .single-page-grid {
    grid-template-columns: 1fr;
  }
  .nav {
    position: absolute; top: 84px; left: 1rem; right: 1rem; display: none; flex-direction: column; align-items: stretch;
    padding: 1rem; background: rgba(255,255,255,0.96); border: 1px solid var(--line); border-radius: 24px;
  }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .floating-phone { position: static; width: 56%; margin: -2rem auto 0; }
  .section-heading.between, .cta-band-inner, .brands-row { display: grid; }
  .project-card.large { grid-row: span 1; }
}

@media (max-width: 720px) {
  h1 { font-size: 2.6rem; }
  .stats { grid-template-columns: 1fr; }
  .hero { padding-top: 34px; }
  .section { padding: 72px 0; }
}
