/* ═══════════════════════════════════════════════════════════════
   ALmgrat — corporate theme, built from the logo.
   The logo is three blues on white (cyan #0A8FEA → royal #1F49E0 →
   violet #5B3FE0), so the site is too: white surfaces, deep navy
   text, one brand blue for action, the full three-stop gradient
   only where the logo itself would be. Loaded AFTER main.css and
   rtl.css: overrides the shared tokens/primitives site-wide, then
   defines the homepage (hm-*) components.
═══════════════════════════════════════════════════════════════ */
:root {
    --brand:          #1F49E0;
    --brand-700:      #1838B4;
    --brand-50:       #F1F4FE;
    --brand-100:      #DFE6FC;
    --sky:            #0A8FEA;
    --violet:         #5B3FE0;
    --navy:           #0A1633;
    --line:           #E4E8F0;
    --surface:        #F6F8FB;

    --primary:        var(--brand);
    --primary-light:  #4A6CF0;
    --accent:         var(--violet);
    --cyan:           var(--sky);
    --dark:           var(--navy);
    --bg:             #FFFFFF;
    --bg-2:           var(--surface);
    --bg-3:           #EEF1F6;
    --bg-4:           #E3E8F2;
    --card-bg:        #FFFFFF;
    --border:         var(--line);
    --border-hover:   #C5D0F4;
    --text:           #3A4461;
    --text-muted:     #5F6982;
    --text-dim:       #8C94A8;
    --gradient-1:     linear-gradient(120deg, #0A8FEA 0%, #1F49E0 55%, #5B3FE0 100%);
    --shadow-sm:      0 1px 2px rgba(10,22,51,.05);
    --shadow-md:      0 6px 18px rgba(10,22,51,.07);
    --shadow-lg:      0 18px 44px rgba(10,22,51,.10);
    --shadow-card:    0 1px 2px rgba(10,22,51,.04);
    --glow-primary:   none;
    --radius-sm:      8px;
    --radius-md:      12px;
    --radius-lg:      14px;
    --radius-xl:      20px;
    --transition:     all .2s ease;
    --font-main:      'Tajawal', 'Cairo', system-ui, sans-serif;
}

/* ── base ───────────────────────────────────────────────────── */
body { background: #fff; color: var(--text); font-size: 16.5px; line-height: 1.8; }
body::before, .container::before { content: none !important; }
h1, h2, h3, h4, h5, h6 { color: var(--navy); font-weight: 800; letter-spacing: 0; }
a:hover { color: var(--brand-700); }
::selection { background: var(--brand-100); color: var(--navy); }

.section-tag {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px;
    padding: 0; background: none; border: 0; border-radius: 0;
    font-family: var(--font-main); font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none;
    color: var(--brand);
}
.section-tag::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: currentColor; animation: none; }
.section-title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; line-height: 1.3; color: var(--navy); }
.section-subtitle { font-size: 16.5px; color: var(--text-muted); }
.gradient-text { background: none; -webkit-text-fill-color: currentColor; color: var(--brand); }

