/* Public website — mobile-first, direction-aware (uses logical properties so RTL/LTR flip automatically) */
:root {
  --main: #2F4A40;
  --accent: #A8563A;
  --soft: #FAF7F2;
  --on-accent: #fff;
  --ink: #23302B;
  --muted: #5B6B64;
  --line: #E3DACB;
  --wa: #1E7A4F;
  --tint: color-mix(in srgb, var(--main) 9%, #fff);
  --sand: color-mix(in srgb, var(--accent) 7%, #f3ede2);
  --radius: 20px;
  --font: 'Cairo', 'Inter', system-ui, sans-serif;
}
html[lang='en'] { --font: 'Inter', 'Cairo', system-ui, sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); background: var(--soft); color: var(--ink); line-height: 1.75; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--main); }
h1, h2, h3 { line-height: 1.3; margin: 0; color: var(--main); font-weight: 800; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 1160px; margin-inline: auto; padding-inline: 20px; }
.section { padding-block: 64px; }
.eyebrow { color: var(--accent); font-weight: 700; margin-bottom: 6px; }
.h2 { font-size: clamp(26px, 5vw, 36px); }
.center { text-align: center; }
.muted { color: var(--muted); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 26px; border-radius: 12px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer;
}
.btn-main { background: var(--main); color: #fff; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-line { border-color: var(--main); color: var(--main); background: transparent; }
.btn-wa { background: var(--wa); color: #fff; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* header */
.header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--soft) 94%, #fff); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--main); font-weight: 800; font-size: 19px; min-width: 0; }
.brand img { width: 46px; height: 46px; object-fit: contain; border-radius: 10px; flex: none; }
.brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 6px 22px; }
.nav a.link { text-decoration: none; color: var(--ink); font-weight: 600; padding: 10px 0; }
.nav a.link:hover { color: var(--accent); }
.lang { min-height: 40px; padding: 4px 14px; border: 1px solid #C9B9A3; border-radius: 999px; background: transparent; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; padding: 0; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: var(--main); position: relative; content: ''; }
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }

@media (max-width: 880px) {
  .burger { display: inline-flex; }
  .nav { display: none; position: absolute; inset-inline: 0; top: 100%; background: var(--soft); border-bottom: 1px solid var(--line); padding: 12px 20px 20px; flex-direction: column; align-items: stretch; gap: 0; }
  .nav.open { display: flex; }
  .nav a.link { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav .lang, .nav .btn { margin-top: 12px; }
}

/* hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding-block: 56px; }
.hero-text { flex: 1 1 440px; min-width: 0; }
.hero-media { flex: 1 1 320px; min-width: 0; }
.badge { display: inline-block; background: var(--tint); color: var(--main); font-weight: 700; font-size: 14px; padding: 6px 16px; border-radius: 999px; }
.hero h1 { font-size: clamp(30px, 7vw, 52px); margin: 18px 0 14px; }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 540px; margin-bottom: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; color: var(--muted); font-size: 15px; }
.photo { width: 100%; aspect-ratio: 4/5; max-height: 520px; object-fit: cover; border-radius: 28px; background: var(--tint); }
.photo-ph { aspect-ratio: 4/5; max-height: 520px; border-radius: 28px; background: var(--tint); display: grid; place-items: center; color: var(--main); font-size: 64px; font-weight: 800; }

/* about */
.about { background: var(--sand); }
.about .wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.about-media { flex: 1 1 280px; min-width: 0; }
.about-text { flex: 1 1 460px; min-width: 0; }
.about-text p { font-size: 18px; margin-block: 14px 22px; white-space: pre-line; }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.fact { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; white-space: pre-line; }
.fact b { color: var(--main); display: block; }
.certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; margin-top: 12px; }
.cert { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; font-size: 13px; text-align: center; color: var(--muted); }
.cert img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; margin-bottom: 6px; cursor: zoom-in; }

/* cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; gap: 8px; }
.card h3 { font-size: 21px; }
.num { width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--main); display: grid; place-items: center; font-weight: 800; }
.price { margin-top: auto; padding-top: 10px; color: var(--accent); font-weight: 700; font-size: 15px; }

.steps { background: var(--main); color: #fff; }
.steps h2 { color: #fff; }
.steps .grid { margin-top: 32px; gap: 28px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step .num { background: var(--soft); flex: none; border-radius: 50%; width: 48px; height: 48px; font-size: 20px; }
.step b { display: block; font-size: 20px; }
.step span { opacity: .85; }

.articles { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; margin-top: 30px; }
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.post .cover { height: 170px; background: var(--tint); object-fit: cover; width: 100%; }
.post .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.post .tag { font-size: 14px; color: var(--accent); font-weight: 700; }
.post h3 { font-size: 20px; color: var(--ink); }
.post p { color: var(--muted); font-size: 15px; }

.quote { background: var(--sand); text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 820px; font-size: clamp(19px, 3.5vw, 24px); line-height: 1.8; color: var(--main); font-weight: 600; }
.quote cite { display: block; margin-top: 10px; font-style: normal; color: var(--muted); font-size: 16px; }

/* booking */
.booking { display: flex; flex-wrap: wrap; gap: 40px; }
.booking-info { flex: 1 1 320px; min-width: 0; }
.booking-info p { color: var(--muted); margin-block: 14px 20px; }
.info-list { margin-top: 18px; line-height: 2; color: #3C4A44; white-space: pre-line; }
.form { flex: 1 1 420px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; border: 1px solid #C9B9A3; border-radius: 12px; padding: 10px 14px;
  font: inherit; font-size: 16px; background: var(--soft); color: var(--ink);
}
.field textarea { min-height: 96px; resize: vertical; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { grid-column: 1 / -1; padding: 12px 16px; border-radius: 12px; font-weight: 600; }
.msg.ok { background: #E4F2EA; color: #14583A; }
.msg.err { background: #FBE9E1; color: #8A2E12; }

.faq { background: var(--sand); }
.faq .list { max-width: 860px; margin: 28px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--main); font-size: 18px; padding: 14px 0; min-height: 48px; }
.faq details p { color: var(--muted); padding-bottom: 16px; }

.footer { background: #23302B; color: #DCE5DF; padding-block: 40px; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer a { color: #fff; }
.footer .note { font-size: 14px; max-width: 360px; opacity: .85; }
.footer b { color: #fff; font-size: 20px; display: block; }

.wa-float { position: fixed; inset-block-end: 16px; inset-inline-end: 16px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); text-decoration: none; font-weight: 800; }

/* article page */
.article { max-width: 760px; margin-inline: auto; padding: 40px 20px 72px; }
.article .cover { width: 100%; max-height: 360px; object-fit: cover; border-radius: 20px; margin-bottom: 24px; }
.article h1 { font-size: clamp(28px, 6vw, 42px); margin: 8px 0 18px; }
.article .prose p { margin-bottom: 1.1em; font-size: 18px; }
.back { display: inline-block; margin-bottom: 18px; font-weight: 700; text-decoration: none; }

.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.82); display: grid; place-items: center; z-index: 60; padding: 20px; cursor: zoom-out; }
.lightbox img { max-height: 90vh; border-radius: 12px; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding-block: 48px; }
  .hero { padding-block: 32px; gap: 28px; }
  .btn { width: 100%; }
  .form { padding: 20px; border-radius: 20px; }
  .wa-float { inset-block-end: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
