:root {
  --navy: #1C2B46;
  --navy-dark: #12192B;
  --red: #EE2110;
  --red-dark: #C81A0C;
  --kicker: #FFB3AB;
  --bg: #F6F7F9;
  --gray-mid: #E3E6EA;
  --gray-dark: #5B6370;
  --text: #1B1F24;
  --white: #FFFFFF;
  --display: "Frank Ruhl Libre", Georgia, serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top { background: var(--navy); border-bottom: 3px solid var(--red); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand img { width: 44px; height: 44px; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1; }
.brand-sub { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-top: 4px; }
.top-cta { font-weight: 600; font-size: 15px; color: var(--white); text-decoration: none; border: 1.5px solid rgba(255,255,255,.55); border-radius: 6px; padding: 9px 16px; white-space: nowrap; }
.top-cta:hover { background: rgba(255,255,255,.1); }

/* Hero */
.hero { background: var(--navy); color: var(--white); padding: 56px 0 72px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--kicker); margin: 0 0 14px; }
h1 { font-family: var(--display); font-weight: 700; font-size: clamp(38px, 5.4vw, 60px); line-height: 1.08; margin: 0 0 20px; letter-spacing: -.01em; }
.lede { font-size: 19px; color: rgba(255,255,255,.86); margin: 0 0 30px; max-width: 34em; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; font-size: 16px; padding: 15px 24px; border-radius: 6px; text-align: center; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { border: 1.5px solid rgba(255,255,255,.6); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.stores { margin: 22px 0 0; font-size: 14px; color: rgba(255,255,255,.7); }
.stores strong { color: var(--white); font-weight: 600; }

.phone { justify-self: center; width: min(300px, 78vw); aspect-ratio: 390 / 844; border-radius: 44px; background: #0B1120; padding: 12px; box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08) inset; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 33px; }

/* Sections */
section { padding: 72px 0; }
.section-kicker { color: var(--red); }
h2 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3.6vw, 40px); line-height: 1.15; margin: 0 0 14px; color: var(--navy); }
.section-lede { color: var(--gray-dark); max-width: 40em; margin: 0 0 40px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--white); border-radius: 10px; padding: 26px 22px; box-shadow: 0 1px 2px rgba(18,25,43,.06), 0 6px 18px rgba(18,25,43,.06); border-top: 3px solid var(--navy); }
.icon { width: 44px; height: 44px; border-radius: 10px; background: #EEF1F6; display: grid; place-items: center; margin-bottom: 16px; color: var(--navy); }
.icon svg { width: 24px; height: 24px; }
.card h3 { font-family: var(--display); font-weight: 700; font-size: 21px; color: var(--navy); margin: 0 0 8px; line-height: 1.2; }
.card p { margin: 0; color: var(--gray-dark); font-size: 15.5px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { border-radius: 12px; padding: 34px 30px; }
.panel h3 { font-family: var(--display); font-weight: 700; font-size: 26px; margin: 0 0 10px; line-height: 1.2; }
.panel p { margin: 0 0 22px; }
.panel-navy { background: var(--navy); color: var(--white); }
.panel-navy p { color: rgba(255,255,255,.84); }
.panel-white { background: var(--white); border: 1px solid var(--gray-mid); }
.panel-white h3 { color: var(--navy); }
.panel-white p { color: var(--gray-dark); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); }

.attorney { background: var(--white); border-top: 1px solid var(--gray-mid); border-bottom: 1px solid var(--gray-mid); }
.attorney .wrap { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; }
.attorney img { border-radius: 10px; width: 220px; aspect-ratio: 2 / 3; object-fit: cover; }
.langs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.lang { background: #EEF1F6; color: var(--navy); font-weight: 600; font-size: 15px; padding: 6px 14px; border-radius: 999px; }

footer { background: var(--navy-dark); color: rgba(255,255,255,.75); font-size: 14.5px; padding: 44px 0 36px; }
footer .wrap { display: grid; gap: 18px; }
footer .row { display: flex; flex-wrap: wrap; gap: 8px 28px; }
footer a { color: var(--white); text-decoration: none; }
footer a:hover { text-decoration: underline; }
.disclaimer { font-size: 13px; color: rgba(255,255,255,.55); max-width: 60em; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phone { margin-top: 8px; }
  .features { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .attorney .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .brand-sub { display: none; }
  .hero { padding: 40px 0 56px; }
  .lede { font-size: 17px; }
  .buttons .btn { width: 100%; }
  section { padding: 56px 0; }
  .features { grid-template-columns: 1fr; }
  .panel { padding: 28px 22px; }
  .panel .btn { width: 100%; }
}

/* Language switcher */
.top-right { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; border: 1.5px solid rgba(255,255,255,.35); border-radius: 6px; overflow: hidden; }
.lang-switch button { font: 600 13px/1 var(--body); color: rgba(255,255,255,.8); background: transparent; border: 0; padding: 9px 10px; cursor: pointer; }
.lang-switch button + button { border-inline-start: 1px solid rgba(255,255,255,.25); }
.lang-switch button:hover { color: var(--white); background: rgba(255,255,255,.08); }
.lang-switch button[aria-pressed="true"] { background: var(--white); color: var(--navy); }
.lang-switch button[lang="ar"] { font-family: "Noto Sans Arabic", var(--body); }
button.lang { border: 0; cursor: pointer; font-family: var(--body); }
button.lang:hover { background: var(--gray-mid); }
button.lang[aria-pressed="true"] { background: var(--navy); color: var(--white); }
button.lang[lang="ar"] { font-family: "Noto Sans Arabic", var(--body); }

/* Arabic */
html[lang="ar"] {
  --body: "Noto Sans Arabic", "Plus Jakarta Sans", system-ui, sans-serif;
  --display: "Noto Naskh Arabic", "Frank Ruhl Libre", Georgia, serif;
}
html[lang="ar"] body { line-height: 1.8; }
html[lang="ar"] .kicker, html[lang="ar"] .brand-sub, html[lang="ar"] .tag { letter-spacing: 0; }
html[lang="ar"] h1 { letter-spacing: 0; line-height: 1.3; }
html[lang="ar"] h2, html[lang="ar"] .card h3, html[lang="ar"] .panel h3 { line-height: 1.4; }

@media (max-width: 560px) {
  .top .wrap { gap: 10px; }
  .top-right { gap: 8px; }
  .top-cta { padding: 9px 12px; font-size: 14px; }
  .lang-switch button { padding: 9px 8px; }
}
@media (max-width: 380px) {
  .brand-name { font-size: 20px; }
  .brand img { width: 36px; height: 36px; }
}
@media (max-width: 480px) {
  /* The hero's own buttons cover sign-in on small phones; keep the header to brand + language. */
  .top-cta { display: none; }
}
