/* Dalilak website. RTL, no external scripts; the Cairo font is served from /assets/fonts (SIL OFL 1.1,
   see fonts/README.md). Home design: pen file "Landing Page - Dalilak". */
@font-face {
  font-family: "Cairo";
  src: url("/assets/fonts/cairo-400.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cairo";
  src: url("/assets/fonts/cairo-700.woff2") format("woff2");
  font-weight: 600 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --orange: #FE5629;
  --orange-deep: #D93E12;
  --orange-soft: #FFF1EC;
  --beige: #F5EDE7;
  --ink: #1F2A30;
  --muted: #5B6770;
  --line: #E8DED6;
  --card: #fff;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }
body {
  margin: 0;
  font-family: "Cairo", -apple-system, BlinkMacSystemFont, "Segoe UI", "Geeza Pro", Tahoma, "Noto Naskh Arabic", sans-serif;
  background: var(--beige);
  color: var(--ink);
  line-height: 1.85;
  font-size: 17px;
}
a { color: var(--orange-deep); }
img { max-width: 100%; height: auto; }
h1, h2, h3, p { overflow-wrap: anywhere; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.icon { width: 1em; height: 1em; display: block; }

/* header */
.top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.brand { display: inline-flex; line-height: 0; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 32px; justify-content: flex-end; }
.top nav a { color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 500; padding: 6px 2px; border-bottom: 2px solid transparent; }
.top nav a:hover { color: var(--orange-deep); }
.top nav a[aria-current="page"] { color: var(--orange-deep); border-bottom-color: var(--orange-deep); font-weight: 700; }

/* buttons and badges */
.button { display: inline-block; background: var(--orange-deep); color: #fff; text-decoration: none; padding: 12px 28px; border-radius: 12px; font-weight: 700; font-size: 18px; line-height: 1.7; }
.button:hover { background: #BF3510; }
.badge { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--ink); color: var(--ink); text-decoration: none; border-radius: 12px; padding: 10px 20px; font-size: 16px; line-height: 1.7; }
.badge small { color: var(--muted); font-size: 14px; }
a.badge:hover { border-color: var(--orange-deep); color: var(--orange-deep); }

/* hero */
.hero { background: var(--beige); padding: 72px 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 64px; align-items: center; }
.eyebrow { display: inline-block; background: var(--orange-soft); color: var(--orange-deep); font-weight: 700; font-size: 15px; line-height: 1.7; padding: 4px 16px; border-radius: 100px; margin: 0 0 20px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.3; font-weight: 800; margin: 0 0 20px; }
.lead { font-size: 20px; line-height: 1.7; color: var(--muted); margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0; }
.phones { display: flex; align-items: center; justify-content: center; gap: 16px; width: 568px; max-width: 100%; }
.phones img { min-width: 0; display: block; height: auto; aspect-ratio: 1 / 2; object-fit: cover; background: #fff; border: 5px solid var(--ink); border-radius: 28px; box-shadow: 0 14px 30px rgba(31, 42, 48, .18); }
.phones .main { flex: 0 0 36.6%; width: 36.6%; }
.phones .side { flex: 0 0 29.6%; width: 29.6%; }

/* story */
.story { background: #fff; padding: 88px 0; }
.story-grid { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 80px; align-items: start; }
.kicker { color: var(--orange-deep); font-weight: 700; font-size: 16px; margin: 0 0 12px; line-height: 1.7; }
.story h2, .owners h2 { font-size: 38px; line-height: 1.35; font-weight: 800; margin: 0; }
.story-body p { margin: 0 0 20px; font-size: 20px; line-height: 1.8; }
.story-body p + p { font-size: 18px; color: var(--muted); }

/* features */
.features-sec { background: var(--orange-soft); padding: 88px 0; }
.features-sec h2, .pages-sec h2, .contact-sec h2 { font-size: 38px; line-height: 1.35; font-weight: 800; margin: 0 0 40px; }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.features li { border-top: 2px solid var(--orange); padding-top: 20px; }
.features .ico { display: block; font-size: 32px; color: var(--orange-deep); margin-bottom: 10px; }
.features h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.5; }
.features p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }

/* business owners */
.owners { background: var(--ink); color: #fff; padding: 88px 0; }
.owners-grid { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 64px; align-items: center; }
.owners .kicker { color: var(--orange); }
.owners h2 { color: #fff; margin: 0 0 20px; }
.owners p { color: #D8DEE2; font-size: 18px; line-height: 1.8; margin: 0 0 20px; }
.owners .button { color: #fff; }
.owners-art { font-size: 180px; color: var(--orange); line-height: 0; }

/* pages */
.pages-sec { background: #fff; padding: 88px 0; }
.page-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin: 0; }
.page-links a { display: block; border-bottom: 2px solid var(--line); padding-bottom: 20px; text-decoration: none; color: var(--ink); }
.page-links a:hover { border-bottom-color: var(--orange-deep); }
.page-links b { display: flex; align-items: center; gap: 8px; font-size: 22px; line-height: 1.6; }
.page-links b .icon { font-size: 20px; color: var(--orange-deep); flex: none; }
.page-links span { color: var(--muted); font-size: 16px; }

/* contact (home section and contact page): filled from the settings in the database */
.contact-sec { background: var(--beige); padding: 88px 0; }
.contact-sec h2 { margin-bottom: 12px; }
.contact-lead { color: var(--muted); font-size: 18px; margin: 0 0 40px; }
.contact-grid { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.contact-card { background: var(--card); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.contact-card .ico { font-size: 28px; color: var(--orange-deep); line-height: 0; margin-bottom: 6px; }
.contact-card b { color: var(--muted); font-size: 15px; font-weight: 600; }
.contact-card a { color: var(--ink); font-weight: 700; font-size: 16px; text-decoration: none; text-align: right; overflow-wrap: anywhere; unicode-bidi: plaintext; }
.contact-card a:hover { color: var(--orange-deep); }
.article .contact-card { background: var(--beige); }

/* article pages */
.article { background: var(--card); max-width: 920px; margin-top: 28px; margin-bottom: 40px; border-radius: 20px; padding: 28px 24px 36px; box-shadow: 0 1px 8px rgba(31,42,48,.06); }
.article h1 { color: var(--orange-deep); font-size: 30px; line-height: 1.4; margin: 0 0 12px; }
.article h2 { font-size: 21px; margin: 28px 0 8px; }
.article ol, .article ul { padding-inline-start: 24px; }
.article li { margin: 6px 0; }
.article ul.contact-grid { padding-inline-start: 0; }
.article .contact-card { margin: 0; }
.cms p { margin: 0 0 14px; }
.cms { overflow-wrap: anywhere; }
.note { background: var(--orange-soft); border-radius: 12px; padding: 12px 16px; }

/* footer */
.foot { background: var(--ink); color: #D8DEE2; padding: 40px 0; text-align: center; font-size: 15px; }
.foot p { margin: 8px 0; }
.foot a { color: #D8DEE2; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 28px; justify-content: center; }
.foot-links a { text-decoration: none; padding: 6px 2px; }
.foot a:hover { color: var(--orange); }
.foot .small { font-size: 13px; color: #AEB7BD; }
.credit { text-decoration: none; direction: ltr; unicode-bidi: isolate; }
.credit b { color: var(--orange); letter-spacing: 1px; }

@media (max-width: 1000px) {
  .hero-grid, .story-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .phones { margin: 0 auto; }
  .features { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .page-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero, .story, .features-sec, .owners, .pages-sec, .contact-sec { padding: 48px 0; }
  .story h2, .owners h2, .features-sec h2, .pages-sec h2, .contact-sec h2 { font-size: 28px; }
  .lead, .story-body p { font-size: 18px; }
  .features { grid-template-columns: 1fr; }
  .owners-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .owners-art { order: -1; font-size: 96px; }
  .page-links { grid-template-columns: 1fr; gap: 20px; }
  .top { position: static; }
  .top-row { flex-direction: column; align-items: flex-start; padding-top: 10px; padding-bottom: 6px; min-height: 0; }
  .top nav { justify-content: flex-start; gap: 4px 18px; }
  .article { margin-left: 12px; margin-right: 12px; padding: 22px 16px 30px; }
}
