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

:root {
  --color-bg: #ffffff;
  --color-surface: #f7f7f8;
  --color-border: #e5e5e7;
  --color-text: #1a1a1a;
  --color-text-muted: #6b6b6b;
  --color-accent: #2563eb;
  --color-accent-dark: #1d4ed8;
  --color-accent-light: #eff6ff;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.10);
  --max-w: 1140px;
  --section-gap: 100px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

.section { padding: var(--section-gap) 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-header {
  max-width: 600px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--color-text-muted); font-size: 1.05rem; }

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; }

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
  border: none;
  font-family: var(--font);
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover { background: var(--color-accent-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,99,235,0.3); }

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

.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost:hover { color: var(--color-accent); }

/* =====================
   NAV
   ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--color-text); }

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  margin-left: auto;
  color: var(--color-text);
}

/* =====================
   HERO
   ===================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 120px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero h1 { margin-bottom: 22px; }

.hero-sub {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-bg-shape {
  position: absolute;
  top: -120px;
  right: -200px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-accent-light) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

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

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.card-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

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

/* =====================
   ABOUT
   ===================== */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text .eyebrow { margin-bottom: 16px; }
.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--color-text-muted); margin-bottom: 16px; font-size: 1rem; line-height: 1.75; }

.about-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-list li {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.stat {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-num {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-accent);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* =====================
   CONTACT
   ===================== */
.contact { background: var(--color-surface); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-text .eyebrow { margin-bottom: 16px; }
.contact-text h2 { margin-bottom: 16px; }
.contact-text p { color: var(--color-text-muted); margin-bottom: 12px; font-size: 1rem; line-height: 1.7; }

.contact-email a {
  color: var(--color-accent);
  font-weight: 500;
  font-size: 1rem;
}
.contact-email a:hover { text-decoration: underline; }

.contact-form {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color 0.15s;
  resize: vertical;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #b0b0b0; }

.contact-form .btn-primary { width: 100%; text-align: center; padding: 14px; font-size: 1rem; }

.form-note {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--color-accent);
  min-height: 1.2em;
}

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

.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-left: auto;
}

.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--color-text); }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  :root { --section-gap: 64px; }

  .nav-links, .nav-cta { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--color-border); padding: 16px 24px; gap: 16px; }
  .nav-toggle { display: block; }

  .hero { padding: 72px 0 80px; }

  .form-row { grid-template-columns: 1fr; }

  .contact-form { padding: 28px 20px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-copy { margin-left: 0; }

  .about-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
}
