/* =========================================================================
   The Legal House — public site styles
   Mobile-first (matches the source design), responsive to desktop, RTL-aware.
   Colours come from CSS variables set in <head> from Dashboard → Settings.
   ========================================================================= */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
/* Fieldsets default to min-inline-size:min-content and can force overflow. */
fieldset { min-inline-size: 0; min-width: 0; border: 0; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Montserrat", -apple-system, "Segoe UI", sans-serif;
  color: var(--white);
  background: linear-gradient(164deg, var(--navy) -8%, var(--navy-2) 52%, var(--navy) 108%);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}
body.lang-ar { font-family: "Tajawal", "Montserrat", sans-serif; }
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
::selection { background: rgba(198,164,92,.3); }

.serif-em { color: var(--gold); font-style: italic; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 700; letter-spacing: -.5px; }
body.lang-ar .serif-em { font-style: normal; font-family: inherit; letter-spacing: 0; }

.skip-link { position: absolute; inset-inline-start: -999px; top: 0; z-index: 200; background: var(--gold); color: var(--navy); padding: 10px 16px; }
.skip-link:focus { inset-inline-start: 0; }

/* ---- Layout shell ------------------------------------------------------- */
:root { --shell: 480px; }
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: 22px; }
.site-main { display: block; }

/* Elegant framed column: on large screens the whole site is a centred
   column with a soft shadow, keeping the boutique feel while staying usable. */
