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

:root {
  --bg: #ffffff;
  --bg-alt: #f8f9fb;
  --surface: #ffffff;
  --border: #e2e5eb;
  --text: #1f2937;
  --text-muted: #6b7280;
  --accent: #3b82f6;
  --accent-hover: #60a5fa;
  --heading: #111827;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* === Navigation === */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--heading);
  font-weight: 700;
  font-size: 1.05rem;
}

.nav-logo img {
  border-radius: 6px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent-hover); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #374151;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* === Hero === */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.25rem 3rem;
  background: radial-gradient(ellipse at 50% 0%, rgba(59,130,246,0.06) 0%, transparent 60%), url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='0.8' fill='%23e5e7eb' /%3E%3C/svg%3E") repeat;
}

.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  object-fit: cover;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.hero-tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* === Sections === */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 3rem;
}

/* === Service Cards === */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.card-icon {
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.card h3 {
  font-size: 1.2rem;
  color: var(--heading);
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.card-cta {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.card-cta:hover { color: var(--accent-hover); }

/* === About === */
.about-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.about-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

/* === Contact === */
.contact-intro {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.contact-methods {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  text-decoration: none;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 500;
  transition: border-color 0.2s, transform 0.2s;
  min-width: 260px;
  justify-content: center;
}

.contact-card svg {
  color: var(--accent);
  flex-shrink: 0;
}

.contact-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* === Footer === */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* === Mobile === */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open { display: flex; }

  .hero { min-height: 85vh; padding-top: 5rem; }

  .hero-logo { width: 90px; height: 90px; }

  .contact-card {
    width: 100%;
    min-width: unset;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .card p { font-size: 1rem; }
}

/* Service card accent colors */
.card:nth-child(1) .card-icon { color: #3b82f6; }
.card:nth-child(2) .card-icon { color: #10b981; }
.card:nth-child(3) .card-icon { color: #f59e0b; }
.card:nth-child(4) .card-icon { color: #8b5cf6; }
.card:nth-child(5) .card-icon { color: #06b6d4; }
.card:nth-child(6) .card-icon { color: #ec4899; }
.card:nth-child(7) .card-icon { color: #ef4444; }
.card:nth-child(1):hover { border-color: #3b82f6; }
.card:nth-child(2):hover { border-color: #10b981; }
.card:nth-child(3):hover { border-color: #f59e0b; }
.card:nth-child(4):hover { border-color: #8b5cf6; }
.card:nth-child(5):hover { border-color: #06b6d4; }
.card:nth-child(6):hover { border-color: #ec4899; }
.card:nth-child(7):hover { border-color: #ef4444; }