/* ── buttons: one solid blue, one quiet outline ─────────────── */
.btn { border-radius: 10px; font-weight: 700; letter-spacing: 0; box-shadow: none; }
.btn-primary { background: var(--brand); border: 1px solid var(--brand); color: #fff; box-shadow: none; }
.btn-primary:hover { background: var(--brand-700); border-color: var(--brand-700); color: #fff; transform: none; box-shadow: none; }
.btn-primary::after, .btn-green::after { content: none; }
.btn-outline { background: #fff; border: 1px solid #CDD4E2; color: var(--navy); }
.btn-outline:hover { background: #fff; border-color: var(--navy); color: var(--navy); transform: none; box-shadow: none; }
.btn-ghost { color: var(--navy); }
.btn-ghost:hover { background: var(--surface); color: var(--navy); }
.btn-white:hover { transform: none; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

/* ── header: always solid white ─────────────────────────────── */
.site-header, .site-header.scrolled { background: #fff; border-bottom: 1px solid var(--line); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.logo-img { filter: none; }
.site-logo:hover .logo-img { transform: none; filter: none; }
.logo-name-ar { background: none; -webkit-text-fill-color: currentColor; color: var(--navy); font-size: 19px; font-weight: 800; }
.logo-name-en { font-family: var(--font-main); letter-spacing: 2.5px; font-weight: 700; color: var(--text-dim); }
.nav-menu li a { border-radius: 0; padding: 24px 14px; font-size: 15px; font-weight: 700; color: var(--text); position: relative; }
.nav-menu li a:hover { background: none; color: var(--brand); }
.nav-menu li.current-menu-item > a, .nav-menu li.current-page-ancestor > a { background: none; color: var(--brand); }
.nav-menu li.current-menu-item > a::after { content: ''; position: absolute; inset-inline: 14px; bottom: -1px; height: 2px; background: var(--brand); }
.mega-panel .mega-item, .mega-panel .mega-all { padding-block: 10px; }
.mobile-menu .nav-menu li a { padding: 12px 14px; }
.mobile-menu .nav-menu li.current-menu-item > a::after { content: none; }

/* ── cards & inner-page hero ────────────────────────────────── */
.card { border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: none; }
.card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-md); transform: none; }
.card::before { content: none; }
.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.page-hero::before { content: none; }
.page-hero-title { font-weight: 800; }

/* ── footer: navy, plain columns ────────────────────────────── */
.site-footer { background: var(--navy); border: 0; border-image: none; border-radius: 0; }
.site-footer::before { content: none; }
.footer-col-title { color: #fff; font-weight: 800; }
.footer-links a { color: #A7B0C6; }
.footer-links a:hover { color: #fff; }
.footer-logo-name-ar { background: none; -webkit-text-fill-color: currentColor; color: #fff; }
.newsletter-form button:hover { background: #fff; color: var(--navy); transform: none; box-shadow: none; }

/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE
═══════════════════════════════════════════════════════════════ */
.hm-section { padding: 104px 0; }
.hm-section.is-tinted { background: var(--surface); border-block: 1px solid var(--line); }
.hm-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 52px; }
.hm-head .section-title { margin: 0; }
.hm-head-sub { color: var(--text-muted); font-size: 17px; line-height: 1.9; margin: 0; }
.hm-head-sub .btn { margin-top: 0; }
.hm-head.is-action { align-items: center; }
.hm-head.is-action > :last-child { justify-self: end; }
.hm-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--brand-50); color: var(--brand); }
.hm-icon svg { width: 24px; height: 24px; }
.hm-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand); }
.hm-link svg { width: 18px; height: 18px; transition: transform .2s ease; }
.hm-link:hover svg { transform: translateX(-4px); }

/* hero */
.hm-hero { padding: 136px 0 88px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hm-hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.hm-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--brand); margin-bottom: 22px; }
.hm-eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.hm-hero-title { font-size: clamp(32px, 3.7vw, 52px); line-height: 1.3; font-weight: 800; color: var(--navy); margin-bottom: 22px; }
.hm-hero-title em { font-style: normal; color: var(--brand); }
.hm-hero-sub { font-size: 18.5px; line-height: 1.9; color: var(--text-muted); max-width: 560px; margin-bottom: 34px; }
.hm-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }
.hm-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 0; border-top: 1px solid var(--line); padding-top: 26px; }
.hm-facts div { padding-inline: 0 32px; margin-inline-end: 32px; border-inline-end: 1px solid var(--line); }
.hm-facts div:last-child { border: 0; margin: 0; padding: 0; }
.hm-facts dt { font-size: 30px; font-weight: 800; color: var(--navy); line-height: 1.2; }
.hm-facts dt small { font-size: .6em; font-weight: 700; }
.hm-facts dd { margin: 4px 0 0; font-size: 14.5px; color: var(--text-muted); }

.hm-hero-visual { position: relative; aspect-ratio: 1 / .92; }
.hm-orbits { position: absolute; inset: -6% -10%; width: 120%; height: 112%; pointer-events: none; }
.hm-orbits .orb { fill: none; stroke: url(#hmOrbGrad); stroke-width: 1.6; opacity: .55; }
.hm-orbits .dot { fill: url(#hmOrbGrad); }
.hm-orbits .spin { transform-origin: 280px 280px; animation: hmSpin 90s linear infinite; }
.hm-orbits .spin.is-rev { animation-duration: 120s; animation-direction: reverse; }
@keyframes hmSpin { to { transform: rotate(360deg); } }
.hm-shot { position: absolute; margin: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(10,22,51,.28); }
.hm-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-shot--main { inset: 9% 3% 17% 10%; }
.hm-shot--side { width: 46%; aspect-ratio: 3 / 2.15; bottom: 2%; left: 0; display: flex; flex-direction: column; }
.hm-shot--side img { flex: 1; min-height: 0; object-position: top; }
.hm-shot-bar { display: flex; gap: 5px; padding: 8px 10px; border-bottom: 1px solid var(--line); background: var(--surface); flex-shrink: 0; }
.hm-shot-bar i { width: 7px; height: 7px; border-radius: 50%; background: #CFD5E2; }
.hm-shot-cap { position: absolute; top: 3%; right: 4%; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow-md); color: var(--navy); font-size: 14px; line-height: 1.4; }
.hm-shot-cap:hover { color: var(--navy); border-color: var(--border-hover); }
.hm-shot-cap img { width: 30px; height: 30px; }
.hm-shot-cap b { display: block; font-weight: 800; }
.hm-shot-cap small { color: var(--text-muted); font-size: 12.5px; }

/* services */
.hm-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.hm-svc { display: flex; flex-direction: column; padding: 34px 28px 28px; border-inline-start: 1px solid var(--line); transition: background .2s ease; }
.hm-svc:first-child { border-inline-start: 0; }
.hm-svc:hover { background: #FBFCFE; }
.hm-svc .hm-icon { margin-bottom: 22px; }
.hm-svc h3 { font-size: 20px; margin-bottom: 10px; }
.hm-svc p { font-size: 15.5px; color: var(--text-muted); line-height: 1.85; margin-bottom: 18px; }
.hm-svc ul { list-style: none; margin: 0 0 24px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.hm-svc li { font-size: 15px; }
.hm-svc li a { color: var(--text); display: flex; align-items: center; gap: 8px; }
.hm-svc li a::before, .hm-svc li span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); flex-shrink: 0; }
.hm-svc li span { display: flex; align-items: center; gap: 8px; color: var(--text); }
.hm-svc li a:hover { color: var(--brand); }
.hm-svc .hm-link { margin-top: auto; }

/* work */
.hm-work { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-auto-rows: auto; gap: 28px 24px; }
.hm-work-item { display: block; color: var(--navy); }
.hm-work-item:hover { color: var(--navy); }
.hm-work-item.is-lead { grid-row: span 2; }
.hm-work-img { border-radius: 14px; overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); aspect-ratio: 3 / 2; }
.hm-work-item.is-lead .hm-work-img { aspect-ratio: auto; height: calc(100% - 74px); min-height: 320px; }
.hm-work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hm-work-item:hover .hm-work-img img { transform: scale(1.03); }
.hm-work-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; }
.hm-work-meta h3 { font-size: 17.5px; margin: 0; }
.hm-work-item:hover h3 { color: var(--brand); }
.hm-work-meta span { font-size: 13.5px; color: var(--text-muted); white-space: nowrap; }

/* process */
.hm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.hm-steps li { border-top: 2px solid var(--line); padding-top: 24px; position: relative; }
.hm-steps li::before { content: ''; position: absolute; top: -2px; right: 0; width: 56px; height: 2px; background: var(--brand); }
.hm-steps b { display: block; font-size: 14px; font-weight: 800; color: var(--brand); margin-bottom: 10px; }
.hm-steps h3 { font-size: 19px; margin-bottom: 8px; }
.hm-steps p { font-size: 15.5px; color: var(--text-muted); line-height: 1.85; margin: 0; }

/* since 2004 */
.hm-since-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 80px; align-items: start; }
.hm-since-year { font-size: clamp(72px, 9vw, 120px); font-weight: 900; line-height: 1; color: var(--brand); margin-bottom: 18px; letter-spacing: -1px; }
.hm-since-copy > p { font-size: 17px; color: var(--text-muted); line-height: 1.95; margin-bottom: 28px; max-width: 520px; }
.hm-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hm-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--navy); font-weight: 600; }
.hm-checks svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--brand); margin-top: 3px; }
.hm-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.hm-timeline::before { content: ''; position: absolute; top: 10px; bottom: 10px; right: 54px; width: 1px; background: var(--border-hover); }
.hm-timeline li { display: grid; grid-template-columns: 54px 1fr; gap: 32px; padding: 14px 0; position: relative; }
.hm-timeline li::after { content: ''; position: absolute; right: 50px; top: 25px; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); }
.hm-timeline li:last-child::after { background: var(--brand); }
.hm-timeline b { font-size: 16px; font-weight: 800; color: var(--navy); padding-top: 2px; }
.hm-timeline strong { display: block; font-size: 17px; color: var(--navy); }
.hm-timeline small { display: block; font-size: 14.5px; color: var(--text-muted); }

