@font-face { font-family: "ThmanyahSans"; src: url("fonts/ThmanyahSans-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "ThmanyahSans"; src: url("fonts/ThmanyahSans-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "ThmanyahSans"; src: url("fonts/ThmanyahSans-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "ThmanyahSerif"; src: url("fonts/ThmanyahSerifDisplay-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }

:root {
  --ink: #14181F; --ink2: #4B5159; --ink3: #8A9099;
  --paper: #FBFBF9; --surface: #FFFFFF; --line: #E6E7E3;
  --amber: #F5A623; --amber-ink: #1C1300; --amber-soft: #FFF3DC;
  --success: #2E9E6B;
  --sans: "ThmanyahSans", "Segoe UI", Tahoma, system-ui, sans-serif;
  --serif: "ThmanyahSerif", "ThmanyahSans", serif;
  --radius: 20px;
}
* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.75; font-size: 17px; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1040px; margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
.top .logo img { height: 60px; display: block; }
.top nav { display: flex; gap: 22px; align-items: center; font-weight: 500; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--ink2); }
.top nav a:hover { color: var(--ink); }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: var(--surface); font-size: 13px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding-block: 40px 56px; }
.hero h1 { font-family: var(--serif); font-size: clamp(34px, 5vw, 56px); line-height: 1.2; margin: 0 0 14px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero p.lead { font-size: 19px; color: var(--ink2); margin: 0 0 26px; max-width: 34ch; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 1.5px solid transparent; }
.btn.primary { background: var(--amber); color: var(--amber-ink); }
.btn.ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn small { font-weight: 400; color: inherit; opacity: .75; }
.phone { position: relative; justify-self: center; width: min(320px, 80vw); aspect-ratio: 9 / 18.5; border-radius: 44px; background: var(--ink); padding: 12px; box-shadow: 0 30px 60px -30px rgba(20,24,31,.5); }
.phone .screen { height: 100%; border-radius: 34px; background: var(--paper); overflow: hidden; display: flex; flex-direction: column; padding: 22px 16px; gap: 12px; }
.screen .bar { height: 8px; width: 90px; border-radius: 4px; background: var(--ink); align-self: center; opacity: .9; }
.screen .card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; font-size: 13px; }
.screen .card b { display: block; font-size: 14px; }
.screen .card .pill { display: inline-block; margin-top: 6px; background: var(--amber-soft); color: #8A5A00; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; }
.screen .card.dark { background: var(--ink); color: #fff; border: 0; }
.screen .card.dark .muted { color: #B6BAC0; }
.screen .map { flex: 1; border-radius: 16px; background:
  radial-gradient(circle at 60% 40%, rgba(245,166,35,.35), transparent 28%),
  repeating-linear-gradient(90deg, #ECE9DF 0 2px, transparent 2px 46px),
  repeating-linear-gradient(0deg, #ECE9DF 0 2px, transparent 2px 46px), #F4F1E8; position: relative; min-height: 120px; }
.screen .map .dot { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--amber); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); left: 58%; top: 38%; }
.screen .map .me { position: absolute; width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 2px solid var(--amber); left: 22%; top: 62%; display: grid; place-items: center; }
.screen .map .me img { width: 18px; }

/* promises */
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-block: 12px 48px; }
.promise { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.promise .n { font-family: var(--serif); color: var(--amber); font-size: 30px; line-height: 1; margin-bottom: 10px; }
.promise h3 { margin: 0 0 6px; font-size: 19px; }
.promise p { margin: 0; color: var(--ink2); font-size: 15px; }

/* sections */
section.band { padding-block: 44px; border-top: 1px solid var(--line); }
section.band h2 { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 8px; text-wrap: balance; }
section.band p.sub { color: var(--ink2); margin: 0 0 22px; max-width: 60ch; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; counter-increment: s; }
.step::before { content: counter(s, arabic-indic); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--amber); color: var(--amber-ink); font-weight: 700; margin-bottom: 10px; }
html[lang="en"] .step::before { content: counter(s); }
.step b { display: block; margin-bottom: 4px; }
.step span { color: var(--ink2); font-size: 15px; }
.services { display: flex; flex-wrap: wrap; gap: 10px; }
.services span { background: var(--amber-soft); color: #6B4500; border-radius: 999px; padding: 8px 14px; font-weight: 500; font-size: 15px; }
.areas { color: var(--ink2); }
.providers { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.providers ul { margin: 0; padding-inline-start: 22px; color: var(--ink2); }
.providers li { margin-bottom: 6px; }
.dark { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 32px; }
.dark h2 { color: #fff; }
.dark p, .dark li { color: #B6BAC0; }
.dark .btn.primary { background: var(--amber); }

/* footer */
footer { border-top: 1px solid var(--line); padding-block: 28px 40px; color: var(--ink3); font-size: 14px; }
footer .row { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
footer a { color: var(--ink2); text-decoration: none; }
footer img { height: 44px; }

/* legal pages */
.legal { max-width: 760px; margin-inline: auto; padding-block: 24px 56px; }
.legal h1 { font-family: var(--serif); font-size: clamp(28px, 4vw, 40px); margin: 0 0 6px; }
.legal .meta { color: var(--ink3); font-size: 14px; margin-bottom: 26px; }
.legal h2 { font-size: 21px; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--ink2); }
.legal ul { padding-inline-start: 22px; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-block: 24px 40px; }
  .phone { order: -1; width: min(260px, 70vw); }
  .promises, .steps { grid-template-columns: 1fr; }
  .providers { grid-template-columns: 1fr; }
  .top nav { gap: 14px; font-size: 14px; }
  .top nav .hide-sm { display: none; }
}
