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

:root {
  --clr-bg:       #ffffff;
  --clr-surface:  #f5f5f5;
  --clr-border:   #e0e0e0;
  --clr-text:     #1a1a1a;
  --clr-muted:    #6b6b6b;
  --clr-accent:   #1a3a5c;
  --clr-accent-h: #254e7e;
  --font:         'Inter', system-ui, sans-serif;
  --max-w:        1100px;
  --radius:       6px;
  --transition:   0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  font-size: 16px;
}

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

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

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

/* ===== NAVBAR ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--clr-bg);
  border-bottom: 1px solid var(--clr-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-brand .logo {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--clr-accent);
}

.nav-brand .tagline {
  font-size: 0.7rem;
  color: var(--clr-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--clr-muted);
  transition: color var(--transition);
}

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

/* ===== HERO ===== */
.hero {
  padding: 100px 0 90px;
  border-bottom: 1px solid var(--clr-border);
}

.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 680px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.05rem;
  color: var(--clr-muted);
  margin-bottom: 36px;
}

.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn-primary {
  background: var(--clr-accent);
  color: #fff;
  border: 1.5px solid var(--clr-accent);
}

.btn-primary:hover { background: var(--clr-accent-h); border-color: var(--clr-accent-h); }

.btn-outline {
  background: transparent;
  color: var(--clr-accent);
  border: 1.5px solid var(--clr-accent);
}

.btn-outline:hover { background: var(--clr-accent); color: #fff; }

/* ===== SECTION HEADER ===== */
.section-header {
  margin-bottom: 48px;
}

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-header p {
  margin-top: 12px;
  color: var(--clr-muted);
  max-width: 540px;
}

/* ===== SERVICES ===== */
.services { background: var(--clr-surface); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
  background: var(--clr-border);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  background: var(--clr-bg);
  padding: 32px;
  transition: background var(--transition);
}

.service-card:hover { background: #fafafa; }

.service-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  color: var(--clr-accent);
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--clr-muted);
  line-height: 1.6;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testimonial-card {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 28px;
}

.testimonial-card blockquote {
  font-size: 0.92rem;
  color: var(--clr-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--clr-text);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--clr-muted);
}

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--clr-border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--clr-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--clr-muted);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--clr-text); }

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  section { padding: 56px 0; }
  .hero { padding: 64px 0 56px; }
  .nav-links { gap: 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
