﻿/* Base */
:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #22c55e;
  --ring: rgba(37, 99, 235, 0.25);
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
  --radius: 18px;
  --max: 1120px;
  --font-body: "Work Sans", "Segoe UI", Arial, sans-serif;
  --font-display: "Space Grotesk", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: radial-gradient(circle at 20% 10%, #eef2ff 0%, transparent 45%),
              radial-gradient(circle at 80% 0%, #dbeafe 0%, transparent 40%),
              var(--bg);
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.section { padding: 96px 0; }
.section.alt { background: #f8fafc; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  margin: 0 0 12px;
}
.section-subtitle {
  color: var(--muted);
  max-width: 720px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-family: var(--font-display);
}
.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}
.nav a:hover { color: var(--ink); }
.header-actions { display: flex; gap: 12px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 600;
  transition: 0.2s ease;
}
.btn.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.25);
}
.btn.primary:hover { background: var(--primary-dark); }
.btn.outline {
  border-color: #cbd5f5;
  color: var(--ink);
  background: #fff;
}
.btn.outline:hover { background: #f8fafc; }

.hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(37,99,235,0.15), transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(99,102,241,0.2), transparent 45%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.05;
  margin: 0 0 20px;
}
.hero p { color: var(--muted); font-size: 18px; }
.hero-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid #e2e8f0;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
  font-size: 12px;
}

.grid {
  display: grid;
  gap: 24px;
}
.grid.two { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 30px rgba(15,23,42,0.08);
}
.card h3 { margin-top: 0; }

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  text-align: center;
}
.stats .value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
}
.stats .label { color: var(--muted); font-size: 14px; }

.case-card img, .team-card img, .service-card img {
  border-radius: 14px;
  height: 190px;
  width: 100%;
  object-fit: cover;
}

.process-list {
  display: grid;
  gap: 18px;
}
.process-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.process-step {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #e0e7ff;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #1d4ed8;
}

.testimonials {
  display: grid;
  gap: 20px;
}
.testimonial-card {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px;
}

.contact-form {
  display: grid;
  gap: 16px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  font-family: var(--font-body);
}

.footer {
  padding: 40px 0;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.hero-banner {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
}
.hero-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-banner .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.1), rgba(15,23,42,0.85));
}
.hero-banner .content {
  position: relative;
  padding: 48px;
}

.details-list details {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 16px 18px;
}
.details-list summary {
  cursor: pointer;
  font-weight: 600;
}
.details-list summary::marker { color: #2563eb; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: #f1f5f9;
  color: #0f172a;
}

@media (max-width: 860px) {
  .nav { display: none; }
}

@media (max-width: 720px) {
  .header-inner { height: 64px; }
  .hero { padding-top: 96px; }
}