@media (min-width: 768px)  { :root { --shell: 720px; } }
@media (min-width: 1100px) { :root { --shell: 1040px; } }
@media (min-width: 1440px) { :root { --shell: 1160px; } }

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(1,23,42,.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(198,164,92,.18);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand-logo { height: 38px; width: auto; }
.brand-logo-full { display: none; }
@media (min-width: 900px) {
  .brand-logo-mark { display: none; }
  .brand-logo-full { display: block; height: 40px; }
}
.footer-logo { width: 150px; height: auto; max-width: 60%; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-toggle { display: flex; align-items: center; gap: 6px; border: 1px solid rgba(198,164,92,.35); border-radius: 2px; padding: 5px 8px; }
.lang-opt { font-size: 11px; font-weight: 600; letter-spacing: 1.4px; color: rgba(255,255,255,.5); line-height: 1; padding: 3px 2px; }
.lang-opt.is-active { color: var(--gold); }
.lang-ar { font-size: 13px; letter-spacing: 0; }
.lang-sep { width: 1px; height: 10px; background: rgba(198,164,92,.4); }
.menu-btn { width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 5px; background: none; border: 0; padding: 0; }
.menu-btn span { display: block; height: 1.5px; background: var(--white); transition: .25s; }
.menu-btn span:nth-child(1) { width: 22px; }
.menu-btn span:nth-child(2) { width: 14px; background: var(--gold); }
.menu-btn span:nth-child(3) { width: 22px; }
[dir=rtl] .menu-btn { align-items: flex-start; }

/* =========================================================================
   Buttons + common bits
   ========================================================================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 52px; padding: 0 22px; border: 0; border-radius: 2px; font-size: 12.5px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; text-align: center; transition: .2s; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--maroon); color: var(--white); box-shadow: 0 10px 28px rgba(107,11,17,.4); }
.btn-primary:hover { color: #fff; filter: brightness(1.12); }
.btn-ghost { background: transparent; border: 1px solid rgba(254,254,254,.28); color: var(--white); text-transform: none; font-weight: 500; letter-spacing: .4px; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn .arrow { color: var(--gold); }

.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 3px; color: var(--gold); text-transform: uppercase; }
.eyebrow-tight { letter-spacing: 2px; }
.section { padding: 46px 0 10px; }
.section-panel { margin-top: 46px; padding: 44px 0; background: linear-gradient(180deg, rgba(10,44,72,.85), rgba(1,23,42,.9)); border-block: 1px solid rgba(198,164,92,.2); }
.section-title { margin: 14px 0 8px; font-size: 25px; line-height: 1.25; font-weight: 700; }
.section-intro { margin: 0 0 8px; font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.62); }
.note { margin: 16px 0 0; font-family: ui-monospace, Menlo, monospace; font-size: 10.5px; line-height: 1.6; color: rgba(255,255,255,.4); }

/* Image slot placeholder (kept until an image is uploaded) */
.slot-box { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 14px; background: repeating-linear-gradient(135deg, rgba(198,164,92,.14) 0 8px, rgba(1,23,42,.5) 8px 16px); border: 1px solid rgba(198,164,92,.32); }
.slot-label { font-size: 12px; font-weight: 600; letter-spacing: 1.2px; color: rgba(255,255,255,.86); text-transform: uppercase; }
.slot-spec { font-family: ui-monospace, Menlo, monospace; font-size: 10.5px; line-height: 1.5; color: rgba(255,255,255,.6); }
.slot-img { width: 100%; object-fit: cover; border: 1px solid rgba(198,164,92,.25); }

/* =========================================================================
   Hero
   ========================================================================= */
.hero { position: relative; padding: 46px 0 40px; overflow: hidden; background: linear-gradient(180deg, var(--navy-3), var(--navy)); background-size: cover; background-position: 62% 50%; }
.hero.has-img { background-size: cover; background-position: 62% 50%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(1,23,42,.86) 0%, rgba(1,23,42,.72) 38%, rgba(1,23,42,.94) 100%); }
.hero-spec { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; padding: 5px 9px; background: rgba(1,23,42,.72); border: 1px solid rgba(198,164,92,.4); font-family: ui-monospace, Menlo, monospace; font-size: 9.5px; color: rgba(255,255,255,.72); }
.hero-inner { position: relative; }
.hero-title { margin: 20px 0 0; font-size: 38px; line-height: 1.08; letter-spacing: -.8px; font-weight: 700; }
.hero-intro { margin: 22px 0 0; font-size: 15.5px; line-height: 1.75; color: rgba(255,255,255,.74); max-width: 42ch; }
.hero-actions { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; max-width: 420px; }
.hero-tagline { margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(254,254,254,.14); font-size: 10px; font-weight: 500; letter-spacing: 1.6px; line-height: 1.9; color: rgba(254,254,254,.46); text-transform: uppercase; overflow-wrap: anywhere; }

/* =========================================================================
   Accordion (Who We Serve / Industries)
   ========================================================================= */
.accordion { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.acc-item { background: rgba(255,255,255,.035); border: 1px solid rgba(198,164,92,.2); border-radius: 2px; }
.acc-item > summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px; cursor: pointer; list-style: none; }
.acc-item > summary::-webkit-details-marker { display: none; }
.acc-title { font-size: 15px; font-weight: 600; }
.acc-sign { position: relative; width: 17px; height: 17px; flex: none; }
.acc-sign::before, .acc-sign::after { content: ""; position: absolute; background: var(--gold); inset-inline-start: 0; top: 8px; width: 17px; height: 2px; }
.acc-sign::after { transform: rotate(90deg); transition: .2s; }
.acc-item[open] .acc-sign::after { transform: rotate(0); opacity: 0; }
.acc-body { padding: 0 18px 18px; }
.acc-body p { font-size: 14.5px; line-height: 1.75; font-weight: 300; color: rgba(255,255,255,.7); }
.industry-head { display: flex; flex-direction: column; gap: 8px; }
.industry-num { font-size: 10.5px; font-weight: 600; letter-spacing: 2px; color: rgba(198,164,92,.8); }
.industry-media { margin-bottom: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { padding: 8px 12px; background: rgba(1,23,42,.6); border: 1px solid rgba(198,164,92,.28); font-size: 12px; font-weight: 500; color: rgba(255,255,255,.82); }

/* =========================================================================
   Feature list (What We Help / Approach)
   ========================================================================= */
.flist { margin-top: 8px; }
.flist-item { display: flex; gap: 16px; }
.flist-bordered .flist-item { padding: 20px 0; border-top: 1px solid rgba(254,254,254,.1); }
.flist-bordered .flist-num { font-family: "Cormorant Garamond", Georgia, serif; font-size: 20px; font-style: italic; color: rgba(198,164,92,.85); min-width: 26px; }
.flist-title { font-size: 15.5px; font-weight: 600; }
.flist-body p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.7; font-weight: 300; color: rgba(255,255,255,.66); }
/* timeline variant */
.flist-timeline .flist-item { gap: 18px; }
.flist-timeline .flist-num { position: relative; width: 34px; height: 34px; flex: none; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(198,164,92,.5); border-radius: 50%; font-size: 13px; font-weight: 600; color: var(--gold); }
.flist-timeline .flist-item:not(:last-child) .flist-num::after { content: ""; position: absolute; top: 34px; inset-inline-start: 50%; width: 1px; height: calc(100% + 26px - 34px); background: rgba(198,164,92,.24); }
.flist-timeline .flist-body { padding-bottom: 26px; }
.flist-timeline .flist-title { padding-top: 6px; }

/* =========================================================================
   Cards (Why)
   ========================================================================= */
.cards { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 8px; }
.card { padding: 20px; background: rgba(1,23,42,.55); border: 1px solid rgba(198,164,92,.22); border-radius: 2px; }
.card-num { font-size: 11px; font-weight: 600; letter-spacing: 2.2px; color: rgba(198,164,92,.9); }
.card-title { margin-top: 10px; font-size: 15.5px; font-weight: 600; }
.card p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.7; font-weight: 300; color: rgba(255,255,255,.68); }

