/* Fairlead Systems theme. Loaded after the shared engine (base.css, deck.css), which is
   copied unchanged from the personal deck. Everything company-specific lives here. */
:root {
  --bg: #0b1824; --bg-2: #0F1F2D; --card: #13293a; --card-2: #173247; --line: #244158;
  --text: #eef4f8; --muted: #9db1c1;
  --cyan: #4fb3d6;      /* accent, lightened from #1F8FB5 for text on ink */
  --green: #3cc79a;     /* proof and WhatsApp */
  --magenta: #e07a5f;   /* problems only */
  --violet: #8FA3B3;    /* brand muted */
  --amber: #e3b04b;     /* certificates */
  --body: "Inter", "Noto Kufi Arabic", system-ui, sans-serif;
  --display: "Inter", "Noto Kufi Arabic", system-ui, sans-serif;
}
body, .en, svg text { font-family: var(--body); }
h1, h2, h3, .kicker { letter-spacing: 0; }
h1 { font-size: 104px; }
.slide {
  background:
    radial-gradient(900px 600px at 88% 8%, rgba(31,143,181,.16), transparent 60%),
    radial-gradient(800px 600px at 6% 96%, rgba(143,163,179,.08), transparent 60%),
    linear-gradient(160deg, #0F1F2D, #0a1520 60%);
}
.kicker::before, .progress { background: #1F8FB5; }
.stat .num, .nums .v { background: linear-gradient(270deg, #4fb3d6, #3cc79a); -webkit-background-clip: text; background-clip: text; }
.lead, .cover .tagline, .bullets li, .stat .sub, .dl p, .prj p, .offer li, .guarantees p, .sec p, .dom p, .demo-link p { color: #c8d6e0; }
.tb-name svg { height: 34px; width: auto; display: block; }
.lang { font-family: var(--body); font-weight: 700; font-size: 14px; color: var(--text) !important; text-decoration: none;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
.lang:hover { border-color: var(--cyan); }
.trust { margin-top: 18px; font-size: 22px; color: var(--muted); }
.trust b { color: var(--green); font-weight: 700; }
.legal { margin-top: 26px; font-size: 18px; color: var(--muted); line-height: 1.7; }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 40px; }
.person { padding: 34px 36px; display: flex; flex-direction: column; gap: 10px; }
.person h3 { font-size: 34px; margin: 0; }
.person .role { margin: 0; color: var(--cyan); font-size: 22px; font-weight: 700; }
.person p { margin: 0; font-size: 22px; color: #c8d6e0; line-height: 1.6; }
.company-box { margin-top: 26px; padding: 26px 32px; border-radius: 22px; border: 1px solid var(--line); background: rgba(19,41,58,.85); font-size: 21px; line-height: 1.8; color: #c8d6e0; }
.company-box b { color: var(--text); }
.cert-owner { margin: 22px 0 0; font-size: 19px; color: var(--muted); }
@media (max-width: 899px) {
  h1 { font-size: 40px; }
  .trust { font-size: 13.5px; margin-top: 12px; }
  .legal { font-size: 12px; }
  .team { grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
  .person { padding: 16px; gap: 6px; }
  .person h3 { font-size: 18px; } .person .role { font-size: 14px; } .person p { font-size: 13.5px; }
  .company-box { font-size: 12.5px; padding: 14px; margin-top: 14px; }
  .tb-name svg { height: 28px; }
  .lang { font-size: 12px; padding: 4px 10px; }
  .cert-owner { font-size: 12.5px; }
}

/* ---------- English (left-to-right) mirror of the RTL engine ---------- */
[dir="ltr"] .kicker::before { order: 0; }
[dir="ltr"] .growx { transform-origin: left center; }
[dir="ltr"] .growx.from-left { transform-origin: right center; }
[dir="ltr"] .bullets li { padding-right: 0; padding-left: 46px; }
[dir="ltr"] .bullets li::before { right: auto; left: 0; }
[dir="ltr"] .stat .num { text-align: left; }
[dir="ltr"] .chips { justify-content: flex-start; }
[dir="ltr"] .family li .en, [dir="ltr"] .dom-h .en { text-align: left; }
[dir="ltr"] .offer li { padding-right: 0; padding-left: 26px; }
[dir="ltr"] .offer li::before { right: auto; left: 0; }
[dir="ltr"] .badge { right: auto; left: 30px; }
[dir="ltr"] .downloads { right: auto; left: 120px; }
[dir="ltr"] .slide .pg { padding-right: 0; border-right: 0; padding-left: 18px; border-left: 1px solid var(--line); }
[dir="ltr"] .progress { right: auto; left: 0; }
[dir="ltr"] .wa-float { left: auto; right: 22px; }
[dir="ltr"] .lead, [dir="ltr"] .cover .tagline { font-weight: 400; }
@media (max-width: 899px) {
  [dir="ltr"] .bullets li { padding-left: 26px; }
  [dir="ltr"] .offer li { padding-left: 18px; }
  [dir="ltr"] .badge { left: 16px; }
  [dir="ltr"] .wa-float { right: 14px; left: auto; }
  [dir="ltr"] .m-chain li { padding: 11px 14px 11px 44px; }
  [dir="ltr"] .m-chain li::before { right: auto; left: 12px; }
  [dir="ltr"] .m-tl { padding: 0 0 0 22px; border-right: 0; border-left: 2px solid var(--violet); }
  [dir="ltr"] .m-tl li::before { right: auto; left: -30px; }
  [dir="ltr"] .m-tl .y { text-align: left; }
}
.guarantees.g6 { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.guarantees.g6 .g { flex-direction: column; gap: 14px; padding: 30px; }
.guarantees.g6 h3 { font-size: 30px; }
.guarantees.g6 p { font-size: 22px; margin-top: 4px; }
.projects.p4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 899px) {
  .guarantees.g6 { grid-template-columns: 1fr; gap: 10px; }
  .guarantees.g6 .g { flex-direction: row; padding: 16px; gap: 12px; }
  .guarantees.g6 h3 { font-size: 16px; } .guarantees.g6 p { font-size: 13.5px; }
  .projects.p4 { grid-template-columns: 1fr; }
}

/* ---------- fit fixes ---------- */
@media (min-width: 900px) {
  [data-title="Contact"] .downloads { bottom: 150px; }
  [data-title="Contact"] .legal { position: absolute; bottom: 92px; right: 120px; left: 120px; margin: 0; font-size: 17px; }
  .offers { margin-top: 26px; gap: 22px; }
  .offer { padding: 28px 28px 22px; gap: 8px; }
  .offer h3 { font-size: 29px; }
  .offer li { font-size: 20px; }
  .offer ul { gap: 7px; }
  [data-title="Offers"] .cta-row { margin-top: 26px; }
  [dir="ltr"] .offer li { font-size: 18.5px; }
  [dir="ltr"] .offer h3 { font-size: 26px; }
  [dir="ltr"] .sectors { gap: 14px; margin-top: 26px; }
  [dir="ltr"] .sec { padding: 16px 18px; gap: 14px; }
  [dir="ltr"] .sec h3 { font-size: 21px; }
  [dir="ltr"] .sec p { font-size: 16.5px; }
  [dir="ltr"] .sec svg { width: 40px; height: 40px; }
  [dir="ltr"] [data-title="Audience"] .more { margin-top: 18px; font-size: 21px; }
  [dir="ltr"] [data-title="Audience"] .cta-in { margin-top: 16px; }
  [data-title="Reach"] .cta-in { margin-top: 12px; }
}
@media (min-width: 900px) {
  [data-title="Contact"] .downloads { position: static; margin-top: 22px; }
  [data-title="Contact"] .legal { position: static; margin-top: 18px; font-size: 16px; }
  [data-title="Contact"] .contact-list { gap: 16px; margin-top: 26px; }
  [data-title="Contact"] .contact-list a, [data-title="Contact"] .contact-list div { font-size: 30px; }
  [data-title="Contact"] .contact-list .ico { width: 60px; height: 60px; }
  [data-title="Numbers"] .stats:not(.stats-4) { gap: 22px; margin-top: 30px; }
  [data-title="Numbers"] .stats:not(.stats-4) .stat { padding: 24px 30px 22px; min-height: 0; }
  [data-title="Numbers"] .stats:not(.stats-4) .num { font-size: 72px; }
  [data-title="Numbers"] .stats:not(.stats-4) .cap { font-size: 23px; margin-top: 12px; }
  [data-title="Numbers"] .stats:not(.stats-4) .sub { font-size: 18px; }
}
.tb-name svg { direction: ltr; width: 85px; height: 34px; overflow: visible; }
@media (max-width: 899px) {
  .tb-name svg { width: 70px; height: 28px; }
  .topbar nav a:not(.lang):nth-last-child(n+3) { display: none; }
}
.topbar nav { align-items: center; }
.sectors.s6 { grid-template-columns: repeat(3, 1fr); }
.sectors.s6 .sec { padding: 26px 28px; }
.more a, .trust a { color: var(--cyan); }
@media (max-width: 899px) { .sectors.s6 { grid-template-columns: 1fr; } }
@media (min-width: 900px) {
  [data-title="Contact"] h2 { white-space: nowrap; }
  [data-title="Contact"] .trust { margin: 14px 0 0; font-size: 18px; }
  [data-title="Contact"] .contact-list { gap: 12px; margin-top: 18px; }
}
/* UK/Europe sections */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 28px; }
.story .card { padding: 30px 34px; }
.story h3 { font-size: 30px; margin-bottom: 14px; }
.story .bad h3 { color: var(--magenta); } .story .good h3 { color: var(--green); }
.story ol { margin: 0; padding-inline-start: 26px; display: grid; gap: 12px; }
.story li { font-size: 22px; line-height: 1.45; color: #c8d6e0; }
.note { margin-top: 18px; font-size: 18px; color: #9fb2c0; }
.svc6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }
.svc6 .s6c { padding: 24px 28px; }
.svc6 .s6c svg { width: 34px; height: 34px; color: var(--cyan); }
.svc6 h3 { font-size: 26px; margin: 10px 0 6px; }
.svc6 p { font-size: 18.5px; line-height: 1.45; color: #c8d6e0; margin: 0; }
.dont { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.dont li { font-size: 26px; line-height: 1.4; padding-inline-start: 40px; position: relative; color: #dbe5ec; }
.dont li::before { content: "✕"; position: absolute; inset-inline-start: 0; color: var(--magenta); font-weight: 700; }
.seasons { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 30px; }
.seasons .card { padding: 34px 38px; }
.seasons svg { width: 40px; height: 40px; color: var(--cyan); }
.seasons h3 { font-size: 34px; margin: 12px 0 10px; }
.seasons p { font-size: 23px; line-height: 1.55; color: #c8d6e0; margin: 0; }
@media (max-width: 899px) {
  .story, .svc6, .seasons { grid-template-columns: 1fr; gap: 12px; }
  .story li, .svc6 p, .seasons p, .dont li { font-size: 14.5px; }
  .story h3, .svc6 h3, .seasons h3 { font-size: 18px; }
  .dont li { padding-inline-start: 26px; }
}
@media (min-width: 900px) {
  .story { margin-top: 36px; } .story .card { padding: 36px 40px; }
  .story h3 { font-size: 34px; } .story li { font-size: 26px; } .story ol { gap: 16px; }
  .svc6 { margin-top: 34px; gap: 24px; } .svc6 .s6c { padding: 30px 32px; }
  .svc6 svg { width: 40px !important; height: 40px !important; }
  .svc6 h3 { font-size: 31px; } .svc6 p { font-size: 22px; }
  .dont { gap: 22px; margin-top: 40px; } .dont li { font-size: 31px; }
  .seasons .card { padding: 44px 48px; } .seasons h3 { font-size: 40px; } .seasons p { font-size: 28px; }
  .note { font-size: 19px; }
}