/* testimonial */
.hm-quote { max-width: 860px; margin: 0 auto; text-align: center; }
.hm-quote-mark { width: 44px; height: 44px; color: var(--brand); margin: 0 auto 18px; opacity: .9; }
.hm-quote blockquote { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.75; color: var(--navy); font-weight: 600; margin: 0 0 26px; transition: opacity .3s ease; }
.hm-quote figcaption { font-size: 15px; color: var(--text-muted); transition: opacity .3s ease; }
.hm-quote figcaption strong { color: var(--navy); font-weight: 800; }
.hm-quote.is-fading blockquote, .hm-quote.is-fading figcaption { opacity: 0; }
.hm-quote-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.hm-quote-dots button { width: 8px; height: 8px; border-radius: 50%; background: #CFD5E2; padding: 0; }
.hm-quote-dots button.is-on { background: var(--brand); width: 22px; border-radius: 4px; }

/* start a request */
.hm-start-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg); }
.hm-start-info { background: var(--brand); color: #fff; padding: 52px 48px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.hm-start-info::after { content: ''; position: absolute; width: 420px; height: 240px; left: -160px; bottom: -110px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; transform: rotate(-28deg); }
.hm-start-info::before { content: ''; position: absolute; width: 520px; height: 300px; left: -230px; bottom: -150px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; transform: rotate(-28deg); }
.hm-start-info .section-tag { color: #fff; }
.hm-start-info h2 { color: #fff; font-size: clamp(28px, 3vw, 38px); line-height: 1.35; margin-bottom: 16px; }
.hm-start-info > p { color: rgba(255,255,255,.85); font-size: 16.5px; margin-bottom: 26px; }
.hm-start-info .hm-checks li { color: #fff; font-weight: 600; }
.hm-start-info .hm-checks svg { color: #fff; }
.hm-direct { margin-top: auto; padding-top: 34px; display: grid; gap: 8px; position: relative; z-index: 1; }
.hm-direct span { font-size: 14px; color: rgba(255,255,255,.72); }
.hm-direct a { color: #fff; font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; gap: 10px; }
.hm-direct a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.hm-direct svg { width: 18px; height: 18px; opacity: .85; }

.rq { padding: 44px 48px; display: flex; flex-direction: column; }
.rq [hidden] { display: none !important; }
.rq-progress { height: 4px; border-radius: 4px; background: var(--bg-3); overflow: hidden; }
.rq-progress i { display: block; height: 100%; width: 33%; background: var(--brand); border-radius: 4px; transition: width .35s ease; }
.rq-count { font-size: 13.5px; color: var(--text-muted); margin: 12px 0 22px; }
.rq-count b { color: var(--navy); }
.rq-step { border: 0; margin: 0; padding: 0; display: none; }
.rq-step.is-on { display: block; animation: hmIn .3s ease; }
@keyframes hmIn { from { opacity: 0; transform: translateY(6px); } }
.rq-step legend { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 18px; padding: 0; }
.rq-needs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rq-need { position: relative; cursor: pointer; }
.rq-need input { position: absolute; opacity: 0; pointer-events: none; }
.rq-need span { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; font-weight: 700; font-size: 15.5px; color: var(--navy); transition: border-color .15s ease, background .15s ease; }
.rq-need span i { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--brand-50); color: var(--brand); flex-shrink: 0; }
.rq-need span i svg { width: 20px; height: 20px; }
.rq-need:hover span { border-color: var(--border-hover); }
.rq-need input:checked + span { border-color: var(--brand); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand); }
.rq-need input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.rq input[type=text], .rq input[type=email], .rq input[type=tel], .rq textarea, .rq select {
    width: 100%; font: inherit; font-size: 15.5px; color: var(--navy); background: #fff;
    border: 1px solid #D5DBE7; border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; transition: border-color .15s ease, box-shadow .15s ease;
}
.rq textarea { resize: vertical; min-height: 130px; }
.rq input:focus, .rq textarea:focus, .rq select:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31,73,224,.12); }
.rq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* spam trap: visually hidden in place (a far off-screen offset in RTL blanks the page in Chromium) */
.rq-hp { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; border: 0 !important; overflow: hidden !important; clip-path: inset(50%) !important; opacity: 0 !important; }
.rq-error { min-height: 22px; color: #C2410C; font-size: 14px; font-weight: 600; margin: 6px 0 0; }
.rq-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; }
.rq-nav .rq-next { margin-inline-start: auto; }
.rq-done { text-align: center; padding: 36px 0; }
.rq-done-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin: 0 auto 18px; }
.rq-done-mark svg { width: 30px; height: 30px; }
.rq-done h3 { font-size: 24px; margin-bottom: 8px; }
.rq-done p { color: var(--text-muted); }


@media (prefers-reduced-motion: reduce) {
    .hm-orbits .spin { animation: none; }
}

/* ── responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .hm-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
    .hm-hero-visual { max-width: 640px; width: 100%; margin-inline: auto; }
    .hm-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hm-svc:nth-child(3) { border-inline-start: 0; }
    .hm-svc:nth-child(n+3) { border-top: 1px solid var(--line); }
    .hm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
    .hm-since-grid { gap: 48px; grid-template-columns: 1fr; }
    .hm-start-panel { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .hm-section { padding: 72px 0; }
    .hm-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 36px; }
    .hm-head.is-action > :last-child { justify-self: start; }
    .hm-work { grid-template-columns: 1fr 1fr; }
    .hm-work-item.is-lead { grid-column: 1 / -1; grid-row: auto; }
    .hm-work-item.is-lead .hm-work-img { height: auto; min-height: 0; aspect-ratio: 3 / 2; }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .hm-hero { padding: 116px 0 64px; }
    .hm-hero-sub { font-size: 17px; }
    .hm-hero-actions .btn { flex: 1 1 auto; justify-content: center; }
    .hm-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hm-facts div { padding-inline-end: 12px; margin-inline-end: 12px; }
    .hm-facts dt { font-size: 24px; }
    .hm-facts dd { font-size: 13px; }
    .hm-shot-cap { display: none; }
    .hm-services { grid-template-columns: 1fr; }
    .hm-svc { border-inline-start: 0 !important; }
    .hm-svc + .hm-svc { border-top: 1px solid var(--line); }
    .hm-work { grid-template-columns: 1fr; }
    .hm-steps { grid-template-columns: 1fr; }
    .hm-start-info, .rq { padding: 34px 22px; }
    .rq-needs, .rq-row { grid-template-columns: 1fr; }
    .hm-timeline li { gap: 26px; }
}

/* ═══════════════════════════════════════════════════════════════
   INNER PAGES (pg-*) + the shared components older templates and
   stored page content still use, restyled to the same language.
═══════════════════════════════════════════════════════════════ */
.ui-icon { width: 1em; height: 1em; flex-shrink: 0; }
/* older templates/content fade blocks in on scroll; content must never depend on that */
.animate-up, .animate-up.in-view { opacity: 1; transform: none; transition: none; }

/* page header */
.page-hero { padding: 128px 0 52px; text-align: right; }
.page-hero .container { text-align: right; }
.page-hero .section-tag { margin: 0 0 14px !important; }
.page-hero-title, .page-hero-title.gradient-text { font-size: clamp(32px, 4vw, 50px); font-weight: 800; line-height: 1.3; color: var(--navy); -webkit-text-fill-color: currentColor; background: none; margin: 0 0 14px !important; max-width: 900px; text-align: right !important; }
.page-hero-subtitle { font-size: 18px; line-height: 1.9; max-width: 680px; margin: 0 !important; text-align: right !important; color: var(--text-muted); }
.breadcrumb { font-size: 14px; gap: 10px; margin-bottom: 30px; color: var(--text-dim); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb-sep { opacity: .5; }
.breadcrumb-current { color: var(--navy); font-weight: 600; }
.page-hero + section.section-padding { padding-top: 64px; }
.pg-head-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.pg-section { padding: 88px 0; }
.pg-section.is-tinted { background: var(--surface); border-block: 1px solid var(--line); }
.pg-section.is-tight { padding: 64px 0; }
.pg-narrow { max-width: 860px; margin-inline: auto; }

/* buttons used on brand panels */
.btn-white { background: #fff; color: var(--brand); border: 1px solid #fff; box-shadow: none; }
.btn-white:hover { background: var(--brand-50); color: var(--brand-700); box-shadow: none; }
.btn-ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.btn-green { background: var(--brand); border: 1px solid var(--brand); color: #fff; box-shadow: none; }
.btn-green:hover { background: var(--brand-700); border-color: var(--brand-700); color: #fff; transform: none; box-shadow: none; }

/* closing call to action (new partial + legacy .cta-box) */
.pg-cta, .cta-section { padding: 24px 0 96px; background: none !important; }
.pg-cta-box, .cta-box {
    position: relative; overflow: hidden; border-radius: 20px; border: 0;
    background: var(--brand); color: #fff; box-shadow: none; padding: 52px 56px;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: center; text-align: right;
}
.pg-cta-box::before, .cta-box::before, .pg-cta-box::after, .cta-box::after {
    content: ''; position: absolute; border-radius: 50%; transform: rotate(-28deg); pointer-events: none;
    background: none; animation: none; height: auto; top: auto; right: auto;
}
.pg-cta-box::before, .cta-box::before { width: 560px; height: 300px; left: -220px; bottom: -170px; border: 1px solid rgba(255,255,255,.14); }
.pg-cta-box::after, .cta-box::after { width: 420px; height: 220px; left: -150px; bottom: -120px; border: 1px solid rgba(255,255,255,.2); }
.pg-cta-box h2, .cta-title { color: #fff; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.4; margin: 0 0 8px; }
.pg-cta-box p, .cta-subtitle { color: rgba(255,255,255,.85); font-size: 17px; margin: 0; max-width: 620px; }
.cta-box > * { grid-column: 1; position: relative; z-index: 1; }
.cta-box > .cta-actions { grid-column: 2; grid-row: 1 / span 3; }
.cta-box .section-tag { color: #fff; margin: 0 !important; }
.pg-cta-actions, .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-start; position: relative; z-index: 1; }
.cta-box .btn-primary, .cta-box .btn-green { background: #fff; color: var(--brand); border-color: #fff; box-shadow: none; }
.cta-box .btn-primary:hover, .cta-box .btn-green:hover { background: var(--brand-50); color: var(--brand-700); }
.cta-box .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.cta-box .btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }

/* section headers inside inner pages & stored content */
.section-header { margin-bottom: 40px; }
.section-header.center { text-align: right; }
.section-header.center .section-subtitle { margin: 0; }
.pg-title-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: end; margin-bottom: 44px; }
.pg-title-row .section-title { margin: 0; }
.pg-title-row p { color: var(--text-muted); font-size: 17px; margin: 0; }

/* service rows (/services/) */
.pg-rows { border-top: 1px solid var(--line); }
.pg-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) 200px; gap: 28px; align-items: start; padding: 32px 4px; border-bottom: 1px solid var(--line); color: var(--text); scroll-margin-top: 100px; }
.pg-row:hover { color: var(--text); background: linear-gradient(90deg, transparent, var(--brand-50)); }
.pg-row .hm-icon { margin-top: 2px; }
.pg-row h2 { font-size: 22px; margin: 0 0 6px; }
.pg-row:hover h2 { color: var(--brand); }
.pg-row-tagline { font-size: 14px; font-weight: 700; color: var(--brand); margin-bottom: 4px; }
.pg-row p { color: var(--text-muted); font-size: 16px; margin: 0; max-width: 720px; }
.pg-row-tags { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; padding: 0; list-style: none; }
.pg-row-tags li { font-size: 14.5px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.pg-row-tags li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.pg-row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; padding-top: 4px; }
.pg-row-side small { font-size: 14px; color: var(--text-muted); display: inline-flex; align-items: center; gap: 6px; }
.pg-row-side small .ui-icon { font-size: 16px; }
.pg-row-side .hm-link { font-size: 15px; }

/* card grid (products / projects / blog) */
.pg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.pg-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.pg-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-md); }
.pg-card-img { display: block; aspect-ratio: 3 / 2; background: var(--bg-3); overflow: hidden; border-bottom: 1px solid var(--line); }
.pg-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pg-card:hover .pg-card-img img { transform: scale(1.03); }
.pg-card-body { padding: 22px 22px 8px; flex: 1; }
.pg-card-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--text-muted); margin-bottom: 8px; }
.pg-card-meta b { color: var(--brand); font-weight: 700; }
.pg-card h2, .pg-card h3 { font-size: 19px; margin: 0 0 8px; line-height: 1.5; }
.pg-card h2 a, .pg-card h3 a { color: var(--navy); }
.pg-card h2 a:hover, .pg-card h3 a:hover { color: var(--brand); }
.pg-card p { font-size: 15px; color: var(--text-muted); line-height: 1.85; margin: 0; }
.pg-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 22px 20px; }
.pg-card-foot .btn { padding: 9px 16px; font-size: 14px; }
.pg-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--brand); background: var(--brand-50); border-radius: 6px; padding: 3px 10px; }