/* =========================================================================
   Testimonials
   ========================================================================= */
.stories { margin-top: 20px; }
.stories-track { position: relative; }
.story { padding: 26px 22px; background: rgba(255,255,255,.04); border: 1px solid rgba(198,164,92,.24); border-radius: 2px; }
.js .story { display: none; }
.js .story.is-active { display: block; animation: fade .4s ease both; }
.story-quote-mark { font-family: "Cormorant Garamond", Georgia, serif; font-size: 46px; line-height: .6; color: rgba(198,164,92,.55); }
.story blockquote { margin: 16px 0 0; font-size: 15.5px; line-height: 1.8; font-weight: 300; color: rgba(255,255,255,.86); }
.story figcaption { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(254,254,254,.12); }
.story-name { font-size: 14.5px; font-weight: 600; }
.story-role { margin-top: 4px; font-size: 11.5px; font-weight: 500; letter-spacing: 1.6px; color: var(--gold); text-transform: uppercase; }
.stories-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.stories-dots { display: flex; gap: 8px; }
.story-dot { width: 26px; height: 3px; border: 0; padding: 0; background: rgba(255,255,255,.22); }
.story-dot.is-active { background: var(--gold); }
.stories-arrows { display: flex; gap: 10px; }
.story-arrow { width: 44px; height: 44px; background: transparent; border: 1px solid rgba(254,254,254,.22); border-radius: 2px; color: var(--white); font-size: 15px; }
.story-arrow-next { border-color: rgba(198,164,92,.5); color: var(--gold); }
.js .stories:not(.ready) .story:not(.is-active) { display: none; }

/* =========================================================================
   CTA
   ========================================================================= */
.cta-box { margin-top: 24px; padding: 34px 22px; background: linear-gradient(160deg, rgba(107,11,17,.28) 0%, rgba(1,23,42,.6) 70%); border: 1px solid rgba(198,164,92,.3); border-radius: 2px; }
.cta-title { font-size: 24px; line-height: 1.28; font-weight: 700; }
.cta-body { margin: 16px 0 24px; font-size: 15px; line-height: 1.7; font-weight: 300; color: rgba(255,255,255,.72); }

/* =========================================================================
   Page header + About + detail views
   ========================================================================= */
.page-header { padding: 40px 0 30px; border-bottom: 1px solid rgba(198,164,92,.18); }
.page-header-media { margin: 22px 0; }
.page-title { margin: 16px 0 0; font-size: 31px; line-height: 1.18; font-weight: 700; }
.page-intro { margin: 18px 0 0; font-size: 15px; line-height: 1.75; font-weight: 300; color: rgba(255,255,255,.7); max-width: 60ch; }
.faq-search { width: 100%; margin-top: 22px; height: 50px; padding: 0 16px; background: rgba(1,23,42,.7); border: 1px solid rgba(198,164,92,.28); border-radius: 2px; color: var(--white); font-family: inherit; font-size: 14.5px; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 34px; background: rgba(198,164,92,.22); border: 1px solid rgba(198,164,92,.22); }
.stat { padding: 20px 16px; background: var(--navy-3); }
.stat-value { font-family: "Cormorant Garamond", Georgia, serif; font-size: 32px; font-weight: 600; color: var(--gold); }
body.lang-ar .stat-value { font-family: "Tajawal", sans-serif; font-weight: 700; }
.stat-label { margin-top: 6px; font-size: 11px; font-weight: 500; letter-spacing: 1.4px; color: rgba(255,255,255,.6); text-transform: uppercase; }

.values { display: grid; gap: 12px; margin-top: 20px; }
.value-item { padding: 20px; background: rgba(255,255,255,.035); border-inline-start: 2px solid var(--maroon); border-top: 1px solid rgba(255,255,255,.06); border-inline-end: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
.value-title { font-size: 15.5px; font-weight: 600; }
.value-item p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.7; font-weight: 300; color: rgba(255,255,255,.66); }

