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

:root {
  --primary: #1d4ed8;
  --primary-dark: #1e3a8a;
  --accent: #f59e0b;
  --dark: #111827;
  --gray: #6b7280;
  --light-bg: #f3f4f6;
  --white: #ffffff;
  --radius: 10px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background: var(--white);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--dark);
}
.btn-primary:hover { background: #d97706; }

.btn-secondary {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-secondary:hover { background: var(--white); color: var(--primary); }

.btn-header {
  background: var(--primary);
  color: var(--white);
  padding: 10px 18px;
}
.btn-header:hover { background: var(--primary-dark); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
}
.logo span { color: var(--primary); }

.main-nav ul {
  display: flex;
  gap: 24px;
}

.main-nav a {
  font-weight: 500;
  color: var(--dark);
}
.main-nav a:hover { color: var(--primary); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  height: 3px;
  width: 100%;
  background: var(--dark);
  border-radius: 2px;
}

/* Hero */
.hero {
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 90px 0;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-text { flex: 1; min-width: 300px; }

.hero-text h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 28px;
  color: #e5e7eb;
}

.hero-buttons { display: flex; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }

.hero-badges li {
  margin-bottom: 6px;
  color: #dbeafe;
  font-size: 0.95rem;
}

.hero-image {
  flex: 1;
  min-width: 280px;
  min-height: 320px;
  background: url('https://images.unsplash.com/photo-1584824486516-0555a07e2f31?auto=format&fit=crop&w=800&q=80') center/cover no-repeat;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Sections */
.section { padding: 80px 0; }

.section h2 {
  text-align: center;
  font-size: 2.1rem;
  margin-bottom: 12px;
}

.section-lead {
  text-align: center;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto 50px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.card {
  background: var(--light-bg);
  padding: 32px 24px;
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.25s ease;
}
.card:hover { transform: translateY(-6px); }
.card .icon { font-size: 2.2rem; margin-bottom: 14px; }
.card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.card p { color: var(--gray); font-size: 0.95rem; }

/* About */
.about { background: var(--light-bg); }
.about-inner {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}
.about-image {
  flex: 1;
  min-width: 280px;
  min-height: 320px;
  background: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&w=800&q=80') center/cover no-repeat;
  border-radius: var(--radius);
}
.about-text { flex: 1; min-width: 280px; }
.about-text h2 { text-align: left; margin-bottom: 18px; }
.about-text p { margin-bottom: 16px; color: var(--gray); }
.about-list li {
  margin-bottom: 8px;
  padding-left: 22px;
  position: relative;
}
.about-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.testimonial {
  background: var(--white);
  border: 1px solid #e5e7eb;
  padding: 28px;
  border-radius: var(--radius);
}
.testimonial p { font-style: italic; margin-bottom: 14px; }
.testimonial span { font-weight: 600; color: var(--primary); }

/* Contact */
.contact { background: var(--light-bg); }
.contact-inner {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}
.contact-info { flex: 1; min-width: 280px; }
.contact-info h2 { text-align: left; }
.contact-info ul { margin: 20px 0; }
.contact-info li { margin-bottom: 10px; }
.contact-info a { color: var(--primary); font-weight: 600; }
.socials { display: flex; gap: 16px; margin-top: 20px; }
.socials a {
  background: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
}
.socials a:hover { background: var(--primary-dark); }

.contact-form {
  flex: 1;
  min-width: 280px;
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.contact-form h3 { margin-bottom: 20px; }
.contact-form label { display: block; margin-bottom: 6px; font-weight: 500; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
}
.form-note { margin-top: 12px; color: var(--primary); font-weight: 600; }

/* Legal */
.legal h1 { margin-bottom: 20px; }
.legal h2 { text-align: left; margin: 28px 0 10px; font-size: 1.3rem; }
.legal p { color: var(--gray); margin-bottom: 6px; }

/* Footer */
.site-footer {
  background: var(--dark);
  color: #e5e7eb;
  padding: 50px 0 20px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.footer-inner .logo { color: var(--white); margin-bottom: 10px; display: inline-block; }
.footer-links, .footer-socials { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-socials a { color: #e5e7eb; }
.footer-links a:hover, .footer-socials a:hover { color: var(--accent); }
.footer-bottom {
  text-align: center;
  border-top: 1px solid #374151;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #9ca3af;
}

@media (max-width: 860px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 20px; gap: 14px; }
  .nav-toggle { display: flex; }
  .btn-header { display: none; }
}

@media (max-width: 600px) {
  .hero-text h1 { font-size: 2rem; }
}