:root {
  --forest: #1b251e;
  --forest-soft: #263329;
  --olive: #6d7566;
  --sage: #afb3a4;
  --gold: #d9b451;
  --gold-soft: #ecd78f;
  --paper: #f6f3ed;
  --paper-deep: #ece8df;
  --white: #fffdf8;
  --ink: #202b22;
  --muted: #697168;
  --line: rgba(109, 117, 102, 0.2);
  --shadow: 0 28px 80px rgba(4, 10, 6, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--forest);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 9% 7%, rgba(217, 180, 81, 0.13), transparent 25rem),
    radial-gradient(circle at 93% 92%, rgba(175, 179, 164, 0.09), transparent 32rem),
    var(--forest);
  font-family: "Noto Kufi Arabic", Tahoma, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[dir="ltr"] body {
  font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.site-shell {
  width: min(1480px, calc(100% - 56px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 10px 0 10px;
}

.topbar,
.topbar-actions,
.content-topline,
.maintenance-state,
.countdown-heading,
.contact-button,
.content-footer,
.social-links,
.media-header,
.media-footer,
.slider-controls,
.site-footer {
  display: flex;
  align-items: center;
}

.topbar {
  min-height: 66px;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.brand {
  display: inline-flex;
  width: 130px;
  padding: 10px 17px;
  background: var(--paper);
  border: 1px solid rgba(255, 253, 248, 0.3);
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(4, 10, 6, 0.18);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(4, 10, 6, 0.24);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.topbar-actions {
  gap: 22px;
}

.language-switch {
  display: inline-flex;
  min-width: 84px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 15px;
  color: var(--white);
  background: rgba(255, 253, 248, 0.04);
  border: 1px solid rgba(217, 180, 81, 0.58);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.language-switch:hover {
  color: var(--forest);
  background: var(--gold);
  transform: translateY(-2px);
}

.language-code {
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.language-switch svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(500px, 0.94fr) minmax(520px, 1.06fr);
  min-height: min(790px, calc(100svh - 144px));
  overflow: hidden;
  background: var(--paper);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.content-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(40px, 4.2vw, 68px);
  color: var(--ink);
  position: relative;
  z-index: 2;
  background:
    radial-gradient(circle at 8% 6%, rgba(217, 180, 81, 0.11), transparent 16rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.35), transparent 45%),
    var(--paper);
}

.content-card::after {
  content: "";
  width: 1px;
  position: absolute;
  inset-block: 38px;
  inset-inline-end: 0;
  z-index: 4;
  background: rgba(255, 253, 248, 0.3);
}

[dir="rtl"] .content-card {
  grid-column: 1;
}

[dir="rtl"] .media-panel {
  grid-column: 2;
  grid-row: 1;
}

.content-topline {
  justify-content: space-between;
  gap: 20px;
  color: var(--olive);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.7;
  text-transform: uppercase;
}

[dir="rtl"] .content-topline {
  letter-spacing: 0;
  text-transform: none;
}

.maintenance-state {
  gap: 10px;
}

.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(217, 180, 81, 0.16);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 5px rgba(217, 180, 81, 0.16);
  }

  50% {
    box-shadow: 0 0 0 9px rgba(217, 180, 81, 0.02);
  }
}

.intro-block {
  margin-top: clamp(44px, 7vh, 82px);
}

h1 {
  max-width: 670px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.65rem, 4.4vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.33;
}

h1 span,
h1 em {
  display: block;
}

h1 em {
  color: var(--olive);
  font-style: normal;
  font-weight: 400;
}

[dir="ltr"] h1 {
  max-width: 650px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.35rem, 5vw, 5.7rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

[dir="ltr"] h1 em {
  margin-top: 6px;
  font-style: italic;
}

.intro-block p {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 2.05;
}

[dir="ltr"] .intro-block p {
  max-width: 570px;
  font-size: 0.96rem;
  line-height: 1.8;
}

.countdown-section {
  margin-top: clamp(38px, 5vh, 60px);
}

.countdown-heading {
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.countdown-heading h2 {
  margin: 0;
  color: var(--olive);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.countdown-heading time {
  color: rgba(105, 113, 104, 0.72);
  font-size: 0.6rem;
  font-weight: 500;
}

[dir="ltr"] .countdown-heading h2,
[dir="ltr"] .countdown-heading time {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.time-unit {
  min-width: 0;
  padding: 15px 10px 13px;
  background: rgba(255, 253, 248, 0.68);
  border: 1px solid rgba(109, 117, 102, 0.15);
  border-radius: 12px;
  text-align: center;
}

.time-unit strong {
  display: block;
  direction: ltr;
  color: var(--ink);
  font-family: "Noto Kufi Arabic", Tahoma, Arial, sans-serif;
  font-size: clamp(2rem, 3.1vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}

[dir="ltr"] .time-unit strong {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: -0.045em;
}

.time-unit span {
  display: block;
  margin-top: 8px;
  color: var(--olive);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

[dir="ltr"] .time-unit span {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-actions {
  display: grid;
  /*grid-template-columns: repeat(2, minmax(0, 1fr));*/
  gap: 10px;
  margin-top: 27px;
}

.contact-button {
  min-width: 0;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid transparent;
  border-radius: 13px;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.contact-button:hover {
  transform: translateY(-3px);
}

.contact-button-primary {
  color: var(--forest);
  background: var(--gold);
  border-color: var(--gold);
}

.contact-button-primary:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

.contact-button-secondary {
  /*color: var(--ink);
  background: transparent;
  border-color: rgba(109, 117, 102, 0.3);*/
  color: var(--white);
  background: var(--olive);
  border-color: var(--olive);
}

.contact-button-secondary:hover {
  color: var(--white);
  background: var(--olive);
  border-color: var(--olive);
}

.button-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  color: currentColor;
  background: rgba(255, 253, 248, 0.26);
  border-radius: 50%;
}

.contact-button-secondary .button-icon {
  color: var(--gold);
  background: rgba(217, 180, 81, 0.1);
}

.button-icon svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.button-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.button-copy small {
  color: inherit;
  font-size: 0.53rem;
  font-weight: 600;
  line-height: 1.5;
  opacity: 0.72;
}

.button-copy strong {
  overflow: hidden;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(0.65rem, 0.9vw, 0.78rem);
  font-weight: 600;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.button-arrow {
  align-self: flex-start;
  margin-inline-start: auto;
  font-family: Arial, sans-serif;
  font-size: 0.92rem;
  line-height: 1;
  opacity: 0.7;
}

[dir="rtl"] .button-arrow {
  transform: scaleX(-1);
}

.content-footer {
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 34px;
  color: rgba(105, 113, 104, 0.78);
  font-size: 0.55rem;
  font-weight: 500;
}

.social-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px 14px;
  direction: ltr;
  font-family: "DM Sans", Arial, sans-serif;
}

.social-links a {
  color: var(--olive);
  position: relative;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(105, 113, 104, 0.28);
  background: rgba(255, 255, 255, 0.4);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.social-links a svg {
  width: 16px;
  height: 16px;
  display: block;
}

.social-links a::before,
.social-links a::after {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease;
}

.social-links a::after {
  content: attr(data-tooltip);
  top: -34px;
  left: 50%;
  transform: translate(-50%, 4px);
  background: var(--ink);
  color: #f8f5ee;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  font-family: "DM Sans", Arial, sans-serif;
  box-shadow: 0 6px 18px rgba(20, 28, 22, 0.22);
}

.social-links a::before {
  content: "";
  top: -10px;
  left: 50%;
  transform: translate(-50%, 4px) rotate(45deg);
  width: 8px;
  height: 8px;
  background: var(--ink);
}

.social-links a:hover {
  color: var(--ink);
  background: rgba(193, 162, 89, 0.14);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.social-links a:hover::before,
.social-links a:hover::after,
.social-links a:focus-visible::before,
.social-links a:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0) rotate(0);
}

.social-links a:hover::before,
.social-links a:focus-visible::before {
  transform: translate(-50%, 0) rotate(45deg);
}

.media-panel {
  min-width: 0;
  min-height: 620px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  background: var(--olive);
}

.slides,
.slide,
.media-shade {
  position: absolute;
  inset: 0;
}

.slide {
  margin: 0;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 900ms ease, transform 7s ease;
}

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

.slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(0.98);
}

.slide:nth-child(1) img {
  object-position: 53% center;
}

.slide:nth-child(2) img {
  object-position: 54% center;
}

.slide:nth-child(3) img {
  object-position: center center;
}

.media-shade {
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(18, 28, 20, 0.56) 0%, rgba(18, 28, 20, 0.06) 34%, rgba(18, 28, 20, 0.07) 53%, rgba(18, 28, 20, 0.78) 100%),
    linear-gradient(90deg, rgba(24, 35, 26, 0.18), transparent 45%);
  pointer-events: none;
}

.media-mark {
  width: clamp(120px, 12vw, 178px);
  height: auto;
  position: absolute;
  top: 18%;
  left: 50%;
  z-index: 3;
  opacity: 0.3;
  filter: brightness(0) saturate(100%) invert(84%) sepia(38%) saturate(740%) hue-rotate(2deg) brightness(94%) contrast(88%);
  transform: translateX(-50%);
  pointer-events: none;
}

.media-header {
  justify-content: space-between;
  gap: 24px;
  padding: clamp(30px, 3.4vw, 50px);
  position: relative;
  z-index: 4;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 253, 248, 0.24);
  font-size: 0.61rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.media-location {
  color: var(--gold-soft);
  white-space: nowrap;
}

[dir="ltr"] .media-header {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.media-footer {
  justify-content: space-between;
  gap: 30px;
  padding: clamp(30px, 3.4vw, 50px);
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;
}

.slide-copy {
  display: grid;
  gap: 10px;
  color: var(--white);
}

.slide-index {
  color: var(--gold-soft);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.slide-copy p {
  max-width: 500px;
  margin: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.45rem);
  font-weight: 500;
  line-height: 1.7;
  text-shadow: 0 3px 16px rgba(9, 17, 11, 0.34);
}

[dir="ltr"] .slide-copy p {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.25;
}

.slider-controls {
  gap: 7px;
  direction: ltr;
}

.slide-control {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: rgba(255, 253, 248, 0.72);
  background: rgba(24, 35, 26, 0.24);
  border: 1px solid rgba(255, 253, 248, 0.34);
  border-radius: 50%;
  cursor: pointer;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.61rem;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.slide-control:hover {
  color: var(--white);
  background: rgba(24, 35, 26, 0.5);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.slide-control.is-active,
.slide-control.is-active:hover {
  color: var(--forest);
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.site-footer {
  min-height: 36px;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 4px 0;
  color: rgba(255, 253, 248, 0.48);
  font-size: 0.56rem;
  line-height: 1.6;
}

.site-footer a {
  color: var(--gold-soft);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1180px) {
  .site-shell {
    width: min(100% - 40px, 1120px);
  }

  .hero-layout {
    grid-template-columns: minmax(450px, 0.95fr) minmax(440px, 1.05fr);
  }

  .content-card {
    padding: 42px;
  }

  h1 {
    font-size: clamp(2.5rem, 4.8vw, 4rem);
  }

  [dir="ltr"] h1 {
    font-size: clamp(3.1rem, 5.5vw, 4.7rem);
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .content-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .social-links {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .site-shell {
    width: min(100% - 32px, 720px);
    padding-top: 18px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    min-height: 0;
    overflow: visible;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  [dir="rtl"] .content-card,
  [dir="rtl"] .media-panel,
  .content-card,
  .media-panel {
    grid-column: 1;
  }

  [dir="rtl"] .content-card,
  .content-card {
    grid-row: 1;
    padding: clamp(38px, 8vw, 64px);
    border-radius: 24px 24px 0 0;
    box-shadow: var(--shadow);
  }

  .content-card::after {
    display: none;
  }

  [dir="rtl"] .media-panel,
  .media-panel {
    min-height: 520px;
    grid-row: 2;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 28px 80px rgba(4, 10, 6, 0.22);
  }

  .contact-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-footer {
    align-items: center;
    flex-direction: row;
    gap: 18px;
  }

  .social-links {
    justify-content: flex-end;
  }
}

@media (max-width: 600px) {
  .site-shell {
    width: min(100% - 24px, 460px);
    padding-top: 12px;
    padding-bottom: 10px;
  }

  .topbar {
    min-height: 58px;
    margin-bottom: 12px;
  }

  .brand {
    width: 110px;
    padding: 8px 13px;
  }

  .language-switch {
    min-width: 72px;
    min-height: 38px;
    padding: 0 12px;
  }

  .content-card,
  [dir="rtl"] .content-card {
    padding: 31px 22px 28px;
    border-radius: 20px 20px 0 0;
  }

  .content-topline {
    font-size: 0.55rem;
  }

  .intro-block {
    margin-top: 38px;
  }

  h1 {
    font-size: clamp(2.35rem, 11.3vw, 3.25rem);
    line-height: 1.42;
  }

  [dir="ltr"] h1 {
    font-size: clamp(2.75rem, 13vw, 3.8rem);
    line-height: 0.99;
  }

  .intro-block p,
  [dir="ltr"] .intro-block p {
    margin-top: 19px;
    font-size: 0.7rem;
    line-height: 2;
  }

  [dir="ltr"] .intro-block p {
    font-size: 0.85rem;
    line-height: 1.75;
  }

  .countdown-section {
    margin-top: 34px;
  }

  .countdown-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    padding-bottom: 10px;
  }

  .countdown {
    gap: 5px;
    margin-top: 9px;
  }

  .time-unit {
    padding: 13px 3px 11px;
    border-radius: 10px;
  }

  .time-unit strong {
    font-size: clamp(1.7rem, 8.8vw, 2.25rem);
  }

  .time-unit span {
    margin-top: 7px;
    font-size: 0.47rem;
  }

  .contact-actions {
    grid-template-columns: 1fr;
    margin-top: 23px;
  }

  .contact-button {
    padding: 12px 13px;
  }

  .button-copy strong {
    font-size: 0.72rem;
  }

  .content-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
    padding-top: 28px;
  }

  .social-links {
    justify-content: flex-start;
    gap: 8px 10px;
  }

  .social-links a {
    width: 30px;
    height: 30px;
  }

  .social-links a svg {
    width: 14px;
    height: 14px;
  }

  .media-panel,
  [dir="rtl"] .media-panel {
    min-height: 430px;
    border-radius: 0 0 20px 20px;
  }

  .media-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 23px 22px;
    font-size: 0.55rem;
  }

  .media-mark {
    width: 110px;
    top: 25%;
  }

  .media-footer {
    align-items: flex-end;
    gap: 16px;
    padding: 24px 22px;
  }

  .slide-copy {
    gap: 7px;
  }

  .slide-copy p,
  [dir="ltr"] .slide-copy p {
    max-width: 210px;
    font-size: 0.84rem;
    line-height: 1.75;
  }

  [dir="ltr"] .slide-copy p {
    font-size: 1.08rem;
    line-height: 1.25;
  }

  .slide-control {
    width: 34px;
    height: 34px;
    font-size: 0.53rem;
  }

  .slider-controls {
    gap: 5px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    padding: 12px 3px 0;
    font-size: 0.52rem;
  }
}

@media (max-width: 380px) {
  .site-shell {
    width: min(100% - 18px, 440px);
  }

  .brand {
    width: 100px;
  }

  .content-card,
  [dir="rtl"] .content-card {
    padding-inline: 17px;
  }

  .slide-copy p,
  [dir="ltr"] .slide-copy p {
    max-width: 170px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
