/* حلا الدولية — ألوان: ترابي ذهبي وكحلي دافئ */
:root {
  --bg: #f7f3eb;
  --bg-dark: #1c1914;
  --surface: #fffdf8;
  --text: #2a261f;
  --muted: #5c564c;
  --accent: #b8860b;
  --accent-soft: #d4a84b;
  --line: rgba(44, 40, 34, 0.12);
  --shadow: 0 24px 48px rgba(28, 25, 20, 0.12);
  --radius: 14px;
  --font: "Cairo", system-ui, sans-serif;
  --font-display: "El Messiri", "Cairo", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 235, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  text-decoration: none;
  color: inherit;
}

.brand:hover {
  text-decoration: none;
}

.brand-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  color: var(--bg-dark);
  line-height: 1.2;
}

.brand-beside {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--accent);
  line-height: 1.2;
}

.brand-beside.light {
  color: var(--accent-soft);
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
}

.brand-sub.light {
  color: rgba(255, 253, 248, 0.75);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
}

.site-nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  border-bottom-color: var(--accent);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 26px;
  background: var(--bg-dark);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    padding: 1rem 1.25rem 1.5rem;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 72px;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1s ease, transform 8s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  /* تعتيم أخف لإبراز صور الغلاف */
  background: linear-gradient(
    160deg,
    rgba(28, 25, 20, 0.52) 0%,
    rgba(28, 25, 20, 0.28) 42%,
    rgba(44, 38, 28, 0.38) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fffdf8;
  padding-block: 3rem 5rem;
}

.hero-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.4rem 0.65rem;
}

.hero-kicker-beside {
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent-soft);
  text-transform: none;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.15;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.hero-lead {
  max-width: 36rem;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  opacity: 0.95;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  color: var(--bg-dark);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  filter: brightness(1.05);
  color: var(--bg-dark);
}

.btn-ghost {
  background: transparent;
  color: #fffdf8;
  border-color: rgba(255, 253, 248, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 253, 248, 0.12);
  color: #fffdf8;
}

.btn-block {
  width: 100%;
}

.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 0.65rem;
}

.hero-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 253, 248, 0.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.2s;
}

.hero-dots .dot.is-active {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  transform: scale(1.15);
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 2.75rem;
}

.section-head.align-start {
  text-align: start;
  margin-inline: 0;
  max-width: none;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0 0 0.75rem;
  color: var(--bg-dark);
}

.section-desc {
  margin: 0;
  color: var(--muted);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-card {
  background: var(--surface);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 8px 32px rgba(28, 25, 20, 0.06);
}

.about-card h3 {
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
  color: var(--bg-dark);
}

.about-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Vision */
.section-vision {
  background: linear-gradient(180deg, #ebe4d6 0%, var(--bg) 100%);
}

.vision-wrap {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .vision-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.vision-block {
  background: var(--surface);
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  border-inline-start: 4px solid var(--accent);
  box-shadow: var(--shadow);
}

.vision-block.alt {
  border-inline-start-color: #6b7c4e;
}

.vision-block h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.45;
  margin: 0 0 1rem;
  color: var(--bg-dark);
}

.vision-block p {
  margin: 0;
  color: var(--muted);
}

/* Goals */
.goals-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.goals-list li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--surface);
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.goal-num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent);
  opacity: 0.85;
  line-height: 1;
}

.goals-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  color: var(--bg-dark);
}

.goals-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Contact */
.section-contact {
  background: var(--bg-dark);
  color: #fffdf8;
}

.section-contact .section-tag {
  color: var(--accent-soft);
}

.section-contact .section-head h2 {
  color: #fffdf8;
}

.section-contact .section-desc {
  color: rgba(255, 253, 248, 0.75);
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
    gap: 3rem;
  }
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 1.35rem;
}

.contact-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 253, 248, 0.55);
  margin-bottom: 0.25rem;
}

.contact-list a,
.contact-list span:not(.contact-label) {
  color: #fffdf8;
  font-weight: 600;
  font-size: 1.05rem;
}

.contact-list a:hover {
  color: var(--accent-soft);
}

.contact-form {
  background: rgba(255, 253, 248, 0.06);
  border: 1px solid rgba(255, 253, 248, 0.12);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.form-row {
  margin-bottom: 1.1rem;
}

.form-row.two {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 500px) {
  .form-row.two {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: rgba(255, 253, 248, 0.9);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 253, 248, 0.2);
  background: rgba(28, 25, 20, 0.5);
  color: #fffdf8;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--accent);
  border-color: transparent;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn-primary {
  margin-top: 0.25rem;
}

.form-note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  min-height: 1.5em;
}

.form-note.is-ok {
  color: #9fd89f;
}

.form-note.is-err {
  color: #f0a8a8;
}

/* Footer */
.site-footer {
  background: #141210;
  color: rgba(255, 253, 248, 0.65);
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 253, 248, 0.08);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 600px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: start;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

@media (min-width: 600px) {
  .footer-brand {
    align-items: flex-start;
  }
}

.footer-brand .brand-mark {
  color: #fffdf8;
}

.footer-copy {
  margin: 0;
  font-size: 0.9rem;
}