.team { display: grid; gap: 16px; margin-top: 20px; }
.team-member { display: flex; gap: 16px; align-items: center; padding: 14px; background: rgba(255,255,255,.035); border: 1px solid rgba(198,164,92,.2); }
.team-photo { width: 88px; flex: none; }
.team-photo .slot-box { padding: 6px; }
.team-name { font-size: 15.5px; font-weight: 600; }
.team-role { margin-top: 5px; font-size: 11px; font-weight: 500; letter-spacing: 1.6px; color: var(--gold); text-transform: uppercase; }
.team-info p { margin: 10px 0 0; font-size: 13.5px; line-height: 1.65; font-weight: 300; color: rgba(255,255,255,.62); }

.richtext { margin-top: 8px; font-size: 15px; line-height: 1.75; font-weight: 300; color: rgba(255,255,255,.66); }

/* Practice / packages listing */
.area-list, .pack-other { display: grid; gap: 10px; margin-top: 26px; }
.area-card, .pack-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 18px; background: rgba(255,255,255,.035); border: 1px solid rgba(198,164,92,.2); border-radius: 2px; color: var(--white); }
.area-card:hover, .pack-row:hover { border-color: rgba(198,164,92,.5); color: var(--white); }
.area-num { font-size: 10.5px; font-weight: 600; letter-spacing: 2px; color: rgba(198,164,92,.8); }
.area-title { margin-top: 8px; font-size: 15.5px; font-weight: 600; line-height: 1.35; }
.area-arrow { font-size: 16px; color: var(--gold); flex: none; }
[dir=rtl] .area-arrow, [dir=rtl] .back-arrow, [dir=rtl] .arrow { transform: scaleX(-1); }

.pack-group-label { font-size: 11px; font-weight: 600; letter-spacing: 2.6px; color: rgba(255,255,255,.5); text-transform: uppercase; margin-top: 30px; }
.pack-featured { display: grid; gap: 12px; margin-top: 16px; }
.pack-card { display: block; padding: 22px 20px; background: rgba(255,255,255,.035); border: 1px solid rgba(198,164,92,.2); border-radius: 2px; color: var(--white); }
.pack-card.is-featured { background: linear-gradient(160deg, rgba(107,11,17,.22) 0%, rgba(1,23,42,.6) 70%); border-color: rgba(198,164,92,.45); }
.pack-card:hover { color: var(--white); border-color: rgba(198,164,92,.6); }
.pack-card-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pack-name { font-size: 18px; font-weight: 700; }
.pack-num { font-size: 10px; font-weight: 600; letter-spacing: 1.6px; color: var(--gold); }
.pack-bestfor-label { margin-top: 14px; font-size: 10.5px; font-weight: 600; letter-spacing: 2px; color: rgba(198,164,92,.85); text-transform: uppercase; }
.pack-bestfor { margin: 7px 0 0; font-size: 14.5px; line-height: 1.7; font-weight: 300; color: rgba(255,255,255,.72); }
.pack-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(254,254,254,.12); }
.pack-price-mask { font-size: 15px; font-weight: 600; color: rgba(255,255,255,.35); filter: blur(3.5px); user-select: none; }
.pack-price-tbd { font-size: 11px; font-weight: 500; letter-spacing: 1.4px; color: var(--gold); text-transform: uppercase; }
.pack-group-other { margin-top: 34px; }
.pack-row-name { font-size: 15.5px; font-weight: 600; }
.pack-row-best { margin-top: 6px; font-size: 13.5px; line-height: 1.6; font-weight: 300; color: rgba(255,255,255,.62); }

