/* =========================================================
   أوقاف عوض بن محمد آل مُضحّية — الهوية البصرية
   ========================================================= */
:root {
  --blue: #0267B2;
  --blue-2: #088ECD;
  --gold: #D7AA55;
  --gold-d: #BC8E37;
  --gold-l: #F6DBA5;
  --bg: #FEFEFD;
  --dark: #0F172A;
  --gray: #334155;
  --muted: #64748B;
  --line: #E7ECF2;
  --soft: #F6F8FB;
  --radius: 16px;
  --shadow-sm: 0 4px 18px rgba(15, 23, 42, .06);
  --shadow: 0 14px 40px rgba(15, 23, 42, .08);
  --shadow-blue: 0 22px 46px rgba(2, 103, 178, .22);
  --container: 1200px;
  --pad: 80px;
  --font: 'Cairo', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
}
@media (max-width: 767px) { :root { --pad: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); background: var(--bg); color: var(--gray);
  font-size: 16px; line-height: 1.8; direction: rtl; text-align: right;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--dark); margin: 0; line-height: 1.35; font-weight: 800; }
p { margin: 0; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
@media (max-width: 767px) { .container { padding-inline: 16px; } }
.section { padding-block: var(--pad); }
.section--soft { background: var(--soft); }
.section--white { background: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1em; height: 1em; flex: none; }
.skip-link { position: absolute; top: -60px; right: 16px; background: var(--gold); color: var(--dark); padding: 8px 16px; border-radius: 10px; z-index: 2000; font-weight: 700; }
.skip-link:focus { top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 28px; border-radius: 12px; font-weight: 700; font-size: 16px; line-height: 1.2;
  border: 2px solid transparent; cursor: pointer; transition: all .25s ease; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { font-size: 18px; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-2); box-shadow: 0 10px 24px rgba(2, 103, 178, .25); }
.btn--gold { background: var(--gold); color: var(--dark); }
.btn--gold:hover { background: var(--gold-d); box-shadow: 0 10px 24px rgba(188, 142, 55, .3); }
.btn--outline { border-color: var(--gold); color: var(--dark); background: transparent; }
.btn--outline:hover { background: var(--gold); }
.btn--outline-light { border-color: var(--gold); color: #fff; background: rgba(255, 255, 255, .04); }
.btn--outline-light:hover { background: var(--gold); color: var(--dark); }
.btn--sm { padding: 10px 20px; font-size: 15px; }
.btn--link { padding: 0; color: var(--blue); border: 0; background: none; }
.btn--link:hover { color: var(--gold-d); transform: none; }
.btn--link .icon { transition: transform .25s; }
.btn--link:hover .icon { transform: translateX(-4px); }

/* ---------- Section heads ---------- */
.head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 44px; }
.head--center { align-items: center; text-align: center; }
.eyebrow { color: var(--gold-d); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before, .head--center .eyebrow::after { content: ""; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; }
.title { font-size: clamp(28px, 4vw, 38px); position: relative; padding-bottom: 14px; }
.title::after { content: ""; position: absolute; bottom: 0; right: 0; width: 64px; height: 3px; border-radius: 3px; background: var(--gold); }
.head--center .title::after { right: 50%; transform: translateX(50%); }
.lead { font-size: 17px; color: var(--gray); max-width: 640px; margin-top: 4px; }

/* ---------- 1) Top bar ---------- */
.topbar { background: linear-gradient(270deg, var(--blue), var(--blue-2)); color: #fff; font-size: 13px; }
.topbar .container { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topbar__contact { display: flex; align-items: center; gap: 22px; font-weight: 600; }
.topbar__contact a { display: inline-flex; align-items: center; gap: 7px; opacity: .95; transition: opacity .2s; }
.topbar__contact a:hover { opacity: 1; color: var(--gold-l); }
.topbar__contact .icon { color: var(--gold-l); font-size: 13px; }
.social { display: flex; gap: 4px; }
.social a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #fff; transition: background .2s, color .2s; }
.social a:hover { background: rgba(255, 255, 255, .15); color: var(--gold-l); }
.social .icon { font-size: 14px; }
@media (max-width: 767px) {
  .topbar .container { min-height: 44px; }
  .topbar__contact { gap: 14px; font-size: 12px; }
  .topbar__contact .hide-sm { display: none; }
  .social a { width: 26px; height: 26px; }
}

/* ---------- 2) Navbar ---------- */
.navbar { position: sticky; top: 0; z-index: 900; background: #fff; box-shadow: 0 4px 20px rgba(15, 23, 42, .06); border-bottom: 1px solid rgba(215, 170, 85, .25); transition: box-shadow .3s; }
.navbar.is-scrolled { box-shadow: 0 8px 28px rgba(15, 23, 42, .1); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 62px; height: 62px; border-radius: 50%; }
.brand__name { display: flex; flex-direction: column; justify-content: center; gap: 2px; line-height: 1.35; padding-inline-start: 14px; border-inline-start: 1.5px solid rgba(215, 170, 85, .45); }
.brand__name strong { color: var(--dark); font-size: 17px; font-weight: 800; letter-spacing: -.1px; white-space: nowrap; }
.brand__name small { color: var(--gold-d); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.brand__name small::before { content: ""; width: 14px; height: 1.5px; background: var(--gold); border-radius: 2px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav__menu { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__menu a { white-space: nowrap; position: relative; font-weight: 600; color: var(--dark); padding: 6px 2px; transition: color .2s; font-size: 16px; }
.nav__menu a::after { content: ""; position: absolute; bottom: -2px; right: 0; width: 0; height: 2px; background: var(--gold); transition: width .25s; }
.nav__menu a:hover, .nav__menu a.is-active { color: var(--blue); }
.nav__menu a:hover::after, .nav__menu a.is-active::after { width: 100%; }
.nav__cta-sm, .burger { display: none; }
.burger { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--gold); background: #fff; color: var(--blue); cursor: pointer; place-items: center; font-size: 22px; }
.burger[aria-expanded="true"] { background: var(--gold-l); }
@media (max-width: 1024px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__cta-sm { display: inline-flex; padding: 9px 16px; font-size: 14px; }
  .burger { display: grid; }
  .nav { gap: 10px; }
  .navbar .container { min-height: 72px; }
  .brand img { width: 52px; height: 52px; }
}
@media (max-width: 420px) { .brand__name { display: none; } }
.drawer { position: absolute; top: 100%; right: 0; left: 0; background: #fff; border-top: 2px solid var(--gold); box-shadow: 0 18px 30px rgba(15, 23, 42, .12); padding: 8px 16px 18px; display: none; }
.drawer.is-open { display: block; animation: drop .25s ease; }
.drawer a { display: flex; justify-content: space-between; align-items: center; padding: 13px 4px; border-bottom: 1px solid var(--line); font-weight: 600; color: var(--dark); }
.drawer a:last-child { border-bottom: 0; }
.drawer a .icon { color: var(--gold); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- 3) Hero ---------- */
.hero {
  position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(8, 142, 205, .45), transparent 60%),
    radial-gradient(700px 420px at 10% 90%, rgba(215, 170, 85, .22), transparent 60%),
    linear-gradient(135deg, #062B4D 0%, #034A80 45%, var(--blue) 100%);
  padding: 60px 0 150px;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(15, 23, 42, .55), rgba(2, 103, 178, .25)); }
.hero__pattern {
  position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23F6DBA5' stroke-opacity='.12' stroke-width='1'%3E%3Cpath d='M60 6 L114 60 L60 114 L6 60Z'/%3E%3Cpath d='M60 26 L94 60 L60 94 L26 60Z'/%3E%3Cpath d='M0 0 L120 120 M120 0 L0 120'/%3E%3Ccircle cx='60' cy='60' r='12'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.25) 55%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.25) 55%, transparent 100%);
}
.hero__ornament { position: absolute; bottom: 70px; left: 0; right: 0; height: 160px; background: url("../img/ornament.webp") center bottom / 600px auto repeat-x; opacity: .13; z-index: -1; pointer-events: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.glass {
  position: relative; max-width: 640px; padding: 44px; border-radius: var(--radius);
  background: rgba(15, 23, 42, .32); border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
}
.glass::before { content: ""; position: absolute; top: 0; right: 0; width: 6px; height: 100%; border-radius: 0 var(--radius) var(--radius) 0; background: linear-gradient(var(--gold), var(--gold-d)); }
.glass__kicker { color: var(--gold-l); font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.glass h1 { color: #fff; font-size: clamp(32px, 5vw, 50px); font-weight: 800; margin-bottom: 16px; }
.glass p { color: rgba(255, 255, 255, .92); font-size: 18px; line-height: 1.95; }
.glass__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
@media (max-width: 1024px) { .hero__visual { display: none; } }
@media (max-width: 767px) {
  .hero { min-height: 520px; padding: 40px 0 120px; }
  .glass { padding: 28px 22px; }
  .glass p { font-size: 16px; }
  .glass__actions .btn { flex: 1 1 auto; padding: 12px 18px; }
}

/* ---------- Pillars (cards under hero) ---------- */
.pillars { position: relative; z-index: 3; margin-top: -96px; }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-6 { grid-template-columns: repeat(3, 1fr); } .grid-3.t2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .grid-3, .grid-3.t2 { grid-template-columns: 1fr; gap: 16px; } .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 12px; } .stat { padding: 24px 10px 20px; } .stat__label { font-size: 15px; } .grid-6 { grid-template-columns: repeat(2, 1fr); gap: 12px; } .pillars { margin-top: -72px; } }
.card { background: #fff; border-radius: var(--radius); border: 1px solid rgba(215, 170, 85, .4); box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(2, 103, 178, .14); }
.pillar { padding: 34px 30px; display: flex; flex-direction: column; gap: 12px; }
.pillar h3 { font-size: 22px; }
.pillar p { font-size: 16px; }
.pillar--featured { background: linear-gradient(160deg, var(--blue), var(--blue-2)); border: 0; border-bottom: 4px solid var(--gold); box-shadow: var(--shadow-blue); }
.pillar--featured h3, .pillar--featured p { color: #fff; }
.pillar--featured p { opacity: .92; }
.ico { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: rgba(215, 170, 85, .13); color: var(--gold-d); font-size: 27px; flex: none; }
.pillar--featured .ico { background: rgba(255, 255, 255, .15); color: var(--gold-l); }

/* ---------- Placeholder image ---------- */
.ph {
  position: relative; width: 100%; height: 100%; min-height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: rgba(255, 255, 255, .92); text-align: center; overflow: hidden; font-weight: 700; font-size: 15px; padding: 16px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 100%);
}
.ph::before { content: ""; position: absolute; inset: 0; opacity: .9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23F6DBA5' stroke-opacity='.18'%3E%3Cpath d='M32 2 L62 32 L32 62 L2 32Z'/%3E%3Ccircle cx='32' cy='32' r='8'/%3E%3C/g%3E%3C/svg%3E"); }
.ph > * { position: relative; }
.ph .icon { font-size: 40px; color: var(--gold-l); }
.ph small { font-weight: 500; font-size: 12px; opacity: .7; }
.ph--1 { background: linear-gradient(135deg, #034A80, var(--blue)); }
.ph--2 { background: linear-gradient(135deg, var(--gold-d), var(--gold)); }
.ph--2 .icon { color: #fff; }
.ph--3 { background: linear-gradient(135deg, #0F172A, #1E3A5F); }
.ph--4 { background: linear-gradient(135deg, var(--blue-2), #5BB8E6); }
.media { border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 4) About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__text { display: flex; flex-direction: column; gap: 18px; }
.about__text .head { margin-bottom: 4px; }
.about__text > p { font-size: 18px; }
.about__text > p + p { font-size: 16px; color: var(--muted); }
.checks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--dark); font-size: 17px; }
.checks .icon { color: var(--gold); font-size: 22px; }
.about__media { position: relative; }
.about__media .media { aspect-ratio: 9 / 7; box-shadow: 0 24px 50px rgba(15, 23, 42, .14); }
.about__media::before { content: ""; position: absolute; top: -18px; left: -18px; width: 140px; height: 140px; border-top: 3px solid var(--gold); border-left: 3px solid var(--gold); border-radius: 22px 0 0 0; }
.badge { position: absolute; bottom: -26px; right: -22px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 24px; text-align: center; border-bottom: 3px solid var(--gold); }
.badge strong { display: block; font-size: 34px; color: var(--blue); font-weight: 800; line-height: 1.2; direction: ltr; }
.badge span { font-size: 14px; color: var(--gray); font-weight: 600; }
@media (max-width: 1024px) { .about { gap: 40px; } }
@media (max-width: 767px) {
  .about { grid-template-columns: 1fr; gap: 48px; }
  .about__media { order: 2; margin-inline: 8px; }
  .badge { right: 10px; bottom: -20px; padding: 12px 18px; }
  .badge strong { font-size: 26px; }
}

/* ---------- Vision / Mission / Values ---------- */
.vmv { padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; border: 0; border-right: 4px solid var(--gold); box-shadow: var(--shadow-sm); }
.vmv h3 { font-size: 22px; }
.vmv ul { margin: 0; padding: 0 18px 0 0; line-height: 2.1; }
.vmv li::marker { color: var(--gold); }

/* ---------- 5) Stats ---------- */
.stats { background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23D7AA55' stroke-opacity='0.06' stroke-width='1.2'%3E%3Cpath d='M40 4 L76 40 L40 76 L4 40 Z'/%3E%3Cpath d='M40 18 L62 40 L40 62 L18 40 Z'/%3E%3Ccircle cx='40' cy='40' r='8'/%3E%3C/g%3E%3C/svg%3E"); }
.stat { padding: 34px 20px 30px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; border-color: rgba(215, 170, 85, .35); }
.stat .ico { width: 52px; height: 52px; font-size: 22px; }
.stat__num { font-size: clamp(30px, 5vw, 52px); font-weight: 800; color: var(--blue); line-height: 1.1; direction: ltr; position: relative; padding-bottom: 14px; font-variant-numeric: tabular-nums; }
.stat__num::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 40px; height: 3px; border-radius: 3px; background: var(--gold); }
.stat__label { font-size: 17px; font-weight: 600; color: var(--gray); }

/* ---------- 6) News ---------- */
.news-card { overflow: hidden; display: flex; flex-direction: column; border-color: rgba(215, 170, 85, .35); }
.news-card__media { aspect-ratio: 16 / 9; overflow: hidden; border-radius: 0; position: relative; }
.news-card__media > * { transition: transform .5s ease; }
.news-card:hover .news-card__media > * { transform: scale(1.05); }
.news-card__cat { position: absolute; top: 14px; right: 14px; background: var(--gold); color: var(--dark); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; z-index: 2; }
.news-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.meta { display: flex; gap: 18px; font-size: 13px; color: var(--muted); font-weight: 600; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta .icon { color: var(--gold); }
.news-card h3 { font-size: 20px; }
.news-card h3 a:hover { color: var(--blue); }
.news-card p { font-size: 15px; flex: 1; }
.center { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- 7) Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1024px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .gallery { grid-template-columns: 1fr; gap: 14px; } }
.gallery__item { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; border: 0; padding: 0; background: none; display: block; width: 100%; }
.gallery__item > .ph, .gallery__item > img { transition: transform .5s ease; width: 100%; height: 100%; object-fit: cover; }
.gallery__item:hover > .ph, .gallery__item:hover > img { transform: scale(1.06); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 23, 42, .7), transparent 55%); opacity: .0; transition: opacity .3s; }
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; }
.gallery__cap { position: absolute; bottom: 14px; right: 16px; left: 16px; color: #fff; font-weight: 700; z-index: 2; display: flex; justify-content: space-between; align-items: center; opacity: 0; transform: translateY(8px); transition: all .3s; }
.gallery__item:hover .gallery__cap, .gallery__item:focus-visible .gallery__cap { opacity: 1; transform: none; }
.gallery__cap .icon { color: var(--gold-l); font-size: 20px; }
@media (hover: none) { .gallery__item::after { opacity: .8; } .gallery__cap { opacity: 1; transform: none; } }

.lightbox { position: fixed; inset: 0; background: rgba(15, 23, 42, .92); z-index: 1500; display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.is-open { display: flex; animation: fade .25s; }
.lightbox__stage { width: min(1000px, 100%); aspect-ratio: 4 / 3; max-height: 80vh; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox__stage img { width: 100%; height: 100%; object-fit: contain; background: #000; }
.lightbox__cap { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: #fff; font-weight: 700; }
.lightbox__btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(246, 219, 165, .6); background: rgba(255, 255, 255, .08); color: #fff; font-size: 22px; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.lightbox__btn:hover { background: var(--gold); color: var(--dark); }
.lightbox__close { top: 20px; left: 20px; }
.lightbox__prev { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { left: 20px; top: 50%; transform: translateY(-50%); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 8) Partners ---------- */
.partner { height: 120px; display: grid; place-items: center; background: #fff; border-radius: var(--radius); border: 1px solid rgba(215, 170, 85, .4); padding: 18px; transition: border-color .3s, box-shadow .3s, transform .3s; }
.partner:hover { border-color: var(--gold); box-shadow: 0 12px 26px rgba(188, 142, 55, .16); transform: translateY(-3px); }
.partner img { max-height: 70px; width: auto; filter: grayscale(100%); opacity: .75; transition: all .3s; }
.partner:hover img { filter: none; opacity: 1; }
.partner__ph { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--muted); font-weight: 700; font-size: 14px; text-align: center; }
.partner__ph .icon { font-size: 28px; color: var(--gold); }
@media (max-width: 767px) { .partner { height: 100px; } }

/* ---------- 9) Footer ---------- */
.footer { background: var(--dark); color: rgba(255, 255, 255, .75); border-top: 4px solid var(--gold); position: relative; overflow: hidden; padding: 72px 0 28px; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 160px; background: url("../img/ornament.webp") center top / 600px auto repeat-x; opacity: .05; pointer-events: none; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 48px; position: relative; }
.footer h4 { color: #fff; font-size: 18px; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; bottom: 0; right: 0; width: 40px; height: 3px; border-radius: 3px; background: var(--gold); }
.footer__brand img { width: 72px; height: 72px; border-radius: 50%; background: #fff; margin-bottom: 16px; }
.footer__brand p { font-size: 15px; line-height: 1.95; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer li a, .footer li span { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; transition: color .2s; }
.footer li a:hover { color: var(--gold-l); }
.footer li .icon { color: var(--gold); }
.footer .social { margin-top: 18px; }
.footer .social a { border: 1px solid rgba(255, 255, 255, .15); width: 36px; height: 36px; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(215, 170, 85, .3); text-align: center; font-size: 14px; color: rgba(255, 255, 255, .6); position: relative; }
@media (max-width: 767px) { .footer { padding-top: 48px; } .footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Contact modal ---------- */
.modal { position: fixed; inset: 0; z-index: 1600; background: rgba(15, 23, 42, .6); display: none; align-items: center; justify-content: center; padding: 16px; backdrop-filter: blur(4px); }
.modal.is-open { display: flex; animation: fade .2s; }
.modal__box { background: #fff; border-radius: var(--radius); width: min(560px, 100%); max-height: 92vh; overflow: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); border-top: 5px solid var(--gold); }
.modal__head { padding: 24px 28px 8px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.modal__head h3 { font-size: 22px; }
.modal__head p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.modal__close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; font-size: 18px; color: var(--gray); flex: none; }
.form { padding: 12px 28px 28px; display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } .form, .modal__head { padding-inline: 20px; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; color: var(--dark); }
.field input, .field textarea, .field select { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--soft); transition: border-color .2s, background .2s; color: var(--dark); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue-2); background: #fff; }
.field textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; right: -9999px; }
.form__msg { font-size: 14px; font-weight: 600; padding: 10px 14px; border-radius: 10px; display: none; }
.form__msg.ok { display: block; background: #ECFDF5; color: #047857; }
.form__msg.bad { display: block; background: #FEF2F2; color: #B91C1C; }

/* ---------- Inner pages ---------- */
.page-hero { background: linear-gradient(135deg, #062B4D, var(--blue)); color: #fff; padding: 64px 0 72px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 120px; background: url("../img/ornament.webp") center bottom / 500px auto repeat-x; opacity: .1; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 42px); }
.page-hero p { color: rgba(255, 255, 255, .85); margin-top: 10px; max-width: 720px; font-size: 17px; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--gold-l); margin-bottom: 12px; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.article { max-width: 920px; margin-inline: auto; }
.article .media { margin-bottom: 28px; background: var(--soft); box-shadow: var(--shadow-sm); }
.article .media:has(.ph) { aspect-ratio: 16 / 9; }
.article .media img { width: 100%; height: auto; max-height: 75vh; object-fit: contain; display: block; }
.article .media a { display: block; cursor: zoom-in; }
.article__body { font-size: 18px; line-height: 2.05; color: var(--gray); }
.article__body p + p { margin-top: 18px; }
.policy { padding: 26px; display: flex; gap: 18px; align-items: flex-start; }
.policy .ico { width: 54px; height: 54px; font-size: 24px; border-radius: 14px; }
.policy__body { flex: 1; display: grid; gap: 8px; }
.policy h3 { font-size: 19px; }
.policy p { font-size: 15px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(2, 103, 178, .08); color: var(--blue); font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.chip--gold { background: rgba(215, 170, 85, .15); color: var(--gold-d); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filters button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 18px; font-weight: 700; cursor: pointer; color: var(--gray); transition: all .2s; }
.filters button.is-active, .filters button:hover { border-color: var(--gold); background: var(--gold-l); color: var(--dark); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pager button { min-width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; cursor: pointer; }
.pager button.is-active { background: var(--blue); color: #fff; border-color: var(--blue); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .hero__visual, .hero__visual * { animation: none !important; } }
.skeleton { background: linear-gradient(90deg, #eef2f6 25%, #f7f9fb 50%, #eef2f6 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 12px; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- Nav "More" dropdown ---------- */
.nav__more { position: relative; }
.nav__more > button { white-space: nowrap; background: none; border: 0; font: inherit; font-weight: 600; color: var(--dark); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; padding: 6px 2px; }
.nav__more > button .chev { transform: rotate(-90deg); transition: transform .2s; font-size: 14px; }
.nav__more.is-open > button .chev { transform: rotate(90deg); }
.nav__more > button:hover, .nav__more > button.is-active { color: var(--blue); }
.nav__dropdown { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 14px); right: -12px; min-width: 220px; background: #fff; border-radius: 14px; box-shadow: 0 18px 40px rgba(15, 23, 42, .14); border-top: 3px solid var(--gold); display: none; z-index: 950; }
.nav__more.is-open .nav__dropdown, .nav__more:focus-within .nav__dropdown { display: block; animation: drop .2s ease; }
.nav__dropdown a { display: block; padding: 10px 14px; border-radius: 10px; font-weight: 600; color: var(--dark); }
.nav__dropdown a::after { display: none; }
.nav__dropdown a:hover, .nav__dropdown a.is-active { background: var(--soft); color: var(--blue); }

/* ---------- Rich content (pages & news) ---------- */
.prose { font-size: 18px; line-height: 2.05; color: var(--gray); }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: 26px; margin-top: 36px; padding-bottom: 10px; position: relative; }
.prose h2::after { content: ""; position: absolute; bottom: 0; right: 0; width: 48px; height: 3px; border-radius: 3px; background: var(--gold); }
.prose h3 { font-size: 21px; margin-top: 28px; color: var(--blue); }
.prose h4 { font-size: 18px; margin-top: 22px; }
.prose a { color: var(--blue); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.prose a:hover { color: var(--gold-d); }
.prose ul, .prose ol { padding-right: 24px; padding-left: 0; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--gold-d); font-weight: 700; }
.prose blockquote { margin: 26px 0; padding: 18px 24px; background: #FFFBF2; border-right: 4px solid var(--gold); border-radius: 12px; color: var(--dark); font-weight: 600; }
.prose img { border-radius: var(--radius); margin-inline: auto; height: auto; box-shadow: var(--shadow-sm); }
.prose img.img-half { max-width: 50%; }
.prose figure { margin: 26px 0; }
.prose figcaption { text-align: center; font-size: 14px; color: var(--muted); margin-top: 8px; }
.prose hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 36px 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: right; }
.prose th { background: var(--soft); color: var(--dark); }
.prose iframe, .prose video { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }
.prose audio { width: 100%; }
.prose .text-center { text-align: center; } .prose .text-left { text-align: left; } .prose .text-right { text-align: right; }
.prose a.file-link { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1.5px solid rgba(215, 170, 85, .5); border-radius: 12px; background: #fff; text-decoration: none; font-weight: 700; color: var(--dark); }
.prose a.file-link::before { content: "⬇"; color: var(--gold-d); }
.prose a.file-link:hover { border-color: var(--gold); background: #FFFBF2; }
@media (max-width: 767px) { .prose { font-size: 16px; } .prose h2 { font-size: 22px; } .prose img.img-half { max-width: 100%; } }

@media (max-width: 1200px) and (min-width: 1025px) { .nav__menu { gap: 20px; } .nav { gap: 20px; } .brand__name { display: none; } }
.news-card__media > .ph, .news-card__media > img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; object-fit: cover; }

/* Partners — larger, clear logos, centred regardless of count */
.partners { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.partners .partner { width: 260px; height: 170px; padding: 22px; }
.partners .partner img { max-height: 120px; max-width: 100%; width: auto; height: auto; object-fit: contain; filter: none; opacity: 1; }
.partners .partner:hover img { transform: scale(1.04); }
@media (max-width: 767px) {
  .partners { gap: 12px; }
  .partners .partner { width: calc(50% - 6px); height: 130px; padding: 14px; }
  .partners .partner img { max-height: 90px; }
}

/* =========================================================
   Hero visual (editable image) — layered, high-quality effects
   ========================================================= */
.hero__visual {
  --hv-size: clamp(320px, 30vw, 450px);
  position: absolute; top: 50%; z-index: 1; margin: 0;
  left: max(28px, calc((100vw - var(--container)) / 2 + 24px));
  width: var(--hv-size); aspect-ratio: 1; transform: translateY(-56%);
  isolation: isolate; pointer-events: none;
}
.hv__glow {
  position: absolute; inset: -22%; border-radius: 50%; z-index: -2;
  background: radial-gradient(circle at 50% 50%, rgba(246, 219, 165, .38) 0%, rgba(215, 170, 85, .18) 28%, rgba(8, 142, 205, .22) 48%, transparent 70%);
  filter: blur(18px); animation: hvPulse 7s ease-in-out infinite;
}
.hv__ring { position: absolute; border-radius: 50%; z-index: -1; }
.hv__ring--dash { inset: -7%; border: 1.5px dashed rgba(246, 219, 165, .5); animation: spin 70s linear infinite; }
.hv__ring--dots {
  inset: -15%;
  background: repeating-conic-gradient(from 0deg, rgba(246, 219, 165, .7) 0deg 1.2deg, transparent 1.2deg 9deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  opacity: .75; animation: spin 110s linear infinite reverse;
}
.hv__orbit { position: absolute; inset: -15%; border-radius: 50%; animation: spin 26s linear infinite; }
.hv__orbit--b { inset: -7%; animation-duration: 18s; animation-direction: reverse; }
.hv__orbit i {
  position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, var(--gold-l) 40%, var(--gold) 100%);
  box-shadow: 0 0 12px 3px rgba(246, 219, 165, .75), 0 0 28px 8px rgba(215, 170, 85, .35);
}
.hv__orbit--b i { width: 7px; height: 7px; margin-left: -3.5px; top: -3.5px; }
.hv__disc {
  position: absolute; inset: 0; border-radius: 50%; padding: 9px; display: block;
  background: conic-gradient(from 210deg, #F6DBA5, #D7AA55 22%, #FFF3D6 38%, #BC8E37 55%, #F6DBA5 72%, #D7AA55 88%, #F6DBA5);
  box-shadow: 0 40px 80px -10px rgba(2, 20, 40, .55), 0 0 0 1px rgba(255, 255, 255, .25), inset 0 2px 6px rgba(255, 255, 255, .6);
  animation: hvFloat 8s ease-in-out infinite; will-change: transform;
}
.hv__disc::after {
  content: ""; position: absolute; inset: 9px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .55) 48%, transparent 60%) no-repeat;
  background-size: 250% 100%; background-position: 150% 0; mix-blend-mode: soft-light;
  animation: hvShine 9s ease-in-out infinite 2s;
}
.hv__disc img {
  width: 100%; height: 100%; display: block; border-radius: 50%; object-fit: contain; background: #fff;
  box-shadow: inset 0 0 0 1px rgba(188, 142, 55, .25);
  image-rendering: -webkit-optimize-contrast; backface-visibility: hidden; transform: translateZ(0);
}
.hv__corner { display: none; }

/* Frame mode — for photographs */
.hero__visual[data-shape="frame"] { aspect-ratio: 4 / 5; --hv-size: clamp(260px, 23vw, 350px); transform: translateY(-58%); }
.hero__visual[data-shape="frame"] .hv__ring, .hero__visual[data-shape="frame"] .hv__orbit { display: none; }
.hero__visual[data-shape="frame"] .hv__glow { border-radius: 30%; inset: -18%; }
.hero__visual[data-shape="frame"] .hv__disc { border-radius: 26px; padding: 7px; }
.hero__visual[data-shape="frame"] .hv__disc::after { inset: 7px; }
.hero__visual[data-shape="frame"] .hv__disc img { border-radius: 20px; object-fit: cover; background: #0B3A63; }
.hero__visual[data-shape="frame"] .hv__corner {
  display: block; position: absolute; width: 90px; height: 90px; z-index: -1; border-color: var(--gold-l); border-style: solid; opacity: .8;
}
.hv__corner--tr { top: -18px; right: -18px; border-width: 2px 2px 0 0; border-radius: 0 30px 0 0; }
.hv__corner--bl { bottom: -18px; left: -18px; border-width: 0 0 2px 2px; border-radius: 0 0 0 30px; }

@keyframes hvFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes hvPulse { 0%, 100% { transform: scale(.94); opacity: .8; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes hvShine { 0%, 70% { background-position: 150% 0; } 100% { background-position: -60% 0; } }
@media (max-width: 1240px) and (min-width: 1025px) { .glass { max-width: 560px; } .hero__visual { --hv-size: clamp(280px, 28vw, 360px); } }

/* ---------- WhatsApp & contact details ---------- */
.wa-float {
  position: fixed; left: 22px; bottom: 22px; z-index: 1400; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25D366; color: #fff; font-size: 30px;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .45), 0 4px 10px rgba(15, 23, 42, .18); transition: transform .25s ease, box-shadow .25s ease;
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1; animation: waPulse 2.6s ease-out infinite; }
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 14px 34px rgba(37, 211, 102, .55); }
.wa-float__tip {
  position: absolute; left: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(-6px); white-space: nowrap;
  background: var(--dark); color: #fff; font-size: 13px; font-weight: 700; padding: 7px 12px; border-radius: 10px;
  opacity: 0; pointer-events: none; transition: all .2s ease;
}
.wa-float:hover .wa-float__tip, .wa-float:focus-visible .wa-float__tip { opacity: 1; transform: translateY(-50%) translateX(0); }
@keyframes waPulse { 0% { transform: scale(1); opacity: .5; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
@media (max-width: 767px) { .wa-float { width: 52px; height: 52px; font-size: 27px; left: 16px; bottom: 16px; } .wa-float__tip { display: none; } }
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; } }
.social a.social--wa:hover { color: #25D366; }
.btn--wa { background: #25D366; color: #fff; }
.btn--wa:hover { background: #1EB955; box-shadow: 0 10px 24px rgba(37, 211, 102, .3); }
.form__acts { display: flex; gap: 10px; flex-wrap: wrap; }
.form__acts .btn { flex: 1 1 200px; }
.footer .fc-label { color: rgba(255, 255, 255, .5); font-size: 13px; min-width: 52px; }
@media (max-width: 1100px) { .topbar__contact .tb-landline { display: none; } }
@media (max-width: 767px) { .topbar__contact .tb-email { display: none; } }
