/* Layout, mobile first: one column on phones with a fixed WhatsApp/Call bar at the bottom; from 720px the bar goes away, from 900px the nav and two-column layouts appear. Cyan and white only. Logical properties throughout so Arabic (RTL) is the default direction. */

/* Custom font slot: drop a font file at assets/fonts/custom.woff2 (see README). If the file is missing the browser silently uses the fallback fonts below. */
@font-face {
  font-family: "Al Amira Custom";
  src: url("assets/fonts/custom.woff2") format("woff2"), url("assets/fonts/custom.woff") format("woff"), url("assets/fonts/custom.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --tint: #E8F9FC;
  --tint-2: #CFF3F9;
  --ink: #073B44;
  --muted: #4A6D74;
  --line: #C6EAF0;
  --cyan: #00BCD4;
  --cyan-deep: #007C89;
  --btn-bg: #007C89;
  --btn-fg: #FFFFFF;
  --focus: #007C89;
  --shadow: 0 18px 40px -24px rgba(0, 124, 137, 0.6);
  --font-display: "Al Amira Custom", "Bricolage Grotesque", "Readex Pro", system-ui, sans-serif;
  --font-body: "Al Amira Custom", "Readex Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
html[lang="ar"] { --font-display: "Al Amira Custom", "Readex Pro", system-ui, sans-serif; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.7 var(--font-body);
  -webkit-text-size-adjust: 100%;
  padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}
html[lang="ar"] body { line-height: 1.95; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.45; letter-spacing: 0; }
h1 { font-size: clamp(1.95rem, 7.4vw, 3.7rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 5.4vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--cyan-deep); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: 1120px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--cyan-deep); }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 0.92rem; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.flush { margin: 0; }
.opt { font-weight: 400; color: var(--muted); font-size: 0.82rem; }

/* Buttons: 48px tall for thumbs */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0.7rem 1.4rem; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--btn-bg); color: var(--btn-fg); font: 600 1rem/1.2 var(--font-body); text-decoration: none;
  transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn[disabled] { opacity: 0.65; cursor: progress; transform: none; }
.btn-ghost { background: var(--surface); color: var(--cyan-deep); box-shadow: inset 0 0 0 1.5px var(--cyan-deep); }
.btn-sm { min-height: 40px; padding: 0.5rem 1.05rem; font-size: 0.92rem; }
.btn-text { background: none; border: 0; padding: 0.4rem 0; color: var(--cyan-deep); font: 600 0.9rem var(--font-body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.btn .ic { width: 20px; height: 20px; }
.ic-white { filter: brightness(0) invert(1); }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding-block: 0.55rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 40px; height: 40px; border-radius: 12px; flex: none; }
.brand b { font: 700 1.2rem/1.1 var(--font-display); letter-spacing: -0.02em; display: block; }
html[lang="ar"] .brand b { letter-spacing: 0; font-size: 1.3rem; }
.brand small { font-size: 0.72rem; color: var(--muted); display: block; line-height: 1.3; }
.links { display: none; gap: 1.25rem; }
.links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.links a:hover { color: var(--cyan-deep); }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--tint); gap: 2px; flex: none; }
.lang a { display: inline-flex; align-items: center; justify-content: center; color: var(--ink); text-decoration: none; font: 600 0.82rem/1 var(--font-body); min-width: 42px; min-height: 38px; padding: 0 0.6rem; border-radius: 999px; }
.lang a[aria-current="page"] { background: var(--btn-bg); color: var(--btn-fg); }
.top .btn { display: none; }

/* Bottom bar on phones */
.dock {
  position: fixed; bottom: 0; inset-inline: 0; z-index: 30; display: flex; gap: 0.6rem;
  padding: 0.6rem max(16px, env(safe-area-inset-right, 0px)) calc(0.6rem + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -10px 24px -18px rgba(0, 124, 137, 0.7);
}
.dock .btn { flex: 1; padding-inline: 0.8rem; }

/* Hero */
.hero { padding-block: 1.5rem 2.5rem; }
.hero-grid { display: grid; gap: 1.5rem; }
.hero-copy { display: grid; gap: 1rem; justify-items: start; min-width: 0; }
.hero-copy .lead { font-size: 1.05rem; color: var(--muted); max-width: 46ch; }
.cta-row { display: grid; gap: 0.7rem; width: 100%; margin-top: 0.3rem; }
.hero-art {
  position: relative; min-width: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 10; max-width: 100%;
  background: linear-gradient(160deg, var(--tint-2) 0%, var(--cyan) 100%); box-shadow: var(--shadow);
}
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Sections */
.sec { padding-block: 2.75rem; }
.sec.alt { background: var(--tint); }
.sec-head { display: grid; gap: 0.5rem; max-width: 62ch; margin-bottom: 1.5rem; }
.sec-head p { color: var(--muted); }
.grid { display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.25rem; display: grid; gap: 0.55rem; align-content: start; min-width: 0; }
.card p { color: var(--muted); font-size: 0.95rem; }
.ico { width: 48px; height: 48px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; margin-bottom: 0.2rem; }
.ico img { width: 26px; height: 26px; }

/* Vaccines */
.vac { display: grid; gap: 1.5rem; }
.vac .sec-head { margin-bottom: 0; }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); min-width: 0; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: start; padding: 0.8rem 0.85rem; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 0.9rem; }
thead th { background: var(--tint); font-weight: 600; font-size: 0.82rem; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 600; }
td b.ltr { display: block; font-family: var(--font-display); letter-spacing: 0; color: var(--cyan-deep); }
.note { font-size: 0.88rem; color: var(--muted); margin-top: 1rem; }

