/* Public site styles. Mobile first, RTL, large readable type. Brand colors come from /theme.css (admin). */
:root {
  --brand: #85633b;      /* gold from the logo, darkened for readable text on white */
  --brand-soft: #f6efe3;
  --accent: #0f6e56;     /* WhatsApp / positive actions (white text passes AA) */
  --ink: #0d141a;
  --text: #1d2329;
  --muted: #4f5761;
  --line: #e4ddd0;
  --bg: #ffffff;
  --bg-alt: #faf7f1;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(13, 20, 26, .08);
  --font: "Tajawal", "Segoe UI", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; font-family: var(--font); font-size: 1.1875rem; line-height: 1.8; color: var(--text);
  background: var(--bg); padding-bottom: 84px; overflow-x: hidden;
}
@media (min-width: 900px) { body { font-size: 1.25rem; padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.35; color: var(--ink); margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1180px, 100%); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 700px) { .wrap { padding-inline: 28px; } }
.center { text-align: center; }
.narrow { max-width: 760px; margin-inline: auto; }
.skip { position: absolute; top: 8px; inset-inline-start: 8px; background: var(--ink); color: #fff; padding: 12px 18px; z-index: 100; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip:focus { clip-path: none; width: auto; height: auto; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px;
  padding: .55em 1.3em; border-radius: 14px; border: 2px solid transparent; font: inherit; font-weight: 700;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-lg { min-height: 60px; font-size: 1.12em; padding-inline: 1.5em; }
.btn-sm { min-height: 44px; font-size: .95rem; padding-inline: .9em; }
.btn-block { width: 100%; }
.btn-gold { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(133, 99, 59, .28); }
.btn-gold:hover { filter: brightness(1.07); }
.btn-wa { background: var(--accent); color: #fff; }
.btn-wa:hover { filter: brightness(1.1); }
.btn-light { background: #fff; color: var(--ink); border-color: rgba(255, 255, 255, .6); }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.25rem; }

/* Header */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); }
.topbar-in { display: flex; align-items: center; gap: 14px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; margin-inline-end: auto; }
.brand img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--brand-soft); }
.brand-name { font-weight: 800; font-size: 1.02rem; line-height: 1.35; }
.nav-desktop { display: none; gap: 2px; }
.nav-desktop a { color: var(--ink); text-decoration: none; padding: .45em .8em; border-radius: 10px; font-weight: 600; font-size: 1.02rem; white-space: nowrap; }
.nav-desktop a:hover { background: var(--brand-soft); }
.nav-desktop a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.hide-sm { display: none; }
.nav-mobile { position: relative; }
.nav-mobile summary {
  list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 16px;
  border: 2px solid var(--line); border-radius: 14px; font-weight: 700; cursor: pointer; color: var(--ink);
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile[open] summary { background: var(--ink); color: #fff; border-color: var(--ink); }
.nav-mobile nav {
  position: absolute; inset-inline-end: 0; top: calc(100% + 10px); width: min(320px, calc(100vw - 32px));
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 8px; display: grid;
}
.nav-mobile nav a { padding: 14px 16px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.12rem; }
.nav-mobile nav a + a { border-top: 1px solid #f1ece3; }
.nav-mobile nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand); }
@media (min-width: 1100px) {
  .nav-desktop { display: flex; }
  .nav-mobile { display: none; }
  .hide-sm { display: inline-flex; }
  .brand-name { font-size: 1.08rem; max-width: 15em; }
}

/* Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(184, 148, 94, .28), transparent 60%),
    radial-gradient(800px 400px at 0% 110%, rgba(15, 110, 86, .22), transparent 60%),
    var(--ink);
  color: #fff; padding: 44px 0 48px;
}
.hero-in { display: grid; gap: 28px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 6.4vw, 3.3rem); margin-bottom: .35em; }
.hero-home h1 { font-size: clamp(2.1rem, 8vw, 3.9rem); }
.hero .lead { font-size: 1.18em; color: #f1ece3; max-width: 36em; }
.hero-intro { color: #d9d2c5; max-width: 40em; }
.hero-intro p:last-child { margin-bottom: 0; }
.hero-home .hero-intro {
  border-inline-start: 4px solid #c9a46b; padding: .6em 1em; background: rgba(255, 255, 255, .06); border-radius: 0 12px 12px 0;
}
.hero-media img { border-radius: 22px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); width: 100%; max-height: 560px; object-fit: cover; }
@media (min-width: 860px) {
  .hero { padding: 72px 0 80px; }
  .hero.has-media .hero-in { grid-template-columns: 1.15fr .85fr; }
}

/* Sections */
.sec { padding: 52px 0; }
.tone-alt { background: var(--bg-alt); border-block: 1px solid #f0e9dc; }
.sec-title { font-size: clamp(1.55rem, 4.6vw, 2.3rem); }
.sec-title::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 4px; background: var(--brand); margin-top: .45em; }
.sec-title.center::after { margin-inline: auto; }
.sec-sub { color: var(--muted); font-size: 1.08em; max-width: 46em; }
.sec-sub.center { margin-inline: auto; }
.prose p:last-child, .prose ul:last-child { margin-bottom: 0; }
.prose ul { margin: 0 0 1em; padding-inline-start: 1.2em; }
.prose li { margin-bottom: .25em; }
.prose strong { color: var(--ink); }
.prose.small { font-size: .95em; }
@media (min-width: 860px) { .sec { padding: 76px 0; } }

.split { display: grid; gap: 28px; align-items: center; }
.split-media { display: grid; gap: 14px; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.media-multi { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
@media (min-width: 860px) {
  .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; }
  .split-rev .split-text-col { order: 2; }
  .split-text { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
}
.zoom { display: block; border-radius: var(--radius); }

/* Service cards (home) */
.cards { display: grid; gap: 20px; margin-top: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1050px) { .cards { grid-template-columns: repeat(auto-fit, minmax(300px, 370px)); justify-content: center; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: .4em; flex: 1; }
.card h3 { font-size: 1.25rem; margin: 0; }
.card .prose { color: var(--muted); font-size: .98em; }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: .35em; font-weight: 700; text-decoration: none; min-height: 44px; }

/* Services full list */
.svc-list { display: grid; gap: 28px; margin-top: 28px; }
.svc-row { display: grid; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 16px; box-shadow: var(--shadow); scroll-margin-top: 100px; }
.svc-img img { border-radius: 14px; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.svc-body h3 { font-size: clamp(1.3rem, 3.6vw, 1.7rem); }
.svc-price { font-weight: 800; color: var(--brand); }
@media (min-width: 860px) {
  .svc-row { grid-template-columns: 340px minmax(0, 1fr); padding: 22px; gap: 32px; align-items: start; }
  .svc-row:nth-child(even) .svc-img { order: 2; }
}

/* Prices */
.prices { display: grid; gap: 20px; margin-top: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1050px) { .prices { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.price { background: #fff; border: 2px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.price-featured { border-color: var(--brand); }
.price img { width: 100%; height: auto; }
.price-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: .2em; flex: 1; }
.price h3 { font-size: 1.45rem; margin: 0; }
.price-num { margin: .2em 0 .1em; color: var(--brand); line-height: 1.2; }
.price-num strong { font-size: 2.6rem; font-weight: 800; letter-spacing: .5px; }
.price-num span { font-weight: 700; font-size: 1.05rem; }
.price-note { color: var(--muted); font-size: .95em; margin: 0 0 .6em; }
.price .prose { margin-bottom: 1.2em; }
.price .btn { margin-top: auto; }
.thumbs { display: grid; gap: 14px; margin-top: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 860px) { .thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.thumbs img { border-radius: 14px; box-shadow: var(--shadow); width: 100%; }

/* CTA band */
.cta-band { display: grid; gap: 18px; background: var(--ink); color: #fff; border-radius: 26px; padding: 28px 22px; }
.cta-band .sec-title, .cta-band .prose strong { color: #fff; }
.cta-band .prose { color: #e3ddd2; }
@media (min-width: 860px) { .cta-band { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 40px 44px; } }

/* Forms */
.form-wrap { max-width: 820px; margin-inline: auto; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px 18px; box-shadow: var(--shadow); display: grid; gap: 18px; }
@media (min-width: 700px) { .form { padding: 32px; } }
.grid2 { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 6px; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-weight: 500; font-size: 1.1rem; color: var(--text); background: #fff;
  border: 2px solid #d5ccbd; border-radius: 14px; padding: .65em .85em; min-height: 58px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px rgba(133, 99, 59, .15); }
.req { color: #a3261f; }
.field-err { color: #a3261f; font-weight: 700; font-size: .95rem; }
.hint { color: var(--muted); font-size: .95rem; margin: 0; text-align: center; }
.alt-way { text-align: center; margin-top: 1.2em; }
.rooms { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.rooms legend { font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.room { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border: 2px solid #d5ccbd; border-radius: 16px; padding: 14px 16px; cursor: pointer; min-height: 64px; }
.room input { width: 26px; height: 26px; accent-color: var(--brand); flex: none; }
.room-name { font-weight: 800; font-size: 1.12rem; color: var(--ink); }
.room-price { margin-inline-start: auto; font-weight: 800; color: var(--brand); }
.room:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; margin-bottom: 18px; font-size: 1.08rem; }
.notice .ic { width: 1.6em; height: 1.6em; }
.notice.ok { background: #e7f4ef; color: #0b4d3c; border: 2px solid #9fd2bf; }
.notice.err { background: #fbecea; color: #7d1d17; border: 2px solid #ecb5ae; }

/* Contact */
.contact-grid { display: grid; gap: 22px; margin-top: 18px; }
.contact-cards { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ccard { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); min-height: 76px; min-width: 0; }
.ccard .ic { width: 1.7em; height: 1.7em; color: var(--brand); }
.ccard span { display: grid; min-width: 0; }
.ccard small { color: var(--muted); font-size: .9rem; }
.ccard b { font-size: 1.1rem; overflow-wrap: anywhere; }
.ccard-wa .ic { color: var(--accent); }
.ccard-addr { grid-column: 1 / -1; align-items: flex-start; }
.ccard-addr a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.alt-way a { display: inline-block; padding: 8px 2px; font-weight: 700; }
.map iframe { width: 100%; height: 340px; border: 0; border-radius: 20px; box-shadow: var(--shadow); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } .map iframe { height: 100%; min-height: 420px; } }

/* Videos, gallery, FAQ */
.videos { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); margin-top: 18px; }
@media (min-width: 700px) { .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.video { aspect-ratio: 9 / 12; background: #11181f; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.video iframe { width: 100%; height: 100%; border: 0; }
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; }
@media (min-width: 860px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gallery figure { margin: 0; }
.gallery img { border-radius: 14px; aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.gallery figcaption { font-size: .92rem; color: var(--muted); margin-top: 6px; }
.faq { display: grid; gap: 12px; margin-top: 18px; max-width: 920px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 20px; font-weight: 800; color: var(--ink); font-size: 1.12rem; display: flex; gap: 12px; align-items: center; min-height: 64px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::before { content: "−"; }
.faq .prose { padding: 0 20px 20px; color: var(--text); }

/* Footer + mobile dock */
.footer { background: var(--ink); color: #d9d4ca; padding: 48px 0 24px; margin-top: 0; }
.footer a { color: #fff; text-decoration: none; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.brand-foot { color: #fff; margin-bottom: 12px; }
.brand-foot img { width: 64px; height: 64px; border-color: rgba(255, 255, 255, .2); }
.foot-addr { display: flex; gap: 8px; align-items: flex-start; }
.foot-addr .ic { margin-top: .3em; }
.foot-h { color: #fff; font-size: 1.15rem; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 28px; padding-top: 18px; font-size: .95rem; color: #b9b2a6; }
.foot-bottom p { margin: 0 0 .3em; }
.credit { font-size: .85rem; }
.dock {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 60; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(13, 20, 26, .1); padding-bottom: env(safe-area-inset-bottom);
}
.dock a { display: grid; justify-items: center; gap: 2px; padding: 10px 4px; min-height: 68px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: .98rem; }
.dock .ic { width: 1.5em; height: 1.5em; }
.dock-wa { color: var(--accent) !important; }
.dock-book { background: var(--brand); color: #fff !important; }
@media (min-width: 900px) { .dock { display: none; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
@media print { .topbar, .dock, .footer, .map { display: none; } body { padding: 0; } }
