/* Site footer styles (partials/footer). Loaded without blocking the first paint: the layout links this file
   with media="print" and switches it on when it arrives (noscript fallback). Until then the footer is kept
   invisible by one rule in app.css, so it never shows unstyled. Everything here is below the fold. */
.site-footer { visibility: visible; }

/* Footer credit: the controller rage-quits on hover. */
.maker { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--muted); }
.maker:hover { text-decoration: none; color: var(--text); }
.maker-name { color: var(--accent); position: relative; }
.maker-name::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: -2px; block-size: 2px; background: currentColor; transform: scaleX(0); transition: transform .25s ease; }
.maker:hover .maker-name::after { transform: scaleX(1); }
.maker-pad { display: inline-block; font-size: 1.15rem; animation: maker-idle 4s ease-in-out infinite; }
.maker:hover .maker-pad { animation: maker-ragequit .9s cubic-bezier(.3, -.4, .6, 1.4); }
.maker-joke { font-size: .8rem; font-style: italic; opacity: .8; }
.maker-joke::before { content: "· "; font-style: normal; }
@keyframes maker-idle { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(-14deg); } 92% { transform: rotate(12deg); } 95% { transform: rotate(-6deg); } }
@keyframes maker-ragequit {
    0% { transform: none; }
    20% { transform: translateY(-2px) rotate(-18deg) scale(1.15); }
    55% { transform: translateY(-18px) rotate(340deg) scale(1.2); }
    80% { transform: translateY(2px) rotate(360deg) scale(.95); }
    100% { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) { .maker-pad, .maker:hover .maker-pad { animation: none; } }

.foot-logo { background: none; border: 0; padding: 0; margin: 0; cursor: pointer; display: inline-flex; border-radius: 8px; transition: transform .15s; }
.foot-logo:hover { transform: scale(1.06) rotate(-3deg); }
.foot-logo:active { transform: scale(.94); }
.foot-logo:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Site footer (partials/footer): Stadium blue with a faint squares pattern, a soft shadow cast up
   onto the page and a light colour wave along the seam (same wave as under the hero, toned down).
   Only transforms animate; everything holds still under reduced motion. overflow-x: clip keeps the
   wide wave from scrolling the page sideways while it sits half above the footer. */
.site-footer {
    position: relative; isolation: isolate; overflow-x: clip; margin-block-start: 40px;
    padding-block: 56px 0; color: #e6eeff; font-size: .92rem;
    box-shadow: 0 -10px 30px -6px rgba(4, 16, 80, .35);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' fill='none' stroke='%23fff' stroke-width='1.6'%3E%3Crect x='8' y='8' width='32' height='32' rx='5' stroke-opacity='.09'/%3E%3Crect x='56' y='56' width='32' height='32' rx='5' stroke-opacity='.09'/%3E%3Crect x='61' y='13' width='22' height='22' rx='4' stroke-opacity='.05'/%3E%3Crect x='13' y='61' width='22' height='22' rx='4' stroke-opacity='.05'/%3E%3C/svg%3E") 0 0 / 96px 96px, linear-gradient(90deg, #1747ff, #11b5ff);
}
.site-footer a { color: #fff; }
.ft-edge { --wave-p: 480px; position: absolute; inset-inline: 0; inset-block-start: -9px; block-size: 18px; z-index: 2; pointer-events: none; overflow: hidden; }
.ft-edge-wave {
    --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='18'%3E%3Cpath d='M0 9 Q120 2 240 9 T480 9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
    position: absolute; inset-block: 0; left: 0; inline-size: calc(100% + var(--wave-p) * 2); opacity: .6;
    background: repeating-linear-gradient(90deg, #2e6fd8 0, #49c6ff calc(var(--wave-p) * .5), #ffd60a var(--wave-p), #ffb703 calc(var(--wave-p) * 1.25), #2e6fd8 calc(var(--wave-p) * 2));
    -webkit-mask: var(--m) 0 50% / var(--wave-p) 100% repeat-x;
    mask: var(--m) 0 50% / var(--wave-p) 100% repeat-x;
    will-change: transform; animation: ft-edge-flow 14s linear infinite;
}
@keyframes ft-edge-flow { to { transform: translateX(calc(var(--wave-p) * -2)); } }
@media (max-width: 760px) { .ft-edge { --wave-p: 320px; } }

.ft-grid { display: grid; grid-template-columns: 1.3fr 1.45fr 1.1fr; gap: 32px 40px; align-items: stretch; position: relative; }
/* Equal columns: the category list and the ad board stretch to the brand column's height. */
.ft-cats, .ft-promo, .ft-promo .bb { display: flex; flex-direction: column; }
.ft-cats ul { flex: 1; align-content: space-between; }
.ft-promo .bb { flex: 1; }
.ft-h { margin: 0 0 12px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #ffe680; }
.ft-h::after, .ft-promo .bb-tag::after { content: ""; display: block; inline-size: 28px; block-size: 3px; margin-block-start: 8px; border-radius: 3px; background: #ffd60a; }
.ft-tagline { margin: 12px 0 12px; color: #e6eeff; max-inline-size: 36ch; line-height: 1.6; }
.ft-points { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 6px; font-weight: 600; color: #fff; }
.ft-points li { display: flex; align-items: center; gap: 8px; }
.ft-points li::before { content: "✓"; flex: none; display: grid; place-items: center; inline-size: 20px; block-size: 20px; border-radius: 50%; background: #ffd60a; color: #0b2a6b; font-size: .72rem; font-weight: 900; }
.foot-logo { background: none; border: 0; padding: 0; margin: 0; cursor: pointer; display: inline-flex; border-radius: 8px; transition: transform .15s; }
.foot-logo:hover { transform: scale(1.06) rotate(-3deg); }
.foot-logo:active { transform: scale(.94); }
.foot-logo:focus-visible { outline: 2px solid #ffd60a; outline-offset: 3px; }

/* WhatsApp: the loudest thing in the footer. Shine sweeps across, the icon pulses. */
.ft-wa {
    position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; max-inline-size: 380px;
    padding-block: 12px; padding-inline: 12px 18px; border-radius: 20px; color: #fff !important; text-decoration: none !important;
    background: linear-gradient(135deg, #3ef07f 0%, #25d366 40%, #0f9c7a 100%);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .28), 0 14px 30px -8px rgba(6, 80, 60, .7), inset 0 1px 0 rgba(255, 255, 255, .45);
    transition: transform .18s ease, box-shadow .18s ease;
}
.ft-wa::before {
    content: ""; position: absolute; inset-block: -20%; inset-inline-start: -60%; inline-size: 45%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-18deg) translateX(0);
    animation: ft-shine 4.5s ease-in-out infinite;
}
[dir=rtl] .ft-wa::before { animation-name: ft-shine-rtl; }
@keyframes ft-shine { 0%, 55% { transform: skewX(-18deg) translateX(0); } 85%, 100% { transform: skewX(-18deg) translateX(420%); } }
@keyframes ft-shine-rtl { 0%, 55% { transform: skewX(18deg) translateX(0); } 85%, 100% { transform: skewX(18deg) translateX(-420%); } }
.ft-wa:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 0 0 4px rgba(255, 255, 255, .45), 0 20px 36px -10px rgba(6, 80, 60, .8), inset 0 1px 0 rgba(255, 255, 255, .45); }
.ft-wa:active { transform: translateY(0) scale(.98); }
.ft-wa:focus-visible { outline: 3px solid #ffd60a; outline-offset: 3px; }
.ft-wa-ico { position: relative; flex: none; display: grid; place-items: center; inline-size: 50px; block-size: 50px; border-radius: 50%; background: #fff; color: #25d366; box-shadow: 0 4px 10px rgba(0, 0, 0, .18); }
.ft-wa-ico svg { inline-size: 30px; block-size: 30px; }
.ft-wa-ico::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid #fff; animation: ft-ping 2.2s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ft-ping { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
.ft-wa:hover .ft-wa-ico svg { animation: ft-wiggle .5s ease; }
@keyframes ft-wiggle { 25% { transform: rotate(-14deg); } 60% { transform: rotate(10deg); } }
.ft-wa-txt { position: relative; display: grid; line-height: 1.25; min-inline-size: 0; }
.ft-wa-txt b { font-size: 1rem; white-space: nowrap; font-weight: 800; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.ft-wa-txt small { font-size: .82rem; opacity: .95; }
.ft-wa-go { position: relative; margin-inline-start: auto; display: grid; place-items: center; inline-size: 32px; block-size: 32px; border-radius: 50%; background: rgba(255, 255, 255, .22); font-weight: 800; transition: transform .2s; }
.ft-wa:hover .ft-wa-go { transform: translateX(4px); }
[dir=rtl] .ft-wa:hover .ft-wa-go { transform: translateX(-4px); }

/* Category links with their icon in a coloured chip. */
.ft-cats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; }
.ft-cats a { display: flex; align-items: center; gap: 10px; padding: 5px 8px; margin-inline: -8px; border-radius: 12px; font-weight: 600; transition: background-color .15s; }
.ft-cats a:hover { text-decoration: none; background: rgba(255, 255, 255, .14); }
.ft-cats a:focus-visible { outline: 2px solid #ffd60a; outline-offset: 1px; }
.ft-ico {
    flex: none; display: grid; place-items: center; inline-size: 34px; block-size: 34px; font-size: 1.6rem; line-height: 1;
    filter: drop-shadow(0 2px 3px rgba(4, 16, 80, .35));
    transition: transform .2s cubic-bezier(.3, -.4, .6, 1.6);
}
.ft-cats a:hover .ft-ico { transform: rotate(-10deg) scale(1.12); }

/* House ads: the flipping billboard in a single column. */
.ft-promo .bb { margin: 0; }
.ft-promo .bb-tag { color: #ffe680; font-weight: 800; letter-spacing: .12em; font-size: .78rem; margin-block-end: 12px; }
.bb-foot .bb-ads { grid-template-columns: 1fr; }
.bb-foot.bb-on .bb-ads { flex: 1; block-size: auto; min-block-size: 230px; }
.bb-foot .bb-card, .bb-foot .bb-stage { box-shadow: 0 12px 28px -12px rgba(4, 16, 80, .7); }
/* In the footer every ad wears the site's colours (deep navy to Stadium blue, yellow button) instead
   of its own, so the board sits calmly on the blue. !important beats each ad's inline --from/--to. */
.bb-foot .bb-ad, .bb-foot .bb-art { --from: #0a1a6b !important; --to: #1d4fe0 !important; }
.bb-foot .bb-card, .bb-foot .bb-art { border-color: rgba(255, 214, 10, .35); }
.bb-foot .bb-icon { background: rgba(255, 214, 10, .16); box-shadow: inset 0 0 0 2px rgba(255, 214, 10, .55); }
.bb-foot .bb-cta { background: #ffd60a; color: #0b2a6b; }
.bb-foot .bb-lang { background: rgba(255, 214, 10, .18); border-color: rgba(255, 214, 10, .55); }
.bb-foot .bb-stage, .bb-foot .bb-face { background: #0a1a6b; }

.ft-bottom { position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-block-start: 36px; padding-block: 16px 18px; border-block-start: 1px solid rgba(255, 255, 255, .22); font-size: .86rem; }
.ft-copy { margin: 0; color: #e6eeff; }
.ft-copy a { color: #ffe680; }
.site-footer .maker { color: #e6eeff; }
.site-footer .maker:hover { color: #fff; }
.site-footer .maker-name { color: #ffd60a; }

@media (max-width: 899px) {
    .ft-grid { grid-template-columns: 1fr 1fr; }
    .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
    .site-footer { padding-block-start: 48px; }
    .ft-grid { grid-template-columns: 1fr; gap: 28px; }
    .ft-wa { max-inline-size: none; }
    .ft-bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    .ft-edge-wave, .ft-wa::before, .ft-wa-ico::after, .ft-wa:hover .ft-wa-ico svg { animation: none; }
    .ft-wa, .ft-wa-go, .ft-ico, .ft-cats a { transition: none; }
}

/* Footer: the blue and its doodles stay, dimmed by an inset shade drawn over the background (under the content). */
html[data-theme="dark"] .site-footer { box-shadow: 0 -10px 30px -6px rgba(0, 0, 0, .5), inset 0 0 0 100vmax rgba(6, 12, 44, .66); }

/* "Services by Eng. Saad" (partials/footer, config footer.offer): a deep navy card that rides the footer's
   top edge, its upper part over the page. Services fade one into the next on one side, a CSS-drawn browser +
   phone with a yellow sticker on the other. Transforms and opacity only; html.pv-quiet pauses it. */
.site-footer:has(.ft-offer) { margin-block-start: 150px; }
.ft-offer { position: relative; z-index: 3; margin-block: -150px 48px; }
.ofr {
    position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 28px 36px; align-items: center; padding: 34px 40px; border-radius: 28px; color: #fff;
    background:
        radial-gradient(circle at 88% 12%, rgba(255, 214, 10, .26), transparent 38%),
        radial-gradient(circle at 6% 110%, rgba(17, 181, 255, .4), transparent 48%),
        linear-gradient(135deg, #07145a 0%, #10279a 55%, #1747ff 100%);
    box-shadow: 0 34px 60px -24px rgba(4, 16, 80, .65), 0 0 0 1px rgba(255, 255, 255, .14) inset;
}
.ofr::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
    background: radial-gradient(rgba(255, 255, 255, .16) 1.2px, transparent 1.4px) 0 0 / 22px 22px;
    -webkit-mask: linear-gradient(100deg, transparent 30%, #000 90%); mask: linear-gradient(100deg, transparent 30%, #000 90%);
}
[dir=rtl] .ofr::before { -webkit-mask: linear-gradient(-100deg, transparent 30%, #000 90%); mask: linear-gradient(-100deg, transparent 30%, #000 90%); }
.ofr-tag { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 214, 10, .16); box-shadow: inset 0 0 0 1px rgba(255, 214, 10, .55); color: #ffe680; font-size: .8rem; font-weight: 800; }
.ofr-tag span { color: #ffd60a; animation: ofr-twinkle 2.4s ease-in-out infinite; display: inline-block; }
@keyframes ofr-twinkle { 50% { transform: scale(1.35) rotate(45deg); opacity: .7; } }
.ofr-slides { list-style: none; margin: 0 0 12px; padding: 0; display: grid; }
.ofr-slide { grid-area: 1 / 1; align-self: center; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s; }
.ofr-slide.on { opacity: 1; visibility: visible; transition: opacity .7s ease .15s, visibility 0s; }
.ofr-in { display: block; transform: translateY(10px); transition: transform .9s cubic-bezier(.2, .8, .2, 1); }
.ofr-slide.on .ofr-in { transform: none; }
/* The shown service's link covers the whole card; the buttons are lifted above it. */
.site-footer .ofr-link { display: block; color: #fff; text-decoration: none; }
.ofr-slide.on .ofr-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.ofr-link:focus-visible { outline: none; }
.ofr:has(.ofr-link:focus-visible) { outline: 3px solid #ffd60a; outline-offset: 4px; }
.ofr { cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.ofr:hover { transform: translateY(-3px); }
.ofr-ctas, .ofr-tag { position: relative; z-index: 2; }
.ofr-ico { display: inline-block; margin-inline-end: 4px; font-size: .85em; }
.ofr-dots { display: flex; gap: 5px; margin: 0 0 16px; }
.ofr-dots i { inline-size: 7px; block-size: 7px; border-radius: 7px; background: rgba(255, 255, 255, .3); transition: inline-size .4s ease, background-color .4s; }
.ofr-dots i.on { inline-size: 22px; background: #ffd60a; }
.ofr-title { display: block; margin: 0 0 10px; font-size: clamp(1.55rem, 1rem + 1.9vw, 2.35rem); line-height: 1.2; font-weight: 900; letter-spacing: -.01em; text-wrap: balance; }
.ofr-hl { position: relative; display: inline-block; color: #ffd60a; white-space: nowrap; }
.ofr-hl::after {
    content: ""; position: absolute; inset-inline: -2px; inset-block-end: -8px; block-size: 10px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7 Q30 1 60 6 T118 4' fill='none' stroke='%23ffd60a' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
.ofr-sub { display: block; margin: 0; max-inline-size: 52ch; color: #d9e4ff; line-height: 1.65; }
.ofr-points { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; font-weight: 700; font-size: .9rem; }
.ofr-points li { display: flex; align-items: center; gap: 8px; }
.ofr-points li::before { content: "✓"; flex: none; display: grid; place-items: center; inline-size: 20px; block-size: 20px; border-radius: 50%; background: #ffd60a; color: #0b2a6b; font-size: .72rem; font-weight: 900; }
.ofr-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.site-footer .ofr-cta {
    position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px 13px 18px; border-radius: 16px;
    background: linear-gradient(180deg, #ffe14d, #ffc300); color: #0b2a6b; font-weight: 900; font-size: 1rem; text-decoration: none;
    box-shadow: 0 0 0 3px rgba(255, 214, 10, .28), 0 14px 26px -10px rgba(255, 195, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .6);
    transition: transform .18s ease, box-shadow .18s ease;
}
[dir=rtl] .site-footer .ofr-cta { padding: 13px 18px 13px 22px; }
.ofr-cta svg { inline-size: 24px; block-size: 24px; flex: none; color: #128c4a; }
.ofr-cta::before {
    content: ""; position: absolute; inset-block: -20%; inset-inline-start: -60%; inline-size: 40%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent); transform: skewX(-18deg);
    animation: ft-shine 4.5s ease-in-out 1s infinite;
}
[dir=rtl] .ofr-cta::before { animation-name: ft-shine-rtl; }
.ofr-cta span { position: relative; }
.ofr-cta:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 0 0 4px rgba(255, 214, 10, .45), 0 20px 32px -12px rgba(255, 195, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .6); }
.ofr-cta:active { transform: scale(.98); }
.ofr-cta:focus-visible, .ofr-work:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.site-footer .ofr-work { display: inline-flex; align-items: center; gap: 6px; padding: 11px 16px; border-radius: 14px; font-weight: 800; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); transition: background-color .15s; }
.site-footer .ofr-work:hover { text-decoration: none; background: rgba(255, 255, 255, .12); }

/* The drawing: a browser window floating, a phone in front of its corner, the price sticker on top. */
.ofr-art { position: relative; block-size: 270px; }
.ofr-win {
    position: absolute; inset-block-start: 8px; inset-inline: 0 34px; overflow: hidden; border-radius: 14px; background: #fff; color: #0b2a6b;
    box-shadow: 0 24px 40px -14px rgba(0, 0, 0, .55); transform: rotate(-3deg); animation: ofr-float 7s ease-in-out infinite;
}
[dir=rtl] .ofr-win { transform: rotate(3deg); animation-name: ofr-float-rtl; }
@keyframes ofr-float { 50% { transform: rotate(-2deg) translateY(-8px); } }
@keyframes ofr-float-rtl { 50% { transform: rotate(2deg) translateY(-8px); } }
.ofr-bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; background: #eef2ff; border-block-end: 1px solid #dfe6fb; }
.ofr-bar > i { inline-size: 9px; block-size: 9px; border-radius: 50%; background: #ff5f57; }
.ofr-bar > i:nth-child(2) { background: #febc2e; }
.ofr-bar > i:nth-child(3) { background: #28c840; }
.ofr-url { flex: 1; display: flex; align-items: center; gap: 6px; margin-inline-start: 8px; padding: 4px 10px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px #dfe6fb; font: 700 12px/16px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #1747ff; }
.ofr-lock { inline-size: 8px; block-size: 7px; margin-block-start: 3px; border-radius: 2px; background: #28c840; position: relative; flex: none; }
.ofr-lock::before { content: ""; position: absolute; inset-inline-start: 1px; inset-block-start: -5px; inline-size: 6px; block-size: 6px; border: 1.5px solid #28c840; border-block-end: 0; border-radius: 4px 4px 0 0; box-sizing: border-box; }
.ofr-names { display: block; block-size: 16px; overflow: hidden; }
.ofr-names span { display: block; block-size: 16px; animation: ofr-names 9s cubic-bezier(.7, 0, .3, 1) infinite; }
@keyframes ofr-names { 0%, 22% { transform: translateY(0); } 25%, 47% { transform: translateY(-16px); } 50%, 72% { transform: translateY(-32px); } 75%, 100% { transform: translateY(-48px); } }
.ofr-caret { inline-size: 2px; block-size: 14px; background: #1747ff; animation: ofr-blink 1s steps(2, start) infinite; }
@keyframes ofr-blink { to { visibility: hidden; } }
.ofr-page { padding: 12px 16px 16px; display: grid; gap: 12px; }
.ofr-page i, .ofr-page b, .ofr-phone i, .ofr-phone b { display: block; border-radius: 6px; }
.ofr-nav { display: flex; align-items: center; gap: 8px; }
.ofr-nav b { inline-size: 22px; block-size: 22px; border-radius: 7px; background: linear-gradient(135deg, #1747ff, #11b5ff); }
.ofr-nav i { inline-size: 30px; block-size: 7px; background: #dfe6fb; }
.ofr-nav i:first-of-type { margin-inline-start: auto; }
.ofr-hero { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; background: linear-gradient(135deg, #eef4ff, #fff7d6); }
.ofr-ava { flex: none; inline-size: 58px; block-size: 58px; border-radius: 50%; position: relative; overflow: hidden; background: linear-gradient(160deg, #ffd60a, #ffb703); box-shadow: 0 0 0 3px #fff, 0 6px 14px -4px rgba(11, 42, 107, .4); }
.ofr-ava::before { content: ""; position: absolute; inset-inline-start: 50%; inset-block-start: 22%; inline-size: 36%; block-size: 36%; border-radius: 50%; background: #0b2a6b; transform: translateX(-50%); }
.ofr-ava::after { content: ""; position: absolute; inset-inline-start: 50%; inset-block-start: 64%; inline-size: 70%; block-size: 60%; border-radius: 50% 50% 0 0; background: #0b2a6b; transform: translateX(-50%); }
[dir=rtl] .ofr-ava::before, [dir=rtl] .ofr-ava::after { transform: translateX(50%); }
.ofr-lines { flex: 1; display: grid; gap: 6px; }
.ofr-lines b { inline-size: 70%; block-size: 11px; background: #0b2a6b; }
.ofr-lines i { inline-size: 92%; block-size: 6px; background: #c9d5f5; }
.ofr-lines i.s { inline-size: 60%; }
.ofr-lines em { display: block; inline-size: 64px; block-size: 18px; margin-block-start: 3px; border-radius: 999px; background: #1747ff; }
.ofr-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ofr-cards i { block-size: 44px; border-radius: 10px; background: linear-gradient(180deg, #e8eeff, #f5f8ff); box-shadow: inset 0 0 0 1px #dfe6fb; }
.ofr-cards i:nth-child(2) { background: linear-gradient(180deg, #fff3c4, #fffaf0); box-shadow: inset 0 0 0 1px #ffe58a; }
.ofr-phone {
    position: absolute; inset-inline-end: 0; inset-block-end: 0; inline-size: 92px; block-size: 170px; padding: 18px 10px 10px; box-sizing: border-box;
    display: flex; flex-direction: column; align-items: center; gap: 7px; border-radius: 20px; background: #fff;
    box-shadow: 0 0 0 4px #0b2a6b, 0 20px 30px -10px rgba(0, 0, 0, .6); transform: rotate(6deg); animation: ofr-float-phone 6s ease-in-out .8s infinite;
}
[dir=rtl] .ofr-phone { transform: rotate(-6deg); animation-name: ofr-float-phone-rtl; }
@keyframes ofr-float-phone { 50% { transform: rotate(4deg) translateY(-10px); } }
@keyframes ofr-float-phone-rtl { 50% { transform: rotate(-4deg) translateY(-10px); } }
.ofr-phone::before { content: ""; position: absolute; inset-block-start: 7px; inline-size: 26px; block-size: 4px; border-radius: 4px; background: #0b2a6b; }
.ofr-phone .ofr-ava { inline-size: 38px; block-size: 38px; box-shadow: 0 0 0 2px #fff; }
.ofr-phone b { inline-size: 80%; block-size: 8px; background: #0b2a6b; }
.ofr-phone i { inline-size: 90%; block-size: 5px; background: #c9d5f5; }
.ofr-phone em { display: block; inline-size: 60%; block-size: 14px; margin-block-start: auto; border-radius: 999px; background: #25d366; }
.ofr-price {
    position: absolute; inset-inline-start: -8px; inset-block-end: -4px; display: grid; place-items: center; align-content: center;
    inline-size: 104px; block-size: 104px; border-radius: 50%; color: #0b2a6b; text-align: center; line-height: 1;
    background: radial-gradient(circle at 35% 30%, #fff1a1, #ffd60a 55%, #ffb703);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .9), 0 14px 26px -8px rgba(0, 0, 0, .55);
    transform: rotate(-12deg); animation: ofr-stamp 3.2s ease-in-out infinite;
}
.ofr-p, .ofr-e { grid-area: 1 / 1; display: grid; place-items: center; transition: opacity .4s, transform .4s cubic-bezier(.3, -.4, .6, 1.6); }
.ofr-price { display: grid; }
.ofr-e { font-size: 2.6rem; opacity: 0; transform: scale(.4); }
.ofr-price.emo .ofr-p { opacity: 0; transform: scale(.4); }
.ofr-price.emo .ofr-e { opacity: 1; transform: none; }
.ofr-price b { font-size: 1.85rem; font-weight: 900; letter-spacing: -.02em; }
.ofr-price small { margin-block-start: 3px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
@keyframes ofr-stamp { 0%, 70%, 100% { transform: rotate(-12deg) scale(1); } 78% { transform: rotate(-4deg) scale(1.12); } 86% { transform: rotate(-16deg) scale(.96); } 93% { transform: rotate(-10deg) scale(1.03); } }

@media (max-width: 899px) {
    .ofr { grid-template-columns: minmax(0, 1fr) 240px; padding: 28px; gap: 24px; }
    .ofr-points { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .site-footer:has(.ft-offer) { margin-block-start: 120px; }
    .ft-offer { margin-block: -120px 40px; }
    .ofr { grid-template-columns: 1fr; padding: 24px 20px; border-radius: 24px; }
    .ofr-art { order: -1; block-size: 200px; max-inline-size: 330px; inline-size: 100%; justify-self: center; margin-block-end: 4px; }
    .ofr-hero { padding: 8px; }
    .ofr-ava { inline-size: 44px; block-size: 44px; }
    .ofr-cards i { block-size: 26px; }
    .ofr-phone { inline-size: 74px; block-size: 136px; }
    .ofr-phone .ofr-ava { inline-size: 30px; block-size: 30px; }
    .ofr-price { inline-size: 84px; block-size: 84px; }
    .ofr-price b { font-size: 1.45rem; }
    .ofr-e { font-size: 2.1rem; }
    .ofr-ctas { flex-direction: column; align-items: stretch; }
    .ofr-art { block-size: 180px; }
    .ofr-cards { display: none; }
    .ofr-points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 10px; font-size: .8rem; margin-block-end: 18px; }
    .ofr-points li { align-items: flex-start; gap: 6px; }
    .ofr-points li::before { inline-size: 17px; block-size: 17px; font-size: .62rem; }
    .site-footer .ofr-cta, .site-footer .ofr-work { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    .ofr-slide, .ofr-slide.on, .ofr-in, .ofr-dots i, .ofr-p, .ofr-e, .ofr { transition: none; }
    .ofr-tag span, .ofr-cta::before, .ofr-win, .ofr-phone, .ofr-price, .ofr-names span, .ofr-caret { animation: none; }
    .ofr-cta, .ofr-work { transition: none; }
}
html[data-theme="dark"] .ofr { box-shadow: 0 34px 60px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .14) inset; }
