/* Stage 4.2 | CTA & footer source-alignment layer.
 * Scoped entirely to the Firmino page root. Mirrors original React geometry
 * without affecting Basel parent styles. */
#fbg-app .fbg-cta,
#fbg-app .fbg-footer { box-sizing:border-box; width:100%; max-width:none; margin:0; font-family:Inter,Arial,sans-serif; }
#fbg-app .fbg-cta *,#fbg-app .fbg-footer * { box-sizing:border-box; }
#fbg-app .fbg-cta { position:relative; isolation:isolate; display:block; padding:112px 0; overflow:hidden; background:#2563eb; color:#fff; text-align:center; }
#fbg-app .fbg-cta > div:first-child {position:absolute;inset:0;z-index:-2;background:linear-gradient(135deg,#0891b2 0%,#2563eb 51%,#4338ca 100%);}
#fbg-app .fbg-cta > div:nth-child(2) {position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.1;}
#fbg-app .fbg-cta > div:nth-child(2) > div {position:absolute;width:384px;height:384px;border-radius:50%;filter:blur(64px);}
#fbg-app .fbg-cta > div:nth-child(2) > div:first-child {top:0;left:0;background:#fff;transform:translate(-50%,-50%);}
#fbg-app .fbg-cta > div:nth-child(2) > div:last-child {bottom:0;right:0;background:#67e8f9;transform:translate(50%,50%);}
#fbg-app .fbg-cta > div:last-child {position:relative;z-index:1;width:100%;max-width:896px;margin:0 auto;padding:0 32px;text-align:center;}
#fbg-app .fbg-cta > div:last-child > div:first-child {display:inline-flex;align-items:center;justify-content:center;gap:8px;margin:0 auto 24px;padding:6px 16px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:rgba(255,255,255,.1);font-size:14px;line-height:20px;}
#fbg-app .fbg-cta > div:last-child > div:first-child svg {display:block;width:16px;height:16px;color:#a5f3fc;}
#fbg-app .fbg-cta > div:last-child > div:first-child span {font-size:14px;font-weight:600;color:#cffafe;}
#fbg-app .fbg-cta h2 {margin:0 auto 24px;max-width:800px;font-family:Inter,Arial,sans-serif;font-weight:700;font-size:48px;line-height:1.08;letter-spacing:-.025em;color:#fff;text-transform:none;}
#fbg-app .fbg-cta h2::after,#fbg-app .fbg-footer h3::after,#fbg-app .fbg-footer h4::after{display:none!important;}
#fbg-app .fbg-cta > div:last-child > p:first-of-type {max-width:672px;margin:0 auto 40px;font-size:18px;line-height:28px;color:#cffafe;}
#fbg-app .fbg-cta .fbg-cta-actions {display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px;margin:0 auto;}
#fbg-app .fbg-cta .fbg-cta-actions > :is(a,button) {display:inline-flex!important;flex:0 0 auto;align-items:center;justify-content:center;gap:10px;min-height:52px;margin:0!important;padding:16px 28px!important;border-radius:14px!important;font-family:Inter,Arial,sans-serif;font-size:15px;font-weight:700;line-height:20px;text-align:center;text-decoration:none;text-transform:none;box-shadow:none;}
#fbg-app .fbg-cta .fbg-cta-actions .fbg-action-button {color:#0e7490!important;background:#fff!important;background-image:none!important;border:1px solid transparent!important;}
#fbg-app .fbg-cta .fbg-cta-actions .fbg-cta-phone {color:#fff!important;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.25)!important;}
#fbg-app .fbg-cta .fbg-cta-actions .fbg-cta-phone:hover {background:rgba(255,255,255,.2)!important;}
#fbg-app .fbg-cta .fbg-cta-actions svg {display:block;width:20px;height:20px;flex:none;}
#fbg-app .fbg-cta > div:last-child > p:last-child {margin:24px 0 0;font-size:14px;line-height:21px;color:rgba(165,243,252,.7);}

