/* xolize.com
   Black and white, like the Xolize logo. The only colour on the site belongs
   to the products - Dentolize navy, Medicolize purple - and appears on their
   own cards and buttons. Self-hosted fonts, no third-party requests. */

@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/inter-latin-100-900.woff2') format('woff2');
}
@font-face {
  font-family: 'Plex Arabic'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/plex-ar-arabic-400.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: 'Plex Arabic'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/assets/fonts/plex-ar-arabic-600.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: 'Plex Arabic'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/plex-ar-arabic-700.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC;
}

:root {
  --ink: #0b0d12;
  --ink-2: #3a3f49;
  --ink-3: #5c626d;       /* 6.1:1 on white */
  --line: #e3e5e9;
  --soft: #f4f4f6;
  --dent: #044d80;        /* Dentolize navy */
  --medi: #4a2462;        /* Medicolize purple */
  --r: 24px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
html[lang="ar"] { --font: 'Plex Arabic', 'Inter', system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
a { color: var(--ink); text-underline-offset: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.06; letter-spacing: -0.035em; font-weight: 700; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.3; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1360px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 58px; padding: 0 28px; font-size: 17px; }
.btn .ico { width: 18px; height: 18px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #262a33; color: #fff; }
.btn-line { border-color: #c9ccd2; color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f1f1f4; }
.btn-prod { color: #fff; padding-inline-start: 14px; }
.btn-prod img { width: 30px; height: 30px; border-radius: 8px; background: #fff; padding: 3px; }
.btn-dent { background: var(--dent); }
.btn-dent:hover { background: #033a61; color: #fff; }
.btn-medi { background: var(--medi); }
.btn-medi:hover { background: #3a1b4e; color: #fff; }
[dir="rtl"] .flip { transform: scaleX(-1); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--ink); }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 16px; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--ink-2); }
.more { margin-top: 36px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.9); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.top-in { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: block; flex: 0 0 auto; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 16px; font-weight: 500; }
.nav a:not(.btn) { color: var(--ink-2); text-decoration: none; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav-desk a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary .ico { width: 22px; height: 22px; }
.nav-phone { position: absolute; inset-inline-end: 0; top: 58px; width: min(300px, calc(100vw - 32px)); flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 48px rgba(11,13,18,.14); }
.nav-phone a:not(.btn) { padding: 13px 14px; border-radius: 12px; }
.nav-phone a:not(.btn):hover, .nav-phone a[aria-current="page"] { background: var(--soft); }
.nav-phone .btn { margin-top: 8px; }
@media (max-width: 1000px) {
  .nav-desk { display: none; }
  .menu { display: block; }
  .top-in { height: 72px; }
  .brand img { height: 38px; }
}

/* Hero */
.hero { padding-block: clamp(64px, 9vw, 128px) clamp(56px, 7vw, 96px); display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 5vw, 72px); }
.hero-copy { flex: 999 1 560px; min-width: 0; }
.hero h1 { font-size: clamp(48px, 7.4vw, 96px); line-height: .98; letter-spacing: -.045em; }
html[lang="ar"] .hero h1 { line-height: 1.22; }
.hero .lede { margin-top: 28px; max-width: 640px; }
.actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

.dots { flex: 1 1 420px; min-width: 0; margin: 0; position: relative; aspect-ratio: 1 / 1; max-height: 560px; border-radius: 36px; background: var(--soft); overflow: hidden; }
.dots-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.dots-lines path { fill: none; stroke: #b9bdc6; stroke-width: 1.5; stroke-dasharray: 4 7; vector-effect: non-scaling-stroke; }
.dots-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 27%; aspect-ratio: 1; border-radius: 28%; background: var(--ink); display: grid; place-items: center; box-shadow: 0 24px 48px rgba(11,13,18,.28); }
.dots-core img { width: 52%; height: auto; }
.dot { position: absolute; transform: translate(-50%, -50%); padding: 11px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 15px; font-weight: 600; white-space: nowrap; box-shadow: 0 6px 16px rgba(11,13,18,.06); }
/* Placed in physical percentages to match the lines, which do not mirror;
   in Arabic only the labels change. */
.dot-1 { left: 21%; top: 22%; } .dot-2 { left: 79%; top: 22%; }
.dot-3 { left: 15%; top: 52%; } .dot-4 { left: 85%; top: 52%; }
.dot-5 { left: 24%; top: 80%; } .dot-6 { left: 76%; top: 80%; }
@media (max-width: 560px) {
  .dot { font-size: 12.5px; padding: 7px 11px; }
  .dot-3 { left: 17%; } .dot-4 { left: 83%; }
}

/* Numbers */
.stats { border-block: 1px solid var(--line); }
.stats-in { padding-block: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 32px; }
.stats .num { font-size: clamp(40px, 4.4vw, 56px); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; }
html[lang="ar"] .stats .num { letter-spacing: 0; }
.stats p:not(.num) { margin-top: 6px; font-size: 16px; color: var(--ink-3); line-height: 1.45; }

/* Sections */
.block { padding-block: clamp(88px, 10vw, 144px) 0; }
.block-end { padding-bottom: clamp(88px, 10vw, 144px); }
.head { max-width: 820px; margin-bottom: 56px; }
.head h2 { font-size: clamp(38px, 5vw, 64px); }
html[lang="ar"] .head h2 { line-height: 1.28; }
.head .lede { margin-top: 22px; }

/* Map: a dark panel, the region as dots, a pin on every country with a
   clinic and labels on the six largest. Pins sit at percentages of the map
   image, whose frame is the one tools/make-map.py drew the dots in. */
.map-panel { border-radius: 40px; background: var(--ink); color: #fff; padding: clamp(36px, 5vw, 72px) clamp(24px, 5vw, 72px) clamp(32px, 4vw, 56px); overflow: hidden; }
.map-top { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px 56px; align-items: end; }
.map-panel h2 { font-size: clamp(38px, 5vw, 64px); }
.map-lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: #b9bec8; max-width: 520px; }
.map-stage { position: relative; margin-top: clamp(28px, 4vw, 48px); }
.map-img { width: 100%; height: auto; }
.pin { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.18); }
.pin-big { width: 12px; height: 12px; margin: -6px 0 0 -6px; box-shadow: 0 0 0 4px rgba(255,255,255,.22), 0 0 18px rgba(255,255,255,.55); z-index: 1; }
.pin-pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); animation: pin-pulse 2.4s ease-out infinite; }
@keyframes pin-pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pin-pulse::after { animation: none; opacity: 0; } }
/* The labels are placed by hand in rem from their pin (CALLOUTS in
   content.py), in physical directions: the map does not mirror in Arabic. */
.pin-label {
  position: absolute; left: 6px; top: 6px; transform: translate(var(--dx), var(--dy));
  display: grid; gap: 1px; padding: 8px 12px; border-radius: 12px; white-space: nowrap;
  background: rgba(255,255,255,.96); color: var(--ink); font-size: 12.5px; line-height: 1.3; color: var(--ink-3);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.pin-label b { color: var(--ink); font-size: 14px; font-weight: 700; }
.map-legend { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: #9aa0ab; }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg-dot, .lg-big { display: inline-block; border-radius: 50%; background: #fff; }
.lg-dot { width: 7px; height: 7px; }
.lg-big { width: 11px; height: 11px; box-shadow: 0 0 10px rgba(255,255,255,.6); }
.map-list { margin: 28px 0 0; padding: 28px 0 0; border-top: 1px solid rgba(255,255,255,.12); list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.map-list li { display: inline-flex; align-items: center; gap: 10px; padding: 7px 8px 7px 14px; border-radius: 999px; background: rgba(255,255,255,.07); font-size: 14px; color: #d9dce2; }
[dir="rtl"] .map-list li { padding: 7px 14px 7px 8px; }
.map-list b { min-width: 28px; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; font-size: 12.5px; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; }
.map-list li:first-child { background: #fff; color: var(--ink); font-weight: 600; }
.map-list li:first-child b { background: var(--ink); }
.map-list .map-more { padding: 7px 14px; background: transparent; border: 1px dashed rgba(255,255,255,.3); color: #fff; font-weight: 600; }
/* Under ~760px the labels would cover the countries they name; the list
   below carries the same facts. */
@media (max-width: 760px) { .pin-label { display: none; } .map-panel { border-radius: 28px; } }

/* Products */
.prods { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.prod { border-radius: 32px; padding: clamp(32px, 4vw, 52px); color: #fff; display: flex; flex-direction: column; gap: 22px; min-height: 480px; }
.prod-dentolize { background: var(--dent); }
.prod-medicolize { background: var(--medi); }
.prod-head { display: flex; align-items: center; gap: 16px; }
.prod-head img { width: 56px; height: 56px; border-radius: 14px; background: #fff; padding: 6px; }
.prod h3 { font-size: clamp(30px, 3vw, 40px); }
.prod > p { font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.88); }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; font-size: 17px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ico { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 4px; opacity: .85; }
.prod .btn { margin-top: auto; align-self: flex-start; }
.prod-dentolize .btn-light { color: var(--dent); }
.prod-medicolize .btn-light { color: var(--medi); }
.soons { margin-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.soon { display: flex; align-items: center; gap: 18px; padding: 24px 28px; border-radius: 24px; border: 1.5px dashed #c9ccd2; }
.soon img { width: 52px; height: 52px; flex: 0 0 52px; }
.soon-t { font-weight: 700; font-size: 18px; }
.soon p:not(.soon-t) { font-size: 15px; color: var(--ink-3); }

/* Vision */
.vision-wrap { padding-top: clamp(56px, 7vw, 96px); }
.vision { border-radius: 40px; background: var(--ink); color: #fff; padding: clamp(48px, 7vw, 104px) clamp(28px, 6vw, 88px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 56px; }
.vision h2 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.06; }
html[lang="ar"] .vision h2 { line-height: 1.3; }
.eyebrow-dark { color: #a9aeb8; }
.eyebrow-dark::before { background: #fff; }
.vision-text { display: grid; gap: 22px; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.7; color: #c7cbd3; align-content: center; }

/* Features */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.tile { padding: 30px; border-radius: var(--r); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; transition: border-color .15s, box-shadow .15s; }
.tile:hover { border-color: #c9ccd2; box-shadow: 0 12px 28px rgba(11,13,18,.06); }
.tile-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--soft); display: grid; place-items: center; margin-bottom: 8px; }
.tile-ico svg { width: 26px; height: 26px; }
.tile h3 { font-size: 20px; letter-spacing: -.015em; line-height: 1.25; }
.tile p { font-size: 15.5px; color: var(--ink-2); }

/* Integrations */
.ints { margin-top: 24px; padding: clamp(28px, 4vw, 48px); border-radius: 32px; background: var(--soft); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 48px; align-items: center; }
.ints h3 { font-size: clamp(28px, 3vw, 38px); }
.ints-copy p { margin-top: 10px; font-size: 16px; color: var(--ink-2); }
.ints ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.ints li { height: 84px; padding: 0 18px; border-radius: 18px; background: #fff; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; font-weight: 600; }
.ints li img { max-height: 34px; width: auto; max-width: 100%; }
@media (max-width: 900px) { .ints { grid-template-columns: 1fr; } }

/* Specialties */
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.spec { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: 22px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 17px; line-height: 1.3; transition: border-color .15s, background .15s; }
.spec:hover { border-color: var(--ink); background: var(--soft); }
.spec-ico { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 14px; background: var(--soft); display: grid; place-items: center; }
.spec:hover .spec-ico { background: #fff; }
.spec-ico svg { width: 30px; height: 30px; }

/* Team */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.person { padding: 28px; border-radius: var(--r); border: 1px solid var(--line); display: grid; gap: 16px; align-content: start; }
.person img, .lead img { border-radius: 50%; object-fit: cover; background: var(--soft); }
.person img { width: 96px; height: 96px; }
.person h3 { font-size: 21px; letter-spacing: -.015em; line-height: 1.25; }
.role { margin-top: 4px; font-size: 15px; color: var(--ink-3); }
.bio { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); padding-top: 16px; border-top: 1px solid var(--line); }
.bio b { color: var(--ink); }
.leads { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.lead { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 22px; background: var(--soft); }
.lead img { width: 64px; height: 64px; flex: 0 0 64px; }
.lead-name { font-weight: 600; font-size: 18px; }
.lead p:not(.lead-name) { font-size: 15px; color: var(--ink-3); }

/* Contact */
.contact { border-radius: 40px; background: var(--soft); padding: clamp(40px, 6vw, 88px) clamp(28px, 6vw, 80px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px; align-items: start; }
.contact h2 { font-size: clamp(42px, 5.4vw, 72px); }
.contact-p { margin-top: 18px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--ink-2); }
.contact .actions { margin-top: 30px; }
.offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.office { padding: 28px; border-radius: 24px; background: #fff; font-size: 17px; line-height: 1.6; }
.office-city { font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
html[lang="ar"] .office-city { letter-spacing: 0; font-size: 16px; }

/* Inner pages */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px); max-width: 1360px; }
.page-hero h1 { font-size: clamp(44px, 6.4vw, 84px); line-height: 1; letter-spacing: -.045em; max-width: 1000px; }
html[lang="ar"] .page-hero h1 { line-height: 1.25; }
.page-hero .lede { margin-top: 24px; max-width: 720px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 15px; color: var(--ink-3); margin-bottom: 36px; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.sub-block { padding-bottom: 0; }

/* Footer */
.foot { margin-top: 0; border-top: 1px solid var(--line); }
.foot-in { padding-block: 56px 40px; display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 40px; font-size: 16px; }
.foot-brand img { height: 40px; width: auto; }
.foot-brand p { margin-top: 18px; max-width: 320px; color: var(--ink-3); }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-h { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
html[lang="ar"] .foot-h { letter-spacing: 0; font-size: 15px; }
.foot-col a { color: var(--ink-2); text-decoration: none; }
.foot-col a:hover { color: var(--ink); text-decoration: underline; }
.foot-base { padding-block: 24px 36px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
@media (max-width: 860px) { .foot-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* 404 */
.nf { padding-block: 140px; }
.nf h1 { font-size: clamp(44px, 6vw, 80px); }
.nf .lede { margin-top: 20px; }
