*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: "Georgia", "Times New Roman", serif; background: #f1f5f9; color: #1e293b; line-height: 1.7; }
.sans { font-family: "Inter", system-ui, sans-serif; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; }

header { background: #0f172a; color: #fff; padding: 1rem 0; position: sticky; top: 2rem; z-index: 100; }
.lp-nav__inner { display: flex; justify-content: space-between; align-items: center; }
header a { color: #94a3b8; text-decoration: none; font-size: 0.9rem; margin-left: 1.5rem; }
header a:hover { color: #fff; }
header .brand { color: #fff; font-weight: 700; font-size: 1.1rem; }
.nav-toggle { display: none; background: transparent; border: 1px solid #475569; color: #fff; font-size: 1.2rem; padding: 0.3rem 0.55rem; border-radius: 6px; cursor: pointer; }
.header-nav { display: flex; align-items: center; }

.hero { padding: 4rem 0; background: #fff; border-bottom: 1px solid #e2e8f0; }
.hero-tag { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: #64748b; margin: 0 0 1rem; }
.hero h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 400; margin: 0 0 1rem; line-height: 1.2; }
.hero p.lead { font-size: 1.15rem; color: #475569; max-width: 640px; margin: 0; }
.btn { display: inline-block; padding: 0.85rem 1.75rem; background: #0f172a; color: #fff; text-decoration: none; font-weight: 600; font-size: 0.9rem; margin-top: 1.5rem; border: none; cursor: pointer; font-family: inherit; }
.hero-metrics { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #e2e8f0; }
.hero-metrics strong { display: block; font-size: 1.5rem; color: #0f172a; }
.hero-metrics div { font-size: 0.85rem; color: #64748b; }
.logos { display: flex; gap: 2rem; flex-wrap: wrap; opacity: 0.45; font-weight: 700; font-size: 0.85rem; margin-top: 2rem; }

.services { padding: 3rem 0; }
.services h2, .method h2, .cases h2, .testimonials h2, .industries h2 {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: #64748b; margin-bottom: 0.75rem;
}
.section-intro { color: #475569; max-width: 640px; margin: 0 0 2rem; font-size: 1rem; line-height: 1.6; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.service-card { background: #fff; border: 1px solid #e2e8f0; padding: 1.5rem; }
.service-card h3 { font-size: 1.05rem; margin: 0 0 0.5rem; color: #0f172a; }
.service-card p { margin: 0; color: #64748b; font-size: 0.9rem; line-height: 1.55; }

.method { padding: 3rem 0; background: #fff; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.method__list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.method__list li { display: flex; gap: 1rem; align-items: flex-start; }
.method__list li span { font-size: 1.25rem; font-weight: 800; color: #0f172a; opacity: 0.25; flex-shrink: 0; }
.method__list strong { display: block; font-size: 1rem; margin-bottom: 0.25rem; }
.method__list p { margin: 0; font-size: 0.88rem; color: #64748b; }

.cases { padding: 3rem 0; }
.cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.case { border-left: 3px solid #0f172a; padding-left: 1.25rem; }
.case strong { font-size: 1.1rem; display: block; margin-bottom: 0.35rem; }
.case p { margin: 0; color: #64748b; font-size: 0.9rem; }

.testimonials { padding: 3rem 0; background: #fff; }
.testimonials__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.testimonial { margin: 0; padding: 1.5rem; background: #f8fafc; border: 1px solid #e2e8f0; }
.testimonial p { margin: 0 0 1rem; font-style: italic; color: #334155; font-size: 0.95rem; font-family: Georgia, serif; }
.testimonial cite { display: block; font-style: normal; font-weight: 600; font-size: 0.9rem; }
.testimonial span { font-size: 0.8rem; color: #64748b; }

.industries { padding: 2.5rem 0; text-align: center; }
.industries__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 1rem; }
.industries__tags span { background: #fff; border: 1px solid #e2e8f0; padding: 0.45rem 1rem; font-size: 0.85rem; font-weight: 600; color: #475569; }

.contact { padding: 3rem 0 4rem; background: #0f172a; color: #fff; }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; max-width: 900px; }
.contact h2 { margin: 0 0 0.75rem; }
.contact__copy p { color: #94a3b8; margin: 0 0 1rem; font-size: 0.95rem; }
.contact__copy ul { margin: 0; padding: 0; list-style: none; }
.contact__copy li { padding: 0.35rem 0; padding-left: 1.25rem; position: relative; color: #cbd5e1; font-size: 0.9rem; }
.contact__copy li::before { content: "✓"; position: absolute; left: 0; color: #94a3b8; }
.contact .portfolio-form input, .contact .portfolio-form textarea { background: #1e293b; border-color: #334155; color: #fff; }
.contact .btn { background: #fff; color: #0f172a; width: 100%; margin-top: 0.5rem; }
.portfolio-form__msg--ok { color: #86efac; }
.portfolio-form__msg--err { color: #fca5a5; }

footer.portfolio-footer { background: #0f172a; color: #64748b; border: none; }
footer.portfolio-footer a { color: #94a3b8; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .lp-nav__inner { position: relative; flex-wrap: wrap; }
  .header-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #0f172a; padding: 0.75rem 1.5rem 1rem; border-bottom: 1px solid #1e293b; }
  .header-nav.nav-open { display: flex; }
  .header-nav a { margin: 0.5rem 0; }
  .contact__inner { grid-template-columns: 1fr; }
}
