*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #059669;
  --primary-dark: #047857;
  --primary-light: #d1fae5;
  --white: #ffffff;
  --bg: #f8fafc;
  --text: #1e293b;
  --text-light: #64748b;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --radius: 12px;
  --max-w: 1200px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav.scrolled {
  box-shadow: var(--shadow);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo svg {
  width: 28px;
  height: 28px;
}
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}
.nav-cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem !important;
  transition: background 0.2s;
}
.nav-cta:hover {
  background: var(--primary-dark) !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(5,150,105,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-lg {
  padding: 16px 40px;
  font-size: 1.1rem;
}

/* Sections */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--bg);
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto 48px;
}

/* Hero */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 50%, #a7f3d0 100%);
  text-align: center;
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.hero p {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 32px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* How It Works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 auto 16px;
}
.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.step-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.service-card svg {
  width: 40px;
  height: 40px;
  color: var(--primary);
  margin-bottom: 14px;
}
.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item h3 {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--primary);
}
.stat-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Case Studies */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.case-body {
  padding: 24px;
}
.case-body .tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.case-body h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.case-body p {
  font-size: 0.88rem;
  color: var(--text-light);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.testimonial-card .stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.testimonial-card blockquote {
  font-size: 0.92rem;
  color: var(--text);
  font-style: italic;
  margin-bottom: 14px;
}
.testimonial-card cite {
  font-style: normal;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
}
.testimonial-card cite span {
  display: block;
  font-weight: 400;
  color: var(--text-light);
  font-size: 0.8rem;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 600;
  background: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  font-family: var(--font);
  transition: background 0.2s;
}
.faq-question:hover {
  background: var(--bg);
}
.faq-question .icon {
  font-size: 1.3rem;
  transition: transform 0.3s;
  color: var(--primary);
}
.faq-item.open .faq-question .icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 22px;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 22px 18px;
}
.faq-answer p {
  color: var(--text-light);
  font-size: 0.92rem;
}

/* Keywords Cloud */
.keywords-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto;
}
.keywords-cloud span {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  color: var(--text-light);
  transition: all 0.2s;
}
.keywords-cloud span:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}
.cta-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.cta-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 28px;
}
.cta-section .btn {
  background: var(--white);
  color: var(--primary);
}
.cta-section .btn:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.footer-brand p {
  font-size: 0.85rem;
  max-width: 280px;
}
.footer h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.footer ul {
  list-style: none;
}
.footer ul li {
  margin-bottom: 8px;
}
.footer ul li a {
  color: #94a3b8;
  font-size: 0.85rem;
}
.footer ul li a:hover {
  color: var(--white);
}
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
}
.footer-bottom a {
  color: #94a3b8;
}
.footer-bottom a:hover {
  color: var(--white);
}
.sister-sites {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
  margin-bottom: 8px;
}

/* Page Header */
.page-header {
  padding: 120px 0 48px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  text-align: center;
}
.page-header h1 {
  font-size: 2.4rem;
  font-weight: 900;
}
.page-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 8px auto 0;
}

/* Contact Form */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.2s;
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5,150,105,0.1);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.form-msg {
  padding: 14px 18px;
  border-radius: 8px;
  font-weight: 500;
  margin-bottom: 16px;
  display: none;
}
.form-msg.success {
  display: block;
  background: var(--primary-light);
  color: var(--primary-dark);
}
.form-msg.error {
  display: block;
  background: #fee2e2;
  color: #dc2626;
}

/* About page */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}
.about-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 32px 0 12px;
}
.about-content p {
  color: var(--text-light);
  margin-bottom: 14px;
  font-size: 0.95rem;
}
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}
.value-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--bg);
  border-radius: var(--radius);
}
.value-card svg {
  width: 36px;
  height: 36px;
  color: var(--primary);
  margin-bottom: 12px;
}
.value-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.value-card p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile */
@media (max-width: 900px) {
  .hero h1 { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }
  .steps-grid,
  .stats-grid,
  .cases-grid,
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .steps-grid,
  .stats-grid,
  .cases-grid,
  .testimonials-grid,
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: 1.7rem; }
  .section { padding: 60px 0; }
}
