/* Shared typography, spacing and colour for both reading directions. */
:root {
  --ink: #172e40;
  --muted: #435766;
  --navy: #112e45;
  --deep: #0c2234;
  --gold: #e9c887;
  --paper: #fffefb;
  --wash: #f1f4f5;
  --line: #cbd3d7;
  background: var(--paper);
  color: var(--ink);
  font: 100%/1.65 "Segoe UI", Arial, sans-serif;
  text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body, figure, dl, dd { margin: 0; }
a { color: inherit; text-underline-offset: .24em; }
a:hover { text-decoration-thickness: 2px; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #b8751d; outline-offset: 4px; }
.skip { position: absolute; z-index: 5; background: white; padding: .7rem; transform: translateY(-150%); }
.skip:focus { transform: none; }
.wrap { width: min(74rem, 90%); margin-inline: auto; }
.top, nav, .actions, .brand, .tools, .section-head, footer .wrap { display: flex; align-items: center; }
.top { min-height: 4.85rem; gap: 1.15rem; justify-content: space-between; }
.brand { gap: .65rem; text-decoration: none; font-weight: 750; letter-spacing: -.05em; font-size: 1.48rem; white-space: nowrap; }
.brand i { width: 1.55rem; height: 1.7rem; background: var(--navy); clip-path: polygon(0 60%,58% 2%,100% 2%,100% 45%,45% 100%,45% 56%,0 100%); }
nav,.actions,.tools { flex-wrap: wrap; gap: 1.35rem; }
nav a,.language { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 600; }
nav a:hover,.language:hover { text-decoration: underline; }
.language { padding-inline: .25rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border: 0; border-radius: .28rem; padding: .65rem 1.15rem; font: inherit; font-weight: 650; line-height: 1.4; text-decoration: none; cursor: pointer; }
.dark { background: var(--navy); color: white; }
.dark:hover { background: #234862; }
.gold { background: var(--gold); color: var(--deep); }
.gold:hover { background: #f3d8a2; }
.hero { position: relative; isolation: isolate; color: white; background: var(--deep); }
.hero picture,.hero img,.hero::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero picture { z-index: -2; }
.hero img { object-fit: cover; }
.hero::before { content: ""; z-index: -1; background: linear-gradient(90deg,rgba(10,30,47,.96),rgba(10,30,47,.78) 37%,rgba(10,30,47,.15) 88%); }
.hero-inner { padding-block: clamp(3.25rem,6vw,6rem); }
p,h1,h2,h3 { margin: 0; }
h1,h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: 1.08; letter-spacing: -.038em; text-wrap: balance; }
h1 { font-size: clamp(2.9rem,6.2vw,5.5rem); }
h1 em { color: var(--gold); }
h2 { font-size: clamp(2.1rem,3.9vw,3.6rem); }
h3 { font-size: clamp(1.2rem,2vw,1.44rem); line-height: 1.25; letter-spacing: -.022em; }
.overline { color: #546977; font-size: .88rem; font-weight: 650; letter-spacing: .08em; margin-bottom: .6rem; }
.hero .overline,.feature .overline { color: var(--gold); }
.intro { font-size: clamp(1.05rem,1.6vw,1.2rem); max-width: 47ch; margin-block: 1.1rem 1.5rem; }
.under,.textlink { font: inherit; font-weight: 630; text-decoration: underline; text-underline-offset: .25em; }
.textlink { background: none; border: 0; padding: 0; color: var(--navy); cursor: pointer; }
.section { padding-block: clamp(2.8rem,5.5vw,5rem); }
.section-head { justify-content: space-between; align-items: end; gap: 1.4rem; margin-bottom: 1.8rem; }
.categories,.feature-grid,.contact-grid,.fields,.service-list,.photo-grid { display: grid; gap: 1.4rem; }
.categories { grid-template-columns: repeat(3,minmax(0,1fr)); }
.categories article { padding-block-start: 1.1rem; border-block-start: 2px solid #ab9262; display: flex; flex-direction: column; align-items: start; }
.categories p,.service-list p,.section-intro,.form-panel > p,.gallery-intro,.contact-copy { color: var(--muted); }
.categories p,.service-list p { margin-block: .6rem .85rem; max-width: 59ch; }
.categories a { margin-top: auto; }
.feature { background: var(--navy); color: #fff; }
.feature-grid { grid-template-columns: 1.1fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
.feature-photo { width: 100%; height: auto; border-radius: .25rem; }
.feature-copy { max-width: 55ch; margin-block: 1.05rem; color: #edf2f4; }
dl { margin-block: 1.2rem 1.6rem; }
dl div { display: grid; grid-template-columns: minmax(5.5rem,auto) 1fr; gap: 1rem; padding-block: .6rem; border-top: 1px solid #496073; }
dt { font-weight: 650; }
.gallery-block { margin-top: clamp(2.5rem,5vw,4.5rem); border-top: 1px solid #526575; padding-top: 1.7rem; }
.gallery-block h3 { font-size: 1.6rem; }
.gallery-intro { color: #dbe5eb; max-width: 68ch; margin: .5rem 0 1.15rem; }
.photo-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(.6rem,1.3vw,1rem); }
.photo-grid a { display:block; text-decoration:none; }
.photo-grid img { width: 100%; height:auto; aspect-ratio: 6 / 5; object-fit: cover; border-radius: .2rem; background: #26485f; }
.photo-caption { display:block; font-size:.94rem; margin-block-start:.4rem; line-height:1.45; }
.photo-grid a:hover .photo-caption { text-decoration:underline; }
.services { background: var(--wash); }
.section-intro { margin: .8rem 0 1.8rem; max-width: 66ch; }
.service-list { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: clamp(1.5rem,6vw,5rem); }
.service-list article { border-top: 1px solid #aebbc3; padding-top: 1.1rem; }
.contact-grid { grid-template-columns:.85fr 1.2fr; gap:clamp(2rem,6vw,5.2rem); }
.contact-copy { margin: .85rem 0 1.3rem; }
address { font-style: normal; display: grid; justify-items: start; }
address span { color: #526674; margin: 1rem 0 .15rem; font-size:.93rem; font-weight:650; }
.form-panel { padding:clamp(1.15rem,3vw,2.6rem); border:1px solid var(--line); border-radius:.4rem; }
.form-panel h2 { font-size:clamp(1.9rem,3.2vw,2.85rem); }
.form-panel > p { margin: .65rem 0 1.1rem; max-width:56ch; }
.fields { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.9rem; }
label { display:grid; gap:.3rem; font-weight:600; margin-bottom:.9rem; font-size:.96rem; }
input,select,textarea { width:100%; min-width:0; font:inherit; font-weight:400; font-size:1rem; color:var(--ink); background:#fff; border:1px solid #8798a3; border-radius:.25rem; padding:.65rem; }
textarea { resize:vertical; }
.note { margin-top:.85rem; font-size:.95rem; }
.note:empty { display:none; }
footer { border-top:1px solid var(--line); padding:1.25rem 0; }
footer .wrap { justify-content:space-between; gap:1rem; }
dialog { border:0; border-radius:.4rem; padding:1rem; width:fit-content; max-width:94vw; max-height:94dvh; color:var(--ink); background:var(--paper); }
dialog::backdrop { background: rgba(5,19,30,.85); }
dialog img { max-width:min(83vw,68rem); max-height:70dvh; width:auto; height:auto; margin-inline:auto; }
.viewer-head { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:.7rem; }
.viewer-head p { font-weight:650; }
:lang(ar) { letter-spacing:normal; }
html[lang="ar"] { font-family:Tahoma,"Segoe UI",Arial,sans-serif; line-height:1.85; }
[dir="rtl"] :is(h1,h2,h3) { font-family:Tahoma,"Segoe UI",Arial,sans-serif; font-weight:700; line-height:1.45; letter-spacing:normal; }
[dir="rtl"] h1 { font-size:clamp(2.6rem,5.1vw,4.6rem); }
[dir="rtl"] h1 em { font-style:normal; }
[dir="rtl"] h2 { font-size:clamp(1.9rem,3.3vw,3.15rem); }
[dir="rtl"] .hero::before { background:linear-gradient(270deg,rgba(10,30,47,.96),rgba(10,30,47,.80) 37%,rgba(10,30,47,.15) 88%); }
[dir="rtl"] .intro { max-width:43ch; }
@media(max-width:52rem) {
  .top { display:grid; grid-template-columns:1fr auto; gap:0 .75rem; padding-top:.55rem; }
  .tools { justify-content:end; }
  nav { grid-column:1/-1; grid-row:2; justify-content:space-between; gap:.5rem; border-top:1px solid var(--line); margin-top:.45rem; }
  .feature-grid,.contact-grid { grid-template-columns:1fr; }
  .feature-grid > div { grid-row:1; }
  .feature-photo { max-width:42rem; }
}
@media(max-width:40rem) {
  .wrap { width:92%; }
  .brand { font-size:1.12rem; gap:.4rem; }
  .brand i { width:1.15rem; height:1.35rem; }
  .tools { gap:.55rem; }
  .tools .btn { display:none; }
  nav a,.language { font-size:.94rem; }
  .categories,.service-list,.fields { grid-template-columns:1fr; }
  .fields { gap:0; }
  .categories,.service-list { gap:1.45rem; }
  .section-head { align-items:start; flex-direction:column; gap:.5rem; }
  .hero-inner { padding-block:2.6rem; }
  .hero::before,[dir="rtl"] .hero::before { background:linear-gradient(0deg,rgba(9,28,43,.91),rgba(9,28,43,.74)); }
  .intro { max-width:36ch; }
  .actions { gap:.8rem 1rem; }
  .actions .textlink,.actions .under { min-height:44px; display:inline-flex; align-items:center; }
  .photo-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  footer .wrap { flex-wrap:wrap; }
}
@media(max-width:23rem) {
  .hero h1 br { display:none; }
  .top,.tools,nav { min-width:0; }
  .hero h1 { font-size:2.55rem; }
}