/* Detail views */
.detail { padding: 20px 0 10px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.7); font-size: 13px; font-weight: 500; }
.back-link:hover { color: var(--gold); }
.detail-media { margin: 16px 0; }
.detail-kicker { margin-top: 8px; font-size: 10.5px; font-weight: 600; letter-spacing: 2.4px; color: var(--gold); text-transform: uppercase; }
.detail-title { margin: 14px 0 0; font-size: 28px; line-height: 1.2; font-weight: 700; }
.detail-body { margin: 18px 0 0; font-size: 15.5px; line-height: 1.8; font-weight: 300; color: rgba(255,255,255,.74); }
.detail-block { margin-top: 30px; }
.incl-list { margin-top: 16px; }
.incl-item { display: flex; gap: 14px; padding: 15px 0; border-top: 1px solid rgba(254,254,254,.1); font-size: 14.5px; line-height: 1.6; font-weight: 300; color: rgba(255,255,255,.72); }
.incl-dash { color: var(--gold); }
.detail-cta { margin-top: 30px; padding: 22px; background: rgba(10,44,72,.5); border: 1px solid rgba(198,164,92,.26); }
.detail-cta-title { font-size: 15px; font-weight: 600; }
.detail-cta p { margin: 8px 0 18px; font-size: 14px; line-height: 1.65; font-weight: 300; color: rgba(255,255,255,.66); }
.invest-box { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding: 20px; background: rgba(10,44,72,.5); border: 1px solid rgba(198,164,92,.26); }
.invest-label { font-size: 10.5px; font-weight: 600; letter-spacing: 2px; color: rgba(255,255,255,.55); text-transform: uppercase; }
.invest-price { margin-top: 8px; font-size: 22px; font-weight: 700; color: rgba(255,255,255,.4); filter: blur(5px); user-select: none; }
.invest-tbd { font-size: 11px; font-weight: 600; letter-spacing: 1.4px; color: var(--gold); text-transform: uppercase; }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { margin-top: 24px; display: flex; flex-direction: column; gap: 26px; }
.faq-group-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.faq-group-num { font-family: "Cormorant Garamond", Georgia, serif; font-size: 20px; font-style: italic; color: var(--gold); }
.faq-group-title { font-size: 12px; font-weight: 600; letter-spacing: 2.2px; color: rgba(255,255,255,.82); text-transform: uppercase; }
.faq-item { border-top: 1px solid rgba(254,254,254,.1); }
.faq-item > summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 17px 0; cursor: pointer; list-style: none; }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-q { font-size: 14.5px; font-weight: 500; line-height: 1.55; }
.faq-a { padding-inline-start: 14px; border-inline-start: 2px solid rgba(198,164,92,.4); }
.faq-a p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.8; font-weight: 300; color: rgba(255,255,255,.7); }
.faq-empty { font-size: 14.5px; color: rgba(255,255,255,.6); }

/* =========================================================================
   Contact form
   ========================================================================= */
