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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-charcoal);
  background: var(--color-white);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--color-electric);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--color-gold); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-navy);
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.75rem); }

p { margin: 0 0 1rem; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--space-2xl) 0;
  position: relative;
}

.section-sm { padding: var(--space-xl) 0; }

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
}
.section-title h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  right: 50%;
  transform: translateX(50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-gold);
  border-radius: var(--radius-full);
}
.section-title p {
  color: var(--color-gray);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 1.5rem auto 0;
}

::selection {
  background: var(--color-gold);
  color: var(--color-navy);
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--color-light); }
::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 10px;
}