/* FAQ accordion */
.pg-faq { border-top: 1px solid var(--line); }
.pg-faq details { border-bottom: 1px solid var(--line); }
.pg-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-size: 17.5px; font-weight: 700; color: var(--navy); }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: ''; width: 12px; height: 12px; flex-shrink: 0; border-inline-start: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); transition: transform .2s ease; margin-top: -6px; }
.pg-faq details[open] summary::after { transform: rotate(135deg); margin-top: 6px; }
.pg-faq summary:hover { color: var(--brand); }
.pg-faq-a { padding: 0 4px 22px; color: var(--text-muted); font-size: 16px; line-height: 1.95; max-width: 760px; }
.pg-faq-a p { margin: 0 0 8px; }

/* split layout + side card (product / project detail) */
.pg-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.pg-shot { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px -24px rgba(10,22,51,.25); background: #fff; }
.pg-shot img { width: 100%; height: auto; display: block; }
.pg-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pg-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: var(--navy); }
.pg-checks .ui-icon { font-size: 20px; color: var(--brand); margin-top: 4px; }
.pg-note { font-size: 14px; color: var(--text-muted); margin-top: 14px; }
.pg-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.pg-side { position: sticky; top: 100px; display: grid; gap: 16px; }
.pg-side-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.pg-side-card h2, .pg-side-card h3 { font-size: 17px; margin: 0 0 14px; }
.pg-side-card p { font-size: 15px; color: var(--text-muted); margin: 0 0 16px; }
.pg-facts { display: grid; gap: 0; margin: 0; }
.pg-facts > div { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.pg-facts > div:first-child { border-top: 0; padding-top: 0; }
.pg-facts .ui-icon { font-size: 20px; color: var(--brand); margin-top: 3px; }
.pg-facts dt { font-size: 13px; color: var(--text-muted); }
.pg-facts dd { margin: 0; font-size: 15.5px; font-weight: 700; color: var(--navy); }
.pg-side-links { display: grid; gap: 8px; margin-top: 18px; }
.pg-side-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--navy); font-weight: 700; font-size: 15px; }
.pg-side-links a:hover { border-color: var(--brand); color: var(--brand); }
.pg-side-links .ui-icon { font-size: 18px; color: var(--brand); }

/* stored content: single layout, sidebar, values, features */
.single-layout { padding: 0; gap: 48px; grid-template-columns: minmax(0, 1fr) 340px; }
.single-layout.single-layout-tickets { grid-template-columns: minmax(0, 1fr) 300px; padding: 48px 0 72px; }
.single-content-body { font-size: 16.5px; line-height: 1.95; color: var(--text); }
.single-content-body h2 { font-size: 26px; line-height: 1.45; margin: 40px 0 14px; }
.single-content-body h2:first-child { margin-top: 0; }
.single-content-body h3 { font-size: 20px; margin: 30px 0 10px; }
.single-content-body p, .single-content-body li { color: var(--text); }
.single-content-body ul { list-style: none; padding: 0; }
.single-content-body ul li { position: relative; padding-inline-start: 20px; }
.single-content-body ul li::before { content: ''; position: absolute; right: 2px; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.single-content-body ol { padding-right: 22px; }
.single-content-body ol li::marker { color: var(--brand); font-weight: 800; }
.single-content-body strong { color: var(--navy); }
.single-content-body blockquote { font-style: normal; background: var(--brand-50); border-right-color: var(--brand); color: var(--navy); }
.single-sidebar { top: 100px; }
.sidebar-card { box-shadow: none; border-radius: 14px; padding: 24px; }
.sidebar-card-title { font-size: 17px; font-weight: 800; color: var(--navy); text-transform: none; letter-spacing: 0; padding-bottom: 12px; margin-bottom: 16px; }
.service-features-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.service-features-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text); line-height: 1.7; }
.service-features-list li::before { content: ''; width: 16px; height: 16px; margin-top: 5px; flex-shrink: 0; background: var(--brand); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat; }
.svc-side-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: 15px; }
.svc-side-link:first-of-type { border-top: 0; }
.svc-side-link:hover { color: var(--brand); }
.svc-side-link span:empty { display: none; }
.svc-side-link::after { content: '←'; color: var(--brand); }
.values-grid { gap: 14px; }
.value-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.value-item:hover { background: #fff; border-color: var(--border-hover); }
.value-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-50); font-size: 0; position: relative; flex-shrink: 0; }
.value-icon::before { content: ''; position: absolute; inset: 11px; background: var(--brand); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat; }
.value-title { font-size: 16px; font-weight: 800; color: var(--navy); }
.value-text { font-size: 14.5px; color: var(--text-muted); line-height: 1.75; }
.why-grid .card { text-align: right; }
.why-card-icon { margin: 0 0 16px; width: 48px; height: 48px; border-radius: 12px; background: var(--brand-50) !important; border: 0 !important; font-size: 22px; }
.badge, .badge-blue, .badge-primary, .badge-green, .badge-purple { background: var(--brand-50); border: 0; color: var(--brand); border-radius: 6px; font-weight: 700; font-family: var(--font-main); }
.trust-strip { gap: 8px 20px; margin-top: 18px; }
.trust-badge { background: none; border: 0; padding: 0; border-radius: 0; font-size: 14px; color: var(--text-muted); font-weight: 600; }
.trust-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.pshots img { box-shadow: none; }
.pshots figure:hover img { transform: none; box-shadow: var(--shadow-md); }
.tech-badge, .project-tag { font-family: var(--font-main); border-radius: 6px; background: var(--surface); color: var(--text); font-size: 13px; }

