* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: #1e293b;
  background: #f6f8fb;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.header {
  background: rgba(15, 23, 42, 0.98);
  color: #fff;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 4px;
}

.logo-text {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.4px;
}

.menu {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 120px 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.9;
}

.hero h1 {
  margin: 0 0 14px;
  line-height: 1.1;
  font-size: clamp(34px, 5vw, 60px);
}

.hero p {
  font-size: 18px;
  max-width: 620px;
  margin: 0;
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.section {
  padding: 68px 0;
}

.section.alt {
  background: #eef2ff;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h1,
.section-heading h2 {
  margin: 0 0 10px;
  line-height: 1.2;
}

.section-heading p {
  margin: 0;
  color: #475569;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 24px;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #2563eb;
  color: #fff;
  font-weight: 800;
  margin-bottom: 16px;
}

.card p {
  margin-bottom: 16px;
}

.card a {
  color: #2563eb;
  font-weight: 700;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.benefit {
  padding: 18px;
  text-align: center;
  font-weight: 700;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.cta {
  padding: 34px;
  text-align: center;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
}

.primary {
  background: #2563eb;
  color: #fff;
}

.secondary {
  background: #fff;
  color: #0f172a;
}

.service-block {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  margin-bottom: 22px;
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.service-block.reverse {
  direction: rtl;
}

.service-block.reverse .service-content {
  direction: ltr;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.service-content {
  padding: 28px;
}

.text-block {
  padding: 32px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.about-image {
  margin-top: 20px;
  border-radius: 14px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form {
  padding: 24px;
  display: grid;
  gap: 14px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d6dbe5;
  border-radius: 12px;
  font: inherit;
  background: #fff;
}

.footer {
  padding: 26px 0;
  text-align: center;
  color: #64748b;
}

@media (max-width: 960px) {
  .cards,
  .benefits,
  .contact-grid,
  .service-block {
    grid-template-columns: 1fr;
  }

  .service-block.reverse {
    direction: ltr;
  }

  .hero-content {
    padding: 90px 0;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 52px 0;
  }

  .hero {
    min-height: 86vh;
  }

  .nav {
    align-items: flex-start;
  }

  .brand {
    gap: 10px;
  }

  .logo-img {
    width: 42px;
    height: 42px;
  }

  .menu {
    gap: 12px;
  }
}