/* Fursan Al-Khalej — redesigned site styles (light theme) */
:root {
  --navy: #0e2557;
  --navy-deep: #08173a;
  --red: #c21f2b;
  --red-soft: #fbe9ea;
  --ink: #0f172a;
  --text: #3e4a60;
  --muted: #5a6478;
  --ground: #f4f6fa;
  --tint: #eaf0fa;
  --tint-2: #dce6f7;
  --line: #e3e8f1;
  --line-2: #c3cfe3;
  --white: #ffffff;
  --footer-text: #c9d3e8;
  --footer-muted: #9fb0d3;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(14, 37, 87, 0.12);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--red); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.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;
}

.icon { width: 1em; height: 1em; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 26px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: #a51a24; color: var(--white); }
.btn--ghost { background: var(--white); color: var(--navy); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--sm { min-height: 44px; padding: 12px 20px; font-size: 15px; }

/* Shared section heads */
.section { padding: 112px 0; }
.section--white { background: var(--white); }
.section--tint { background: var(--tint); }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red);
}
.section-title {
  font-family: var(--font-head); font-size: clamp(32px, 3.4vw, 44px); line-height: 1.1;
  letter-spacing: -0.02em; color: var(--navy);
}
.lead { font-size: 17px; line-height: 1.7; color: var(--text); }
.head { display: flex; flex-direction: column; gap: 16px; }
.head--row { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.head--center { align-items: center; text-align: center; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: 15px; padding: 10px 0; }

/* Top bar */
.topbar { background: #eef2f8; color: var(--text); font-size: 13px; }
.topbar__inner { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.topbar__items { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.topbar__items a { color: var(--navy); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.lang-link {
  color: var(--navy); text-decoration: none; font-weight: 600; padding: 4px 12px;
  border: 1px solid var(--line-2); border-radius: 999px; background: var(--white);
}

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(14, 37, 87, 0.08); }
.header__inner { display: flex; gap: 16px 32px; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; position: relative; }
.brand { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--navy); }
.brand__logo { width: 60px; height: 60px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; gap: 2px; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand__tag { font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }

.nav { display: flex; flex-wrap: wrap; gap: 4px 28px; align-items: center; font-size: 15px; font-weight: 500; }
.nav__link { text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.nav__link.is-active { color: var(--red); border-bottom-color: var(--red); }
.nav__cta { text-decoration: none; padding: 12px 20px; background: var(--red); color: var(--white); border-radius: 8px; font-weight: 600; }
.nav__cta:hover { background: #a51a24; color: var(--white); }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 1px solid var(--line-2); border-radius: 10px;
  background: var(--white); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle__lines, .nav-toggle__lines::before, .nav-toggle__lines::after {
  display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; position: relative;
}
.nav-toggle__lines::before, .nav-toggle__lines::after { content: ""; position: absolute; left: 0; }
.nav-toggle__lines::before { top: -6px; }
.nav-toggle__lines::after { top: 6px; }

/* Hero */
.hero { background: var(--tint); overflow: hidden; }
.hero__inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.kicker { display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.hero__title { font-family: var(--font-head); font-weight: 700; font-size: clamp(40px, 5.4vw, 68px); line-height: 1.04; letter-spacing: -0.025em; color: var(--navy); }
.hero__subtitle { font-size: 18px; line-height: 1.6; color: var(--text); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__media { flex: 1 1 440px; min-width: 0; display: flex; justify-content: center; }
.emblem { width: 100%; max-width: 520px; aspect-ratio: 1 / 1; border-radius: 50%; background: #d6e1f3; display: flex; align-items: center; justify-content: center; position: relative; }
.emblem__inner { width: 78%; aspect-ratio: 1 / 1; border-radius: 50%; background: var(--white); padding: 18px; display: flex; align-items: center; justify-content: center; }
.emblem__inner img { width: 100%; height: 100%; object-fit: contain; }
.float-card {
  position: absolute; border-radius: 14px; padding: 14px 18px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow);
}
.float-card--light { left: 0; bottom: 8%; background: var(--white); color: var(--ink); }
.float-card--red { right: 0; top: 10%; background: var(--red); color: var(--white); font-weight: 600; font-size: 15px; }
.float-card__icon { width: 44px; height: 44px; border-radius: 10px; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.float-card__title { display: block; font-weight: 700; font-size: 15px; }
.float-card__text { display: block; font-size: 13px; color: var(--muted); }
.float-card--red .icon { font-size: 22px; }

/* Brand strip */
.brands { background: var(--white); border-bottom: 1px solid var(--line); }
.brands__inner { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; padding-top: 28px; padding-bottom: 28px; }
.brands__label { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.brands__list { display: flex; flex-wrap: wrap; gap: 12px 40px; font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--navy); letter-spacing: .02em; }
.brands__list .is-accent { color: var(--red); }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.about__media { flex: 1 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.about__photo { grid-row: span 2; width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: center 80%; border-radius: var(--radius); }
.fact { border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 202px; }
.fact--blue { background: var(--tint-2); color: var(--navy); }
.fact--red { background: var(--red); color: var(--white); }
.fact .icon { font-size: 32px; }
.fact__value { display: block; font-family: var(--font-head); font-size: 26px; font-weight: 700; }
.fact__label { display: block; font-size: 14px; margin-top: 6px; }
.fact--blue .fact__label { color: var(--text); }
.fact--red .fact__label { color: #fbe0e2; }
.about__copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.checks { list-style: none; margin: 0; padding: 8px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.checks li { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 15px; }
.checks li::before {
  content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--red-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c21f2b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Services */
.stack { display: flex; flex-direction: column; gap: 56px; }
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.service { background: var(--ground); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.service--featured { background: var(--tint); }
.service__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--white); color: var(--navy); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.service--featured .service__icon { background: var(--red); color: var(--white); border-color: var(--red); }
.service__title { font-family: var(--font-head); font-size: 22px; color: var(--navy); }
.service__text { font-size: 15px; line-height: 1.65; color: var(--text); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.step__num { font-family: var(--font-head); font-size: 40px; font-weight: 700; color: var(--red); }
.step__title { font-size: 19px; color: var(--navy); }
.step__text { font-size: 15px; line-height: 1.6; color: var(--text); }

/* Coverage */
.coverage { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.coverage__copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.routes { flex: 1 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.route { background: var(--white); border: 1px solid #d6e1f3; border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.route--accent { background: var(--red); border-color: var(--red); color: var(--white); }
.route__region { font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.route--accent .route__region { color: #fbe0e2; }
.route__name { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--navy); }
.route--accent .route__name { color: var(--white); }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 6px; }
.filter { min-height: 44px; padding: 0 18px; border: 0; border-radius: 8px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; background: transparent; color: var(--text); }
.filter:hover { color: var(--navy); }
.filter.is-active { background: var(--navy); color: var(--white); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.car { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.car.is-hidden { display: none; }
.car__media { position: relative; height: 230px; padding: 0; border: 0; background: #dce3ef; cursor: zoom-in; display: block; width: 100%; }
.car__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.car__media:hover img { transform: scale(1.04); }
.car__tag { position: absolute; top: 14px; left: 14px; background: var(--navy); color: var(--white); font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; }
.car__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 14px; }
.car__name { font-family: var(--font-head); font-size: 20px; color: var(--navy); }
.car__meta { font-size: 14px; color: var(--muted); margin-top: 4px; }
.car__link { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; font-size: 14px; padding: 6px 0; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 48px; }
.contact__info { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.contact__list { display: flex; flex-direction: column; gap: 12px; }
.contact-item { text-decoration: none; display: flex; gap: 16px; align-items: center; padding: 18px; background: var(--ground); border-radius: 14px; color: var(--ink); }
a.contact-item:hover { color: var(--ink); background: var(--tint); }
.contact-item__icon { width: 44px; height: 44px; flex: none; border-radius: 10px; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.contact-item__label { display: block; font-size: 13px; color: var(--muted); }
.contact-item__value { display: block; font-weight: 600; font-size: 16px; overflow-wrap: anywhere; }

.form { flex: 1 1 520px; min-width: 0; background: var(--ground); border: 1px solid var(--line); border-radius: 22px; padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.form__title { font-family: var(--font-head); font-size: 26px; color: var(--navy); }
.form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; color: var(--text); }
.field__input { min-height: 50px; padding: 0 16px; border-radius: 10px; border: 1px solid #cfd8e6; background: var(--white); color: var(--ink); font: inherit; font-size: 15px; }
.field__input:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.field__input--area { padding: 14px 16px; resize: vertical; min-height: 120px; }
.form__note { font-size: 13px; color: var(--muted); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn:disabled { opacity: .6; cursor: progress; }
.form__note:empty::before { content: "We usually reply within one working day."; }

/* Footer */
.footer { background: var(--navy-deep); color: var(--footer-text); padding: 56px 0 32px; }
.footer__top { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.footer__brand { display: flex; gap: 16px; align-items: center; }
.footer__logo { width: 64px; height: 64px; border-radius: 50%; background: var(--white); padding: 4px; object-fit: contain; }
.footer__name { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--white); }
.footer__tag { font-size: 13px; }
.footer__ar { font-size: 14px; color: var(--white); font-family: "Cairo", var(--font-body); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; }
.footer__links a { color: var(--footer-text); text-decoration: none; padding: 8px 0; }
.footer__links a:hover { color: var(--white); }
.footer__links .footer__lang { color: var(--white); font-weight: 600; }
.footer__bottom { margin-top: 40px; border-top: 1px solid #1e3263; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: 13px; color: var(--footer-muted); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.footer__legal a { color: var(--footer-text); padding: 8px 0; }
.footer__legal a:hover, .footer__legal a[aria-current="page"] { color: var(--white); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(8, 23, 58, 0.75); }
.modal__panel { position: relative; max-width: 1000px; width: 100%; }
.modal__img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: 14px; background: var(--white); }
.modal__close {
  position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--white); color: var(--navy); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: var(--shadow);
}

/* Privacy page */
.legal-hero { background: var(--tint); padding: 72px 0 64px; }
.legal-hero .container { display: flex; flex-direction: column; gap: 16px; }
.legal-hero h1 { font-family: var(--font-head); font-size: clamp(36px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -0.025em; color: var(--navy); }
.legal-hero .lead { max-width: 680px; }
.legal-date { font-size: 14px; color: var(--muted); }
.legal { padding: 64px 0 112px; }
.legal__layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.toc { flex: 1 1 240px; min-width: 0; max-width: 300px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; position: sticky; top: 110px; }
.toc__title { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-bottom: 8px; }
.toc a { text-decoration: none; padding: 8px 0; }
.legal__body { flex: 999 1 560px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 48px; display: flex; flex-direction: column; gap: 40px; font-size: 16px; line-height: 1.75; color: var(--text); }
.legal__body section { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 110px; }
.legal__body h2 { font-family: var(--font-head); font-size: 26px; color: var(--navy); }
.legal__body ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal__contact { background: var(--tint); border-radius: 16px; padding: 28px; }
.legal__contact-links { display: flex; flex-wrap: wrap; gap: 12px 32px; font-weight: 600; }
.legal__note { font-size: 13px; color: var(--muted); }

/* Right-to-left (Arabic) */
[dir="rtl"] body,
[dir="rtl"] .btn,
[dir="rtl"] .filter,
[dir="rtl"] .field__input { font-family: "Cairo", var(--font-body); }
[dir="rtl"] .brand__name,
[dir="rtl"] .hero__title,
[dir="rtl"] .section-title,
[dir="rtl"] .service__title,
[dir="rtl"] .fact__value,
[dir="rtl"] .route__name,
[dir="rtl"] .car__name,
[dir="rtl"] .form__title,
[dir="rtl"] .footer__name { font-family: "Cairo", var(--font-head); letter-spacing: 0; }
[dir="rtl"] .hero__title { line-height: 1.25; }
[dir="rtl"] .section-title { line-height: 1.35; }
[dir="rtl"] .eyebrow,
[dir="rtl"] .kicker,
[dir="rtl"] .brand__tag,
[dir="rtl"] .brands__label,
[dir="rtl"] .route__region,
[dir="rtl"] .toc__title { letter-spacing: 0; text-transform: none; }
[dir="rtl"] .icon-flip { transform: scaleX(-1); }
[dir="rtl"] .car__tag { left: auto; right: 14px; }
[dir="rtl"] .float-card--light { left: auto; right: 0; }
[dir="rtl"] .float-card--red { right: auto; left: 0; }
[dir="rtl"] .modal__close { right: auto; left: -14px; }
[dir="rtl"] .legal__body ul { padding-left: 0; padding-right: 22px; }
[dir="rtl"] .ltr { direction: ltr; unicode-bidi: isolate; }
[lang="ar"] .form__note:empty::before { content: "نرد عادةً خلال يوم عمل واحد."; }

/* Responsive */
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; box-shadow: 0 12px 24px rgba(14, 37, 87, 0.08);
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__link.is-active { border-bottom-color: var(--line); }
  .nav__cta { margin-top: 14px; text-align: center; }
  .toc { position: static; max-width: none; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .container { padding: 0 16px; }
  .hero__inner { padding-top: 56px; padding-bottom: 64px; gap: 40px; }
  .brand__tag { display: none; }
  .brand__logo { width: 52px; height: 52px; }
  .float-card { padding: 10px 14px; }
  .float-card--light { bottom: 0; }
  .float-card--red { top: 0; }
  .about__photo { min-height: 300px; }
  .fact { padding: 20px; min-height: 0; }
  .checks { grid-template-columns: minmax(0, 1fr); }
  .form, .legal__body { padding: 24px; }
  .brands__list { font-size: 18px; gap: 10px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
