* {
  box-sizing: border-box;
}

:root {
  --bg: #f6f2ea;
  --text: #1f2933;
  --muted: #657080;
  --primary: #17324d;
  --primary-2: #224968;
  --accent: #c89b3c;
  --card: #ffffff;
  --border: rgba(31, 41, 51, 0.12);
  --shadow: 0 24px 60px rgba(23, 50, 77, 0.14);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Tajawal", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 242, 234, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--primary);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--primary);
  color: white;
  font-size: 24px;
}

.nav-links {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 13px 24px;
  background: var(--accent);
  color: #1b2632;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 10px 24px rgba(200, 155, 60, .24);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(200, 155, 60, .3);
}

.btn-small {
  padding: 10px 18px;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  box-shadow: none;
}

.btn-light {
  background: #fff;
  color: var(--primary);
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 60px;
  background:
    radial-gradient(circle at top right, rgba(200,155,60,.18), transparent 35%),
    linear-gradient(135deg, #f8f5ef 0%, #efe7da 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 44px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: .3px;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
  color: var(--primary);
  margin-bottom: 14px;
}

h3 {
  color: var(--primary);
  margin-bottom: 8px;
}

.hero-text {
  font-size: 20px;
  color: var(--muted);
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(23, 50, 77, .08);
  color: var(--primary);
  font-weight: 700;
}

.hero-card {
  background: var(--primary);
  color: white;
  border-radius: 30px;
  padding: 34px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset-inline-start: -60px;
  top: -60px;
  width: 180px;
  height: 180px;
  background: rgba(200,155,60,.24);
  border-radius: 50%;
}

.hero-card h2 {
  color: white;
  position: relative;
}

.hero-card ul {
  position: relative;
  padding: 0 20px 0 0;
  margin: 0;
}

.section {
  padding: 76px 0;
}

.steps {
  padding: 28px 0;
  background: var(--primary);
  color: white;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.steps-grid div {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px;
  padding: 22px;
}

.steps-grid strong {
  display: block;
  color: var(--accent);
  font-size: 28px;
  line-height: 1;
  margin-bottom: 10px;
}

.steps-grid span {
  font-weight: 700;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 10px 30px rgba(31, 41, 51, .06);
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(200, 155, 60, .14);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 18px;
}

.card p,
.about p,
.contact p {
  color: var(--muted);
}

.about {
  background: #fff;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 34px;
  align-items: start;
}

.about-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
}

.about-panel ul {
  margin: 0;
  padding: 0 20px 0 0;
}

.cta {
  padding: 44px 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  color: white;
  border-radius: 32px;
  padding: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow);
}

.cta-box h2 {
  color: white;
}

.cta-box p {
  margin-bottom: 0;
  color: rgba(255,255,255,.82);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-list a,
.contact-list span {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 18px;
  color: var(--primary);
  font-weight: 700;
}

.contact-form {
  background: white;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 10px 30px rgba(31, 41, 51, .06);
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--primary);
  font-weight: 700;
}

input, select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 13px 14px;
  font-family: inherit;
  font-size: 16px;
  outline: none;
  background: #fbfaf7;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
}

textarea {
  resize: vertical;
}

.footer {
  padding: 28px 0;
  background: var(--primary);
  color: rgba(255,255,255,.78);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.footer p {
  margin: 0;
}

.footer a {
  color: white;
  font-weight: 700;
}

@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 16px;
    font-size: 14px;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 22px, 1120px);
  }

  .hero {
    padding-top: 54px;
  }

  .cards,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .brand span:last-child {
    font-size: 14px;
  }

  .btn-small {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