.form-error { margin-top: 20px; padding: 14px 16px; background: rgba(107,11,17,.25); border: 1px solid rgba(198,164,92,.4); color: #fff; font-size: 14px; border-radius: 2px; }
.cform-progress { margin-top: 26px; }
.cform-bars { display: flex; gap: 6px; }
.cbar { flex: 1; height: 3px; background: rgba(255,255,255,.16); }
.cbar.is-on { background: var(--gold); }
.cform-steplabel { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.cform-steplabel [data-steplabel] { font-size: 11px; font-weight: 600; letter-spacing: 2px; color: var(--gold); text-transform: uppercase; }
.cform-stepcount { font-size: 11px; font-weight: 500; letter-spacing: 1.4px; color: rgba(255,255,255,.5); }
.cform { margin-top: 22px; }
.cstep { border: 0; padding: 0; margin: 0; }
.cstep-legend { padding: 0; margin-bottom: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: 1.6px; color: rgba(255,255,255,.66); text-transform: uppercase; }
.js .cstep-legend { display: none; }
.field { display: block; margin-bottom: 18px; }
.field-label { display: block; margin-bottom: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: 1.6px; color: rgba(255,255,255,.66); text-transform: uppercase; }
.field-hint { margin-bottom: 10px; font-size: 14px; font-weight: 300; line-height: 1.6; color: rgba(255,255,255,.6); }
.field input, .field textarea { width: 100%; padding: 0 16px; height: 52px; background: rgba(1,23,42,.7); border: 1px solid rgba(198,164,92,.28); border-radius: 2px; color: var(--white); font-family: inherit; font-size: 15px; }
.field textarea { height: auto; padding: 16px; line-height: 1.6; resize: vertical; }
.field input:focus, .field textarea:focus, .faq-search:focus { outline: none; border-color: var(--gold); }
.field input.invalid, .field textarea.invalid { border-color: #e06a6a; }
.chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list { display: flex; flex-direction: column; gap: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 12px 14px; min-height: 44px; background: rgba(1,23,42,.6); border: 1px solid rgba(198,164,92,.24); border-radius: 2px; color: rgba(255,255,255,.72); font-size: 13px; font-weight: 500; cursor: pointer; }
.chip-wide { justify-content: space-between; width: 100%; padding: 15px 16px; min-height: 52px; font-size: 14.5px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:checked) { background: rgba(198,164,92,.16); border-color: var(--gold); color: #fff; }
.chip-check { color: var(--gold); opacity: 0; }
.chip:has(input:checked) .chip-check { opacity: 1; }
.cform-actions { display: flex; gap: 12px; margin-top: 26px; }
.cform-back { width: 110px; flex: none; }
.summary { margin-top: 20px; padding: 18px; background: rgba(255,255,255,.035); border: 1px solid rgba(198,164,92,.2); }
.summary-rows { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; font-size: 13.5px; line-height: 1.5; }
.summary-k { color: rgba(255,255,255,.5); }
.summary-v { color: #fff; text-align: end; }
.cform-i18n { display: none; }
.contact-media { margin: 36px 0 0; }

/* Direct contact */
.direct-box { margin: 20px 0 0; padding: 26px 22px; background: rgba(10,44,72,.5); border-top: 1px solid rgba(198,164,92,.26); }
.direct-rows { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.direct-row { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(254,254,254,.1); }
.direct-k { font-size: 12px; font-weight: 500; letter-spacing: 1.2px; color: rgba(255,255,255,.5); text-transform: uppercase; }
.direct-v { font-size: 14px; color: #fff; text-align: end; }

/* Success */
.success { padding: 70px 0 40px; text-align: center; }
.success-check { width: 74px; height: 74px; margin: 0 auto; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(198,164,92,.5); border-radius: 50%; background: rgba(198,164,92,.1); font-size: 28px; color: var(--gold); }
.success-title { margin: 30px 0 0; font-size: 28px; line-height: 1.22; font-weight: 700; }
.success-body { margin: 16px 0 0; font-size: 15px; line-height: 1.75; font-weight: 300; color: rgba(255,255,255,.7); }
.success-ref { margin: 30px 0 0; padding: 20px; background: rgba(255,255,255,.035); border: 1px solid rgba(198,164,92,.22); text-align: start; }
.success-ref-code { margin-top: 10px; font-family: ui-monospace, Menlo, monospace; font-size: 15px; }
.success-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }

/* =========================================================================
   Footer + sticky CTA
   ========================================================================= */
.site-footer { margin-top: 54px; padding: 40px 0 130px; background: var(--navy); border-top: 1px solid rgba(198,164,92,.2); }
.footer-desc { margin: 20px 0 0; font-size: 13.5px; line-height: 1.7; font-weight: 300; color: rgba(255,255,255,.55); max-width: 52ch; }
.footer-nav { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.footer-nav a { font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.78); }
.footer-nav a:hover { color: var(--gold); }
.footer-socials { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(254,254,254,.12); display: flex; gap: 10px; }
.footer-socials a { flex: 1; height: 46px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(198,164,92,.3); font-size: 11px; font-weight: 600; letter-spacing: 1.2px; color: var(--gold); }
.footer-socials a:hover { background: rgba(198,164,92,.12); }
.footer-copy { margin-top: 22px; font-size: 11px; color: rgba(255,255,255,.38); }

.sticky-cta { position: fixed; bottom: 0; inset-inline: 0; z-index: 55; background: rgba(1,23,42,.9); backdrop-filter: blur(16px); border-top: 1px solid rgba(198,164,92,.25); padding-bottom: env(safe-area-inset-bottom); }
.sticky-cta-inner { display: flex; gap: 10px; padding-block: 12px; }
.sticky-book { flex: 1; height: 52px; }
.sticky-wa { width: 54px; height: 52px; flex: none; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(198,164,92,.45); border-radius: 2px; font-size: 11px; font-weight: 600; color: var(--gold); }

/* =========================================================================
   Slide-in menu
   ========================================================================= */
/* Drawer anchors to the end edge: right in LTR, left in RTL (flexbox mirrors). */
.menu-overlay { position: fixed; inset: 0; z-index: 90; display: flex; justify-content: flex-end; background: rgba(0,0,0,.55); animation: fade .25s ease both; }
.menu-panel { width: 100%; max-width: 430px; height: 100%; overflow-y: auto; background: linear-gradient(170deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy) 100%); display: flex; flex-direction: column; animation: menuin .28s ease both; }
.menu-head { display: flex; align-items: center; justify-content: space-between; height: 60px; border-bottom: 1px solid rgba(198,164,92,.18); }
.menu-close { width: 44px; height: 44px; background: none; border: 0; color: var(--white); font-size: 26px; font-weight: 300; }
.menu-nav { flex: 1; padding-block: 20px; }
.menu-link { display: flex; align-items: baseline; justify-content: space-between; padding: 19px 0; border-bottom: 1px solid rgba(254,254,254,.1); color: var(--white); }
.menu-link-label { font-size: 22px; font-weight: 600; letter-spacing: -.3px; }
.menu-link.is-active .menu-link-label { color: var(--gold); }
.menu-link-num { font-size: 10.5px; font-weight: 600; letter-spacing: 1.6px; color: rgba(198,164,92,.7); }
.menu-langs { margin-top: 30px; display: flex; gap: 10px; }
.menu-lang { flex: 1; height: 50px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(198,164,92,.4); border-radius: 2px; color: rgba(255,255,255,.6); font-size: 12px; font-weight: 600; letter-spacing: 1.6px; }
.menu-lang.is-active { background: rgba(198,164,92,.16); color: var(--gold); }
.menu-lang-ar { font-size: 15px; letter-spacing: 0; }
.menu-socials { margin-top: 30px; display: flex; gap: 10px; }
.social-chip { flex: 1; height: 46px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(198,164,92,.3); font-size: 11px; font-weight: 600; letter-spacing: 1px; color: var(--gold); }
.menu-foot { padding-block: 18px; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }

/* =========================================================================
   Animations
   ========================================================================= */
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes menuin { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes reveal-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* =========================================================================
   Desktop / wide screens
   ========================================================================= */
@media (min-width: 768px) {
  .hero { padding: 80px 0 70px; }
  .hero-title { font-size: 54px; }
  .hero-intro { font-size: 17px; }
  .hero-actions { flex-direction: row; }
  .hero-actions .btn { width: auto; min-width: 240px; }
  .section { padding: 64px 0 20px; }
  .section-title, .page-title { font-size: 30px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .flist-bordered { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }
  .values { grid-template-columns: repeat(3, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .area-list { grid-template-columns: repeat(2, 1fr); }
  .pack-featured { grid-template-columns: repeat(3, 1fr); }
  .pack-other { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .footer-nav { grid-template-columns: repeat(4, 1fr); }
  .cta-box { padding: 48px; }
  .cta-title { font-size: 30px; }
  .flist-timeline { max-width: 720px; }
  .contact-form-section .shell, .faq { max-width: 760px; }
}
@media (min-width: 1100px) {
  .hero-title { font-size: 64px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .pack-other { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================================
   Hero — two-column balance on desktop (visual panel fills the right side
   when no hero background image has been uploaded)
   ========================================================================= */
.hero-grid { position: relative; }
.hero-visual { display: none; }

@media (min-width: 900px) {
  .hero { padding: 92px 0 80px; }
  .hero-grid {
    display: grid; align-items: center; gap: 56px;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .9fr);
  }
  .hero-inner { max-width: 620px; }
  .hero-visual { display: flex; justify-content: center; align-items: center; }
  .hero-visual-frame {
    position: relative; width: 100%; max-width: 380px; aspect-ratio: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 22px;
    border: 1px solid rgba(198,164,92,.28);
    background:
      radial-gradient(120% 120% at 50% 0%, rgba(198,164,92,.10), transparent 60%),
      linear-gradient(160deg, rgba(10,44,72,.55), rgba(1,23,42,.35));
    box-shadow: 0 30px 60px rgba(0,0,0,.35);
  }
  .hero-visual-frame::before,
  .hero-visual-frame::after {
    content: ""; position: absolute; width: 16px; height: 16px; border: 1px solid var(--gold);
  }
  .hero-visual-frame::before { top: 12px; inset-inline-start: 12px; border-inline-end: 0; border-bottom: 0; }
  .hero-visual-frame::after  { bottom: 12px; inset-inline-end: 12px; border-inline-start: 0; border-top: 0; }
  .hero-visual-logo { width: 58%; max-width: 210px; height: auto; opacity: .92; }
  .hero-visual-caption {
    font-size: 10.5px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
    color: rgba(198,164,92,.85);
  }
}
@media (min-width: 1100px) {
  .hero-visual-frame { max-width: 420px; }
}

/* =========================================================================
   Desktop top navigation (replaces the hamburger on wide screens)
   ========================================================================= */
.primary-nav { display: none; }
.header-cta  { display: none; }

@media (min-width: 900px) {
  .header-inner { height: 74px; }
  .primary-nav {
    display: flex; align-items: center; gap: 4px; margin-inline: auto;
    padding-inline: 20px;
  }
  .primary-nav-link {
    position: relative; padding: 9px 15px;
    font-size: 13px; font-weight: 500; letter-spacing: .3px;
    color: rgba(255,255,255,.74); white-space: nowrap;
    transition: color .22s ease;
  }
  .primary-nav-link::after {
    content: ""; position: absolute; inset-inline: 15px; bottom: 3px; height: 1.5px;
    background: var(--gold); transform: scaleX(0); transform-origin: center;
    transition: transform .3s cubic-bezier(.16,.8,.24,1);
  }
  .primary-nav-link:hover { color: var(--white); }
  .primary-nav-link:hover::after,
  .primary-nav-link.is-active::after { transform: scaleX(1); }
  .primary-nav-link.is-active { color: var(--gold); }

  .header-cta {
    display: inline-flex; height: 44px; padding: 0 22px;
    font-size: 11px; letter-spacing: 1.2px;
    box-shadow: 0 8px 22px rgba(107,11,17,.35);
  }
  .header-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(107,11,17,.5); }

  .menu-btn { display: none; }
  .sticky-cta { display: none !important; }
  .site-footer { padding-bottom: 44px; }
}

/* Header background firms up once the page is scrolled */
.site-header { transition: background .3s ease, box-shadow .3s ease, border-color .3s ease; }
.site-header.is-scrolled {
  background: rgba(1,23,42,.96);
  box-shadow: 0 12px 30px rgba(0,0,0,.34);
  border-bottom-color: rgba(198,164,92,.3);
}

/* =========================================================================
   Scroll reveal — each section rises in as it enters the viewport.
   Gated on `.js` so content is always visible when JavaScript is off.
   ========================================================================= */
.js .reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.16,.8,.24,1), transform .8s cubic-bezier(.16,.8,.24,1);
  will-change: opacity, transform;
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* Staggered entrance for repeating items inside a revealed block.
   Uses a keyframe animation (not the element's own transition) so hover
   interactions on the same element are never delayed. */
.js .reveal .r-item { opacity: 0; }
.js .reveal.is-in .r-item {
  animation: reveal-rise .7s cubic-bezier(.16,.8,.24,1) both;
  animation-delay: calc(var(--i, 0) * .07s);
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal .r-item {
    opacity: 1 !important; transform: none !important; animation: none !important;
  }
}

/* =========================================================================
   Hover micro-interactions — give interactive surfaces some life
   ========================================================================= */
.card, .value-item, .team-member, .acc-item, .area-card,
.pack-card, .pack-row, .story, .direct-box, .stat, .tag {
  transition: transform .28s cubic-bezier(.16,.8,.24,1),
              border-color .28s ease, background-color .28s ease, box-shadow .28s ease;
}
.card:hover, .value-item:hover, .team-member:hover, .area-card:hover,
.pack-card:hover, .pack-row:hover {
  transform: translateY(-4px);
  border-color: rgba(198,164,92,.55);
  box-shadow: 0 16px 34px rgba(0,0,0,.28);
}
.acc-item:hover { border-color: rgba(198,164,92,.45); }
.tag:hover { border-color: var(--gold); color: #fff; transform: translateY(-2px); }

/* Buttons lift slightly on hover */
.btn { transition: transform .2s ease, filter .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease, background-color .2s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(107,11,17,.5); }
.btn-ghost:hover  { transform: translateY(-2px); }

/* Arrows drift toward their direction on hover of the row/button */
.area-card .area-arrow, .btn .arrow, .back-link .back-arrow {
  transition: transform .28s cubic-bezier(.16,.8,.24,1);
}
.area-card:hover .area-arrow, .btn:hover .arrow { transform: translateX(4px); }
[dir=rtl] .area-card:hover .area-arrow, [dir=rtl] .btn:hover .arrow { transform: translateX(-4px) scaleX(-1); }
.back-link:hover .back-arrow { transform: translateX(-3px); }
[dir=rtl] .back-link:hover .back-arrow { transform: translateX(3px) scaleX(-1); }

/* Footer + social hovers */
.footer-socials a, .social-chip { transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease; }
.footer-socials a:hover, .social-chip:hover { transform: translateY(-2px); border-color: var(--gold); }
.footer-nav a { transition: color .2s ease, padding-inline-start .2s ease; }
.footer-nav a:hover { padding-inline-start: 5px; }

/* Language toggle + menu button feedback */
.menu-btn span { transition: width .25s ease, background-color .25s ease; }
.menu-btn:hover span:nth-child(2) { width: 22px; }
.lang-opt { transition: color .2s ease; }
