/* Alreem Medical Center brand tokens — extracted from alreemmedicalmuscat.com
   (assets/index-CtwoLNWe.css): navy hsl(220 55% 32%), gold hsl(37 94% 47%),
   cream hsl(40 20% 97%), DM Serif Display headings, DM Sans body, radius .75rem */
:root {
  --navy: hsl(220, 55%, 32%);
  --navy-dark: hsl(220, 55%, 24%);
  --gold: hsl(37, 94%, 47%);
  --gold-dark: hsl(37, 94%, 40%);
  --cream: hsl(40, 20%, 97%);
  --ink: hsl(220, 55%, 32%);
  --ink-soft: hsl(220, 15%, 35%);
  --line: hsl(220, 15%, 90%);
  --muted: hsl(220, 15%, 96%);
  --white: #ffffff;
  --whatsapp: #1faa59;
  --radius: 0.75rem;
  --shadow-card: 0 2px 12px rgba(0, 0, 0, .04);
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, .06);
  --font-heading: "DM Serif Display", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

html[lang="ar"] {
  --font-heading: "Noto Naskh Arabic", Georgia, serif;
  --font-body: "Noto Sans Arabic", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-heading); color: var(--navy); font-weight: 400; }

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
  flex-wrap: wrap;
}
.brand img { display: block; height: 48px; width: auto; }
.header-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-dark); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); }
.btn-whatsapp:hover { background: #178c49; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: var(--white); }
.btn-outline:hover { background: var(--muted); }

/* Hero */
.hero { background: var(--cream); padding: 76px 0 66px; }
.hero .eyebrow {
  display: inline-block;
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
html[lang="ar"] .hero .eyebrow { letter-spacing: 0; }
.hero h1 {
  font-size: clamp(32px, 4.8vw, 48px);
  line-height: 1.15;
  max-width: 24ch;
}
.hero p.lede {
  margin-top: 20px;
  font-size: 19px;
  max-width: 60ch;
}
.hero .cta-row { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero .assurance { margin-top: 20px; font-size: 14.5px; }

/* Sections */
section { padding: 62px 0; }
section h2 { font-size: 30px; margin-bottom: 10px; }
section p.section-intro { max-width: 62ch; margin-bottom: 32px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--gold);
}
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { font-size: 15.5px; }

.alt { background: var(--cream); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.step { padding: 8px 4px; }
.step .num {
  display: inline-flex;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-body);
  margin-bottom: 10px;
}
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { font-size: 15.5px; }

/* Why list */
.why-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px 28px; }
.why-list li {
  padding-inline-start: 30px;
  position: relative;
  font-size: 16.5px;
}
.why-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gold);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" d="M6.2 12.4 2 8.2l1.4-1.4 2.8 2.8 6.4-6.4L14 4.6z"/></svg>') center / contain no-repeat;
}

/* FAQ */
.faq { display: grid; gap: 14px; max-width: 760px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 16px 20px;
  box-shadow: var(--shadow-card);
}
.faq summary {
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  font-size: 16.5px;
}
.faq details p { margin-top: 10px; font-size: 15.5px; }

/* Reassure note */
.reassure {
  margin-top: 26px;
  padding: 18px 22px;
  background: var(--cream);
  border-inline-start: 3px solid var(--gold);
  border-radius: var(--radius);
  font-size: 16px;
  max-width: 70ch;
}

/* Contact band */
.contact-band { background: var(--navy); text-align: center; }
.contact-band h2 { color: var(--white); }
.contact-band p { color: hsl(220, 30%, 88%); max-width: 54ch; margin: 0 auto 26px; }
.contact-band .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.contact-band .btn-outline { border-color: var(--white); color: var(--white); background: transparent; }
.contact-band .btn-outline:hover { background: rgba(255,255,255,0.12); }

/* Booking modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22, 34, 58, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}
.modal-overlay[hidden] { display: none; }
.modal {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  max-width: 480px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 30px 28px 28px;
  position: relative;
}
.modal h3 { font-size: 24px; margin-bottom: 6px; }
.modal .modal-sub { font-size: 14.5px; margin-bottom: 20px; }
.modal-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 34px; height: 34px;
  border: none;
  border-radius: 50%;
  background: var(--muted);
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover { background: var(--line); }
.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: calc(var(--radius) - 4px);
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink-soft);
  background: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy);
}
.field textarea { min-height: 90px; resize: vertical; }
.hp { position: absolute; left: -9999px; top: -9999px; }
html[dir="rtl"] .hp { left: auto; right: -9999px; }
.form-actions { margin-top: 18px; }
.form-actions .btn { width: 100%; justify-content: center; }
.form-error {
  margin-top: 12px;
  font-size: 14px;
  color: hsl(0, 70%, 45%);
}
.form-success { text-align: center; padding: 18px 4px 6px; }
.form-success .tick {
  display: inline-flex;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 14px;
}
.form-success h4 { font-family: var(--font-heading); color: var(--navy); font-size: 21px; font-weight: 400; margin-bottom: 8px; }
.form-success p { font-size: 15px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: 14px; }
footer .foot-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer strong { color: var(--navy); }
footer .disclaimer { margin-top: 18px; max-width: 78ch; font-size: 13px; }

@media (max-width: 640px) {
  .hero { padding: 52px 0 48px; }
  section { padding: 46px 0; }
  .brand img { height: 40px; }
}