/* Review screenshots: swipe row on phones, masonry columns on desktop. Images scale to their container, whatever their size. */
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: min(80%, 340px); gap: 0.9rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.8rem; -webkit-overflow-scrolling: touch; }
.shot { margin: 0; scroll-snap-align: start; align-self: start; min-width: 0; }
.shot button { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); cursor: zoom-in; }
.shot img { display: block; width: 100%; height: auto; }
dialog { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; overflow: visible; }
dialog::backdrop { background: rgba(3, 40, 46, 0.82); }
dialog img { display: block; max-width: 92vw; max-height: 86vh; width: auto; height: auto; border-radius: 12px; background: var(--surface); }
.lb-close { position: absolute; top: -48px; inset-inline-end: 0; min-height: 40px; padding: 0.4rem 1rem; border: 0; border-radius: 999px; background: var(--surface); color: var(--cyan-deep); font: 600 0.9rem var(--font-body); cursor: pointer; }

/* Booking */
.book { display: grid; gap: 1.5rem; }
.book .sec-head { margin-bottom: 1.2rem; }
.form { display: grid; grid-template-columns: 1fr; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem; box-shadow: var(--shadow); min-width: 0; }
.field { display: grid; gap: 0.35rem; min-width: 0; font-weight: 500; font-size: 0.92rem; }
.form .full { grid-column: 1 / -1; }
input, select, textarea {
  width: 100%; min-width: 0; min-height: 48px; font: 400 1rem var(--font-body); color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 0.7rem 0.85rem;
}
textarea { min-height: 96px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.privacy { font-size: 0.82rem; color: var(--muted); margin-top: 0.6rem; }
.form .btn { width: 100%; }
.result { grid-column: 1 / -1; background: var(--tint); border-radius: 14px; padding: 1.1rem 1.2rem; display: grid; gap: 0.8rem; }
.result.err { background: #FDECEA; }
.result h3 { font-size: 1.05rem; }
.result dl { margin: 0; display: grid; grid-template-columns: 1fr; gap: 0.1rem; font-size: 0.93rem; }
.result dt { color: var(--muted); margin-top: 0.4rem; }
.result dd { margin: 0; overflow-wrap: anywhere; }
.result .actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* Contact */
.contact { display: grid; gap: 1.5rem; }
.contact .sec-head { margin-bottom: 1rem; }
.info { display: grid; }
.info-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 1rem; padding-block: 0.85rem; border-bottom: 1px solid var(--line); }
.info-row:first-child { border-top: 1px solid var(--line); }
.info-row .k { width: 6.5rem; font-size: 0.85rem; color: var(--muted); }
.info-row .v { font-weight: 500; overflow-wrap: anywhere; min-width: 0; }
.info-row .acts { display: flex; gap: 1rem; margin-inline-start: auto; }
.social { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.soc { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 48px; padding: 0.4rem 1.1rem 0.4rem 0.8rem; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.soc:hover { border-color: var(--cyan-deep); }
.soc img { width: 24px; height: 24px; }
.hours { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem 1.3rem; display: grid; gap: 0.2rem; min-width: 0; }
.hours h3 { margin-bottom: 0.5rem; }
.hours .r { display: flex; justify-content: space-between; gap: 1rem; padding-block: 0.65rem; border-top: 1px solid var(--line); font-size: 0.95rem; }
.hours .r span:last-child { font-variant-numeric: tabular-nums; text-align: end; color: var(--muted); }

footer { border-top: 1px solid var(--line); padding-block: 1.4rem; font-size: 0.88rem; color: var(--muted); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem; }
.foot-icons { display: flex; gap: 0.5rem; }
.foot-icons a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--tint); }
.foot-icons img { width: 24px; height: 24px; }

/* From 560px */
@media (min-width: 560px) {
  .cta-row { display: flex; flex-wrap: wrap; width: auto; }
  .hero-art { aspect-ratio: 16 / 9; }
}

/* From 640px */
@media (min-width: 640px) {
  .form { grid-template-columns: 1fr 1fr; padding: 1.6rem; }
  .result dl { grid-template-columns: max-content 1fr; gap: 0.35rem 1rem; }
  .result dt { margin-top: 0; }
  th, td { padding: 0.9rem 1.05rem; font-size: 0.95rem; }
  td b.ltr { display: inline-block; margin-inline-end: 0.35rem; }
}

/* From 720px: bottom bar off */
@media (min-width: 720px) {
  body { padding-bottom: 0; }
  .dock { display: none; }
  .sec { padding-block: 3.75rem; }
}

/* From 900px: desktop */
@media (min-width: 900px) {
  html { scroll-padding-top: 88px; }
  .bar { padding-block: 0.7rem; gap: 1.25rem; }
  .brand { margin-inline-end: auto; }
  .links { display: flex; }
  .top .btn { display: inline-flex; }
  .hero { padding-block: 4rem 4.5rem; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; }
  .hero-copy { gap: 1.2rem; }
  .hero-copy .lead { font-size: 1.12rem; }
  .hero-art { aspect-ratio: 520 / 470; border-radius: 28px; }
  .sec { padding-block: 5rem; }
  .sec-head { margin-bottom: 2rem; }
  .vac { grid-template-columns: 1fr 1.35fr; gap: 3rem; align-items: start; }
  .shots { display: block; columns: 3; column-gap: 1rem; overflow: visible; padding-bottom: 0; }
  .shot { break-inside: avoid; margin-bottom: 1rem; }
  .book { grid-template-columns: 0.8fr 1.2fr; gap: 3rem; align-items: start; }
  .contact { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: start; }
  .form .btn { width: auto; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } .btn:hover { transform: none; } }
