:root {
  --navy: #1F2A44;
  --orange: #F28C28;
  --light: #F4F5F7;
  --white: #FFFFFF;
  --text: #1F2A44;
  --muted: #4A5468;
  --radius: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans Arabic", Tahoma, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  overflow-wrap: anywhere;
}

img, svg, video { max-width: 100%; height: auto; }

h1, h2, h3 { line-height: 1.25; margin: 0 0 .75rem; font-weight: 800; }
h1 { font-size: clamp(1.75rem, 7vw, 3rem); }
h2 { font-size: clamp(1.4rem, 5vw, 2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1rem; }

a { color: var(--navy); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

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

.skip-link {
  position: absolute;
  inset-inline-start: .5rem;
  top: -3rem;
  background: var(--orange);
  color: var(--navy);
  padding: .5rem 1rem;
  z-index: 100;
  font-weight: 700;
}
.skip-link:focus { top: .5rem; }

/* Header */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: relative;
  z-index: 50;
  border-bottom: 3px solid var(--orange);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding-top: .6rem;
  padding-bottom: .4rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  min-width: 0;
}
.brand-mark {
  background: var(--orange);
  color: var(--navy);
  border-radius: 6px;
  padding: .15rem .4rem;
  font-size: .85rem;
  letter-spacing: .03em;
}
.brand-name { font-size: 1rem; }

.lang-switch { display: flex; flex-wrap: wrap; gap: .25rem; }
.lang-btn {
  font: inherit;
  font-size: .85rem;
  min-height: 36px;
  padding: .25rem .6rem;
  border: 1px solid rgba(255,255,255,.5);
  background: transparent;
  color: var(--white);
  border-radius: 6px;
  cursor: pointer;
}
.lang-btn[aria-pressed="true"] {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy);
  font-weight: 700;
}

.main-nav { width: 100%; max-width: 100%; }
.nav-list {
  list-style: none;
  margin: 0 auto;
  padding: .25rem .5rem .5rem;
  max-width: 1080px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .15rem .35rem;
}
.nav-list a {
  display: inline-block;
  color: var(--white);
  text-decoration: none;
  font-size: .85rem;
  padding: .35rem .5rem;
  border-radius: 6px;
  white-space: nowrap;
}
.nav-list a:hover, .nav-list a:focus-visible { background: rgba(255,255,255,.12); color: var(--orange); }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, #2B3A5E 100%);
  color: var(--white);
  padding: 3rem 0 3.5rem;
  text-align: center;
}
.slogan { font-size: clamp(1.05rem, 4vw, 1.35rem); color: var(--light); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
  margin-top: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  max-width: 100%;
  padding: .75rem 1.4rem;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: #F5A04C; }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn[disabled] {
  background: #D5D8DE;
  color: #3D4557;
  border-color: #D5D8DE;
  cursor: not-allowed;
}

/* Sections */
.section { padding: 2.5rem 0; }
.section-alt { background: var(--light); }

.card {
  background: var(--white);
  border: 1px solid #DDE0E6;
  border-inline-start: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.placeholder p { margin: 0; color: var(--muted); font-style: italic; }
.muted { color: var(--muted); font-style: italic; }
.note { color: var(--muted); font-size: .95rem; }
.feature-slot { margin-top: 1.25rem; }
.feature-slot .btn { width: 100%; }
.feature-slot .note:last-child { margin-top: .75rem; margin-bottom: 0; }

.grid-2 { display: grid; gap: 1rem; grid-template-columns: 1fr; }

.hours { margin: 0; }
.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .5rem 0;
  border-bottom: 1px solid #E4E6EB;
}
.hours dt { font-weight: 600; }
.hours dd { margin: 0; }

.contact-list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.contact-list li {
  display: flex;
  flex-direction: column;
  padding: .75rem 0;
  border-bottom: 1px solid #E4E6EB;
}
.contact-list .label { font-size: .85rem; color: var(--muted); font-weight: 600; }
.contact-link { font-size: 1.1rem; font-weight: 700; word-break: break-all; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #C9CEDA;
  text-align: center;
  font-size: .8rem;
  padding: 1rem 0;
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--white); }

/* RTL */
[dir="rtl"] body, [dir="rtl"] { text-align: start; }
[dir="rtl"] .hero { text-align: center; }

/* Larger screens */
@media (min-width: 720px) {
  .site-header { position: sticky; top: 0; }
  main section { scroll-margin-top: 110px; }
  .brand-name { font-size: 1.15rem; }
  .nav-list a { font-size: .95rem; }
  .feature-slot .btn { width: auto; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-2 > .card:first-child h2 { margin-bottom: 1rem; }
  .section { padding: 3.5rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
