:root {
  --olive: #5B7F3A;
  --olive-dark: #46632B;
  --cream: #F6F0E1;
  --cream-2: #EDE4CC;
  --ocre: #C8872E;
  --ink: #2B2B22;
  --muted: #55524A;
  --radius: 14px;
  --font-title: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Nunito", "Segoe UI", system-ui, sans-serif;
  --font-text: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 1rem; }

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

img, svg, video, iframe, textarea, input, select { max-width: 100%; }

h1, h2, h3 { font-family: var(--font-title); line-height: 1.25; margin: 0 0 .75rem; }
h1 { font-size: clamp(1.75rem, 7vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 5vw, 2rem); color: var(--olive-dark); }

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

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

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 10;
}
.skip:focus { left: 0; }

/* Header */
.site-header { background: var(--olive); color: #fff; }
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .5rem; padding-top: .75rem; padding-bottom: .5rem;
}
.brand { margin: 0; font-family: var(--font-title); font-weight: 700; font-size: 1.1rem; min-width: 0; }
.brand a { color: #fff; text-decoration: none; overflow-wrap: anywhere; }

.lang { display: flex; flex-wrap: wrap; gap: .35rem; }
.lang button {
  font: inherit; font-size: .85rem; cursor: pointer;
  min-height: 40px; padding: .3rem .7rem;
  border-radius: 999px; border: 2px solid #fff;
  background: transparent; color: #fff;
}
.lang button[aria-pressed="true"] { background: #fff; color: var(--olive-dark); font-weight: 700; }

.main-nav { background: var(--olive-dark); }
.main-nav ul {
  list-style: none; margin: 0 auto; padding-top: .4rem; padding-bottom: .4rem;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .15rem .35rem;
}
.main-nav li { min-width: 0; }
.main-nav a {
  display: inline-block; color: #fff; text-decoration: none;
  font-size: .9rem; padding: .45rem .6rem; border-radius: 8px;
  min-height: 40px; line-height: 1.6;
}
.main-nav a:hover { background: rgba(255,255,255,.15); text-decoration: underline; }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream-2) 100%);
  padding: 2.5rem 0 2rem; text-align: center;
  border-bottom: 6px solid var(--ocre);
}
.hero h1 { color: var(--olive-dark); overflow-wrap: anywhere; }
.slogan { font-size: 1.15rem; margin: 0 auto 1.5rem; max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: .75rem 1.4rem; max-width: 100%;
  border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; text-align: center;
}
.btn-accent { background: var(--ocre); color: var(--ink); }
.btn-primary { background: var(--olive-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--olive-dark); border-color: var(--olive-dark); }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* Sections */
.section { padding: 2.25rem 0; }
.section.alt { background: var(--cream-2); }

.card {
  background: #fff; border-radius: var(--radius);
  padding: 1rem 1.1rem; box-shadow: 0 1px 3px rgba(43,43,34,.12);
}
.notice {
  background: #fff; border-inline-start: 5px solid var(--ocre);
  padding: .9rem 1rem; border-radius: 8px; font-weight: 600;
}
.muted { color: var(--muted); }
.small { font-size: .9rem; margin: 0; }

.order-form { display: grid; gap: .75rem; }
.order-form label { font-weight: 700; }
.order-form textarea {
  width: 100%; font: inherit; padding: .75rem; border-radius: 10px;
  border: 2px solid #8E8A7C; background: #FBF9F3; color: var(--ink); resize: vertical;
}

.steps, .contact-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .75rem; }
.steps { counter-reset: s; }
.steps li { counter-increment: s; display: flex; gap: .75rem; align-items: center; }
.steps li::before {
  content: counter(s); flex: 0 0 2rem; height: 2rem; border-radius: 50%;
  background: var(--olive); color: #fff; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}

.hours { margin: 0; display: grid; gap: .5rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; }

.contact-list li { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.contact-list .label { font-weight: 700; color: var(--olive-dark); }
.contact-list a { font-size: 1.05rem; }
.break { overflow-wrap: anywhere; word-break: break-word; }

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

/* RTL */
[dir="rtl"] body, [dir="rtl"] { font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2 { font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, var(--font-title); }

@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .contact-list { grid-template-columns: repeat(3, 1fr); }
  .main-nav a { font-size: 1rem; }
  .hero { padding: 4rem 0 3rem; }
}

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