@font-face {
  font-family: Cairo;
  src: url("cairo-arabic.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC, U+102E0-102FB, U+10E60-10EFF, U+1EE00-1EEFF;
}

@font-face {
  font-family: Cairo;
  src: url("cairo-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-200B, U+2012-206F, U+2190-2199, U+2212, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --deep: #003b3a;
  --teal: #009b8e;
  --mint: #bfebe0;
  --white: #fff;
  --ink: #123c3a;
  --text: #395853;
  --link: #00665c;
  --rule: #cdded8;
  --pale: #eaf5f0;
  --shell: 1264px;
  --gutter: clamp(22px, 5.5vw, 88px);
  font: 400 100%/1.7 Cairo, Tahoma, sans-serif;
  color: var(--ink);
  background: var(--white);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, p, figure { margin: 0; }
body { min-inline-size: 0; }
img { display: block; max-inline-size: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
::selection { color: var(--deep); background: var(--mint); }
:focus-visible { outline: 3px solid #ab5500; outline-offset: 4px; }
:where(.hero, .about, .footer) :focus-visible { outline-color: #ffe6a7; }
#main:focus { outline: none; }
section[id] { scroll-margin-block-start: 1.5rem; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--shell)); margin-inline: auto; }
.section { padding-block: clamp(62px, 6.8vw, 102px); }
.icon, .strip-icon, .dept-icon {
  display: block; flex: none; width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round;
}
.skip { position: fixed; z-index: 10; top: 8px; inset-inline-start: 8px; padding: 7px 16px; background: white; color: var(--deep); transform: translateY(-170%); }
.skip:focus { transform: none; }
h1, h2 { font-weight: 750; }
h2 { font-size: clamp(2.2rem, 4vw, 3.55rem); line-height: 1.37; }
.subhead { font-size: .92rem; font-weight: 680; margin-block-end: 10px; color: var(--link); }

.mast { position: relative; z-index: 4; background: white; }
.mast-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.identity { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.identity img { width: 54px; height: 54px; }
.identity-type { display: flex; flex-direction: column; gap: 3px; }
.identity-type strong { font-weight: 780; font-size: 1.06rem; line-height: 1.45; }
.identity-type span { align-self: flex-start; font: 650 .69rem/1.25 Cairo, sans-serif; letter-spacing: .055em; color: var(--link); }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 42px); }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; font-weight: 650; }
.main-nav a:hover, .hero-link:hover, .back-top:hover, .footer-email:hover { text-decoration: underline; text-underline-offset: 5px; }
.mast-mail, .button, .copy-address, .hero-link, .inline-link, .back-top, .footer-email {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 700;
}
.mast-mail { min-height: 43px; padding: 4px 18px; border: 1px solid #9cbcb1; border-radius: 7px; font-size: .85rem; }
.mast-mail:hover { background: var(--pale); }
.main-nav .mobile-mail, .menu-toggle, .menu-close { display: none; }

.hero { position: relative; isolation: isolate; overflow: hidden; color: white; background: var(--deep); }
.hero-visual { position: absolute; z-index: -1; inset: 0 auto 0 0; width: 60%; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 54%; }
.hero-visual::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent 65%, rgba(0,59,58,.22) 76%, var(--deep) 100%);
}
.hero-visual figcaption {
  position: absolute; z-index: 1; bottom: 18px; left: max(19px, calc((100vw - var(--shell)) / 2));
  padding: 3px 9px; border-radius: 3px; background: rgba(0,38,38,.84); color: white;
  font-size: .71rem; line-height: 1.7;
}
.hero-inner { position: relative; display: flex; align-items: center; min-height: clamp(470px, 38vw, 570px); }
.hero-copy { position: relative; width: min(48%, 620px); padding-block: clamp(46px, 4.6vw, 70px); }
.hero-location { display: flex; align-items: center; gap: 9px; margin-block-end: 18px; color: var(--mint); font-size: .89rem; font-weight: 630; }
.hero-location .icon { width: 17px; height: 17px; }
.hero-location span { color: #78b6a8; padding-inline: 2px; }
.hero h1 { font-size: clamp(3.1rem, 5vw, 4.7rem); line-height: 1.22; font-weight: 780; }
.hero-lead { font-size: clamp(1rem, 1.54vw, 1.2rem); line-height: 1.9; max-width: 32ch; margin-block: 18px 24px; color: #e4f3ec; }
.hero-actions, .location-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.button { min-height: 48px; padding: 9px 20px; border-radius: 6px; font-size: .92rem; line-height: 1.65; }
.button-mint { color: var(--deep); background: var(--mint); }
.button-mint:hover { background: var(--white); }
.hero-link, .inline-link, .copy-address { min-height: 44px; font-size: .9rem; }
.hero-link .icon, .inline-link .icon, .back-top .icon { width: 16px; height: 16px; }
.button-deep { color: var(--white); background: var(--deep); }
.button-deep:hover { background: var(--link); }

.visit-strip { background: var(--pale); border-bottom: 1px solid var(--rule); }
.strip-inner { display: grid; grid-template-columns: 1.1fr 1fr; }
.strip-link { display: flex; align-items: center; gap: 15px; min-width: 0; padding-block: 18px; }
.strip-link:first-child { padding-inline-end: clamp(20px, 4vw, 65px); }
.strip-link + .strip-link { padding-inline-start: clamp(20px, 4vw, 65px); border-inline-start: 1px solid var(--rule); }
.strip-icon { width: 26px; height: 26px; color: var(--link); }
.strip-link span { display: flex; flex-direction: column; align-items: flex-start; }
.strip-link small { font-size: .77rem; color: var(--text); font-weight: 550; line-height: 1.5; }
.strip-link strong { font-size: clamp(.96rem, 1.4vw, 1.12rem); font-weight: 700; line-height: 1.65; }
.strip-link .latin { font-size: 1.04rem; }
.strip-arrow { width: 17px; height: 17px; margin-inline-start: auto; color: var(--link); }
.strip-link:hover strong { color: var(--link); text-decoration: underline; text-underline-offset: 4px; }

.care { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(42px, 7vw, 110px); }
.section-intro { max-width: 48ch; margin-block: 12px 24px; color: var(--text); }
.section-intro a, .inline-link { color: var(--link); text-decoration: underline; text-underline-offset: 4px; }
.directory { border-block-start: 1px solid var(--rule); }
.directory details { border-block-end: 1px solid var(--rule); }
.directory summary { display: flex; gap: 14px; align-items: center; min-height: 61px; padding: 10px 2px; list-style: none; cursor: pointer; font-weight: 700; font-size: 1.13rem; }
.directory summary::-webkit-details-marker { display: none; }
.directory summary:hover { color: var(--link); }
.dept-icon { width: 27px; height: 27px; color: var(--link); stroke-width: 1.45; }
.expander { display: grid; place-items: center; position: relative; width: 29px; height: 29px; margin-inline-start: auto; border-radius: 50%; border: 1px solid var(--rule); color: var(--link); }
.expander::before, .expander::after { content: ""; position: absolute; width: 10px; height: 1.6px; background: currentColor; }
.expander::after { transform: rotate(90deg); }
details[open] .expander { background: var(--pale); }
details[open] .expander::after { display: none; }
.detail-body { padding-inline-start: 43px; padding-block-end: 16px; color: var(--text); font-size: .94rem; }
.detail-body p { max-width: 50ch; }
.reception { position: relative; overflow: hidden; height: clamp(380px, 33vw, 490px); border-radius: 7px 88px 7px 7px; background: var(--pale); }
.reception img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 47%; }
.reception figcaption { position: absolute; bottom: 16px; right: 16px; padding: 5px 12px; background: rgba(0,45,43,.94); color: white; border-radius: 3px; font-size: .77rem; }

.about { position: relative; overflow: hidden; isolation: isolate; color: var(--white); background: var(--deep); }
.about::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; inset: 0;
  background: url("motif.webp") no-repeat right -110px center / 370px; opacity: .28;
}
.about-inner { display: grid; align-items: center; grid-template-columns: 1.08fr 1fr; gap: clamp(28px, 6vw, 96px); padding-block: clamp(50px, 5.3vw, 80px); }
.about .subhead { color: var(--mint); }
.about h2 { font-size: clamp(1.9rem, 3.15vw, 3.05rem); }
.about-text { font-size: clamp(1rem, 1.45vw, 1.12rem); line-height: 1.95; }
.about-text p + p { margin-block-start: 12px; color: #d1e8df; font-size: .94rem; }

.location { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); gap: clamp(35px, 6.5vw, 99px); align-items: center; }
.location address { font-style: normal; line-height: 1.85; margin-block: 16px 22px; color: var(--text); font-size: clamp(1rem, 1.45vw, 1.12rem); }
.location-actions { gap: 3px 18px; }
.copy-address { border: 0; padding: 6px 2px; background: transparent; color: var(--link); }
.copy-address:hover { text-decoration: underline; text-underline-offset: 4px; }
.copy-address .icon { width: 17px; height: 17px; }
.copy-feedback { color: var(--link); font-size: .87rem; margin-block-start: 8px; }
.copy-feedback:empty { margin: 0; }
.map-frame { position: relative; direction: ltr; aspect-ratio: 700 / 445; width: 100%; border-radius: 8px; background: #d9e8df; isolation: isolate; }
.map-base { position: absolute; width: 100%; height: 100%; border-radius: inherit; }
.north { position: absolute; top: 11px; right: 12px; display: flex; flex-direction: column; align-items: center; color: var(--deep); padding: 3px 8px; background: #ffffffed; border-radius: 4px; font: 650 1.2rem/1.1 Cairo, sans-serif; }
.north span { font: 600 .65rem/1.5 Cairo, sans-serif; }
.map-point { position: absolute; width: 44px; height: 44px; transform: translate(-50%,-50%); display: grid; place-items: center; }
.map-point.hospital { left: 43.16%; top: 61.08%; }
.map-point.mosque { left: 59.94%; top: 38.87%; }
.point-dot { position: relative; width: 17px; height: 17px; background: var(--deep); border: 3px solid white; border-radius: 50%; box-shadow: 0 0 0 1px #047c70, 0 1px 6px #003b3a60; }
.hospital .point-dot { width: 19px; height: 19px; }
.mosque .point-dot { background: #996e36; box-shadow: 0 0 0 1px #845c2b; }
.map-label { position: absolute; bottom: 35px; left: 50%; transform: translateX(-50%); white-space: nowrap; border-radius: 4px; padding: 4px 10px; font-size: clamp(.75rem, 1.12vw, .9rem); font-weight: 700; background: var(--deep); color: white; box-shadow: 0 1px 5px #254c3e29; line-height: 1.55; }
.mosque .map-label { background: white; color: #594220; }
.map-point:hover .map-label, .map-point:focus-visible .map-label { text-decoration: underline; text-underline-offset: 3px; }
.map-credit { position: absolute; bottom: 4px; left: 5px; display: inline-flex; gap: .24em; align-items: center; min-height: 24px; padding-inline: 5px; background: #fffffff2; border-radius: 3px; color: var(--deep); font-size: .65rem; line-height: 1.5; text-decoration: underline; }

.footer { color: white; background: var(--deep); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding-block: 24px; }
.footer-identity img { filter: brightness(0) invert(1); }
.footer-identity .identity-type span { color: var(--mint); }
.footer-email, .back-top { min-height: 44px; font-size: .92rem; }
.footer-email .icon { color: var(--mint); }
.back-top { color: var(--mint); }

@media (max-width: 900px) {
  :root { --gutter: clamp(22px, 4.4vw, 48px); }
  .mast-inner { min-height: 75px; gap: 15px; }
  .main-nav { gap: 17px; }
  .main-nav a, .mast-mail { font-size: .83rem; }
  .mast-mail { padding-inline: 10px; }
  .hero-copy { width: 49%; }
  .hero-actions { gap: 6px 14px; }
  .care { gap: 34px; }
  .location { gap: 30px; }
  .reception { height: 385px; }
}

@media (max-width: 700px) {
  :root { --gutter: clamp(20px, 5.3vw, 34px); }
  .mast-inner { flex-wrap: wrap; min-height: 68px; gap: 0 12px; }
  .identity img { width: 44px; height: 44px; }
  .identity-type { gap: 1px; }
  .identity-type strong { font-size: .94rem; }
  .identity-type span { font-size: .62rem; }
  .mast-mail { display: none; }
  .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 5px; border: 1px solid var(--rule); background: white; }
  .menu-toggle[aria-expanded="true"] .menu-open { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-close { display: block; }
  .main-nav { width: 100%; flex-wrap: wrap; gap: 0 15px; border-top: 1px solid var(--rule); }
  .main-nav.enhanced { position: absolute; top: 100%; inset-inline: 0; padding: 6px var(--gutter) 12px; flex-direction: column; align-items: stretch; background: white; box-shadow: 0 12px 20px #002d291c; }
  .main-nav a { font-size: .94rem; }
  .main-nav .mobile-mail { display: flex; color: var(--link); }
  .hero { display: flex; flex-direction: column; }
  .hero-inner { order: -1; min-height: 0; }
  .hero-copy { width: 100%; max-width: none; padding-block: 30px 25px; }
  .hero-location { font-size: .83rem; margin-block-end: 9px; }
  .hero h1 { font-size: clamp(2.45rem, 12.4vw, 4rem); }
  .hero-lead { font-size: 1rem; line-height: 1.78; max-width: 41ch; margin-block: 13px 15px; }
  .hero-visual { position: relative; z-index: auto; inset: auto; width: 100%; height: clamp(218px, 56vw, 360px); }
  .hero-visual img { object-position: 50% 58%; }
  .hero-visual::after { background: linear-gradient(180deg, rgba(0,59,58,.3), transparent 22%); }
  .hero-visual figcaption { left: var(--gutter); bottom: 11px; font-size: .65rem; }
  .hero-actions { gap: 6px 19px; }
  .button { min-height: 46px; padding-inline: 16px; }
  .strip-inner { grid-template-columns: 1fr; }
  .strip-link, .strip-link:first-child, .strip-link + .strip-link { padding: 10px 0; gap: 11px; border-inline: 0; min-height: 67px; }
  .strip-link + .strip-link { border-block-start: 1px solid var(--rule); }
  .strip-icon { width: 22px; height: 22px; }
  .strip-link strong, .strip-link .latin { font-size: .93rem; }
  .care, .about-inner, .location { grid-template-columns: minmax(0,1fr); }
  .section { padding-block: 52px; }
  .care { gap: 27px; }
  .section-intro { margin-block: 8px 19px; }
  .reception { height: clamp(242px, 65vw, 350px); border-top-right-radius: 56px; }
  .reception img { object-position: center 47%; }
  .about-inner { gap: 17px; padding-block: 44px; }
  .about::before { background-position: left -155px top -90px; background-size: 320px; }
  .location { gap: 24px; }
  .location h2 br { display: none; }
  .location address { margin-block: 10px 17px; }
  .map-label { bottom: 32px; }
  .footer-inner { align-items: flex-start; gap: 7px 22px; }
  .footer-identity { width: 100%; margin-block-end: 6px; }
  .back-top { font-size: .8rem; }
}

@media (max-width: 359px) {
  .hero-actions { column-gap: 14px; }
  .hero-link, .button { font-size: .84rem; }
  .strip-link strong { font-size: .85rem; }
  .map-label { font-size: .7rem; padding-inline: 6px; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (forced-colors: active) {
  .map-label, .button, .point-dot, .expander, .menu-toggle { border: 1px solid ButtonText; }
  .expander::before, .expander::after { background: ButtonText; }
}