/* package cards */
.pkgcard { text-align: right; border-radius: 14px; padding: 28px 24px 24px; }
.pkgcard::before { content: none; }
.pkgcard:hover { transform: none; box-shadow: var(--shadow-md); }
.pkgcard.featured { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.pkgcard-ribbon { position: static; transform: none; display: inline-block; align-self: flex-start; background: var(--brand-50); color: var(--brand); box-shadow: none; padding: 3px 10px; border-radius: 6px; font-size: 12.5px; margin-bottom: 12px; }
.pkgcard-name { font-size: 18px; }
.pkgcard-price { color: var(--navy); font-size: 32px; font-weight: 800; }
.pkgcard-features li { font-size: 14.5px; }
.pkgcard-features li::before { content: '•'; color: var(--brand); }

/* forms (contact & account) */
.form-label { font-size: 14.5px; color: var(--navy); }
.form-control { background: #fff; border: 1px solid #D5DBE7; border-radius: 10px; font-size: 15.5px; padding: 12px 14px; }
.form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(31,73,224,.12); }
.contact-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; padding-bottom: 0; }
.contact-info-item { box-shadow: none; border-radius: 12px; align-items: center; }
.contact-info-item:hover { transform: none; box-shadow: none; border-color: var(--border-hover); }
.contact-info-icon { background: var(--brand-50); border: 0; color: var(--brand); font-size: 20px; border-radius: 10px; }
.contact-info-label { font-size: 13px; text-transform: none; letter-spacing: 0; }
.contact-info-value { font-size: 16px; color: var(--navy); }
.contact-form-wrap { box-shadow: var(--shadow-lg); border-radius: 20px; padding: 40px; }
.contact-form-title { font-size: 24px; margin-bottom: 18px; }
.pg-label { font-size: 14.5px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.pg-label .required { color: #C2410C; }
.pg-error { display: none; color: #C2410C; font-size: 14px; margin-top: 8px; font-weight: 600; }
.pg-mini-faq { margin-top: 36px; }
.pg-mini-faq h3 { font-size: 18px; margin-bottom: 4px; }

@media (max-width: 1000px) {
    .pg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pg-split, .pg-detail { grid-template-columns: 1fr; gap: 40px; }
    .pg-side { position: static; }
    .pg-row { grid-template-columns: 48px minmax(0, 1fr); }
    .pg-row-side { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; }
    .pg-cta-box, .cta-box { grid-template-columns: 1fr; padding: 40px 32px; }
    .cta-box > .cta-actions { grid-column: 1; grid-row: auto; }
    .pg-title-row { grid-template-columns: 1fr; gap: 12px; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .page-hero { padding: 108px 0 40px; }
    .page-hero-subtitle { font-size: 16.5px; }
    .pg-section { padding: 64px 0; }
    .pg-grid { grid-template-columns: 1fr; }
    .pg-row { grid-template-columns: 1fr; gap: 14px; padding: 26px 0; }
    .pg-row-side { grid-column: 1; }
    .pg-cta-box, .cta-box { padding: 34px 22px; }
    .pg-cta-actions .btn, .cta-actions .btn { flex: 1 1 auto; justify-content: center; }
    .contact-form-wrap { padding: 26px 20px; }
}
.section-title.pg-mb { margin-bottom: 28px; }
.pg-head .pg-checks { margin-top: 28px; }
.pg-addons { max-width: 640px; margin: 32px auto 0; }
.pg-addons .pg-facts > div { justify-content: space-between; }
.pg-addons .pg-facts > div > div { flex: 1; }
.pg-quote { margin: 0; }
.pg-quote .hm-quote-mark { display: block; width: 32px; height: 32px; margin: 0 0 12px; }
.pg-quote blockquote { margin: 0; font-size: 16.5px; line-height: 1.9; color: var(--navy); }
.pg-quote figcaption span { display: grid; }
.pg-quote figcaption small { color: var(--text-muted); font-size: 13.5px; }
.pg-product-body .section-header { margin-top: 56px; }
.pg-product-body .container > .section-header:first-child { margin-top: 0; }
.pg-block { width: 100%; justify-content: center; }
.pg-icon-link { display: inline-grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 10px; color: var(--text-muted); font-size: 18px; }
.pg-icon-link:hover { border-color: var(--brand); color: var(--brand); }
.project-thumbnail-grid { margin-top: 14px; gap: 12px; }
.project-thumbnail { border: 1px solid var(--line) !important; border-radius: 12px; }
.project-thumbnail::after { content: none; }
.project-thumbnail:hover img { transform: scale(1.03); filter: none; }
.pg-project-text { margin-top: 44px; }
.pg-story { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pg-story b { font-size: 17px; color: var(--navy); }
@media (max-width: 1000px) { .pg-story { grid-template-columns: 1fr; } }
.pg-subhead { font-size: 20px; margin-bottom: 20px; }
.pg-social { margin-top: 28px; }
.pg-type-wrap { margin-bottom: 26px; }
.pg-submit { margin-bottom: 0; }
.pg-type-wrap .pg-error { display: none; }
.pg-values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.pg-values .hm-icon { margin-bottom: 18px; }
.pg-values h3 { font-size: 19px; margin-bottom: 8px; }
.pg-values p { font-size: 15.5px; color: var(--text-muted); margin: 0; }
.hm-since-copy > p + p { margin-top: -12px; }
@media (max-width: 1000px) { .pg-values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .pg-values { grid-template-columns: 1fr; } }
.pg-faq-group + .pg-faq-group { margin-top: 48px; }

/* blog */
.cat-filter-btn { border-radius: 8px; border: 1px solid var(--line); font-size: 14px; }
.cat-filter-btn:hover { background: #fff; color: var(--brand); border-color: var(--brand); box-shadow: none; }
.cat-filter-btn.active { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: none; }
.pg-count { opacity: .6; font-size: 12px; }
.blog-card { box-shadow: none; border-radius: 14px; }
.blog-card:hover { transform: none; box-shadow: var(--shadow-md); }
.blog-card:hover .blog-card-img img { transform: scale(1.03); }
.blog-card-cat { background: #fff; color: var(--brand); border-radius: 6px; box-shadow: none; font-weight: 700; }
.blog-card-meta { font-size: 13.5px; color: var(--text-muted); gap: 14px; }
.blog-card-meta span + span::before { content: '·'; margin-inline-end: 8px; }
.blog-card-title { font-size: 19px; line-height: 1.55; }
.blog-card-featured .blog-card-title { font-size: 26px; -webkit-line-clamp: 3; }
.blog-card-excerpt { font-size: 15px; line-height: 1.85; }
.blog-card-featured .blog-card-excerpt { -webkit-line-clamp: 4; }
.blog-read-more { font-weight: 700; color: var(--brand); }
.pg-pager { margin-top: 52px; text-align: center; }
.pg-pager .pagination { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.single-post-hero { padding-top: 128px !important; }
.single-post-header { max-width: 860px; }
.single-post-cats { justify-content: flex-start; }
.single-post-cat { font-size: 13.5px; border: 0; border-radius: 6px; background: var(--brand-50); color: var(--brand); letter-spacing: 0; }
.single-post-title { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.4; text-align: right; }
.single-post-meta { justify-content: flex-start; font-size: 14.5px; }
.single-post-meta span + span::before { content: '·'; margin-inline-end: 8px; }
.single-post-thumb { box-shadow: none; border-radius: 16px; margin: 40px 0; }
.single-post-header { text-align: right; }
.mega-item-icon { background: var(--brand-50); color: var(--brand); font-size: 18px; border-radius: 9px; }
.mega-panel { border-radius: 14px; box-shadow: var(--shadow-lg); border-color: var(--line); }
.pkg-why-icon, .no-results-icon { color: var(--brand); }
.pkg-why-icon .ui-icon, .no-results-icon .ui-icon { width: 1em; height: 1em; }
@media (max-width: 1000px) {
    .single-layout { grid-template-columns: 1fr; }
    .single-sidebar { position: static; }
}

/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE — engineering touches (code window, tech strip, team hub,
   live process line, service spotlight). Motion is slow and stops
   entirely under prefers-reduced-motion.
═══════════════════════════════════════════════════════════════ */
/* hero code window */
.hm-code { position: absolute; left: -4%; bottom: -2%; width: 60%; z-index: 3; direction: ltr; text-align: left; background: #0B1532; border: 1px solid #1B2A55; border-radius: 14px; box-shadow: 0 30px 60px -18px rgba(10,22,51,.55); overflow: hidden; }
.hm-code-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid #1B2A55; background: #0E1A3D; }
.hm-code-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2A3A6B; }
.hm-code-bar span { margin-left: 8px; font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #7F8DB3; }
.hm-code-body { margin: 0; padding: 14px 16px 10px; min-height: 212px; font: 500 12px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #DCE3F5; white-space: normal; overflow: hidden; counter-reset: ln; }
.hm-code-body .ln { display: block; min-height: 1.75em; white-space: pre; }
.hm-code-body .s, .hm-code-body .m { unicode-bidi: isolate; }
.hm-code-body .ln::before { counter-increment: ln; content: counter(ln); display: inline-block; width: 22px; margin-right: 12px; color: #3C4C7A; text-align: right; }
.hm-code-body .v { color: #8EA6FF; }
.hm-code-body .c { color: #5CC8FF; }
.hm-code-body .f { color: #B9A6FF; }
.hm-code-body .s { color: #7EE0C0; }
.hm-code-body .m { color: #5E6E96; font-family: var(--font-main); }
.hm-code-body .caret { display: inline-block; width: 7px; height: 1.1em; vertical-align: -2px; background: #8EA6FF; animation: hmCaret 1s steps(1) infinite; }
@keyframes hmCaret { 50% { opacity: 0; } }
.hm-code-status { display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-top: 1px solid #1B2A55; font-size: 12.5px; color: #7F8DB3; direction: rtl; }
.hm-code-status b { width: 8px; height: 8px; border-radius: 50%; background: #3C4C7A; transition: background .3s ease, box-shadow .3s ease; }
.hm-code.is-live .hm-code-status { color: #DCE3F5; }
.hm-code.is-live .hm-code-status b { background: #34D399; box-shadow: 0 0 0 4px rgba(52,211,153,.15); }

/* technologies strip */
.hm-tech { padding: 40px 0 44px; border-bottom: 1px solid var(--line); overflow: hidden; }
.hm-tech-head p { text-align: center; font-size: 14.5px; color: var(--text-muted); margin: 0 0 22px; }
.hm-tech-row { direction: ltr; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.hm-tech-row + .hm-tech-row { margin-top: 12px; }
.hm-tech-track { display: flex; width: max-content; animation: hmMarquee 60s linear infinite; }
.hm-tech-row.is-rev .hm-tech-track { animation-direction: reverse; animation-duration: 70s; }
.hm-tech-row:hover .hm-tech-track { animation-play-state: paused; }
.hm-tech ul { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0 6px; }
.hm-tech li { white-space: nowrap; padding: 9px 18px; border: 1px solid var(--line); border-radius: 10px; font: 600 14.5px/1.2 var(--font-main); color: var(--navy); background: #fff; transition: border-color .2s ease, color .2s ease; }
.hm-tech li:hover { border-color: var(--brand); color: var(--brand); }
@keyframes hmMarquee { to { transform: translateX(-50%); } }

/* the team hub */
.hm-team { position: relative; aspect-ratio: 1000 / 560; max-width: 1100px; margin: 0 auto; }
.hm-team-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hm-team-line { stroke: var(--border-hover); stroke-width: 1.2; vector-effect: non-scaling-stroke; transition: stroke .25s ease; }
.hm-team-line.is-on { stroke: var(--brand); }
.hm-team-pulse { stroke: var(--brand); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 6 94; stroke-dashoffset: 100; animation: hmPulse 3.6s linear infinite; }
@keyframes hmPulse { to { stroke-dashoffset: 0; } }
.hm-team-hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 168px; height: 168px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: 0 0 0 12px rgba(31,73,224,.05), 0 0 0 26px rgba(31,73,224,.03), var(--shadow-lg); display: grid; place-content: center; justify-items: center; text-align: center; gap: 2px; z-index: 2; }
.hm-team-hub img { width: 50px; height: 50px; margin-bottom: 6px; }
.hm-team-hub b { font-size: 17px; color: var(--navy); }
.hm-team-hub small { font-size: 12.5px; color: var(--text-muted); }
.hm-team-node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: flex; align-items: center; gap: 12px; width: 236px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; z-index: 2; transition: border-color .2s ease, box-shadow .2s ease; }
.hm-team-node:hover, .hm-team-node.is-on { border-color: var(--brand); box-shadow: var(--shadow-md); }
.hm-team-node .hm-icon { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; }
.hm-team-node .hm-icon svg { width: 20px; height: 20px; }
.hm-team-node b { display: block; font-size: 14.5px; color: var(--navy); line-height: 1.45; }
.hm-team-node small { display: block; font-size: 12px; color: var(--text-muted); text-align: right; }

/* process line fills stage by stage (only when motion.js runs) */
.mo .hm-steps li::before { width: 0; transition: width .9s ease; }
.mo .hm-steps li.is-on::before { width: 100%; }
.hm-steps b { transition: color .3s ease; }

/* soft spotlight following the pointer on service columns */
.hm-svc { background-image: radial-gradient(420px circle at var(--mx, -999px) var(--my, -999px), rgba(31,73,224,.07), transparent 45%); }

@media (prefers-reduced-motion: reduce) {
    .hm-tech-track, .hm-team-pulse, .hm-code-body .caret { animation: none; }
    .hm-team-pulse { display: none; }
}
@media (max-width: 1100px) {
    .hm-code { width: 64%; left: 0; }
    .hm-team { aspect-ratio: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .hm-team-lines { display: none; }
    .hm-team-hub { position: static; transform: none; grid-column: 1 / -1; width: auto; height: auto; border-radius: 14px; box-shadow: none; display: flex; justify-content: center; gap: 12px; padding: 16px; }
    .hm-team-hub img { width: 36px; height: 36px; margin: 0; }
    .hm-team-node { position: static; transform: none; width: auto; }
}
@media (max-width: 640px) {
    .hm-code { position: relative; width: 100%; left: auto; bottom: auto; margin-top: -40px; }
    .hm-hero-visual { aspect-ratio: auto; display: flex; flex-direction: column; }
    .hm-shot--main { position: relative; inset: auto; aspect-ratio: 3 / 2; }
    .hm-orbits { display: none; }
    .hm-code-body { font-size: 11.5px; min-height: 0; }
    .hm-team { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   MOTION (motion.js + CSS). One easing, short distances, nothing
   loops except the slow orbit lines. All of it is switched off under
   prefers-reduced-motion, and nothing is hidden unless JS is running.
═══════════════════════════════════════════════════════════════ */
:root { --ease-out: cubic-bezier(.2, .7, .2, 1); }

/* smooth fade between pages (browsers with cross-document view transitions) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; animation-timing-function: ease; }
.site-header { view-transition-name: site-header; }

/* header steps aside while reading, returns on scroll up */
.site-header { transition: transform .35s var(--ease-out), box-shadow .25s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px -12px rgba(10,22,51,.18); }
.site-header.is-away { transform: translateY(-100%); }
.scroll-progress { background: var(--brand); height: 2px; }

/* nav: underline grows on hover */
.nav-menu > li > a::after { content: ''; position: absolute; inset-inline: 14px; bottom: -1px; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease-out); }
.nav-menu > li > a:hover::after, .nav-menu > li.current-menu-item > a::after { transform: scaleX(1); }
.mobile-menu .nav-menu > li > a::after { content: none; }

/* buttons: quiet press + arrow nudge */
.btn { transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .15s ease; }
.btn:active { transform: scale(.98); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

/* reveal on scroll */
.mo .mo-r { transition: opacity .7s var(--ease-out) var(--mo-d, 0ms), transform .7s var(--ease-out) var(--mo-d, 0ms); }
.mo .mo-r:not(.is-in) { opacity: 0; transform: translateY(18px); }
.mo .mo-r .section-tag::before { transition: width .6s var(--ease-out) .25s; }
.mo .mo-r:not(.is-in) .section-tag::before { width: 0; }
@media print { .mo .mo-r { opacity: 1 !important; transform: none !important; } }

/* page entrance: only secondary pieces fade in — the heading and lead image render
   immediately (they are the page's Largest Contentful Paint, which Google measures) */
@keyframes moFade { from { opacity: 0; } }
@keyframes moRise { from { opacity: 0; translate: 0 14px; } }
.hm-code { animation: moRise .9s var(--ease-out) .35s backwards; }
.hm-shot-cap { animation: moFade .8s ease .6s backwards; }
.hm-orbits { animation: moFade 1.6s ease .2s backwards; }
.page-hero .pg-head-actions, .page-hero .pg-checks, .page-hero .pg-note { animation: moRise .7s var(--ease-out) .15s backwards; }

/* hero visual leans toward the pointer (values set by motion.js) */
.hm-hero-visual { perspective: 1400px; }
.hm-shot--main { transition: transform .5s var(--ease-out); }
.hm-hero-visual.is-tilt .hm-shot--main { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.hm-code { translate: var(--px, 0) var(--py, 0); transition: translate .5s var(--ease-out); }
.hm-shot-cap { translate: calc(var(--px, 0px) * -.6) calc(var(--py, 0px) * -.6); transition: translate .5s var(--ease-out); }

/* the logo's orbits drift behind every inner-page header */
.page-hero { position: relative; overflow: hidden; }
.page-hero::after {
    content: ''; position: absolute; left: -140px; top: 50%; width: 560px; height: 560px; margin-top: -280px; pointer-events: none; opacity: .4;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 560'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%230A8FEA'/%3E%3Cstop offset='.55' stop-color='%231F49E0'/%3E%3Cstop offset='1' stop-color='%235B3FE0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='none' stroke='url(%23g)' stroke-width='1.3' opacity='.55' transform='rotate(-32 280 280)'%3E%3Cellipse cx='280' cy='280' rx='266' ry='148'/%3E%3Cellipse cx='280' cy='280' rx='196' ry='102'/%3E%3C/g%3E%3Cg fill='url(%23g)' transform='rotate(-32 280 280)'%3E%3Ccircle cx='546' cy='280' r='8'/%3E%3Ccircle cx='84' cy='280' r='6'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
    animation: moSpin 140s linear infinite;
}
@keyframes moSpin { to { transform: rotate(360deg); } }
.page-hero .container { position: relative; z-index: 1; }
@media (max-width: 860px) { .page-hero::after { width: 380px; height: 380px; margin-top: -190px; left: -200px; opacity: .35; } }

/* media: soft zoom on hover for every framed image */
.pg-shot img { transition: transform .8s var(--ease-out); }
.pg-shot:hover img { transform: scale(1.02); }

@media (prefers-reduced-motion: reduce) {
    @view-transition { navigation: none; }
    .hm-code, .hm-shot-cap, .hm-orbits, .page-hero .pg-head-actions, .page-hero .pg-checks, .page-hero .pg-note, .page-hero::after { animation: none; }
    .site-header.is-away { transform: none; }
    .hm-shot--main, .hm-code, .hm-shot-cap { transform: none; translate: none; }
}
.pg-row { grid-template-columns: 56px minmax(0, 1fr) 240px; }
.pg-row-thumb { display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--brand-50); }
.pg-row-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.pg-row:hover .pg-row-thumb img { transform: scale(1.04); }
@media (max-width: 1000px) { .pg-row { grid-template-columns: 48px minmax(0, 1fr); } .pg-row-thumb { display: none; } }

/* ═══════════════════════════════════════════════════════════════
   PHONE (≤760px): an app-like layout — bottom bar, swipe rows,
   folded footer, a proper menu sheet. Desktop is untouched.
═══════════════════════════════════════════════════════════════ */
.mbar, .swipe-dots, .mm-quick { display: none; }

@media (max-width: 760px) {
    /* room for the bottom bar lives inside the (navy) footer, so no white strip shows under it */
    .site-footer { padding-bottom: 92px !important; }
    .container { padding-inline: 18px; }

    /* bottom bar */
    .mbar {
        display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
        position: fixed; z-index: 1001; left: 10px; right: 10px; bottom: 10px; height: 64px; padding: 0 6px 8px;
        background: rgba(255,255,255,.92); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
        border: 1px solid rgba(10,22,51,.08); border-radius: 20px; box-shadow: 0 12px 32px -10px rgba(10,22,51,.28);
    }
    .mbar-item { display: grid; justify-items: center; gap: 3px; color: var(--text-muted); font-size: 11.5px; font-weight: 700; padding-top: 8px; -webkit-tap-highlight-color: transparent; }
    .mbar-item .ui-icon { font-size: 22px; transition: transform .2s ease; }
    .mbar-item.is-on { color: var(--brand); }
    .mbar-item.is-on::after { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--brand); margin-top: -1px; }
    .mbar-item:active .ui-icon { transform: scale(.88); }
    .mbar-cta { display: grid; justify-items: center; gap: 4px; color: var(--brand); font-size: 11.5px; font-weight: 800; -webkit-tap-highlight-color: transparent; }
    .mbar-cta span { display: grid; place-items: center; width: 54px; height: 54px; margin-top: -26px; border-radius: 18px; background: var(--brand); color: #fff; font-size: 26px; box-shadow: 0 10px 22px -6px rgba(31,73,224,.6), 0 0 0 5px #fff; transition: transform .2s ease; }
    .mbar-cta:active span { transform: scale(.92) rotate(90deg); }
    .msg-float, .wa-float { display: none !important; }
    .site-header .header-actions > .btn-primary { display: none; }

    /* menu: a solid sheet with clear rows + quick contact */
    .site-header .header-inner { height: 64px; }
    .mobile-menu { top: 64px; background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; border-top: 1px solid var(--line); padding: 8px 18px 22px; max-height: calc(100dvh - 64px); overflow-y: auto; box-shadow: 0 100vmax 0 100vmax rgba(10,22,51,.35); }
    .mobile-menu.open { animation: mmIn .25s var(--ease-out); }
    @keyframes mmIn { from { opacity: 0; transform: translateY(-8px); } }
    .mobile-menu .nav-menu { gap: 0 !important; align-items: stretch !important; width: 100%; }
    .mobile-menu .nav-menu li { width: 100%; }
    .mobile-menu .nav-menu li a { display: flex !important; justify-content: space-between; align-items: center; padding: 17px 4px !important; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 17px; font-weight: 700; color: var(--navy); background: none !important; text-align: right; }
    .mobile-menu .nav-menu li a::before { content: '←'; order: 2; color: var(--text-dim); font-weight: 400; }
    .mobile-menu .nav-menu li.current-menu-item a { color: var(--brand); }
    .mobile-menu .nav-menu li.current-menu-item a::before { color: var(--brand); }
    .mobile-menu .header-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
    .mobile-menu .header-actions .btn { width: 100%; justify-content: center; padding: 13px; font-size: 15px; }
    .mm-quick { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; margin-top: 12px; }
    .mm-quick a { display: grid; justify-items: center; gap: 6px; padding: 14px 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--navy); font-size: 13.5px; font-weight: 700; }
    .mm-quick .ui-icon { font-size: 22px; color: var(--brand); }

    /* swipe rows */
    [data-swipe] {
        display: flex !important; grid-template-columns: none !important; gap: 12px !important;
        overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
        margin-inline: -18px; padding: 4px 18px 6px; scroll-padding-inline: 18px;
        border: 0 !important; border-radius: 0 !important; background: none !important;
    }
    [data-swipe]::-webkit-scrollbar { display: none; }
    [data-swipe] > * { flex: 0 0 84%; scroll-snap-align: center; }
    .swipe-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
    .swipe-dots button { width: 7px; height: 7px; padding: 0; border-radius: 4px; background: #CFD5E2; transition: width .25s ease, background .25s ease; }
    .swipe-dots button.is-on { width: 22px; background: var(--brand); }

    .hm-services[data-swipe] > .hm-svc { border: 1px solid var(--line) !important; border-radius: 16px; background: #fff; padding: 26px 22px 22px; }
    .hm-work[data-swipe] > .hm-work-item { flex-basis: 86%; }
    .hm-work[data-swipe] .hm-work-img, .hm-work[data-swipe] .is-lead .hm-work-img { aspect-ratio: 4 / 3; height: auto; min-height: 0; }
    .hm-steps[data-swipe] > li { flex-basis: 72%; background: #fff; border: 1px solid var(--line); border-top-width: 2px; border-radius: 14px; padding: 20px 18px; }
    .hm-steps[data-swipe] > li::before { top: -2px; right: 18px; }

    /* hero */
    .hm-hero { padding: 96px 0 44px; }
    .hm-eyebrow { font-size: 13.5px; margin-bottom: 14px; padding: 6px 12px; background: var(--brand-50); border-radius: 999px; }
    .hm-eyebrow::before { display: none; }
    .hm-hero-title { font-size: 31px; line-height: 1.4; margin-bottom: 14px; }
    .hm-hero-sub { font-size: 16px; line-height: 1.85; margin-bottom: 24px; }
    .hm-hero-actions { margin-bottom: 26px; }
    .hm-hero-actions .btn { padding: 14px 12px; }
    .hm-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border: 0; padding: 0; }
    .hm-facts div { border: 1px solid var(--line) !important; border-radius: 14px; padding: 12px 10px !important; margin: 0 !important; background: var(--surface); text-align: center; }
    .hm-facts dt { font-size: 22px; }
    .hm-facts dd { font-size: 12px; line-height: 1.5; }
    .hm-hero-grid { gap: 32px; }
    .hm-hero-visual { padding-bottom: 6px; }
    .hm-shot--main { border-radius: 16px; }
    .hm-code { width: 90%; margin: -54px 0 0 auto; border-radius: 14px; }
    .hm-code-body { padding: 10px 12px 6px; font-size: 10.5px; }
    .hm-code-body .ln::before { width: 14px; margin-right: 8px; }
    .hm-tech { padding: 28px 0 30px; }

    /* sections */
    .hm-section, .pg-section { padding: 56px 0; }
    .hm-head, .pg-title-row { margin-bottom: 26px; gap: 10px; }
    .section-title { font-size: 26px; }
    .hm-head-sub, .pg-title-row p { font-size: 15.5px; }
    .hm-team { grid-template-columns: 1fr 1fr !important; gap: 10px; }
    .hm-team-node { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
    .hm-team-node b { font-size: 13.5px; }
    .hm-team-hub { padding: 14px; }
    .hm-since-year { font-size: 72px; }
    .hm-timeline li { padding: 10px 0; }

    /* request panel */
    .hm-start-panel { border-radius: 18px; margin-inline: -4px; }
    .hm-start-info { padding: 28px 22px 24px; }
    .hm-start-info h2 { font-size: 23px; }
    .hm-start-info > p { margin-bottom: 16px; font-size: 15px; }
    .hm-start-info .hm-checks { gap: 8px; }
    .hm-start-info .hm-checks li { font-size: 14.5px; }
    .hm-direct { padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
    .hm-direct > span { flex-basis: 100%; }
    .hm-direct a { font-size: 13.5px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 10px; }
    .rq { padding: 24px 18px 22px; }
    .rq-step legend { font-size: 19px; margin-bottom: 14px; }
    .rq-needs { grid-template-columns: 1fr 1fr !important; gap: 8px; }
    .rq-need span { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 12px; font-size: 14px; min-height: 104px; }

    /* inner pages */
    .page-hero { padding: 92px 0 32px; }
    .page-hero-title, .page-hero-title.gradient-text { font-size: 29px; }
    .breadcrumb { margin-bottom: 18px; font-size: 13px; }
    .pg-head-actions .btn { flex: 1 1 auto; justify-content: center; }
    .pg-card:active, .hm-svc:active, .pg-row:active { transform: scale(.985); transition: transform .12s ease; }
    .pg-cta { padding-bottom: 40px; }

    /* footer: groups fold (once motion.js has run) */
    .site-footer { padding-top: 28px; }
    .newsletter-strip { gap: 12px; padding: 18px 0; margin-bottom: 18px; }
    .footer-grid { gap: 0 !important; }
    .footer-brand { padding-bottom: 18px; }
    .mo-foot .footer-col { border-top: 1px solid rgba(255,255,255,.08); }
    .mo-foot .footer-col-title { display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 16px 0; cursor: pointer; font-size: 16px; }
    .mo-foot .footer-col-title::after { content: ''; width: 9px; height: 9px; border-inline-start: 2px solid #A7B0C6; border-bottom: 2px solid #A7B0C6; transform: rotate(-45deg); transition: transform .2s ease; margin-top: -4px; }
    .mo-foot .footer-col.is-open .footer-col-title::after { transform: rotate(135deg); margin-top: 4px; }
    .mo-foot .footer-col .footer-links { display: none; padding-bottom: 14px; }
    .mo-foot .footer-col.is-open .footer-links { display: grid; }
}
