@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap');

:root {
  --paper: #f7f5f0;
  --green: #4f7170;
  --gold: #ae863d;
  --ink: #233d3a;
  --muted: #4d615c;
  --deep: #294b46;
  --edge: rgb(255 255 255 / 88%);
  --line: rgb(79 113 112 / 20%);
  --shadow: 0 12px 36px rgb(38 56 47 / 6%);
  font-family: Tajawal, Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
* { scrollbar-width: thin; scrollbar-color: #718d8a transparent; }
*::-webkit-scrollbar { width: 5px; height: 5px; }
*::-webkit-scrollbar-thumb { background: #718d8a; border-radius: 6px; }
*::-webkit-scrollbar-button { display: none; }
*, *::before, *::after { box-sizing: border-box; }
body {
  min-height: 100dvh;
  margin: 0;
  background: radial-gradient(ellipse 70% 29rem at 50% 9rem, #fdfbf6, transparent 95%), var(--paper);
}
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.75rem); line-height: 1.16; font-weight: 800; }
section[id] { scroll-margin-top: 24px; }
:focus-visible { outline: none; box-shadow: inset 0 -2px 0 var(--green); }
[hidden] { display: none !important; }
.symbols { position: absolute; width: 0; height: 0; pointer-events: none; }
.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus { position: absolute; z-index: 5; inset: 8px 8px auto auto; background: white; padding: 12px; }
.shell { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.topline {
  background: var(--deep);
  color: var(--paper);
  text-align: center;
  font-size: .86rem;
  font-weight: 500;
}
.topline a { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; }
.topline .icon { width: 16px; height: 16px; color: #ebc88f; }
.topline :focus-visible { outline-color: var(--paper); outline-offset: 0; }
.header {
  min-height: 76px;
  margin-block: 18px 20px;
  padding: 10px 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--edge);
  border-radius: 22px;
  background: #fffbf3;
  box-shadow: var(--shadow), inset 0 1px 0 #fff;
}
@supports (backdrop-filter: blur(16px)) {
  .header {
    background: linear-gradient(160deg, #fffffff0, #faf0e5b8);
    backdrop-filter: blur(16px) saturate(115%);
  }
}
.brand, .header-actions, .desktop-nav { display: flex; align-items: center; }
.brand { justify-self: start; gap: 10px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 48px;
}
.brand-mark img { width: 40px; height: auto; }
.wordmark {
  display: inline-grid;
  justify-items: center;
  font: 500 1.72rem/.95 Georgia, serif;
  letter-spacing: .13em;
  color: var(--deep);
}
.wordmark small { margin-top: 5px; font-size: .52rem; letter-spacing: .28em; }
.desktop-nav { gap: clamp(17px, 3vw, 39px); font-size: .95rem; font-weight: 700; }
.desktop-nav a { display: grid; place-items: center; min-height: 44px; border-bottom: 1px solid transparent; color: var(--muted); }
.desktop-nav a:is(:hover, [aria-current]) { border-color: var(--green); }
.desktop-nav a[aria-current] { color: var(--ink); }
.header-actions { justify-self: end; gap: 4px; }
.round {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #c9d1c6;
  border-radius: 50%;
  background: #fffcf5;
}
.round:hover { background: #edf0e7; }
.button {
  display: inline-flex;
  min-height: 46px;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 9px 19px;
  border: 1px solid transparent;
  border-radius: 99px;
  font-size: .96rem;
  font-weight: 700;
}
.primary { background: var(--deep); color: #fffbf2; }
.primary:hover { background: #365e57; }
.header-chat { background: #e9efe6; border-color: #d2dfd4; }
.header-chat:hover { background: #dfe9de; }
.header-chat .icon { width: 17px; height: 17px; }
.secondary { background: #fffaf1; border-color: #d8c9ad; }
.secondary:hover { background: #f4e8d5; }
.hero {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  min-height: clamp(405px, 38vw, 490px);
  overflow: hidden;
  background: linear-gradient(130deg, #f4f1e6, #fff9ef 50%, #e2e9dc);
  border-radius: 30px;
  border: 1px solid var(--edge);
  box-shadow: var(--shadow), inset 0 1px 0 #fff;
}
.hero-copy {
  align-self: center;
  display: grid;
  justify-items: start;
  padding: clamp(28px, 4vw, 54px);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--deep);
  font-size: .95rem;
  font-weight: 800;
}
.eyebrow span { width: 23px; height: 1px; background: var(--gold); }
.hero h1 {
  margin-block: 12px 14px;
  font-size: clamp(2.35rem, 5vw, 4.45rem);
  font-weight: 800;
  line-height: 1.06;
}
.hero h1 em { color: var(--green); font-style: normal; }
.hero-description { color: var(--muted); max-width: 32ch; font-size: clamp(1rem, 1.5vw, 1.16rem); line-height: 1.72; }
.hero .button { margin-top: 24px; }
.hero-media { position: relative; min-height: 100%; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: 54% 50%; }
.section { margin-top: clamp(44px, 6vw, 86px); }
.filters, .audience { display: flex; flex-wrap: wrap; gap: 8px; }
.filters { margin-bottom: 17px; }
.audience { margin: -4px 0 17px; }
.filters button, .audience button {
  min-height: 44px;
  padding: 6px 16px;
  border-radius: 99px;
  border: 1px solid #d8d9cc;
  background: #fffaf3;
  font-size: .92rem;
  font-weight: 700;
}
.filters button:hover, .audience button:hover { border-color: var(--green); }
.filters button[aria-pressed="true"], .audience button[aria-pressed="true"] { background: var(--deep); color: #fffaf2; border-color: var(--deep); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(11px, 2vw, 22px); }
.product {
  min-width: 0;
  overflow: hidden;
  background: #fffbf4df;
  border: 1px solid var(--edge);
  border-radius: 21px;
  box-shadow: var(--shadow);
}
.product-button {
  display: flex;
  flex-direction: column;
  padding: 0;
  width: 100%;
  height: 100%;
  text-align: start;
  border: 0;
  background: none;
}
.product-button:focus-visible { outline: none; }
.product-art { display: block; background: #e5e8dd; overflow: hidden; }
.product-art { width: 100%; aspect-ratio: 1.22; }
.product-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.product-art img { transition: transform .24s ease; }
@media (hover: hover) {
  .product-button:hover img { transform: scale(1.035); }
  .product-button:hover .product-more { text-decoration: underline; }
}
.category-art {
  display: grid;
  height: 100%;
  place-items: center;
  background: radial-gradient(ellipse at 23% 19%, #fff8eb, transparent 62%), linear-gradient(135deg, #e9e5d4, #c3d1c6);
}
.category-art svg {
  width: 29%;
  fill: none;
  stroke: var(--deep);
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.product-body { display: grid; align-content: start; grid-template-rows: auto 1fr auto; flex: 1; width: 100%; gap: 6px; padding: 15px 17px; }
.product-category { color: #6d562e; font-weight: 700; font-size: .85rem; }
.product-name { font-weight: 800; font-size: clamp(1.08rem, 1.8vw, 1.33rem); line-height: 1.2; }
.product-more { display: flex; align-items: center; justify-content: space-between; color: var(--deep); font-size: .91rem; font-weight: 700; }
.product-more .icon { width: 18px; height: 18px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 40px 16px; background: #fffbf6; border-radius: 21px; }
.empty p { margin: 7px 0 13px; }
.events {
  display: grid;
  grid-template-columns: 1fr .8fr;
  align-items: stretch;
  min-height: 335px;
  border-radius: 27px;
  background: var(--deep);
  overflow: hidden;
  color: #fff8eb;
}
.event-copy { align-self: center; padding: clamp(24px, 5vw, 64px); }
.event-copy .eyebrow { color: #f2d19c; margin-bottom: 8px; }
.event-copy > p:not(.eyebrow) { max-width: 34ch; color: #f4eddf; margin-block: 11px 19px; font-size: 1.07rem; line-height: 1.65; }
.event-copy .button { color: var(--deep); }
.event-copy :focus-visible { outline-color: var(--paper); }
.event-image { width: 100%; height: 100%; object-fit: cover; max-height: 390px; }
.service { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.service-card { padding: clamp(23px, 4vw, 43px); border: 1px solid var(--edge); border-radius: 25px; background: #fffaf3e0; box-shadow: var(--shadow); }
.service-card h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); margin-block: 12px 9px; }
.service-card p { color: var(--muted); margin-bottom: 16px; line-height: 1.7; font-size: 1.05rem; }
.service-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #e5ede4; color: var(--deep); }
.branch-list { display: grid; }
.branch-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid #e6ded1; }
.branch-list a:hover strong { text-decoration: underline; }
.branch-list a:last-child { border-bottom: 0; }
.branch-list span { display: grid; gap: 4px; }
.branch-list small { color: var(--muted); font-size: .9rem; }
.dock { display: none; }
dialog {
  position: fixed;
  width: min(720px, calc(100% - 38px));
  max-height: calc(100dvh - 40px);
  padding: 0;
  border: 0;
  border-radius: 25px;
  background: #fff9ef;
  color: var(--ink);
  overscroll-behavior: contain;
  scrollbar-width: none;
  box-shadow: 0 20px 60px #172e2b4d;
}
dialog::-webkit-scrollbar { display: none; }
dialog::backdrop { background: #172f2b99; backdrop-filter: blur(4px); }
.close { position: absolute; z-index: 1; inset-block-start: 11px; inset-inline-start: 11px; }
.english { text-align: start; }

@media (max-width: 930px) {
  .shell { width: calc(100% - 44px); }
  .desktop-nav { gap: 16px; }
  .header-chat { padding-inline: 12px; }
}
@media (max-width: 700px) {
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
  .shell { width: calc(100% - 28px); }
  .header { grid-template-columns: 1fr auto; min-height: 61px; margin-block: 10px 12px; padding: 6px 10px; gap: 8px; border-radius: 17px; }
  .brand { gap: 7px; }
  .brand-mark { width: 34px; height: 41px; }
  .brand-mark img { width: 33px; }
  .wordmark { font-size: 1.35rem; }
  .wordmark small { font-size: .44rem; }
  .desktop-nav { display: none; }
  .header-actions { gap: 1px; }
  .header-chat { min-height: 44px; font-size: .83rem; gap: 5px; }
  .hero { grid-template-columns: 1fr; min-height: 0; border-radius: 23px; }
  .hero-copy { padding: 23px 21px 21px; }
  .hero h1 { margin-block: 8px 10px; font-size: clamp(2.35rem, 8.8vw, 3.85rem); }
  .hero-description { font-size: .98rem; line-height: 1.57; }
  .hero .button { margin-top: 15px; }
  .hero-media { min-height: 0; aspect-ratio: 1.66; }
  .hero-media img { object-position: 54% 61%; }
  .section { margin-top: 38px; }
  .filters, .audience { gap: 5px; }
  .filters button, .audience button { min-height: 44px; padding-inline: 10px; font-size: .85rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product { border-radius: 15px; }
  .product-art { aspect-ratio: 1; }
  .product-body { padding: 10px 9px; }
  .events { grid-template-columns: 1fr; min-height: 0; border-radius: 22px; }
  .event-image { max-height: none; aspect-ratio: 1.75; }
  .service { grid-template-columns: 1fr; gap: 11px; }
  .dock {
    position: fixed;
    z-index: 2;
    inset-inline: max(11px, env(safe-area-inset-left, 0px)) max(11px, env(safe-area-inset-right, 0px));
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: 440px;
    margin-inline: auto;
    padding: 5px;
    border: 1px solid var(--edge);
    border-radius: 21px;
    background: #faf9f5;
    box-shadow: 0 7px 28px #253c3422, inset 0 1px 0 #fff;
  }
  .dock a { display: grid; min-height: 47px; place-content: center; justify-items: center; gap: 4px; border-radius: 16px; color: var(--muted); font-size: clamp(.63rem, 2.8vw, .75rem); font-weight: 700; line-height: 1; }
  .dock a[aria-current] { background: #e5ebe2; color: var(--deep); font-weight: 800; }
  .dock .icon { width: 18px; height: 18px; }
  body:has(dialog[open]) .dock { visibility: hidden; }
}
@supports (backdrop-filter: blur(14px)) {
  .dock { background: #faf9f5db; backdrop-filter: blur(16px) saturate(125%); }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
