/* Visual refresh layer (Nov 2026).
   Loaded after site.css. To return to the previous look, remove the refresh.css <link> in src/layout.html and rebuild. */
:root {
  --font-head: "Cairo", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --grad-blue: linear-gradient(135deg, #1f3fe0 0%, #4338ca 100%);
  --grad-red: linear-gradient(135deg, #e3242b 0%, #ff5f3a 100%);
  --grad-brand: linear-gradient(90deg, #1f3fe0, #7c3aed 55%, #e3242b);
  --glow-blue: 0 14px 34px rgba(31, 63, 224, .22);
  --glow-red: 0 14px 34px rgba(227, 36, 43, .26);
}

/* Typography: Cairo everywhere – fuller, bolder Arabic letterforms, a size up */
:root { --muted: #2b3354; --font: "Cairo", "IBM Plex Sans Arabic", system-ui, sans-serif; }
body { font-family: var(--font); font-size: 18px; font-weight: 600; line-height: 1.75; color: #0b1230; }
.lead { font-size: 1.2rem; font-weight: 600; }
.card p, .go__text span, .bcard__desc, .pillar p, .branch__facts, .stat__label, .timeline p, .faq details p, .form__note, .quote__by span, .steps span, .ticks li, .btypes__list span, .outside__text p { font-size: 1.08rem; font-weight: 600; color: var(--muted); }
.card h3, .pillar h3, .branch__name, .steps strong { font-size: 1.32rem; font-weight: 800; }
.steps strong { font-family: var(--font-head); color: var(--navy); }
.steps--light span { color: var(--muted); }
.service-band .steps span, .steps:not(.steps--light) span { color: #fff2f0; }
.prose p, .prose li { font-weight: 600; }
.site-footer { color: #c9d0ee; font-size: 1rem; }
.btn { font-family: var(--font-head); }
@media (max-width: 640px) { body { font-size: 17px; } .card p, .pillar p, .steps span { font-size: 1.02rem; } }
h1, h2, h3, h4, .stat__num, .timeline__year, .pillar__num, .reviews__num, .rcard__num, .bcard__name { font-family: var(--font-head); }
h1 { font-weight: 800; letter-spacing: -.005em; }
h2 { font-weight: 800; }
h3 { font-weight: 700; }
.lead { font-weight: 500; }
.lang-en h1, .lang-en h2 { letter-spacing: -.015em; }

/* Section labels become colored pills */
.eyebrow { padding: 5px 14px; border-radius: 999px; background: var(--blue-50); letter-spacing: .02em; }
.eyebrow--red { background: var(--red-50); }
.page-hero .eyebrow, .hero .eyebrow, .service-band .eyebrow { background: rgba(255, 255, 255, .12); }
.section__head h2 { position: relative; padding-bottom: 14px; }
.section__head h2::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 64px; height: 4px; border-radius: 999px; background: var(--grad-brand); }
.section__head--center h2::after { inset-inline-start: 50%; translate: -50% 0; }
[dir="rtl"] .section__head--center h2::after { translate: 50% 0; }

/* Buttons: gradients and a soft shine on hover */
.btn { position: relative; overflow: hidden; font-weight: 700; }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; inset-inline-start: -60%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); transition: inset-inline-start .6s; pointer-events: none; }
.btn:hover::after { inset-inline-start: 120%; }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary { background: var(--grad-blue); box-shadow: var(--glow-blue); }
.btn--red { background: var(--grad-red); box-shadow: var(--glow-red); }
.btn--wa { background: linear-gradient(135deg, #128c4a, #19a85a); }
.btn--primary:hover { background: var(--grad-blue); filter: brightness(1.08); }
.btn--red:hover { background: var(--grad-red); filter: brightness(1.06); }

/* Navigation: gradient underline on hover */
.site-nav ul a { position: relative; font-weight: 600; }
@media (min-width: 1025px) {
  .site-nav ul a::after { content: ""; position: absolute; inset-inline: 10px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--grad-brand); transform: scaleX(0); transition: transform .25s; }
  .site-nav ul a:hover::after, .site-nav ul a.is-active::after { transform: scaleX(1); }
}
.brand { background: var(--grad-blue); color: #fff; box-shadow: var(--glow-blue); }
.brand:hover, .brand.is-active { filter: brightness(1.1); }

/* Icon tiles: gradient fill, white icon */
.card__icon, .go__icon, .path__icon { background: var(--grad-blue); color: #fff; box-shadow: var(--glow-blue); transition: transform .25s; }
.card__icon--red, .go--red .go__icon, .path--red .path__icon { background: var(--grad-red); color: #fff; box-shadow: var(--glow-red); }

/* Cards: lift, gradient edge and icon bounce on hover */
.card, .go, .bcard, .pillar, .stat, .branch, .timeline li, .faq details { transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover, .go:hover, .pillar:hover, .stat:hover, .timeline li:hover { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(10, 22, 64, .14); border-color: #c7d0fa; }
.card:hover .card__icon, .go:hover .go__icon { transform: scale(1.08) rotate(-4deg); }
.card, .go { position: relative; overflow: hidden; }
.card::before, .go::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: var(--grad-brand); transform: scaleX(0); transform-origin: var(--origin, left); transition: transform .35s; }
[dir="rtl"] .card::before, [dir="rtl"] .go::before { --origin: right; }
.card:hover::before, .go:hover::before { transform: scaleX(1); }
.go__text strong { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.faq summary { font-family: var(--font-head); font-weight: 700; }
.faq details[open] { border-color: #c7d0fa; box-shadow: 0 16px 36px rgba(31, 63, 224, .1); }

/* Numbers in color */
.stat__num, .timeline__year { background: var(--grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.timeline li:last-child .timeline__year { background: var(--grad-red); -webkit-background-clip: text; background-clip: text; }
.stat { position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; inset-inline-end: -30px; bottom: -30px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, rgba(31, 63, 224, .12), transparent 70%); }

/* Heroes: gently moving light */
.page-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px 260px at var(--gx, 80%) 20%, rgba(124, 58, 237, .28), transparent 70%); animation: hero-glow 12s ease-in-out infinite alternate; }
.page-hero__in { position: relative; z-index: 1; }
@keyframes hero-glow { from { --gx: 80%; opacity: .7; } to { --gx: 30%; opacity: 1; } }
.hero h1 em { background: linear-gradient(90deg, #ffd45c, #ffb020); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* "Ready for any vehicle" boxes in brand red */
.ready__list li { background: var(--grad-red); border: 1px solid rgba(255, 255, 255, .28); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; box-shadow: 0 12px 28px rgba(150, 10, 20, .3); transition: transform .25s, box-shadow .25s; }
.ready__list li:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 18px 36px rgba(150, 10, 20, .4); }
.ready__list .ic { color: #fff; width: 30px; height: 30px; flex: none; }
.ready__list li:hover .ic { animation: icon-nudge .5s ease; }
@keyframes icon-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-4px); } }
[dir="rtl"] .ready__list li:hover .ic { animation-name: icon-nudge-rtl; }
@keyframes icon-nudge-rtl { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }

/* Brand cards, pillars and quotes */
.bcard__origin { background: var(--grad-blue); color: #fff; }
.pillar__num { font-weight: 800; }
.quote { transition: transform .25s, box-shadow .25s; }
.quote:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(10, 22, 64, .14); }
.quote__stars { filter: drop-shadow(0 2px 6px rgba(247, 181, 0, .45)); }

/* Footer accent */
.site-footer { position: relative; }
.site-footer::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: var(--grad-brand); }

/* Scroll reveal (classes are added by site.js only when motion is allowed) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .page-hero::after { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* Menu fit with the wider Cairo letterforms */
@media (min-width: 1025px) { .site-nav ul a { font-size: .85rem; padding: 8px 6px; } }
@media (min-width: 1025px) and (max-width: 1140px) { .site-nav ul a { font-size: .8rem; padding: 8px 4px; } .site-nav { gap: 6px; } }


/* About: red pill eyebrow (matches the red boxes) */
.eyebrow.eyebrow--pill-red { background: var(--grad-red); color: #fff; font-size: 1.15rem; font-weight: 800; padding: 8px 22px; border: 1px solid rgba(255, 255, 255, .28); box-shadow: 0 12px 28px rgba(150, 10, 20, .25); }