/* Footer consists of three bands: blue quote strip, dark content, lower legal bar. */
#fbg-app .fbg-footer {background:#0f172a;color:#fff;text-align:left;clear:both;}
#fbg-app .fbg-footer > div:first-child {background:linear-gradient(90deg,#0891b2,#1d4ed8);}
#fbg-app .fbg-footer > div:first-child > div {width:100%;max-width:1280px;margin:0 auto;padding:48px 32px;}
#fbg-app .fbg-footer > div:first-child > div > div {display:flex;align-items:center;justify-content:space-between;gap:24px;}
#fbg-app .fbg-footer > div:first-child h3 {font-family:Inter,Arial,sans-serif;font-size:28px;line-height:1.25;font-weight:700;letter-spacing:-.025em;margin:0 0 8px;color:#fff;text-transform:none;}
#fbg-app .fbg-footer > div:first-child p {font-size:18px;line-height:27px;margin:0;color:#cffafe;}
#fbg-app .fbg-footer > div:first-child > div > div > div:last-child {display:flex;flex:0 0 auto;flex-direction:row;gap:12px;align-items:center;justify-content:center;}
#fbg-app .fbg-footer > div:first-child :is(button,a) {display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:16px 28px;margin:0;border-radius:14px;font-family:Inter,Arial,sans-serif;font-size:14px;font-weight:700;line-height:20px;text-transform:none;text-decoration:none;white-space:nowrap;}
#fbg-app .fbg-footer > div:first-child button {background:#fff!important;color:#0e7490!important;border:1px solid transparent!important;box-shadow:0 8px 12px rgba(0,0,0,.08);}
#fbg-app .fbg-footer > div:first-child a {background:rgba(255,255,255,.1)!important;color:#fff!important;border:1px solid rgba(255,255,255,.25)!important;}
#fbg-app .fbg-footer > div:nth-child(2) {width:100%;max-width:1280px;margin:0 auto;padding:64px 32px;}
#fbg-app .fbg-footer > div:nth-child(2) > div:first-child {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:48px;row-gap:32px;align-items:start;}
#fbg-app .fbg-footer > div:nth-child(2) > div:first-child > div {min-width:0;}
#fbg-app .fbg-footer h4 {font-family:Inter,Arial,sans-serif;font-size:15px;font-weight:700;line-height:22px;color:#fff;margin:0 0 16px;padding:0;text-transform:none;letter-spacing:normal;}
#fbg-app .fbg-footer > div:nth-child(2) > div:first-child > div:first-child > a {display:flex;align-items:center;margin:0 0 20px;}
#fbg-app .fbg-footer .fbg-footer-logo {display:block;width:auto;max-width:210px;height:auto;max-height:58px;object-fit:contain;object-position:left center;padding:3px 8px;border-radius:7px;background:#fff;}
#fbg-app .fbg-footer > div:nth-child(2) > div:first-child > div:first-child > p {font-size:14px;line-height:21px;color:#94a3b8;margin:0 0 20px;max-width:265px;}
#fbg-app .fbg-footer > div:nth-child(2) > div:first-child > div:first-child > div {display:flex;align-items:center;gap:12px;}
#fbg-app .fbg-footer > div:nth-child(2) > div:first-child > div:first-child > div > :is(a,span) {display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.05);color:#94a3b8;}
#fbg-app .fbg-footer > div:nth-child(2) > div:first-child > div:first-child > div svg {width:16px;height:16px;}
#fbg-app .fbg-footer > div:nth-child(2) > div:first-child > div:first-child > div a:hover {color:#22d3ee;border-color:rgba(6,182,212,.3);}
#fbg-app .fbg-footer ul {list-style:none!important;margin:0!important;padding:0!important;}
#fbg-app .fbg-footer li {font-size:14px;line-height:21px;margin:0 0 10px;padding:0!important;color:#94a3b8;list-style:none!important;}
#fbg-app .fbg-footer li::before {display:none!important;}
#fbg-app .fbg-footer li a {font-size:14px;line-height:21px;color:#94a3b8;text-decoration:none;}
#fbg-app .fbg-footer li a:hover {color:#22d3ee;}
#fbg-app .fbg-footer > div:nth-child(2) > div:first-child > div:last-child li {display:flex;gap:10px;align-items:flex-start;}
#fbg-app .fbg-footer li svg {display:block;flex:none;width:16px;height:16px;color:#22d3ee;margin-top:2px;}
#fbg-app .fbg-footer > div:nth-child(2) > div:nth-child(2) {border-top:1px solid rgba(255,255,255,.1);margin-top:48px;padding-top:32px;}
#fbg-app .fbg-footer > div:nth-child(2) > div:nth-child(2) > div {display:flex;align-items:center;justify-content:space-between;gap:24px;}
#fbg-app .fbg-footer > div:nth-child(2) > div:nth-child(2) h4 {display:flex;align-items:center;gap:8px;margin:0 0 8px;}
#fbg-app .fbg-footer > div:nth-child(2) > div:nth-child(2) h4 svg {width:16px;height:16px;color:#22d3ee;}
#fbg-app .fbg-footer > div:nth-child(2) > div:nth-child(2) > div > div:first-child {min-width:0;flex:1;}
#fbg-app .fbg-footer > div:nth-child(2) > div:nth-child(2) > div > div:first-child > div {display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
#fbg-app .fbg-footer > div:nth-child(2) > div:nth-child(2) > div > div:first-child > div > span {display:inline-flex;align-items:center;padding:4px 12px;border-radius:8px;font-size:12px;line-height:16px;color:#94a3b8;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);}
#fbg-app .fbg-footer > div:nth-child(2) > div:nth-child(2) > div > div:last-child {display:flex;align-items:center;gap:12px;flex-wrap:wrap;max-width:340px;}
#fbg-app .fbg-footer > div:nth-child(2) > div:nth-child(2) > div > div:last-child > span {display:inline-flex;align-items:center;gap:6px;padding:6px 12px;font-size:12px;line-height:18px;font-weight:500;color:#22d3ee;background:rgba(6,182,212,.1);border:1px solid rgba(6,182,212,.2);border-radius:8px;}
#fbg-app .fbg-footer > div:nth-child(2) > div:nth-child(2) > div > div:last-child svg {width:16px;height:16px;flex:none;}
#fbg-app .fbg-footer > div:last-child {border-top:1px solid rgba(255,255,255,.1);background:rgba(2,6,23,.25);}
#fbg-app .fbg-footer > div:last-child > div {max-width:1280px;margin:0 auto;padding:24px 32px;}
#fbg-app .fbg-footer > div:last-child > div > div {display:flex;justify-content:space-between;align-items:center;gap:16px;}
#fbg-app .fbg-footer > div:last-child p,#fbg-app .fbg-footer > div:last-child a {font-size:12px;color:#64748b;margin:0;line-height:18px;text-decoration:none;}
#fbg-app .fbg-footer > div:last-child > div > div > div {display:flex;gap:16px;align-items:center;}
#fbg-app .fbg-footer > div:last-child a:hover {color:#22d3ee;}
#fbg-app .fbg-footer :is(a,button):focus-visible {outline:3px solid #22d3ee;outline-offset:3px;}
@media(max-width:1023px){
 #fbg-app .fbg-footer > div:first-child > div > div {flex-direction:column;align-items:flex-start;}
 #fbg-app .fbg-footer > div:nth-child(2) > div:first-child {grid-template-columns:repeat(2,minmax(0,1fr));}
 #fbg-app .fbg-footer > div:nth-child(2) > div:nth-child(2) > div {flex-direction:column;align-items:flex-start;}
}
@media(max-width:639px){
 #fbg-app .fbg-cta {padding:80px 0;}
 #fbg-app .fbg-cta > div:last-child {padding:0 24px;}
 #fbg-app .fbg-cta h2 {font-size:32px;line-height:1.17;letter-spacing:-.02em;}
 #fbg-app .fbg-cta > div:last-child > p:first-of-type {font-size:16px;line-height:25px;margin-bottom:32px;}
 #fbg-app .fbg-cta .fbg-cta-actions {flex-direction:column;align-items:stretch;gap:12px;}
 #fbg-app .fbg-cta .fbg-cta-actions > :is(a,button) {width:100%;}
 #fbg-app .fbg-footer > div:first-child > div {padding:48px 24px;}
 #fbg-app .fbg-footer > div:first-child > div > div > div:last-child {flex-direction:column;align-items:stretch;width:100%;}
 #fbg-app .fbg-footer > div:first-child :is(button,a) {width:100%;}
 #fbg-app .fbg-footer > div:nth-child(2) {padding:48px 24px;}
 #fbg-app .fbg-footer > div:nth-child(2) > div:first-child {grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 24px;}
 #fbg-app .fbg-footer > div:nth-child(2) > div:first-child > div:first-child {grid-column:span 2;}
 #fbg-app .fbg-footer > div:nth-child(2) > div:first-child > div:last-child {grid-column:span 2;}
 #fbg-app .fbg-footer > div:last-child > div {padding:24px;}
 #fbg-app .fbg-footer > div:last-child > div > div {flex-direction:column;align-items:flex-start;}
}
@media(prefers-reduced-motion:reduce){#fbg-app .fbg-cta *,#fbg-app .fbg-footer * {transition:none!important;}}
