:root {
  --olive: #5B6B2F;
  --olive-dark: #46531F;
  --terre: #B5532F;
  --terre-dark: #95401F;
  --creme: #F6EFE0;
  --creme-alt: #EDE3CC;
  --ink: #2A2A22;
  --serif: Georgia, "Times New Roman", "Noto Naskh Arabic", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Tahoma, "Noto Sans Arabic", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--creme);
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--olive-dark);
  line-height: 1.25;
  margin: 0 0 .6em;
  overflow-wrap: anywhere;
}

a { color: var(--terre-dark); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--terre);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  inset-inline-start: -9999px;
  top: 0;
  background: var(--olive-dark);
  color: #fff;
  padding: .5rem 1rem;
  z-index: 100;
}
.skip-link:focus { inset-inline-start: 0; }

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.narrow { max-width: 720px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--olive);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  max-width: 1040px;
  margin: 0 auto;
  padding: .6rem 1rem;
}
.brand {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  min-width: 0;
  overflow-wrap: anywhere;
}
.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
}
.lang-switch button {
  font: inherit;
  font-size: .8rem;
  padding: .25rem .55rem;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.lang-switch button[aria-pressed="true"] {
  background: var(--creme);
  color: var(--olive-dark);
  border-color: var(--creme);
  font-weight: 700;
}

.main-nav {
  background: var(--olive-dark);
}
.main-nav ul {
  list-style: none;
  margin: 0 auto;
  padding: .4rem .5rem;
  max-width: 1040px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .15rem .35rem;
}
.main-nav a {
  display: inline-block;
  padding: .3rem .5rem;
  font-size: .85rem;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  white-space: nowrap;
}
.main-nav a:hover { background: rgba(255,255,255,.15); }
.main-nav a.nav-cta {
  background: var(--terre-dark);
  font-weight: 700;
}
.main-nav a.nav-cta:hover { background: var(--terre); }

/* Hero */
.hero {
  padding: 3.5rem 0 3rem;
  text-align: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(181,83,47,.10) 0 18%, transparent 19%),
    radial-gradient(circle at 85% 80%, rgba(91,107,47,.12) 0 20%, transparent 21%),
    var(--creme);
  border-bottom: 4px double var(--terre);
}
.hero h1 { font-size: clamp(1.7rem, 7vw, 3rem); }
.eyebrow {
  margin: 0 0 .5rem;
  color: var(--terre-dark);
  font-weight: 600;
  letter-spacing: .05em;
}
.slogan {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  margin: 0 0 1.5rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}

/* Buttons */
.btn {
  display: inline-block;
  max-width: 100%;
  padding: .7rem 1.3rem;
  border-radius: 6px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.btn-primary { background: var(--terre-dark); color: #fff; }
.btn-primary:hover { background: var(--terre); }
.btn-outline { border-color: var(--olive); color: var(--olive-dark); background: transparent; }
.btn-outline:hover { background: var(--olive); color: #fff; }
.btn[disabled] {
  background: #CFC8B8;
  color: #3D3B33;
  cursor: not-allowed;
}

/* Sections */
.section { padding: 3rem 0; }
.section-alt { background: var(--creme-alt); }
.section h2 {
  font-size: clamp(1.4rem, 5vw, 2rem);
  position: relative;
  padding-bottom: .4rem;
}
.section h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: .4rem;
  background: var(--terre);
  border-radius: 2px;
}
.soon {
  font-style: italic;
  color: #55524A;
}
.placeholder-box {
  margin-top: 1rem;
  padding: 1.25rem;
  border: 2px dashed rgba(91,107,47,.45);
  border-radius: 10px;
  background: rgba(255,255,255,.4);
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.card {
  background: #fff;
  border-radius: 10px;
  padding: 1.25rem;
  border-top: 4px solid var(--olive);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  min-width: 0;
}
.card p { margin: .3rem 0; }
.break { overflow-wrap: anywhere; word-break: break-word; }

/* Footer */
.site-footer {
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: .85rem;
  color: #4A473F;
  border-top: 1px solid rgba(91,107,47,.25);
}
.site-footer p { margin: .2rem 0; }
.powered { font-size: .78rem; }
.powered a { color: var(--olive-dark); }

@media (min-width: 720px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .main-nav a { font-size: .95rem; }
  .brand { font-size: 1.3rem; }
  .section { padding: 4rem 0; }
}

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