:root {
  --primary: #0369a1;
  --primary-dark: #075985;
  --primary-light: #7dd3fc;
  --accent: #0891b2;
  --accent-light: #22d3ee;
  --bg: #f0f9ff;
  --bg-white: #ffffff;
  --text: #0c4a6e;
  --text-light: #64748b;
  --border: #e0f2fe;
  --shadow: 0 4px 24px rgba(3, 105, 161, 0.08);
  --radius: 12px;
  --max-w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }

.container { width: min(92%, var(--max-w)); margin: 0 auto; }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem; border-radius: 9999px;
  font-weight: 600; font-size: .95rem;
  border: none; cursor: pointer;
  transition: all .25s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; box-shadow: 0 4px 16px rgba(3,105,161,.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(3,105,161,.4); color: #fff; }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

/* Header */
.header {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky; top: 0; z-index: 100;
}
.header .container { display: flex; align-items: center; justify-content: space-between; }
.logo { font-size: 1.4rem; font-weight: 800; color: var(--primary); letter-spacing: -.02em; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 2rem; align-items: center; }
.nav a { color: var(--text); font-weight: 500; font-size: .9rem; }
.nav a:hover, .nav a.active { color: var(--primary); }

/* Hero */
.hero {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 40%, #bae6fd 100%);
  padding: 6rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(8,145,178,.06) 0%, transparent 70%);
  top: -200px; right: -200px;
  border-radius: 50%;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 680px;
  margin: 0 auto 2rem;
}
.hero .btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Sections common */
section { padding: 5rem 0; }
.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: .75rem;
}
.section-sub {
  text-align: center;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

/* Services */
.services { background: var(--bg-white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all .3s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}
.service-card .icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.3rem; font-weight: 700;
  margin-bottom: 1rem;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: .5rem; color: var(--primary-dark); }
.service-card p { font-size: .9rem; color: var(--text-light); }

/* Process */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 2rem; position: relative; }
.process-step { text-align: center; }
.process-step .num {
  width: 48px; height: 48px; margin: 0 auto 1rem;
  background: var(--primary); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem;
}
.process-step h4 { margin-bottom: .25rem; color: var(--primary-dark); }
.process-step p { font-size: .9rem; color: var(--text-light); }

/* Stats */
.stats {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 2rem; text-align: center; }
.stat-num { font-size: 2.5rem; font-weight: 800; }
.stat-label { opacity: .85; font-size: .95rem; }

/* Pricing */
.pricing { background: var(--bg-white); }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.5rem; align-items: start; }
.pricing-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all .3s;
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
  transform: scale(1.03);
}
.pricing-card:hover { box-shadow: var(--shadow); }
.pricing-card .price { font-size: 2.5rem; font-weight: 800; color: var(--primary-dark); margin: .5rem 0; }
.pricing-card .price small { font-size: 1rem; font-weight: 400; color: var(--text-light); }
.pricing-card ul { list-style: none; margin: 1.5rem 0; text-align: left; }
.pricing-card ul li { padding: .4rem 0; font-size: .9rem; color: var(--text); }
.pricing-card ul li::before { content: '✓ '; color: var(--accent); font-weight: 700; }
.pricing-card h3 { font-size: 1.15rem; }

/* FAQ */
.faq { background: var(--bg); }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  overflow: hidden;
}
.faq-q {
  padding: 1.25rem 1.5rem;
  font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  user-select: none; transition: background .2s;
}
.faq-q:hover { background: var(--bg); }
.faq-q::after {
  content: '+';
  font-size: 1.3rem; font-weight: 300;
  color: var(--accent);
  transition: transform .3s;
}
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease;
  padding: 0 1.5rem;
  color: var(--text-light);
  font-size: .95rem;
  line-height: 1.7;
}
.faq-item.open .faq-a {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; text-align: center;
}
.cta h2 { font-size: clamp(1.6rem,3vw,2.2rem); font-weight: 800; }
.cta p { opacity: .9; margin: .75rem 0 2rem; font-size: 1.05rem; }
.cta .btn { background: #fff; color: var(--primary); }
.cta .btn:hover { background: #f0f9ff; }

/* Footer */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.8);
  padding: 2.5rem 0;
  font-size: .9rem;
}
.footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer a { color: var(--accent-light); }
.footer a:hover { color: #fff; }

/* About page */
.page-hero {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  padding: 4rem 0 3rem;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2rem,4vw,3rem);
  font-weight: 800;
  color: var(--primary-dark);
}
.content-section { padding: 4rem 0; }
.content-section h2 { color: var(--primary-dark); margin-bottom: 1rem; font-size: 1.5rem; }
.content-section p { color: var(--text-light); margin-bottom: 1.5rem; max-width: 720px; }
.content-section ul { list-style: none; margin-bottom: 1.5rem; }
.content-section ul li { padding: .3rem 0; color: var(--text-light); }
.content-section ul li::before { content: '› '; color: var(--accent); font-weight: 700; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: .4rem; font-size: .9rem; color: var(--primary-dark); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: .75rem 1rem;
  border: 2px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: .95rem;
  transition: border-color .2s; background: var(--bg-white);
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }

@media (max-width: 768px) {
  .nav { gap: 1rem; }
  .nav a { font-size: .82rem; }
  .pricing-card.featured { transform: none; }
}
