@font-face {
  font-family: Cairo;
  src: url("cairo-arabic.woff2") format("woff2");
  font-weight: 700 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  color: #f1f8ff;
  font-family: Cairo, "Segoe UI", Tahoma, sans-serif;
  --ink: #f1f8ff;
  --aqua: #80dfff;
  --edge: #407db4;
  --glass: linear-gradient(122deg, #0d2e58d9, #07182ef2 62%, #0c2748e8);
}

* { box-sizing: border-box; }

body {
  min-width: 0;
  min-height: 100svh;
  margin: 0;
  background:
    radial-gradient(ellipse at 50% 9%, #0f3764 0%, transparent 39rem),
    linear-gradient(137deg, #061534, #030b1d 54%, #061b3a);
}

.light-ribbons {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.light-ribbons::before,
.light-ribbons::after {
  content: "";
  position: absolute;
  width: clamp(30rem, 75vw, 82rem);
  height: clamp(15rem, 34vw, 37rem);
  border: 1px solid transparent;
  border-radius: 50%;
  transform: rotate(-30deg);
}

.light-ribbons::before {
  inset: auto auto calc(100% - min(19vw, 12rem)) -28vw;
  border-block-end-color: #72e7ff;
  background: radial-gradient(ellipse at 56% 105%, #0b7be77d, #042e7b38 36%, transparent 68%);
  box-shadow: inset 0 -8px 18px #1787ff84, inset 0 -24px 30px #0047e669, 0 6px 28px #0465f279;
}

.light-ribbons::after {
  inset: min(75vh, 44rem) -29vw auto auto;
  border-block-start-color: #6edfff;
  background: radial-gradient(ellipse at 50% -10%, #137bda6e, transparent 58%);
  box-shadow: inset 0 8px 18px #167bff8a, inset 0 24px 38px #034ae259, 0 -7px 23px #03448c9e;
}

.contact {
  position: relative;
  width: min(100% - 32px, 42rem);
  margin-inline: auto;
  padding-block: max(26px, env(safe-area-inset-top)) max(30px, env(safe-area-inset-bottom));
}

.brand {
  display: grid;
  justify-items: center;
  text-align: center;
  margin-block-end: 19px;
}

.brand h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2.5vw, 19px);
  margin: 0;
  color: var(--ink);
  font-size: clamp(21px, 5vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  text-wrap: balance;
}

.brand h1::before,
.brand h1::after {
  content: "";
  flex: 0 0 clamp(14px, 7vw, 72px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--aqua));
}

.brand h1::after { transform: scaleX(-1); }

.brand img {
  display: block;
  width: clamp(130px, 39vw, 192px);
  height: auto;
  margin: 12px 0 4px;
  filter: drop-shadow(0 10px 24px #010919af);
}

.brand-harir {
  margin: 0;
  color: #f1f8ff;
  font: 800 clamp(18px, 4vw, 23px) / 1.15 Cairo, "Segoe UI", Tahoma, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 3px;
}

.phones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 4px;
  margin-block-end: 15px;
  border: 1px solid var(--edge);
  border-radius: 17px;
  background: var(--glass);
  box-shadow: inset 0 1px 2px #8eddff4d, 0 8px 24px #010b1e99;
}

.phones a {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  min-height: 60px;
  padding: 6px 1px;
  border-radius: 12px;
}

.phones a + a { border-inline-start: 1px solid #8abbef35; }
.phones a:hover { background: #1b4c7fa8; }

.person {
  color: #a7d9fb;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.phones bdi {
  font: 650 clamp(12px, 3.8vw, 19px) / 1.2 "Segoe UI", Tahoma, sans-serif;
  font-variant-numeric: tabular-nums;
}

.channels ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.channel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 13px;
  align-items: center;
  gap: clamp(10px, 3.4vw, 21px);
  min-height: 60px;
  padding: 8px clamp(11px, 3vw, 20px);
  border: 1px solid var(--edge);
  border-radius: 15px;
  background: var(--glass);
  box-shadow: inset 0 1px 2px #a9e7ff48, inset 0 -1px 4px #53b9ff42, 0 5px 14px #010a2090;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.channel:hover {
  border-color: #83cdef;
  background: linear-gradient(122deg, #185082, #0c2545 62%, #12375b);
  transform: translateY(-1px);
}

.channel:active { transform: scale(.985); }

.channel-icon {
  display: grid;
  align-items: center;
  justify-items: center;
  width: 41px;
  aspect-ratio: 1;
  border: 1px solid #e3f3ff64;
  border-radius: 12px;
  color: white;
  box-shadow: inset 0 1px 3px #ffffff65, 0 4px 9px #0005;
}

.channel-icon svg { width: 25px; height: 25px; }
.blue { background: linear-gradient(145deg, #287dc7, #0d417d 67%); }
.whatsapp { background: linear-gradient(145deg, #1fc073, #087c58 70%); }
.instagram { background: radial-gradient(circle at 18% 105%, #ffce56, #dd4b63 42%, #6a46c5 75%, #483b9d); }
.telegram { background: linear-gradient(145deg, #28ace9, #0973b6 68%); }
.tiktok { background: linear-gradient(145deg, #274353, #12121f 70%); }
.tiktok svg { filter: drop-shadow(-1px -1px #5de7e8) drop-shadow(1px 1px #ea517a); }

.channel-title {
  justify-self: start;
  font-size: clamp(16px, 4.4vw, 20px);
  font-weight: 800;
  line-height: 1.25;
}

.channel-title[dir="ltr"] { font-family: "Segoe UI", Tahoma, sans-serif; font-weight: 650; }
.channel-title.address { font-size: clamp(13px, 4vw, 18px); overflow-wrap: anywhere; }

.arrow {
  justify-self: end;
  width: 9px;
  height: 9px;
  rotate: 45deg;
  border: solid #b4d9f7;
  border-width: 0 0 2px 2px;
}

@media (max-width: 520px) {
  .contact {
    width: calc(100% - 2 * max(12px, env(safe-area-inset-left), env(safe-area-inset-right)));
    padding-block-start: max(20px, env(safe-area-inset-top));
  }
  .light-ribbons::before { inset-inline-end: auto; left: -270px; bottom: calc(100% - 54px); }
  .light-ribbons::after { right: -300px; }
}

@media (prefers-reduced-motion: reduce) {
  .channel { transition: none; transform: none; }
  .channel:hover, .channel:active { transform: none; }
}
