/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #2563EB;
  --primary-dark: #1E3A5F;
  --accent: #16A34A;
  --red: #DC2626;
  --text: #111827;
  --text-light: #6B7280;
  --bg: #FFFFFF;
  --bg-light: #F9FAFB;
  --bg-dark: #1E293B;
  --border: #E5E7EB;
  --radius: 8px;
  --max-width: 1120px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }

/* ── Layout ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--alt { background: var(--bg-light); }

/* ── Nav ── */
.nav { background: var(--bg-dark); padding: 16px 0; position: sticky; top: 0; z-index: 100; }
.nav .container { display: flex; justify-content: space-between; align-items: center; }
.nav__brand { display: flex; align-items: center; }
.nav__brand img { height: 28px; width: auto; }
.nav__brand span { color: var(--primary); }
.nav__links { display: flex; gap: 32px; list-style: none; }
.nav__links a { color: #CBD5E1; font-size: 0.9rem; font-weight: 500; }
.nav__links a:hover, .nav__links a.active { color: #fff; }
.nav__burger { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* ── Hero ── */
.hero { background: linear-gradient(135deg, var(--bg-dark) 0%, #0F172A 100%); padding: 80px 0 60px; }
.hero__split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero__text { text-align: left; }
.hero__label { color: var(--primary); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.hero h1 { color: #fff; font-size: 2.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero h1 span { color: var(--primary); }
.hero__sub { color: #94A3B8; font-size: 1.05rem; line-height: 1.6; margin-bottom: 32px; max-width: 520px; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__reassure { color: #64748B; font-size: 0.8rem; margin-top: 16px; font-style: italic; }
.hero__photo { display: flex; justify-content: center; align-items: center; }
.hero__photo img { width: 320px; height: 320px; object-fit: cover; border-radius: 50%; border: 4px solid rgba(37,99,235,0.3); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.hero__photo-placeholder { width: 300px; height: 300px; border-radius: 50%; background: linear-gradient(135deg, #1E3A5F 0%, #2563EB 100%); display: flex; align-items: center; justify-content: center; color: #94A3B8; font-size: 0.9rem; text-align: center; line-height: 1.5; border: 4px solid rgba(37,99,235,0.3); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }

/* ── Buttons ── */
.btn { display: inline-block; padding: 12px 28px; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: all 0.2s; border: none; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: #1D4ED8; color: #fff; }
.btn--outline { background: transparent; color: #fff; border: 2px solid #475569; }
.btn--outline:hover { border-color: var(--primary); color: var(--primary); }
.btn--dark { background: var(--bg-dark); color: #fff; }
.btn--dark:hover { background: #0F172A; color: #fff; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: #15803D; color: #fff; }

/* ── Section headers ── */
.section__header { text-align: center; margin-bottom: 48px; }
.section__header h2 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.section__header p { color: var(--text-light); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.section__label { display: inline-block; background: #EFF6FF; color: var(--primary); font-size: 0.8rem; font-weight: 600; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }

/* ── Services grid ── */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.service-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 24px; text-align: center; transition: box-shadow 0.2s, transform 0.2s; }
.service-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); transform: translateY(-2px); }
.service-card__icon { font-size: 2rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.service-card p { font-size: 0.85rem; color: var(--text-light); }

/* ── Project cards ── */
.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 32px; }
.project-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; }
.project-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.1); transform: translateY(-4px); }
.project-card__img { width: 100%; height: 220px; background: var(--bg-light); object-fit: cover; }
.project-card__img--placeholder { display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 0.9rem; }
.project-card__body { padding: 24px; }
.project-card__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tag { font-size: 0.75rem; padding: 3px 10px; border-radius: 20px; font-weight: 500; }
.tag--bi { background: #EFF6FF; color: var(--primary); }
.tag--web { background: #F0FDF4; color: var(--accent); }
.tag--seo { background: #FFF7ED; color: #EA580C; }
.tag--data { background: #FAF5FF; color: #7C3AED; }
.tag--app { background: #FEF2F2; color: var(--red); }
.project-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.project-card p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 16px; }
.project-card__links { display: flex; gap: 12px; }
.project-card__links a { font-size: 0.85rem; font-weight: 500; }

/* ── Template cards ── */
.template-card { background: var(--bg); border: 2px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s; }
.template-card:hover { border-color: var(--primary); }
.template-card__body { padding: 28px; }
.template-card__price { font-size: 1.75rem; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.template-card__price span { font-size: 0.9rem; font-weight: 400; color: var(--text-light); }
.template-card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.template-card ul { list-style: none; margin: 16px 0; }
.template-card li { padding: 6px 0; font-size: 0.9rem; color: var(--text-light); }
.template-card li::before { content: "\2713"; color: var(--accent); font-weight: 700; margin-right: 8px; }

/* ── Stats ── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; text-align: center; padding: 48px 0; }
.stat h3 { font-size: 2.5rem; font-weight: 800; color: var(--primary); }
.stat p { font-size: 0.9rem; color: var(--text-light); margin-top: 4px; }

/* ── Case study ── */
.case-study { max-width: 800px; margin: 0 auto; }
.case-study h1 { font-size: 2rem; margin-bottom: 16px; }
.case-study__meta { display: flex; gap: 24px; color: var(--text-light); font-size: 0.9rem; margin-bottom: 32px; }
.case-study h2 { font-size: 1.3rem; margin: 32px 0 12px; }
.case-study p, .case-study li { font-size: 1rem; color: #374151; }
.case-study ul { padding-left: 20px; margin: 12px 0; }
.case-study li { margin-bottom: 8px; }
.case-study img { border-radius: var(--radius); border: 1px solid var(--border); margin: 24px 0; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h3 { font-size: 1.1rem; margin-bottom: 8px; }
.contact-info p { color: var(--text-light); margin-bottom: 24px; }
.contact-info a { display: block; margin-bottom: 8px; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius); font-family: var(--font); font-size: 0.95rem; margin-bottom: 16px; }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }

/* ── Footer ── */
.footer { background: var(--bg-dark); color: #94A3B8; padding: 40px 0; text-align: center; font-size: 0.85rem; }
.footer a { color: #CBD5E1; }
.footer__links { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; }

/* ── Filter bar ── */
.filter-bar { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn { padding: 8px 20px; border-radius: 20px; border: 1px solid var(--border); background: var(--bg); color: var(--text-light); font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: all 0.2s; }
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero__split { grid-template-columns: 1fr; text-align: center; }
  .hero__text { text-align: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .hero__photo { order: -1; margin-bottom: 16px; }
  .hero__photo img, .hero__photo-placeholder { width: 200px; height: 200px; }
  .hero h1 { font-size: 1.8rem; }
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .projects { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
